ATAVI is a host-agnostic multi-agent research refinement protocol. It gives a host AI a strict file-first workflow for:
- formalizing claims
- designing experiments
- checking novelty
- forcing cross-pollination between roles
- converging on the smallest high-signal experiment slate
- leaving an inspectable paper trail in
.atavi/
ATAVI is intentionally thin. The package does not run the research loop for you. It ships the protocol, role files, templates, and CLI helpers that a host AI can load and execute.
Even though the package is thin, the expected host experience is interactive:
the host should acknowledge startup, ask clarifying questions when the brief is
underspecified, present options when there are multiple viable run shapes, and
keep visible progress updates flowing while it scans and writes .atavi/
artifacts.
ATAVI is published on npm as atavi.
The package ships:
protocol/ATAVI.mdas the canonical protocolprotocol/agents/*for Theorist, Experimentalist, Scout, Critic, and Synthesistprompts/*for Codex, Claude, and Gemini starter promptstemplates/*for briefs, PODs, CPRs, and final reportsbin/atavi.jsas the CLI entrypointHOSTS.mdfor Codex, Claude, and Gemini loading guidance- scaffold, validation, migration, and memory-transfer helpers
- Node.js
>=20 - a host AI that can read and write files
- web search capability for valid Scout runs
Without web search, Scout mode and full novelty gating are not valid.
npm install -g ataviatavi --version
atavi --helpnpm install -g atavi@latest
atavi --versionnpx atavi --helpgit clone https://github.com/mechramc/Atavi.git
cd Atavi
npm install
node bin/atavi.js --helpFrom the project you want to analyze:
atavi init .
atavi validate .This creates a .atavi/ workspace with the brief, registries, pass folders,
logs, report file, and memory buckets the host will use.
atavi --pathThe returned path contains:
protocol/ATAVI.mdprotocol/agents/*prompts/*templates/*
Your host should load those files plus .atavi/brief.md, .atavi/config.json,
and .atavi/status.md.
Typical flow:
- Put a spec, proposal, design doc, or codebase in front of your host AI.
- Run
atavi init .in the project root. - Tell the host AI to run ATAVI on the workspace.
- The host writes PODs, CPRs, synthesis records, decision records, registry updates, and memory artifacts into
.atavi/. - Review
.atavi/ATAVI-REPORT.mdwhen the run finishes.
Expected host behavior during the run:
- acknowledge that ATAVI was detected
- ask clarifying questions before long repo scans when the brief is ambiguous
- present numbered options when mode, scope, or agent mix is unclear
- provide short progress updates while scanning and writing artifacts
atavi resume-check .
atavi migrate .Use resume-check before resuming an interrupted run. Use migrate to add any
missing scaffold files or schema metadata without overwriting user edits.
Print CLI help.
Print the package version.
Print the absolute path to the packaged protocol root so a host can load the protocol, role files, and templates.
Create a .atavi/ workspace in target without overwriting existing files.
The scaffold includes:
brief.mdconfig.jsonstatus.mdconflicts.mdkill-log.mdrun-log.mdATAVI-REPORT.mdpass-1/README.mdpass-1/synthesis.mdpass-1/decision.mdpass-1/cross-pollination/README.mdregistries/claims.mdregistries/experiments.mdregistries/prior-art.mdmemory/README.mdmemory/prior-art-cache/README.mdmemory/kill-archive/README.mdmemory/claim-patterns/README.mdmemory/convergence-history/README.mdmemory/strategy-insights/README.md
Verify that the packaged protocol and template assets exist.
Validate .atavi/config.json against the current package contract.
Validate .atavi/config.json and .atavi/status.md before a host resumes an
interrupted run.
Upgrade an existing .atavi/ workspace to the current schema by adding missing
files and schema metadata without overwriting user-edited files.
Copy .atavi/memory to an export directory for reuse in another workspace.
Example:
atavi memory-export . .atavi/exports/memoryCopy memory files into .atavi/memory without overwriting existing entries.
Example:
atavi memory-import .atavi/exports/memory .Use this order:
atavi --path
atavi init .
atavi validate .
atavi resume-check .Then have the host:
- confirm or refine
.atavi/brief.md - load
protocol/ATAVI.mdand the relevant role files - write pass artifacts into
.atavi/pass-N/ - update registries and logs during synthesis
- export reusable memory into
.atavi/memory/
See HOSTS.md for Codex, Claude, and Gemini-specific loading guidance.
Starter prompts are also shipped under:
prompts/codex.mdprompts/claude.mdprompts/gemini.md
From a repo checkout:
npm install
npm test
npm run ciEquivalent raw Node commands:
node scripts/check-manifest.js
node scripts/check-release-surface.js
node test/run-all.jsRegistry page:
https://www.npmjs.com/package/atavi
Install:
npm install -g ataviUpdate:
npm install -g atavi@latestRun:
atavi --help
atavi init .- HOSTS.md
prompts/codex.mdprompts/claude.mdprompts/gemini.md- ARCHITECTURE.md
- TESTING.md
- CONTRIBUTING.md