--- title: "AI-First Documentation" description: "Canonical, agent-optimized documentation map for Flows, Agents, Crews, LLMs, Memory, and Tools." icon: "sitemap" mode: "wide" --- ## Purpose This section is the canonical map for AI agents and developers. Use it when you need: - one source of truth per domain - predictable page structure - runnable patterns with explicit inputs and outputs ## Domain Packs State, routing, persistence, resume, and orchestration lifecycle. Agent contracts, tool boundaries, prompt roles, and output discipline. Multi-agent execution, process choice, delegation, and coordination. Model configuration contracts, routing, reliability defaults, and providers. Retrieval semantics, scope design, and state-vs-memory architecture. Tool safety, schema contracts, retries, and integration patterns. ## Writing Contract Every domain follows the same structure: 1. Concepts (`index`) 2. Reference (`reference`) 3. Patterns (`patterns`) 4. Troubleshooting (`troubleshooting`) 5. Examples (`examples`) ## Deprecation Policy When a page is replaced: - keep a redirect for the old URL - keep one canonical destination - avoid duplicated conceptual prose