atavi
v0.1.1
Published
Host-agnostic multi-agent iterative research refinement protocol.
Maintainers
Readme
ATAVI
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.
What You Get
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
Requirements
- 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.
Install
Global install
npm install -g ataviVerify the install
atavi --version
atavi --helpUpdate an existing global install
npm install -g atavi@latest
atavi --versionRun with npx
npx atavi --helpRun from a local checkout
git clone https://github.com/mechramc/Atavi.git
cd Atavi
npm install
node bin/atavi.js --helpQuick Start
1. Create a workspace
From 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.
2. Point your host at the protocol
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.
3. Run the protocol
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
4. Resume or repair later
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.
Command Reference
atavi --help
Print CLI help.
atavi --version
Print the package version.
atavi --path
Print the absolute path to the packaged protocol root so a host can load the protocol, role files, and templates.
atavi init [target]
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
atavi doctor
Verify that the packaged protocol and template assets exist.
atavi validate [target]
Validate .atavi/config.json against the current package contract.
atavi resume-check [target]
Validate .atavi/config.json and .atavi/status.md before a host resumes an
interrupted run.
atavi migrate [target]
Upgrade an existing .atavi/ workspace to the current schema by adding missing
files and schema metadata without overwriting user-edited files.
atavi memory-export [target] [output]
Copy .atavi/memory to an export directory for reuse in another workspace.
Example:
atavi memory-export . .atavi/exports/memoryatavi memory-import <source> [target]
Copy memory files into .atavi/memory without overwriting existing entries.
Example:
atavi memory-import .atavi/exports/memory .Recommended Host Workflow
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
Development
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.jsnpm Package
Registry page:
https://www.npmjs.com/package/atavi
Install:
npm install -g ataviUpdate:
npm install -g atavi@latestRun:
atavi --help
atavi init .Related Docs
- HOSTS.md
prompts/codex.mdprompts/claude.mdprompts/gemini.md- ARCHITECTURE.md
- TESTING.md
- CONTRIBUTING.md
