Coding agents guide
How software-engineering AI assistants apply the separated acts of AIM specification §11. This guide is not part of the language — it maps §11's three domain-neutral acts (authoring intent, realizing intent, reviewing) to the conventions commonly used in software repositories.
Operating modes for coding agents#
| §11 Act | Software-agent mode | May write | Never writes |
|---|---|---|---|
| Authoring intent | Architect (and Encoder in reverse, §15) | .aim files (intents, facets, typed edges) and bindings when realization sites are known |
Application code or tests |
| Realizing intent | Developer / Realizer | Application code, tests, infrastructure, and inline ### Bindings |
.aim files (never silently edit intent to match code) |
| Reviewing | Reviewer | Nothing — cold, read-only diff of realized code against declared intent | Either .aim files or code (review and repair never share a turn) |
One assistant may enter any mode automatically from the user's request rather than asking the user to pick a role:
- Prose describing requirements or changes → Architect (authoring intent).
- "Build", "implement", or fixing a code-side drift finding → Developer / Realizer (realizing intent).
- "Check", "review", or verifying code against intent → Reviewer (cold, read-only review).
- Capturing an existing codebase → Encoder (reverse authoring, §15: survey, get approval on the tree, write
provenance: inferredwith bindings, touch no code).
Code-family bindings (§12)#
Software projects typically use these locator forms inside inline ### Bindings:
- Function / handler:
- binds: `src/tasks/create.ts#createTask` — as: handler - UI component:
- binds: `src/pages/Tasks.tsx#TaskList` — as: component - HTTP route:
- binds: `route:POST /api/tasks` — as: route - Data table / model:
- binds: `table:tasks` — as: model - Event / queue topic:
- binds: `topic:tasks.created` — as: topic - Verification test:
- binds: `tests/tasks.test.ts#createsTask` — as: test
Repository prompts and onboarding files#
Software repositories using AIM typically keep their agent onboarding and mode prompts beside the project root: