Skip to content

Repository files navigation

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.md as the canonical protocol
  • protocol/agents/* for Theorist, Experimentalist, Scout, Critic, and Synthesist
  • prompts/* for Codex, Claude, and Gemini starter prompts
  • templates/* for briefs, PODs, CPRs, and final reports
  • bin/atavi.js as the CLI entrypoint
  • HOSTS.md for 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 atavi

Verify the install

atavi --version
atavi --help

Update an existing global install

npm install -g atavi@latest
atavi --version

Run with npx

npx atavi --help

Run from a local checkout

git clone https://github.com/mechramc/Atavi.git
cd Atavi
npm install
node bin/atavi.js --help

Quick 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 --path

The returned path contains:

  • protocol/ATAVI.md
  • protocol/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:

  1. Put a spec, proposal, design doc, or codebase in front of your host AI.
  2. Run atavi init . in the project root.
  3. Tell the host AI to run ATAVI on the workspace.
  4. The host writes PODs, CPRs, synthesis records, decision records, registry updates, and memory artifacts into .atavi/.
  5. Review .atavi/ATAVI-REPORT.md when 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.md
  • config.json
  • status.md
  • conflicts.md
  • kill-log.md
  • run-log.md
  • ATAVI-REPORT.md
  • pass-1/README.md
  • pass-1/synthesis.md
  • pass-1/decision.md
  • pass-1/cross-pollination/README.md
  • registries/claims.md
  • registries/experiments.md
  • registries/prior-art.md
  • memory/README.md
  • memory/prior-art-cache/README.md
  • memory/kill-archive/README.md
  • memory/claim-patterns/README.md
  • memory/convergence-history/README.md
  • memory/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/memory

atavi 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:

  1. confirm or refine .atavi/brief.md
  2. load protocol/ATAVI.md and the relevant role files
  3. write pass artifacts into .atavi/pass-N/
  4. update registries and logs during synthesis
  5. 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.md
  • prompts/claude.md
  • prompts/gemini.md

Development

From a repo checkout:

npm install
npm test
npm run ci

Equivalent raw Node commands:

node scripts/check-manifest.js
node scripts/check-release-surface.js
node test/run-all.js

npm Package

Registry page:

  • https://www.npmjs.com/package/atavi

Install:

npm install -g atavi

Update:

npm install -g atavi@latest

Run:

atavi --help
atavi init .

Related Docs

About

Handy research tools for researchers from any field. Try it - and let me

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages