# Context: individual agents, ALZ-F01 Discovery Facts for this Feature's individual-agents pattern, for coding agents. Repository-wide facts are in `../../.agents/CONTEXT.md`. Per-agent context is in `/.agents/CONTEXT.md`. ## Pattern - **Eight declarative agents, one per ALZ-DSC story.** Each declares its own read-only MCP tools under `mcp:` (allowed for top-level agents; only sub-agents can't hold MCP tools). - **The workflow (`workflows/cp1-alz-discovery-individual.json`) is the orchestration:** step order through `parallelGroup` and `executionLevel`, and data through `from_steps` (`"": "sN."`). The step map is `STEPS` in `scripts/build_workflow.py`. - **Nothing persists between steps** except their replies (ADR 0010). There's no workspace, no hooks and no enforced verdict; the critic is gated by a human approval (ADR 0006). ## Sources of truth | What | Where | |---|---| | Requirements | ADO Epic 3214440, Feature 3214441, stories 3214451–3214458; v1.1 story files in the engineering hub workspace (`drafts/cp1/agentic-landing-zone/stories/F01-discovery/`) | | Agent shape and repository conventions | `cp4-agents` (gitea.kyndemo.live/agents/cp4-agents) | | Changes to requirements | `docs/adr/` (this pattern only) | | The MCP server | `../../mcp-servers/alz-discovery-sample` (shared with the sub-agent pattern) | ## Platform facts - **Runtime:** `cruciblecoredevacr.azurecr.io/kab/agent-runtime-adk:0.35.7`. Images are pushed to `cruciblecoredevacr.azurecr.io/kab/cp1/:`. - **Cluster:** `crucible-kab-dev-aks`, namespace `agents`, kubeconfig `/mnt/c/Users/JonathanBoniface/.kube/config`. The gateways are in `core-components`: LiteLLM on `:4000`, the MCP gateway on `:8000`. There's no `agent-platform-connections` ConfigMap, so the deploy profile sets the gateway URLs. - **An agent needs its own `MCP_AGENT_API_KEY`** (Secret `-secrets`), issued when it's created in KAB. Without it, every request fails at startup. - **As of 2026-10-29, MCP server registration fails** in the MCP gateway, because KAB's default tenant `6ada663eb5b88053a9e43723` isn't mapped there (it fails row-level security). This blocks every agent in both patterns.