██████╗ ████████╗██╗ █████╗ ███████╗
██╔══██╗╚══██╔══╝██║ ██╔══██╗██╔════╝
███████║ ██║ ██║ ███████║███████╗
██╔══██║ ██║ ██║ ██╔══██║╚════██║
██║ ██║ ██║ ███████╗██║ ██║███████║
╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝
An agentic AI coding assistant that lives in your terminal
Reads files, writes code, runs commands, and remembers context across sessions — no browser, no context switching.
curl -fsSL https://atlas.alpheric.ai/downloads/install.sh | bash
irm https://atlas.alpheric.ai/downloads/install.ps1 | iex
curl -LO https://atlas.alpheric.ai/downloads/atlas-cli.tar.gz && tar -xzf atlas-cli.tar.gz && sudo mv atlas /usr/local/bin/
POST /auth/login — returns signed JWTPOST /auth/refresh — refreshes tokenrequireAuth middleware for protected routes
Built for developers who live in the terminal. No browser, no context switching.
.atlas/memory.md. Picks up exactly where you left off./add needed.~/.atlas/sessions/. Use /history and /resume to jump back in.cat error.log | atlas "fix this" or atlas ask "..." — no TUI, stdout output, perfect for scripts.From zero to your first AI-powered commit in under 2 minutes.
Run the install script then set your API key.
curl -fsSL https://atlas.alpheric.ai/downloads/install.sh | bash atlas config set apiKey sk-atlas-xxxx atlas config set baseUrl https://atlas.alpheric.ai/v1
Run inside your project directory. Creates .atlas/ and ATLAS.md.
cd your-project
atlas init
ATLAS.md to add project-specific instructions — stack, conventions, files to avoid. Atlas reads it every session.Launch the interactive session and start chatting.
atlas # In the TUI: # "add input validation to src/routes/users.ts" # "fix the failing tests" # "/commit"
Everything you need to know about Atlas CLI.
| Command | Description |
|---|---|
| atlas | Start interactive TUI session |
| atlas ask <prompt> | One-shot answer to stdout — no TUI |
| atlas init | Create .atlas/ and ATLAS.md in current directory |
| atlas config | Show current configuration |
| atlas config set <key> <val> | Persist a config value |
| atlas doctor | Check API key, backend, git, version |
| atlas update | Update to latest version (foreground with progress) |
| atlas diff | Show git diff |
| atlas git | Show git status |
| atlas review | Review staged changes |
| atlas commit-message | Generate a commit message only |
| Flag | Description |
|---|---|
| --model, -m | Atlas model to use (e.g. atlas-plan) |
| --url, -u | Backend URL override |
| --key, -k | API key override |
| --no-agent | Plain chat only — no tool use |
| --auto-model | Auto-route model by task type |
| --system "..." | Override system prompt for this session |
| Key | Action |
|---|---|
| Enter | Send message |
| Shift+Enter | Insert newline (multi-line input) |
| Esc | Interrupt current response mid-stream |
| ↑ / ↓ | Browse message history |
| Ctrl+A | Move cursor to start of line |
| Ctrl+E | Move cursor to end of line |
| Ctrl+W | Delete previous word |
| Ctrl+U | Clear entire input line |
| Ctrl+K | Delete from cursor to end of line |
| Ctrl+C | Quit Atlas |
| /help | Show all slash commands |
| /clear | Clear conversation history |
| /compact | Manually summarise conversation to reduce context |
| /status | Workspace, model, permissions, token usage |
| /doctor | Run health checks |
| /add <glob> | Inject files into context. e.g. /add src/**/*.ts (up to 20 files) |
| /read <path> | Read and display a file |
| /edit <path> | Ask Atlas to edit a file |
| /write <path> | Ask Atlas to write a new file |
| /run <cmd> | Run a shell command |
| /test | Run tests (auto-detects npm/cargo/pytest/go) |
| /build | Run build |
| /fix | Run tests → fix errors → repeat up to 5× |
| /fix <cmd> | Fix loop with specific command, e.g. /fix cargo test |
| /rollback | Undo last file changes from .atlas/backups/ |
| /git | Show git status |
| /diff | Show git diff |
| /review | Code review of staged changes |
| /commit | Generate commit message + run git commit |
| /pr | Generate PR title + description vs main |
| /pr <base> | PR description vs specified branch |
| /memory | Show .atlas/memory.md contents |
| /memory save | Force immediate memory update |
| /copy | Copy last response to clipboard |
| /history | List saved sessions (last 15) |
| /resume <n> | Restore session n from /history |
| /plan <goal> | Create a step-by-step implementation plan |
| /security | Security review of the codebase |
| /docs <file> | Generate documentation for a file |
| /undo | List recent tool actions (for manual undo) |
| /model | Show available models |
| /model <name> | Switch active model |
| /permissions | Show current permission mode |
| /permissions <mode> | Set mode: readonly / ask / auto / danger |
atlas atlas --model atlas-plan atlas --no-agent # plain chat, no tool use atlas --auto-model # auto-select model by task type
Prints the answer directly to stdout. No TUI. Good for scripts.
atlas ask "what does auth.ts do?" atlas ask "summarise the last 5 commits" --model atlas-plan
When stdin is not a TTY, Atlas reads it and combines with your prompt.
cat error.log | atlas "why is this failing?" git diff | atlas "write a commit message" cat src/auth.ts | atlas # analyse without a prompt
Run atlas init in your project root to create the workspace:
.atlas/ memory.md ← session memory (auto-updated every 3 turns) permissions.json ← permission config commands/ ← custom slash commands (*.md files) backups/ ← file backups before each edit audit.jsonl ← tool action log ATLAS.md ← project context injected every session
Example ATLAS.md:
# My App Next.js 14 · TypeScript strict · PostgreSQL · Prisma ORM ## Rules - Always run `npm test` after making changes - Never modify files in /generated/ or /migrations/ - Use Zod for all runtime validation - Components go in src/components/, hooks in src/hooks/
Atlas automatically builds and maintains .atlas/memory.md as you work.
| Every 3 turns | Auto-generates a fresh summary: key decisions, files changed, task status, open items |
| /memory save | Force an immediate save at any point |
| /memory | Display current memory contents |
| Next session | Memory is injected into the system prompt — Atlas knows where you left off |
Full conversations are saved to ~/.atlas/sessions/ after every turn. Sessions older than 30 days are pruned automatically.
# List saved sessions /history Saved sessions (newest first): 1. [11 May 2026, 17:45] dev/myapp · 12 turns "add JWT authentication to the Express API…" 2. [10 May 2026, 09:30] dev/myapp · 4 turns "refactor the database connection pool…" # Restore session 1 /resume 1
Restoring replays the last exchange so you immediately see the context, then continues from the full message history.
The /fix command creates an automated repair cycle:
# Auto-detect test command /fix # Specific command /fix cargo test /fix pytest -x /fix npm run lint
How it works:
🔧 Attempt 1/5 — running: npm test ✗ Failed (exit 1) — asking Atlas to fix… ✓ ◎ read src/utils/parser.ts ✓ ✎ edit src/utils/parser.ts → Fixed regex on line 42 🔧 Attempt 2/5 — running: npm test ✓ All checks pass after 2 fixes!
Supports auto-detection for: npm test, npm run build, cargo test, go test ./..., pytest. Any custom command also works.
When the conversation reaches ~80K tokens, Atlas automatically:
📦 Context ~82K tokens — auto-compacting… ✓ Compacted — continuing with summary + last 6 messages
The compaction writes a dense 400-word summary of all decisions and changes, replaces the conversation history with it, and continues seamlessly. If compaction fails for any reason, Atlas proceeds with the full context.
You can also compact manually at any time with /compact.
Create .atlas/commands/<name>.md to define your own commands. The file content is the prompt sent to Atlas. Use $ARGUMENTS for anything typed after the command name.
# .atlas/commands/deploy.md Run the deployment checklist for $ARGUMENTS: 1. Run `npm test` — abort if any fail 2. Run `npm run build` 3. Check git status — all changes committed? 4. Output the deploy command for $ARGUMENTS
# Usage:
/deploy staging
/deploy production
Config is stored in ~/.atlas/config.json.
| Key | Description | Default |
|---|---|---|
| apiKey | Your Atlas API key | — |
| baseUrl | Backend URL | https://atlas.alpheric.ai/v1 |
| model | Default model | atlas-code |
| stream | Enable streaming responses | true |
atlas config set apiKey sk-atlas-xxxx atlas config set baseUrl https://atlas.alpheric.ai/v1 atlas config set model atlas-plan
Each Atlas model is optimised for a specific type of work. Switch with /model <name>.
Control what Atlas can do autonomously. Set with /permissions <mode>.