Multi-agent orchestration for Claude Code. Think before you build.
Most AI coding tools optimize for doing things faster. ATLAS optimizes for doing the right things.
ATLAS is an orchestration layer for Claude Code built around three ideas that other tools ignore:
| Layer | What it does | Problem it solves |
|---|---|---|
| Socratic Layer | Challenges every plan before execution with a Critic and Devil's Advocate | You stop building the wrong thing |
| Living Document | Maintains a persistent knowledge graph of your codebase across sessions | Claude remembers like a teammate, not a goldfish |
| Confidence Layer | Gates execution by certainty β fast when sure, careful when not | Claude moves fast where it knows, slows down where it doesn't |
ATLAS is not a fork of Claude Code. It hooks into Claude Code's native extension points, so you always stay on upstream.
Every task flows through the ATLAS pipeline:
User Prompt
β
βΌ
[1. CONSULT] Read .atlas/memory.json for codebase context
β
βΌ
[2. SOCRATIC] Critic + Devil's Advocate challenge the plan
β
βΌ
[3. CONFIDENCE] Rate plan: CERTAIN / UNCERTAIN / RISKY
β
βββ CERTAIN β Execute immediately
βββ UNCERTAIN β Confirm assumptions first
βββ RISKY β Full Socratic summary + explicit approval
β
βΌ
[4. EXECUTE] Carry out the approved plan
β
βΌ
[5. UPDATE] Write what was learned to .atlas/memory.json
Before Claude writes a line of code, it argues with itself.
- Critic: finds flaws, missing edge cases, hidden assumptions, test gaps
- Devil's Advocate: proposes an alternative approach and argues for it
Only when the plan survives both agents does execution begin. For risky tasks, the findings are surfaced to you visibly β ATLAS never skips this step silently.
A persistent, structured memory of your codebase stored in .atlas/memory.json.
It tracks:
- Project stack and architecture overview
- Critical, fragile, and stable files
- Architecture decisions and why they were made
- Known gotchas and open questions
- Session-by-session history
The Living Document is powered by an MCP server (atlas-mcp) so it is queryable, updateable, and survives across every session. You never re-explain your project to Claude again.
Every significant action is rated before execution:
| Level | Meaning | Gate |
|---|---|---|
| CERTAIN | Files read, intent clear, reversible, no fragile areas touched | Execute immediately |
| UNCERTAIN | Assumptions being made, intent ambiguous, unfamiliar territory | Surface assumptions, confirm first |
| RISKY | Destructive action, fragile areas, wide blast radius, unresolved Critic concerns | Full Socratic summary + explicit approval |
Speed is earned, not assumed.
ATLAS uses three internal agents:
| Agent | Role |
|---|---|
| Critic | Finds flaws, edge cases, and risks in a plan |
| Devil's Advocate | Proposes alternatives and challenges the chosen approach |
| Confidence Rater | Assesses certainty and gates execution accordingly |
| Command | What it does |
|---|---|
/atlas_run |
Full ATLAS pipeline on the current task |
/atlas_init |
Initialize ATLAS memory for this project |
/atlas_memory |
Show what ATLAS knows about this codebase |
/atlas_challenge |
Socratic challenge on a plan (no execution) |
/atlas_confidence |
Rate confidence on the current plan |
/atlas_plan |
Strategic planning with Socratic round |
/atlas_review |
Review recent changes or a specific file |
/atlas_help |
Show all commands and keywords |
ATLAS detects natural language and activates automatically β no commands required:
| Say this... | ATLAS activates |
|---|---|
| "build", "implement", "create" | Full ATLAS pipeline |
| "refactor", "change", "update" | Confidence check first |
| "plan", "think about", "design" | Socratic round |
| "remember", "what do you know" | Living Document query |
| "review", "check", "audit" | ATLAS review |
| "risky", "not sure", "careful" | Forced RISKY pipeline |
- Windows (macOS/Linux support planned)
- Node.js >= 20
- Claude Code installed and working in VS Code
- Claude Pro subscription or Anthropic API key
Open PowerShell and run:
git clone https://github.com/baksho/ATLAS.git
cd ATLASpowershell -ExecutionPolicy Bypass -File scripts/setup.ps1This will:
- Check your Node.js version
- Build the ATLAS MCP server
- Install slash commands into Claude Code
- Register the
atlas-mcpMCP server in Claude Code's config
For every project you want ATLAS to manage, copy the orchestration brain into the project root:
copy templates\CLAUDE.md C:\path\to\your\project\CLAUDE.mdReplace C:\path\to\your\project with the actual path to your project.
- Open your project folder in VS Code
- Open Claude Code: press
Ctrl+Shift+P, typeClaude Code, press Enter - You should see Claude Code open in the sidebar or panel
In the Claude Code chat, type:
/atlas_init
ATLAS will scan your project, ask you three questions, and write .atlas/memory.json.
You are ready. ATLAS now runs automatically on every task.
Just describe what you want. ATLAS activates automatically:
build a REST API for user authentication
ATLAS will: load memory β challenge the plan β rate confidence β wait for your approval if risky β execute β update memory.
/atlas_plan design the database schema for a multi-tenant SaaS app
/atlas_challenge should I use JWT or session-based auth?
/atlas_review src/auth.ts
/atlas_memory
/atlas_memory
/atlas_run refactor the payment processing module
ATLAS/
βββ agents/
β βββ critic.md # Critic agent prompt
β βββ devils-advocate.md # Devil's Advocate agent prompt
β βββ confidence-rater.md # Confidence Rater agent prompt
β
βββ commands/
β βββ atlas:run.md # /atlas_run command
β βββ atlas:init.md # /atlas_init command
β βββ atlas:memory.md # /atlas_memory command
β βββ atlas:challenge.md # /atlas_challenge command
β βββ atlas:confidence.md # /atlas_confidence command
β βββ atlas:plan.md # /atlas_plan command
β βββ atlas:review.md # /atlas_review command
β βββ atlas:help.md # /atlas_help command
β
βββ skills/
β βββ socratic/SKILL.md # Socratic round workflow
β βββ confidence/SKILL.md # Confidence gating workflow
β βββ living-doc/SKILL.md # Living Document read/write workflow
β βββ atlas-plan/SKILL.md # Strategic planning workflow
β βββ atlas-review/SKILL.md # Code review workflow
β
βββ mcp-server/
β βββ src/index.ts # Living Document MCP server (TypeScript)
β βββ package.json
β βββ tsconfig.json
β
βββ scripts/
β βββ setup.ps1 # Windows setup script
β
βββ templates/
β βββ CLAUDE.md # Orchestration brain (copy to your project)
β
βββ package.json
βββ LICENSE
βββ README.md
ATLAS stores codebase knowledge in .atlas/memory.json in your project root. This file is updated automatically after every significant action.
Example:
{
"project": {
"name": "my-saas-app",
"description": "Multi-tenant SaaS platform",
"stack": ["TypeScript", "React", "Node.js", "PostgreSQL"],
"entrypoints": ["src/index.ts", "src/app.tsx"]
},
"architecture": {
"overview": "Monorepo with separate frontend and backend packages",
"decisions": [
{
"date": "2026-04-01",
"decision": "Use JWT for auth",
"reason": "Stateless, scales across multiple servers"
}
]
},
"files": {
"critical": ["src/index.ts", "src/db/schema.ts"],
"fragile": ["src/auth/tokens.ts", "src/payments/stripe.ts"],
"stable": ["src/utils/logger.ts"]
},
"knowledge": {
"known_gotchas": ["Stripe webhooks must be verified before processing"],
"open_questions": ["Should we cache user permissions in Redis?"]
}
}Add .atlas/ to your .gitignore if you do not want to commit this file, or commit it to share context with your team.
- macOS and Linux support
- Standalone CLI (tool-agnostic: works with Codex CLI, Gemini CLI, and others)
- Living Document visualization (web UI to browse memory graph)
- Team memory sharing (shared
.atlas/memory.jsonvia git) - Agent learning β extract reusable patterns from sessions automatically
ATLAS is built on one belief: the bottleneck in AI-assisted development is not speed, it is judgment.
Other orchestration tools make Claude faster. ATLAS makes Claude more thoughtful. A plan challenged and verified before execution is worth ten plans executed at full speed in the wrong direction.
Contributions are welcome. Please open an issue before submitting a pull request so we can discuss the change first.
MIT Β© Baksho