Agentic Intent Model (AIM) v8.0 — Verified Context for Humans and AI
Battle-tested in production since February 2026: used by 30 people across two industries to build and manage 60+ applications every month.
AIM is an open, verifiable format for an AIM Context: the one model that people and AI agents (Claude, Codex, Gemini, and custom assistants) work from. Plain Markdown (CLAUDE.md, PRDs, Notion docs) works on Day 1 and rots by Month 3 once multiple people and agents start shipping. AIM captures what a team knows, decides, and commits to in structured .aim files so every human and agent reads the same derived context, AI proposals stay clearly marked until confirmed, and cold review catches drift automatically.
This repository holds the slim AIM v8.0 Core Specification (~12k tokens), on-demand normative modules in reference/, the static Package Registry in packages/, and browsable public example contexts in examples/.
Examples, drawn from their own words#
Every AIM model draws itself: these pictures come straight from the .aim files in examples/, nothing drawn by hand.
An agent skill: pull request review#
Review opened pull requests only after CI is green. Audit the diff against our shared team standards, cite exact files and lines, wait for a maintainer on auth, billing, or migration changes, and post a structured summary without silently merging.
The model · Explore it on intentmodel.org
A legal matter: a lease dispute#
We are defending a tenant against an early lease termination. Keep every exhibit unaltered with its file fingerprint, cite Swiss civil procedure rules, draft the reply brief, and alert the partner if 20 days pass after service without a filing.
The model · Explore it on intentmodel.org
A business process: expense claims#
An employee submits an expense claim with lines and receipts. An approver approves other people’s claims — never their own — within five business days, and finance pays approved claims.
The model · Explore it on intentmodel.org
A team building one AIM Context#
Three people's agents each add a piece to one shared AIM Context, and the others are told each time.
What's new in 8.0#
Slim Core Spec (~12k tokens). specification.md is cut by nearly 80% so any human can read it in minutes and agents load it cheaply on every turn — keeping full Core facets, Business Process mapping, and Entries essentials in one file, while deep review, parser, and check-grammar details live on demand under reference/.
Domain-neutral Core (11 facets, 13 edges). Eleven universal facets (Subject, Record, Operation, Process, Persona, Event, Trigger, State, Knowledge, Organisation, Result) and thirteen domain-neutral edges — zero software bias in Core (§4, §5).
Static Package Registry (kind: package). Load only the packages your field needs in AGENTS.md: official extensions systems and software, plus flat 1-step domain packages (legal, aerospace, work, healthcare) with safe fallback and a compact machine index at packages/index.json (§4.12).
Authoritative nature: & one origin. Every intent is a promoted facet with a required nature: (§4.0, §16). Actors (Persona, Organisation) and stored data (Record) always stay separate facets.
No coding lens. Software-team job titles left the specification in favor of §11's three domain-neutral acts (authoring intent, realizing intent, reviewing). Software coding-agent conventions live in guides/coding-agents.md.
(Earlier release history lives in reference/versions.md.)
Why AIM#
- One AIM Context across people and agents — Claude, Codex, Gemini, and human teammates read the same derived context from one source of truth instead of stale chat history or copy-pasted prompts (§10).
- AI proposals never silently overwrite decisions — Every line an agent proposes carries
— from: proposed by <name>, <date>until an owner confirms it (§6). - A checkable graph, not just prose — Typed edges (
[mutates](aim:claims#Record:Claim)) derive flowcharts, impact sets, requirement coverage, and visual diagrams automatically (§5, §8). - Cold read-only review catches drift — Inline
### Bindingsmap intent nodes to code, documents, or procedures so an independent review diffs reality against declared context (§11, §12).
Plain Markdown is fine for a throwaway script or a solo weekend project. AIM pays off the moment multiple people, multiple agents, or dozens of live applications need an AIM Context that stays true.
File format at a glance#
---
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)
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.
Public example contexts ship with the spec:
- examples/pr-review/ — a Pull Request Review agent skill written in pure AIM Core (why structured intent beats a 180-line prose
SKILL.md). - examples/legal/ — a complete legal matter (
legalpackage, zero software terms) with immutable exhibits, filings, and a statutory deadline. - examples/nasa/ — a 14-intent Artemis III mission tree (
aerospace+softwarepackages) with 8-step launch countdown, lifecycle gates, anomaly resolution, and mission control software. - examples/claims/, board/, scheduling/, incidents/, and diary/ — five focused AIM 8.0 models checked by
python3 examples/check.py.
The roles#
AIM separates three acts by what each may write (§11; software-agent mapping in guides/coding-agents.md):
- Authoring intent designs the shared model and typed edges in
.aimfiles (called Architect — or Encoder in reverse — in coding-agent workflows). - Realizing intent makes reality match the model — a team, a procedure, an automation, or software — and keeps bindings current (called Realizer or Developer in coding-agent workflows).
- Reviewing diffs reality against the declared graph, cold and read-only, and reports drift — routed explicitly to a realization fix or a model update (called Reviewer).
Render .aim files as Markdown on GitHub#
Drop a .gitattributes file at your repo root:
*.aim linguist-language=Markdown
*.aim linguist-detectable=true
GitHub renders .aim files as Markdown — frontmatter, headings, lists, and typed edges as clickable links.
Repository contents#
- specification.md — the slim, fast-load AIM v8.0 Core Specification (~12k tokens).
- packages/ — static Package Registry: official extensions (
systems.aim,software.aim), starter domain packages (legal.aim,aerospace.aim,work.aim,healthcare.aim), and compact machine indexindex.json. - examples/ — browsable public AIM 8.0 contexts (pr-review, legal, nasa, claims, board, scheduling, incidents, diary) with
check.py. - reference/ — on-demand normative modules (values-and-checks.md, process-semantics.md, entries.md, review-and-evolution.md, resolution-and-context.md), plus diagnostics.md, diagnostic-codes.md, and versions.md.
- guides/ — modelling.md and coding-agents.md.
- context-server/ — run your own context server, which serves and manages AIM Contexts, each one a model that people and their agents read and write together, live, over MCP (Docker image
juiceservices/aim-context-server), and the protocol every context server keeps. - AGENTS.md, PROMPT.md, GEMINI.md, skills/amy/, agents/, brain/ — agent onboarding and Amy integrations.
(The website https://intentmodel.org builds from this repository in a separate repository.)
Meet Amy#
AIM is the open format; Amy is the assistant who speaks it. You don't pick a role from a menu — you talk to Amy in plain language and she models processes, updates the AIM Context, builds from the model, or runs cold reviews automatically.
- Claude Code — add this repo as a plugin marketplace, then install Amy:
/plugin marketplace add juicejs/agentic-intent-model /plugin install amy@intentmodel - Gemini CLI — install the extension from this repo:
gemini extensions install https://github.com/juicejs/agentic-intent-model - OpenAI Codex — drop codex/prompts/amy.md into
~/.codex/prompts/for/amy, or let Codex read AGENTS.md directly.
Any other agent: point it at AGENTS.md and https://intentmodel.org/specification.md.
Current spec: AIM v8.0
Built by Juice d.o.o. · MIT License