# Repository Briefing: AtomicBot-ai/atomic-agent
> Source: https://repoforai.com/repo/AtomicBot-ai/atomic-agent (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/AtomicBot-ai/atomic-agent
- **Official Docs / Website**: https://atomicagent.io
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (93/100 · Maintenance 35/35 · Adoption 18/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.11.1 (2026-12-02) — https://github.com/AtomicBot-ai/atomic-agent/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Docker, Self-Hosted, Local AI, MCP, CLI, GPU, API
- **Momentum**: 3,621 ★ total (+2 24h / +27 7d) · 301 forks
- **Topics**: `agents`, `ai-agent`, `browser-automation`, `cli`, `gguf`, `llama-cpp`, `llm`, `local-first`, `nodejs`, `playwright`, `tui`, `typescript`
- **When to Use**: Best for: Individuals and teams that want local state, inspectable traces, and a choice of local or cloud inference for supervised browser, document, and file workflows. Skip if: You need a turnkey managed service, a stable integration contract today, or proven reliability for unattended production actions without testing them yourself.

## Overview
```text
### Architecture & Core Mechanics
Atomic Agent separates the TypeScript control loop from model inference. The runtime exposes the `atomic-agent` and `atag` CLI entrypoints, an HTTP API for application integration, and `atomic-agent-sidecar` for Tauri hosts using NDJSON. Local inference runs in a separate `llama-server`; the CLI can manage that backend or connect to an existing instance. The manifest includes Ink and React for the terminal stack, `playwright-core` for browser automation, `better-sqlite3` for persistence, and the MCP SDK for external tools.

Inside the loop, a byte-stable prompt prefix lets `llama-server` reuse cached context with `cache_prompt` and slot pinning. The variable tail has a fixed budget, while full memory records, skills, traces, and browser state are kept outside the prompt and loaded as needed. On local backends, GBNF constrains completions to a JSON array of tool calls, even for a single call. Independent read-only operations can run in parallel; risky actions remain approval-gated.

### Key Capabilities & Differentiators
The agent browses, inspects documents, reads and edits files, runs approved shell commands, and schedules follow-ups. Ordinary web interaction feeds the model accessibility snapshots with a default cap of 24,000 characters rather than relying on screenshot-heavy page dumps. Cross-session memory uses SQLite FTS5 with optional embedding-based hybrid retrieval; it also stores linked notes, lessons, and reusable procedures that do not execute automatically. Model options include local GGUF via llama.cpp, cloud inference, and Fusion, which separates planning from a pool of execution workers and supports per-role model selection.

On 53 GAIA validation Level 1 tasks, Atomic Agent scored 37/53 (69.8%) at about 217 seconds per task, versus Hermes at 31/53 (58.5%) and about 351 seconds. Both used the same local `qwen-3.6-35b-a3b` in UD-Q4_K_XL with the same step budget and timeout. Separate Atomic runs scored 28/53 with `qwen-3.5-9b` and 24/53 with `gemma-4-12b`; the rows used different agent versions, so they illustrate viable configurations rather than isolating the effect of model size.

### Trade-offs & Limitations
The case for choosing Atomic Agent over commercial options such as Manus or Devin is control over the runtime, state, and inference backend, not demonstrated feature parity. Local inference avoids provider charges for those calls, but shifts model selection, downloads, performance tuning, and upgrades onto the operator. The TurboQuant KV-cache figure of up to about 6.4× smaller than F16 applies to the cache, not total memory. Size a deployment against the chosen model weights, quantization, context length, and concurrent slots, with headroom for the browser and agent runtime.

Treat the Hermes result as evidence about one benchmark configuration, not a guarantee for long coding jobs or unattended production work. Local state also does not mean zero egress: cloud or hybrid inference, browsing, and external tools can send data off-host. Limit browser-profile, filesystem, and MCP access to what the workflow needs; approvals are not a substitute for process isolation. Finally, developer-preview interfaces make release pinning and integration tests important, and the MIT license does not grant rights to every model or bundled dependency.

### Hardware & Deployment Guide
For a workstation, use a packaged CLI or desktop release; source development requires Node.js >=25.7.0. Published CLI targets include macOS on Apple Silicon and Intel, Linux on x64 and arm64, and Windows x64, with emulation on Windows ARM. Managed local mode can download and run the backend and GGUF models; alternatively, point the agent at a separately managed `llama-server`. A prepared local setup can infer without a cloud provider, but downloads and network tools still require connectivity. CLI v0.11.1 tightens Logbook limits and cleans up live model lists; desktop v0.0.13 bundles it, following per-role Fusion model selection in desktop v0.0.12.

For a server, `compose.yaml` builds the image locally, requires `ATOMIC_AGENT_API_KEY` (use a random value of at least 16 characters), and publishes `127.0.0.1:8787`. Use a tunnel or a TLS reverse proxy for remote access rather than assuming the port is publicly reachable. Compose persists agent state, including sessions and memory, so protect and back up the volume alongside configuration and secrets. Set provider credentials only for the backends you use, and validate local inference hardware access separately rather than treating the Compose example as a GPU setup.
```

## Key Capabilities
```text
- Runtime boundary: The TypeScript agent runs the control loop and connects to a separate llama-server over HTTP for local inference.
- Context budget: A stable prompt prefix supports KV reuse, while a bounded tail and on-demand recall keep session history from growing unchecked.
- Tool execution: Local GBNF constrains tool calls to JSON arrays; independent reads can run in parallel, while risky operations remain approval-gated.
- Browser input: Playwright-based operation uses compact accessibility snapshots, capped at 24,000 characters by default, for ordinary page interaction.
- Durable recall: SQLite FTS5 supports text search, optional embeddings add hybrid retrieval, and post-turn reflection writes memory off the main agent slot.
- Integration and hosting: HTTP and a Tauri NDJSON sidecar serve host applications, MCP connects external tools, and Compose binds port 8787 to loopback by default.
```

## Quick Start / Clone
```bash
curl -fsSL "https://atomicagent.io/install?from=github" | sh
```
