Getting started
Aristo is agent-native. You don’t drive it by hand: your coding agent writes and verifies intent as it codes, and the index regenerates from your source and proofs, so there’s nothing to keep in step. This guide sets that up and walks one full loop, including what happens when code drifts away from what it claims.
For why before how, read the manifesto. Terms are in the glossary.
How Aristo works with your agent
Section titled “How Aristo works with your agent”- Your agent writes the claims. As it writes a function, it adds
a one-line
#[aristo::intent("…")]above it saying what the function is for. (Thearisto-authoringskill teaches it how.) - Your agent verifies them — and brings the results back. It
checks each claim against the code, then surfaces every verdict for
you to accept or refuse. Nothing it concludes lands until you say
so. (The
aristo-verifyandaristo-critiqueskills.) - The index is derived, not hand-maintained.
.aristo/index.tomlis a regenerable local cache, not committed state: every read command rebuilds it from your source and the recorded proofs. A claim whose code has drifted from its proof shows up asstalethe moment you look (aristo status, oraristo verify --auditin CI). You don’t runaristo stampto keep it honest; it’s an optional refresh (it also syncs canon matches, prunes canon-match entries for removed annotations, and archives their proofs). - You bring judgment. You decide which claims are worth making and accept them into the codebase. Aristo verifies the claims you keep; it doesn’t decide them for you.
The CLI underneath is what the skills and the hook call. You touch it directly only to set up, and to glance at where you stand.
One-time setup
Section titled “One-time setup”$ cargo install aristo-cli # the `aristo` CLI$ cargo add aristo # the #[aristo::intent] / #[aristo::assume] macros$ aristo initok: created aristo.tomlok: created .aristo/index.toml (local cache; gitignored)ok: added `.aristo/index.toml` to .gitignore # plus the other runtime paths (sessions, queues, …)ok: created .aristo/specs/ok: created .aristo/doc/
$ aristo install-skills --agent claude-code # also: cursor, codex, opencode, antigravityThat’s the last time you need the terminal for the everyday loop.
init seeded the .aristo/ layout and the local index cache (and
gitignored the runtime artifacts); install-skills taught your agent the
authoring, verification, and critique skills. Add a CI gate with
aristo init --ci (writes .github/workflows/aristo.yml).
The loop in practice
Section titled “The loop in practice”Now you work with your agent as usual. With the authoring skill installed, it writes the claim alongside the code:
/// Clamp `value` into the inclusive range `[lo, hi]`.#[aristo::intent( "returns a value within [lo, hi] for any input", verify = "neural", id = "clamp_in_range",)]pub fn clamp(value: i64, lo: i64, hi: i64) -> i64 { value.max(lo).min(hi)}Three parts: the claim (what the function is for, in plain
language), the verify mode (neural — an AI critic reads the
code against the claim), and a stable id the agent assigns so the
claim can be tracked as the code evolves.
On commit, the hook stamps the index:
→ Found 1 annotations new: 1, unchanged: 0, body-drifted: 0, text-changed: 0, removed: 0ok: stamped 1 annotation into .aristo/index.tomlThe claim is recorded but not yet verified. Your agent verifies it — in Claude Code:
/aristo-verifyThe skill reads each pending claim against its function and produces
a verdict. clamp genuinely returns a value in [lo, hi], so the
verdict is holds — which it brings back for you to accept. You
accept; the claim is now verified.
You didn’t run a verifier. You reviewed a function, kept the claim, and your agent did the checking.
Drift gets caught
Section titled “Drift gets caught”Here’s the part that earns Aristo its place.
Later — another session, maybe another agent — a refactor quietly drops the upper bound:
pub fn clamp(value: i64, lo: i64, hi: i64) -> i64 { value.max(lo) // upper bound gone — result can exceed hi}It compiles. A shallow test might still pass. But the function no longer does what its claim says. The next commit’s stamp catches it:
new: 0, unchanged: 0, body-drifted: 1, text-changed: 0, removed: 0 • clamp_in_range: body changed — status was Verified, now StaleThe verification no longer applies to this code, so the claim is
flagged stale — loudly, before it ships. Your agent re-runs
/aristo-verify on the stale entry. This time the critic
reads the new body against “returns a value within [lo, hi]” and
finds it false:
Refuted. The function returns
value.max(lo), which has no upper bound; forvalue > hithe result exceedshi, violating the claim.
The drift didn’t slip through. The claim that stopped holding got flagged the moment the code changed, the re-check said exactly why, and your agent brought the refutation back to you. You fix the function — or the claim — and move on.
Nothing lands unreviewed
Section titled “Nothing lands unreviewed”Your agent doesn’t quietly write its conclusions into your code — it
brings them back to you. When it finishes verifying, it surfaces each
verdict in the conversation and asks you to accept or refuse. You
rule on each one right there. Only what you accept gets written to
.aristo/proofs/ and committed; the rest is dropped.
Critique runs the same handoff. The aristo-critique skill raises
findings on your annotation prose and presents each for the same
accept / refuse / defer call — and a finding stays open, re-surfacing
until you’ve ruled on it. Nothing closes on its own.
This is the workflow, not an extra step bolted on. The agent does the labor — drafting claims, checking them, flagging weak prose — and hands every result back for your judgment. What ends up in your repo is a record of what you accepted, not another layer of unreviewed AI output bloating your codebase.
Checking in
Section titled “Checking in”When you want to see where a codebase stands:
$ aristo status...Tier: Score: 0.050 (visible) Tier: Aspirantaristo status— verification rate per mode, and your current tier.aristo badge— the README badge (Aspirant → Apprentice → Adept → Ascendent → Areté).aristo show <id>— the full record for one annotation.
These are for looking, not for driving. The everyday work stays in your agent.
Supported agents & integrations
Section titled “Supported agents & integrations”Skills install into Claude Code, Cursor, Codex,
OpenCode, and Antigravity (aristo install-skills --agent <name>). Alongside them, aristo init --ci writes a starter CI
workflow (.github/workflows/aristo.yml) you can build on. A local
pre-commit hook is available via aristo init --hook, but it is
deprecated: CI (aristo verify --audit) is the enforcement point.
Where to next
Section titled “Where to next”- Manifesto — why verifiable intent, and why now.
- Glossary — the vocabulary, defined once.
- The
aristo-authoringskill — how your agent learns to write good claims, and how you shape that taste over time. - Discussions — questions, ideas, what we build next. Open.