AI Integrations
Guides and reference for adding AI capabilities to existing systems: retrieval, prompt/context design, model routing, evaluation and agent architecture.
RAG pipeline designChunking, retrieval and grounding patterns for production RAG.
Prompt and context engineeringPrompt templates, context windows and structured output conventions.
Model gatewayProvider-agnostic gateway layer for routing, retries and rate limits.
LLM evaluationOffline and online evaluation methods for LLM outputs.
Vector store optionsReference comparison of vector stores and indexing options.
Agent Architecture
Section titled “Agent Architecture”Design the loop around the task, not the model. Start with the decision guide, then follow the architecture or operational reference that fits the task.
Agent architecture decision guideChoose between verifiable loops, compiled workflows, and planner-led delegation.
Verifiable execution loopsEdit, verify, and repair with deterministic checks and failure codes.
Workflow compilationCompile stable, high-volume procedures into a versioned small-model artifact.
Agent delegation and routingSplit planning from execution with bounded subagents and task-level routing.
Agent audit and observabilityMake permission changes, background jobs, and external state visible to the agent.
Cost per successful taskMeasure retries, reviews, and delegation against verified outcomes.
Agent scaffold failure modesDiagnose and fix the five common scaffold failures.
