AIMAgentic Intent Model

Why AIM

Why a structured context

What goes wrong with notes, rules and copies, and how one shared model answers it.

PEOPLE · OWNERS State & confirm intent owner ✓ AI AGENTS Read & propose proposed SHARED AIM CONTEXT · .AIM Intent, not rigid rules Process steps & gates Operation ensures Knowledge standards Must Hold traced ✓ AUTO DIAGRAMS S1 Go? ✓ LIVE SYNC Git or /mcp 0 stale copies COLD REVIEW ✓ Drift reported
One .aim context: people and agents share intent, diagrams draw themselves, and a cold review reports drift.

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.

Notes, rules & instructions

It stops being true

Agent ALWAYS RULE #14 NEVER UNLESS EXCEPT Still true?nobody knows Rules in the file Growing ↑ Checked for truth Never
  • A rules file or prose SKILL.md only 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
AIM · intent

Stored as intent, so it gets checked

.aim Intentwhat must hold Freedom in how Cold Review ✓reports drift Agent's proposals Marked Checked for truth By review
  • 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
Copies in a repository

It arrives late

Agent A Agent B its own copy its own copy CONFLICTfound at merge Time until noticed Hours Told of changes No
  • 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
AIM · live context

One context, read and written live

Agent A Agent B Live contextone model for all Told as it works ✓who, when, what Time until noticed One step Told of changes Each one
  • 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

Workflow ReimburseClaim: 3 steps with decision gates and waits, generated straight from the model. Click any step to jump to its operation or event.
ApproveClaimApproveClaimPayClaimSubmitted (initial)SubmittedApprovedApprovedReturned (final)ReturnedPaid (final)Paid
State ClaimStatus: how its value may move, and the operation behind each move. A dot marks the initial state, a double line a final one.

Requirements traceability

4 / 4 satisfied (100%)

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
pr_review.aimReview lifecycle
  1. The agent flags a sensitive change
    - Reviewing → AwaitingMaintainer — [pr_review#Operation:AuditDiff]
  2. The maintainer inspects the findings and signs off
    - AwaitingMaintainer → Reviewing — [pr_review#Operation:ClearRiskGate]
  3. 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.

Knowledge is written and context is derived.

Nothing called context is authored, stored or handed over. What someone needs in reach to work on a node — a person, an authoring, realizing or reviewing pass, or a skill while it runs — follows from the links and from the tree, as the graph itself does (§8).

Itself

scheduling#Operation:ListShiftsForDate

The operation, and the Summary and Requirements of scheduling

The node, and the Summary and Requirements of the intent it belongs to

What it names

OVERNIGHT-DATE, which it satisfies

The targets of the edges and references it declares, the requirements it satisfies and the Knowledge it consults among them

Where it comes from

The entry OvernightShift, the source of OVERNIGHT-DATE

The sources that its requirements, or the requirements it satisfies, cite with from

What is said about it

The entry OvernightShift, through explainsOperation

The rows that link to it through a reference field or a modelref field

The background above it

SchedulingContext, the collection of notes

The Knowledge declared on its intent and on that intent's ancestors

The context of one operation of the shift scheduling example, as the specification derives it. The upper line of each part is what it holds here, the lower line what it holds for any node.

Derived, never authored

No file, block or edge holds a context. A tool computes it, and two tools derive the same parts from the same project.

One step

Each part is one step from the node. This is what a worker has without asking. Anything further is a question along exact links and comparisons whose answer shows the path it took.

Context informs

It never decides (§4.9). A rule found only in the context is not a commitment, and a review asks for the requirement.

How it stays true

Three separated acts

1

Authoring intent

Designs the shared model and typed edges in .aim files.

2

Realizing intent

Makes reality match the model — a team, a procedure, an automation, or software — and keeps bindings current.

3

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.

AIM 8 CORE · 11 DOMAIN-NEUTRAL FACETS · 13 EDGES · ~11K TOKENSSubjectSubjectRecordRecordOperationOperationProcessProcessPersonaPersonaEventEventTriggerTriggerStateStateKnowledgeKnowledgeOrganisationOrganisationResultResultextends Core edges1 flat step · safe fallbackTIER 2 · OFFICIAL EXTENSIONSOfficial AIM extension package for software applications, interactive UI views, and visual design tokens. Automatically includes `systems` (`Service`, `Capability`, `kind: mapping`, `### Requires`).INCLUDES SYSTEMSsoftwareSoftware · View · StyleOfficial AIM extension package for connecting a model to external systems and abstract capabilities, without loading UI or software-application facets. Automatically included by `software`.EXTENSIONsystemsService · CapabilityTIER 1 · DOMAIN CATALOG PACKAGESDomain package for spaceflight and mission operations — verified against the NASA Artemis III model. Every facet specializes one AIM Core facet in a single flat step with guaranteed safe fallback.DOMAIN · v1.0aerospaceMission · Directive · Telem…Domain package for clinical care, patient records, clinical guidelines, care plans, and clinical orders. Keeps actors (`Persona`, such as Patient or Clinician) strictly separate from stored clinical data (`PatientRecord`, `Origin: Record`). Every facet specializes one AIM Core facet in a single flat step with guaranteed safe fallback.DOMAIN · v1.0healthcareCareCase · PatientRecord · …Domain package for legal matters, documentary evidence, statutes and regulations, court filings, and statutory deadlines. Every facet specializes one AIM Core facet in a single flat step with guaranteed safe fallback.DOMAIN · v1.0legalMatter · Evidence · Regulat…Domain package for projects, meetings, decisions, action items, and milestones across teams, clubs, boards, and organisations. Every facet specializes one AIM Core facet in a single flat step with guaranteed safe fallback.DOMAIN · v1.0workProject · Task · Meeting · …
AIM 8 architecture: 11 domain-neutral Core facets extended by Tier 2 official extensions (systems, software) and Tier 1 domain packages with safe fallback. Click any facet or package to open it.

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.

The edges of the language

matter_41.aim
---
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

Pull Request Review (Agent Skill): 16 facets and 26 edges, drawn from what the file declares. Each box leads to its lines. a declared edge and its verbrefs or holds, from a Schemain another intent✓ a requirement it satisfies
CheckBuildAndScopeCheckBuildAndScopeAuditDiffClearRiskGatePostReviewSummaryQueued (initial)QueuedReviewingReviewingAwaitingMaintainerAwaitingMaintainerPosted (final)PostedBlocked (final)Blocked
State ReviewLifecycle: how its value may move, and the operation behind each move. A dot marks the initial state, a double line a final one.

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