# ChaozCode Platform Field Guide > ChaozCode is an integrated AI development platform for discovering capabilities, understanding code and memory, coordinating agents, changing repositories safely, validating outcomes, and deploying services. Schema: 2.0 Guide revised: 2026-10-09T03:00:00Z ## Mental model ChaozCode combines a reviewed behaviour layer, a live capability catalog, specialist agents, reusable workflows, repository operations, Memory Spine, quality gates, collaboration, and deployment controls. Start at the highest-level reviewed surface that fits the task, then descend only when necessary. Registries are not interchangeable. Catalog records are discovery rows across HTTP, MCP, and code symbols. Agents, behaviours, workflows and services are separate registries. ## Shared registries Current counts are served live at https://docs.chaozcode.com/api/docs/platform-data (JSON: registries.). Definitions: - **Specialist agents** (`agents`). Named agent specialists the ML router can assign work to. Source: ML Router /agents. - **Multi-step workflows** (`workflows`). Registered workflows for repeatable analysis, review, implementation, validation, deployment and operations. Source: ToolEngine /workflows. - **Reviewed behaviours** (`behaviors`). Intent-to-action mappings that sit above the raw catalog for common platform work. Source: ToolEngine /behaviors. - **Service namespaces** (`services`). Runtime, MCP, code-only and proxy namespaces tracked by the live service registry. Source: ToolEngine /services. - **Active catalog records** (`catalog_active`). ToolEngine discovery records currently marked active, across HTTP, MCP and code symbols. Not a count of callable connector tools. Source: ToolEngine /stats. - **Verified MCP records** (`mcp_verified`). MCP catalog entries whose server answered a tools/list validation. Source: ToolEngine /stats. ## Capability map ### Discover and select Start with reviewed behaviours for common work, then widen to the live catalog when the task is novel. Tools: `chaoz_behaviors`, `chaoz_tools_search`, `chaoz_catalog_describe`, `chaoz_catalog_invoke`, `chaoz_route_task`. ### Understand code and context Resolve the repository, search before reading, inspect symbols and dependency context, and recover prior decisions from Memory Spine. Tools: `chaoz_repo_resolve`, `chaoz_repo_tree`, `chaoz_repo_search`, `chaoz_code_symbols`, `chaoz_graph_context`, `chaoz_memory_pins`, `chaoz_memory_search`, `chaoz_context_ice`. ### Change repositories safely Measure blast radius before editing, use conflict-aware writes, then inspect the diff and publish only the files in scope. Tools: `chaoz_change_preflight`, `chaoz_repo_read_file`, `chaoz_repo_write_file`, `chaoz_repo_diff`, `chaoz_repo_scan`, `chaoz_repo_commit`, `chaoz_repo_push`. ### Coordinate agents and sessions Route work to specialists, delegate bounded tasks, exchange session messages, and preserve ownership across concurrent work. Tools: `chaoz_agents_list`, `chaoz_agent_execute`, `chaoz_sessions_active`, `chaoz_session_register`, `chaoz_session_claim`, `chaoz_session_delegate`, `chaoz_collab_inbox`, `chaoz_collab_send`. ### Automate workflows Run registered workflows or compose exact capabilities as batches and dependency-aware pipelines; poll asynchronous work explicitly. Tools: `chaoz_workflows_list`, `chaoz_batch`, `chaoz_batch_async`, `chaoz_pipeline`, `chaoz_pipeline_async`, `chaoz_job_status`, `chaoz_job_cancel`. ### Verify quality and experience Use code, security, runtime, structural, and visual gates in proportion to the change. Tools: `chaoz_judge_code`, `chaoz_repo_scan`, `chaoz_probe`, `chaoz_vision_inspect`, `chaoz_vision_check`. ### Deploy and operate Discover targets, run deployment preflight, execute, observe status, and validate routing before reloading services. Tools: `chaoz_deploy_targets`, `chaoz_deploy_preflight`, `chaoz_deploy_execute`, `chaoz_deploy_status`, `chaoz_nginx_validate`, `chaoz_nginx_reload`, `chaoz_service_restart`. ## Which surface to use - **A common platform operation:** start with `chaoz_behaviors`. Reviewed intent-to-action mappings are faster and safer than guessing among thousands of catalog rows. - **A capability you cannot name:** start with `chaoz_tools_search`. Returns identity, transport, validation state, parameters, authentication, and an invocation contract. - **A codebase change:** start with `chaoz_repo_resolve`. Confirms the canonical writable repository path before any search or edit. - **Prior decisions or platform facts:** start with `chaoz_memory_pins, then chaoz_memory_search`. Pinned rules prevent re-derivation; scoped search recovers relevant outcomes and ownership context. - **Repeatable multi-step work:** start with `chaoz_workflows_list`. Use a reviewed workflow when one fits; use chaoz_pipeline when explicit dependency wiring is required. - **A long-running specialist task:** start with `chaoz_agent_execute`. Returns a job identifier immediately; chaoz_job_status provides explicit completion and failure state. - **A production change:** start with `chaoz_deploy_preflight`. Separates target discovery and readiness checks from the external state change. ## Safe operating loop 1. **Orient.** Load pinned standing rules, search Memory Spine for prior decisions, and confirm identity and platform health when the environment is uncertain. 2. **Locate.** Resolve the canonical repository or capability. Search broadly first, then read only the files, symbols, or contracts that matter. 3. **Preflight.** Measure working-tree state, related code, dependents, history, prior decisions, and the expected file version before editing. 4. **Change narrowly.** Follow existing ownership boundaries, use conflict-aware writes, and avoid touching unrelated work in shared repositories. 5. **Verify.** Run focused tests and quality gates, inspect the diff, scan for secrets, and use structural plus visual checks for interface changes. 6. **Publish and learn.** Commit only scoped files, push without force, deploy through preflight and status checks, then store the durable decision and measured outcome. ## Authentication and scope Web and API routes authenticate a user with the chaozcode_session cookie. chaoz login --device stores the browser-equivalent session at ~/.chaoz/web-session.json. A CLI bearer resolves as anonymous at web/API edges. cli_session_id in ~/.chaoz/sessions/*.json is a separate credential and does not unlock /api/*. Authentication facts checked 2026-09-20. Non-admin users are scoped to their own data. Requests for a non-personal scope are rejected. Admins see personal plus system/global data by default and can narrow supported resources with scope=personal|system|global|all. Repository listings return the caller's repositories by default. The all-users/system view is admin-only; another user's repositories are visible only when publication rules allow it. Scoping facts checked 2026-09-20. ## Plans and limits Tool access is the same on every tested plan. The boundary is whose data is visible: each account sees only its own repositories, memories, research history and knowledge graph. Memory, search and API allowances depend on your plan and are served live by API Manager (GET /api/tiers); the plan memory limit is the one Memory Spine enforces. Older plan names resolve to a current plan in API Manager. When a limit is reached, the request is refused (HTTP 429) and nothing is stored. Current per-plan memory, search and API limits: https://docs.chaozcode.com/api/tiers (live; do not copy the numbers). ## Your data versus the platform catalog The shared registries above are platform-wide: every account sees the same ones. A user's own data — repositories, memories, research history and knowledge graph — is scoped to that account, starts empty, and grows only with that account's use. Never present platform totals or another account's numbers as a user's own. ## How these docs stay accurate Plan limits are read live from API Manager. Registry counts are read live from the services that own them. Every customer API route in the reference is probed against the public gateway at each deploy, and a mismatch blocks the release. ## Documentation entry points - [Documentation home](https://docs.chaozcode.com/): Main guides, tutorials, service pages, and API reference. - [Quickstart](https://docs.chaozcode.com/getting-started/): First successful ChaozCode workflow. - [Authentication](https://docs.chaozcode.com/connections/): Connecting your account and choosing the right credential for each surface. - [API reference](https://docs.chaozcode.com/api/reference/): Verified customer API routes, authentication and error contract. - [Memory Spine](https://docs.chaozcode.com/memory-spine/): Search, save and reuse persistent context. - [Zearch](https://docs.chaozcode.com/zearch/): Research the web, repositories and connected sources. - [Platform field guide](https://docs.chaozcode.com/platform-overview/): Current human-readable capability map generated from this dataset. - [Agent guide](https://docs.chaozcode.com/llms-full.txt): Self-contained model and agent reference. - [Capability manifest](https://docs.chaozcode.com/platform-capabilities.json): Versioned, machine-readable facts with source and freshness metadata. ## Freshness rule Prefer a current authenticated platform probe or executable contract over any written description. Counts and plan limits are live; when a written fact changes, update `content/platform-guide.json` and rebuild every generated format.