SuperAPI AI Directory

atomic-agent

Local-first coding agent that runs open-weight models entirely on your machine via a llama.cpp fork. 56 built-in tools (browser, filesystem, git, memory, vision), MCP support, and a five-layer memory system. No account or API key required.

Open website

About this tool

Atomic Agent is a local-first AI agent whose control loop and all state run on the user's own machine, rather than a hosted service. It runs open-weight models locally via llama.cpp, and also supports cloud models, or Fusion mode using both at the same time. The project is open source, based on its TurboQuant llama.cpp fork, which makes small models use less memory in long sessions.

Purpose

Atomic Agent is used to carry out multi-step agent tasks on the user's own machine: browsing the web, reading and editing files, running approved shell commands, inspecting documents, remembering context across sessions, scheduling follow-up tasks, and calling external tools via MCP. It can be used as a CLI, as an interactive TUI console, and can also be embedded into the user's own application via HTTP or a Tauri sidecar.

Main capabilities

  • Local-first: the control loop and all state (sessions, memory, tasks, traces, skills, browser profiles, configuration, and .env secrets) are kept locally on disk as plain files and a SQLite database under <stateDir>.
  • No API cost for local models: run quantized models locally via llama.cpp, either bring your own llama-server or let the CLI manage one. Cloud providers and Fusion are optional.
  • Built-in tools: the materials mention 56 built-in tools, covering the browser, filesystem, git, memory, vision, and more.
  • MCP support: external tools can be called via MCP.
  • Five-layer memory system: includes persistent identity, episodic notes, associations, distilled lessons learned, and reusable procedures. Memory is stored in SQLite + FTS5, with optional embedding vectors for hybrid recall. Prompts only see compact pointers, and full content is recalled only when needed via tool calls.
  • Agent loop: one inference produces a JSON array of tool calls, which are then executed, without re-encoding the entire context every turn. On a local llama-server, output is constrained by a GBNF grammar; cloud providers use native tool calling. Independent reads run in parallel, and dangerous operations request approval first. Results and state are compressed into summaries rather than pasted back in full.
  • Optimized for small models: stable prefix, bounded tail, externalized state, GBNF tool calls, parallel read batches, compact browser view (default 24k charsymbol budget).
  • Fusion mode: one model orchestrates, a group of workers executes delegated parts. Usually paired with a cloud orchestrator and local llama-server workers, but the two legs are not bound to types; the only rule is that the two legs must be two different providers.
  • Self-update: the installed binary can self-update in place; after updating in the TUI, it prompts for a restart.
  • Import data from other agents: on first run, you can import skills, memories, MCP servers, sessions, cron jobs, and (optionally) provider keys from Claude Code, Codex, Oh-My-Pi, Pi, Hermes, and OpenClaw.
  • Uninstall: one command removes the state directory, the binary and its aliases, the assets directory, and the PATH line the installer added to the shell rc file; before deleting, it prints what will be deleted and the size and requires typing uninstall to confirm.

Usage

Install: on Windows use the PowerShell installer; the installer downloads the release archive, verifies the checksum, and installs the CLI and supporting assets (grammars/, native prebuilds, and bundled ripgrep). The installer also places a short alias next to the binary.

Update: outside the TUI, run atomic-agent update (or atag update) to check for a new version and rerun the installer in place; atomic-agent update --check only probes without installing; --version <tag> pins a specific version. Only the installed binary can self-update; development checkouts are updated via git.

TUI operations: press Ctrl+N (or run /window) to open a new atomic-agent in a new terminal window. Run /onboarding (or /setup) to redo first-time setup. Run /import or atomic-agent import <hermes|openclaw|claude-code|codex|pi|oh-my-pi> to import data.

Mode switching: /mode, ctrl+g M, or the editor chip switches modes. In approval prompts, ctrl+y approves, ctrl+d denies, ctrl+f grants the category, ctrl+b redirects the write or grants the shell command shape, esc aborts. There are six theme palettes. Common slash commands: /help, /tools, /model, /privacy.

Fusion: in the TUI, fusion is the last row of the editor's "Where it runs" toggle (ctrl+r or click the backend word). /runmode local|cloud|fusion and ctrl+g 1/2/3 select the mode from the keyboard; /runmode swap swaps the orchestrator and worker legs; /runmode status explains the mode resolution result. The number of workers is set via the Workers control or /runmode workers N.

Memory export: atomic-agent memory export --vault <dir> writes notes, lessons learned, and procedures as linked Markdown files into the vault. atomic-agent memory reindex reindexes immediately.

Uninstall: atomic-agent uninstall, with --dry-run to preview, --keep-data to keep data, --keep-binary to keep the binary, --keep-path to keep the shell rc file, and --yes to skip prompts.

When it applies

  • Users who need to run small quantized models on local hardware for long multi-step work.
  • Users who care about privacy and want state and keys to stay local.
  • Users who want to use local models with no API cost.
  • Automation tasks that need browser operations, file editing, shell commands, document inspection, and cross-session memory.
  • Developers who want to embed the agent in their own applications (via HTTP or a Tauri sidecar).
  • Users migrating from other agents who want to import data such as skills, memories, and sessions.

Limitations

  • Currently a developer preview; the API, commands, configuration, and behavior are still changing, so pin the version if you need a stable integration point.
  • Current builds support macOS (Apple Silicon), Linux x64/arm64, and Windows x64. Intel Mac is not yet supported; Windows on ARM runs the x64 build under emulation.
  • Dangerous operations require approval; independent read-only calls run in parallel.
  • Long tasks default to a cap of 1000 steps or 2 hours per task, and after a checkpoint past 25 steps they continue as long as progress is still being made.
  • Local model quality depends on the selected quantized model and hardware.
  • The materials do not provide specific pricing, cost, or platform availability information.