Why AIM
Why a structured context
What goes wrong with notes, rules and copies, and how one shared model answers it.
.aim context: people and agents share intent, diagrams draw themselves, and a cold review reports drift.What goes in a context
What a team keeps in an AIM Context
Whatever people would otherwise explain to each agent again: how the work runs, how your agents run skills, what was decided, what the software must do. Written in plain language, kept as one model that people and agents both read.
Processes, roles and deadlines
The steps, who takes each one, the decision gates, and what has to happen by when. The flowchart and the lifecycle are drawn from the model.
How your agents workSkills and prompts, written as intent
Triggers, decision gates, shared team standards, and human sign-offs in one checkable model — instead of rambling prose SKILL.md files that drift and get copy-pasted.
Meetings, decisions and their sources
What was said, what was decided and what follows from it, each with where it came from. What an agent adds stays marked until a person confirms it.
What the software must doRequirements every agent builds against
Every agent on the code works from the same requirements, and a cold, read-only review reports where the code has drifted from them.
Why docs, rules & copies break · and what answers them
Two reasons shared knowledge fails: rules stop being true, and copies arrive late
Rules, notes and instructions only ever grow, and nobody can tell which lines still hold. And everyone works from their own copy, so a change reaches the others late or never. Writing down what must hold answers the first; keeping it in one shared, live context answers the second.
It stops being true
- A rules file or prose
SKILL.mdonly grows; nobody takes out the line that stopped holding - Instructions pile up about how to behave, instead of saying what you want to hold
- Whether a person decided a line or an agent guessed it is lost
Stored as intent, so it gets checked
- Each line says what must hold — never how to think
- What an agent adds on its own stays marked proposed until a person confirms it
- A cold, read-only review compares reality with the model and reports the drift
It arrives late
- Each agent works from the copy in its own checkout
- Two people change the context at the same time, and neither sees the other
- They find out at merge, hours later, in prose nobody can merge well
One context, read and written live
- Every agent reads and writes the one model on a context server, over MCP
- With the context server's hook, a working agent is told what others changed, one step of its work later: who, when and which lines. See how it works
- A write to a file someone else just changed is refused at once, naming who changed it
Drawn from the model · nothing drawn by hand
One file. The flowchart, the lifecycle and the coverage all come from it
Pick a process below. Its flowchart, its state lifecycle and its requirements bar are drawn from one .aim file, the same file the agents read. Each requirement is traced to the operation that answers for it; one with nothing behind it would show as a gap.
A business approval process: who submits and who approves, that nobody approves their own claim, the approve-or-return decision, the claim's lifecycle, and an escalation after five business days. Open source file
Requirements traceability
4 / 4 satisfied (100%)- FAIRNobody decides their own claim (from the owner, 2026-11-29)✓ Operation:ApproveClaim
- ADDS-UPA claim's amount is the sum of its lines.✓ Operation:SubmitClaim
- FIVE-DAYSA claim is decided within five working days of being handed in.✓ Trigger:ApprovalDeadline
- RECEIPTSEvery line of a claim has a receipt.✓ Operation:ApproveClaim
A common agent skill written in pure AIM Core — explicit CI gate (Ready), shared team standards (Knowledge), a structural human sign-off wait on high-risk paths, and every requirement traced to the step that keeps it, instead of rules buried in SKILL.md prose. Open source file
Requirements traceability
4 / 4 satisfied (100%)- TESTS-FIRSTNever review a broken build; stop and report failing checks before auditing the diff.✓ Operation:CheckBuildAndScope
- EVIDENCE-ONLYEvery finding cites a file path, line range, and concrete risk — never vague style nitpicks.✓ Operation:AuditDiff✓ Result:ReviewSummary
- HUMAN-ON-RISKChanges touching authentication, billing, or database migrations require maintainer clearance before the review posts.✓ Operation:AuditDiff✓ Operation:ClearRiskGate
- NO-SILENT-MERGEThe skill posts a structured review summary and never approves or merges on a maintainer's behalf.✓ Operation:PostReviewSummary✓ Result:ReviewSummary
An 8-step mission-critical countdown with decision gates (Green, Clear, Go), an Event wait (LanderReady), state transitions, and every requirement traced to the step that keeps it — drawn straight from one .aim file. Open source file
Requirements traceability
5 / 5 satisfied (100%)- WINDOWThe vehicle lifts off inside the launch window or not at all; the window's close ends the countdown.✓ Operation:CommitToLaunch✓ Trigger:WindowCloses✓ Operation:CommitToLaunch✓ Trigger:WindowCloses
- WEATHERThe count does not leave the hold while a launch commit criterion for weather is violated.✓ Operation:PollWeather✓ Operation:PollWeather
- RANGEThe count does not leave the hold without the range's clearance — from [nasa#Requirements[RANGE]]✓ Operation:ClearRange✓ Operation:ClearRange
- LANDERThe go poll is not taken until the lander is reported ready — from [nasa.esdmd.artemis3#Requirements[LANDER]]✓ Operation:ReportLanderReadiness✓ Operation:ReportLanderReadiness
- POLLEvery station answers the go poll; one no-go scrubs.✓ Operation:PollGoNoGo
Governance gate reviews with standing review board approval, rework loops, and a 90-business-day escalation deadline. Open source file
Requirements traceability
4 / 4 satisfied (100%)- ORDERThe gates are passed in the order of the steps below; none is skipped.✓ Operation:OpenReview
- ACTIONSA review with open actions is in rework; it is held again only after every action is closed — from [nasa#Requirements[GATES]]✓ Operation:CloseActions
- NINETYA review still open ninety business days after it was opened is escalated to the directorate (from the directorate's review policy, 2024)✓ Operation:EscalateReview✓ Trigger:ReviewClosureDeadline
- BY-THE-BOOKThe board judges every review against NPR 7120.5 (from nasa#Directive:NPR7120)✓ Operation:ConductGateReview
Worked example · Software
When a pull request needs a human sign-off
Changes touching authentication, billing, or database migrations require maintainer clearance before the review posts.
The three lines from the model show where the agent pauses, how the maintainer clears the change, and when the agent can post its findings.
Explore the PR review model-
The agent flags a sensitive change
- Reviewing → AwaitingMaintainer — [pr_review#Operation:AuditDiff] -
The maintainer inspects the findings and signs off
- AwaitingMaintainer → Reviewing — [pr_review#Operation:ClearRiskGate] -
The agent posts its review
- Reviewing → Posted — [pr_review#Operation:PostReviewSummary]
Shared between people and AI
AIM is an open, checkable format for shared context between humans and AI agents.
How it stays true
Three separated acts
Authoring intent
Designs the shared model and typed edges in .aim files.
Realizing intent
Makes reality match the model — a team, a procedure, an automation, or software — and keeps bindings current.
Reviewing
Diffs reality against the declared graph, cold and read-only, and reports drift — routed explicitly to a realization fix or a model update.
Packages
A small domain-neutral Core, extended by packages
Start with AIM Core (11 universal facets, 13 edges), then add only the packages your field needs in AGENTS.md. Official extensions cover systems and software; domain packages specialize Core safely in one flat step.
systems, software) and Tier 1 domain packages with safe fallback. Click any facet or package to open it.aerospace
Domain package for spaceflight and mission operations — verified against the NASA Artemis III model.
Mission → Subject · Directive → Knowledge · Telemetry → Record · FlightProcedure → Process
healthcare
Domain package for clinical care, patient records, clinical guidelines, care plans, and clinical orders.
CareCase → Subject · PatientRecord → Record · ClinicalGuideline → Knowledge · CarePathway → Process · ClinicalReport → Result
legal
Domain package for legal matters, documentary evidence, statutes and regulations, court filings, and statutory deadlines.
Matter → Subject · Evidence → Record · Regulation → Knowledge · Filing → Result · CourtDeadline → Trigger
software
Official AIM extension package for software applications, interactive UI views, and visual design tokens.
Software · View · Style
systems
Official AIM extension package for connecting a model to external systems and abstract capabilities, without loading UI or software-application facets.
Service · Capability
work
Domain package for projects, meetings, decisions, action items, and milestones across teams, clubs, boards, and organisations.
Project → Subject · Task → Record · Meeting → Record · Decision → Record · Deliverable → Result
The file format
A model is a graph, written as Markdown
Every [verb](aim:<address>) token is a typed edge (Operation:FileReply → emits → Event:ReplyFiled, → satisfies → Requirements[ON-TIME]). Collect those tokens across files and you get the full relation graph, flowcharts, and coverage charts automatically.
---
aim: matter_41
kind: intent
nature: matter
---
# Lease Dispute — Müller vs. Berg AG
## Summary
Defending the tenant against an early lease termination notice.
## Requirements
- **ON-TIME** — The reply brief is filed within 20 days of service — from [matter_41#Regulation:ZPO]
## Operation: FileReply
### Summary
Counsel submits the signed reply brief to the court.
### Ensures
- The court receives the reply — [satisfies](aim:matter_41#Requirements[ON-TIME])
- Filing is recorded — [emits](aim:matter_41#Event:ReplyFiled)
One model, drawn whole
And a tree of intents
Tree position determines ownership but does not constrain cross-intent or cross-level edges.
Try it
Try it with your own work
Connect AIM to the agent you already use and tell it how your work runs. It writes the model and gives you a link to the flowcharts.
Add AIM to your agent, freeRun your own serverSee the examples