Skip to content

Repository files navigation

Atlas — AI Agent Harness for VS Code

An autonomous multi-agent AI engineering operating system embedded inside VS Code. Atlas coordinates multiple specialized AI agents to understand your codebase, plan complex engineering tasks, execute them transparently, and keep you in control.

Zero cost. Zero API keys required. Works offline.

Features

  • Multi-Agent Pipeline — 14 specialized agents (Planner, Architect, Coder, Reviewer, Debugger, Tester, Git, Security, Performance, and more) that collaborate to complete tasks
  • Inline Edit (Ctrl+Alt+K) — Select code, describe the change, Atlas rewrites it inline
  • Chat Panel — Full conversational AI assistant with code block detection and one-click apply
  • Agent Orchestrator — Spawn, kill, pause, resume agents; assign work, track progress, handle failures
  • Workspace Analysis — Automatically understands project type, languages, frameworks, dependencies, build systems, and architecture
  • Memory System — 7 memory stores (working, conversation, workspace, long-term, errors, project knowledge, decisions)
  • Codebase Index — Symbol-level workspace search and retrieval for smart context
  • Tool System — 19 built-in tools (file ops, git, terminal, code analysis, build/test runner) with retry, permissions, and rollback support
  • Observability — Full logging, tracing, metrics collection, and execution replay
  • Safety — Configurable approval mode (always prompt, dangerous only, never)
  • Provider-Agnostic — Supports Ollama (local), OpenAI, Anthropic, Google, OpenRouter, LM Studio
  • Extensible — Plugin system for custom agents, tools, providers, and memory backends

Quick Start

  1. Open this folder in VS Code
  2. Press F5 to launch the Extension Development Host
  3. Atlas will auto-detect Ollama (if running) or guide you through setup

No API key? No problem. Atlas works with:

  • Ollama (local, free, offline) — install from ollama.ai, launch it, Atlas auto-detects it
  • OpenRouter free tier — sign up at openrouter.ai for free credits
  • Google Gemini free tier — free API key from aistudio.google.com

Keybindings

Shortcut Command
Ctrl+Alt+A Open Dashboard
Ctrl+Alt+K Edit Selection (select code first)
Ctrl+Alt+L Inline Chat
Ctrl+Alt+P Run Full Pipeline
Ctrl+Alt+Space Quick Task

Local AI Setup (Ollama)

Atlas works with Ollama completely offline and free.

  1. Download Ollama and launch it
  2. Atlas auto-detects it on startup and walks you through pulling a model
  3. Start using Atlas with zero configuration

Recommended local models:

  • llama3.2:1b — fastest, ~0.6GB RAM
  • llama3.2:3b — balanced, ~2GB RAM
  • llama3.1:8b — most capable, ~4.7GB RAM
  • deepseek-coder:6.7b — specialized for code
  • qwen2.5:7b-coder — specialized for code

Architecture

src/
├── extension.ts              # Entry point
├── activation/               # Extension bootstrapping + setup wizard
├── agents/                   # 14 specialized AI agents
│   ├── BaseAgent.ts
│   ├── PlannerAgent.ts       # Breaks goals into tasks
│   ├── ArchitectAgent.ts     # Designs architecture
│   ├── CoderAgent.ts         # Writes code
│   ├── ReviewerAgent.ts      # Reviews code quality
│   ├── DebuggerAgent.ts      # Investigates failures
│   ├── TesterAgent.ts        # Writes tests
│   ├── GitAgent.ts           # Manages commits
│   ├── SecurityAgent.ts      # Detects vulnerabilities
│   ├── PerformanceAgent.ts   # Profiles performance
│   ├── DependencyAgent.ts    # Updates packages
│   ├── RefactorerAgent.ts    # Improves code quality
│   ├── DocumentationAgent.ts # Generates documentation
│   ├── ResearchAgent.ts      # Searches codebase
│   └── TerminalAgent.ts      # Executes commands
├── orchestrator/             # Agent lifecycle & task management
├── collaboration/            # Event bus, workflows, arbitration
├── workspace/                # Analysis, semantic map, codebase index
├── memory/                   # 7 memory stores
├── context/                  # Intelligent context retrieval
├── tools/                    # 19 tools with retry & permissions
├── providers/                # LLM providers (OpenAI, Anthropic, Ollama, etc.)
├── safety/                   # Approval system
├── observability/            # Logging, tracing, metrics, replay
├── task/                     # Task planning & execution
├── ui/                       # Dashboard, chat, tree views, status bar
├── settings/                 # Configuration manager
└── extensibility/            # Plugin system & public API

Pipeline Flow

User Request
    ↓
  Planner — breaks goal into tasks
    ↓
  Architect — understands project structure
    ↓
  Coder(s) — implement in parallel
    ↓
  Reviewer — reviews code quality
    ↓
  Tester — writes and runs tests
    ↓
  Git Agent — commits changes
    ↓
  Report

Configuration

Settings available under atlas.*:

Setting Default Description
atlas.provider openai LLM provider (ollama, openai, anthropic, google, openrouter, lmstudio)
atlas.model gpt-4o Model name
atlas.apiKey API key (not needed for Ollama)
atlas.baseUrl Custom base URL (e.g. http://localhost:11434 for Ollama)
atlas.temperature 0.1 LLM temperature
atlas.approvalMode onDangerous always, onDangerous, never
atlas.maxConcurrency 3 Max concurrent agents
atlas.logLevel info debug, info, warn, error

Free vs Paid Providers

Provider Cost Needs API Key Works Offline
Ollama Free No Yes
OpenRouter Free tier available Yes No
Google Gemini Free tier (1500 req/day) Yes No
GitHub Models Free with account Yes No
OpenAI Paid Yes No
Anthropic Paid Yes No

License

MIT

About

Atlas is a next-generation multi-agent AI coding harness for Visual Studio Code, featuring autonomous task planning, deep codebase understanding, collaborative AI agents, and seamless IDE integration.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages