# Repository Briefing: dragonked2/alphacode
> Source: https://repoforai.com/repo/dragonked2/alphacode (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/dragonked2/alphacode
- **Official Docs / Website**: https://alphacli.github.io/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Rust
- **License**: MIT
- **Engineering Health**: A+ (88/100 · Maintenance 35/35 · Adoption 13/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.1.33 (2026-12-04) — https://github.com/dragonked2/alphacode/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI, MCP, Local AI
- **Momentum**: 733 ★ total (+6 24h / +50 7d) · 47 forks
- **Topics**: `agentic-ai`, `ai`, `ai-agent`, `ai-agents`, `ai-coding`, `ai-coding-assistant`, `ai-tools`, `autonomous-agents`, `cli`, `code-assistant`, `coding-agent`, `developer-tools`
- **When to Use**: Best for: Teams that want a terminal-first agent for scoped code changes, test evidence, and occasional Firefox or desktop checks, with the option to switch between hosted and local inference. Skip if: You mainly need inline completion, are satisfied with an existing single-provider CLI, or require enforced isolation and verified offline operation without managing tool permissions and network access yourself.

## Overview
```text
### Architecture & Core Mechanics
AlphaCode is a native Rust coding agent with a terminal-first interface and an optional workbench. The Cargo manifest specifies edition 2024 and Rust 1.94.1. For each task, the agent builds context from project files, saved sessions, and project memory. The selected model chooses an action, a tool executes it, and the result feeds back into the next decision. The loop checks tests and diff scope before reporting what changed, what was verified, and what remains.

The tool layer covers file operations, search via `alphagrep`, shell execution, web access, Firefox, and desktop controls. Skills package repeatable workflows, MCP connects external tools, and hooks provide another extension point. Swarm dispatches independent subtasks to parallel agents. Sessions are saved to disk for resumption, while permission prompts let the operator approve or deny actions flagged as risky.

### Key Capabilities & Differentiators
The no-key starting route makes it possible to try the agent without configuring a provider. For ongoing use, model routes include Claude, GPT, Gemini, GitHub Copilot, and DeepSeek via OpenRouter, plus OpenAI-compatible endpoints and local inference with Ollama or LM Studio. Authentication varies by provider; vision, reasoning, and tool support should be checked on the specific model and sign-in route rather than assumed across providers.

The 40-plus built-in tools support targeted file edits, shell commands and background jobs, and test execution. Firefox automation can work with an existing session and inspect DOM elements, forms, tabs, frames, and screenshots. Desktop controls use platform accessibility APIs. That combination is useful when a passing test is not enough and the team also needs to verify the behavior of a browser or desktop workflow it maintains.

### Trade-offs & Limitations
AlphaCode is an MIT-licensed alternative to Claude Code and peers such as OpenCode and Aider. Its case for adoption is strongest when provider choice and real UI verification matter together. The cost of that flexibility is more setup: confirm auth and tool support on the chosen model, validate Firefox integration and OS accessibility permissions, and define what shell commands and MCP tools may reach. Approval prompts are an operator safeguard, not proof of isolation, especially when an existing browser session is in scope.

The approximately 28 MB benchmark covers one CLI session, not the total footprint of Firefox, the workbench, or local inference. Hosted inference avoids provisioning model hardware but introduces provider-specific cost and data-handling considerations. Local inference gives the team control of the model endpoint but shifts memory and latency constraints onto its own machines. Swarm is best reserved for genuinely independent work: parallelism adds model load and makes overlapping edits harder to review.

### Hardware & Deployment Guide
On Windows, macOS, or Linux, install a release, run `alphacode doctor`, and launch `alphacode` from the project directory. On Windows, launch from PowerShell or Windows Terminal so startup diagnostics stay visible. For a workbench, use `alphacode gui`: it opens as a native window on Windows and macOS and in the default browser on Linux desktops. `alphacode gui --web` selects browser mode on any platform. Release binaries include a prebuilt GUI and do not require Node.js to run it.

Source builds target Rust 1.94.1 or newer; Bedrock and Azure authentication are gated by the `bedrock` and `azure-auth` build features, respectively. For local inference, run a separate Ollama or LM Studio service. A local endpoint alone does not make the entire workflow offline: check web and MCP calls separately. v1.1.31 fixed Swarm `auto` selection to choose from live available routes, preferring the cheapest with deterministic tie-breaking. v1.1.33 fixed temporary daemon startup by placing the `serve` subcommand before `--temporary-server`.
```

## Key Capabilities
```text
- Build: Native Rust CLI on edition 2024 with a declared Rust 1.94.1 minimum.
- Execution: File edits, patches, and shell commands feed back into a loop that checks tests and reviews the diff.
- Inference: A no-key starting route, hosted providers, and local inference through Ollama or LM Studio.
- UI verification: Real Firefox sessions with DOM, frame, and screenshot access, plus native desktop accessibility controls.
- Continuity and integration: Disk-backed sessions, project memory, reusable skills, hooks, and MCP servers.
- Swarm routing: Since v1.1.31, `auto` selects from available routes by lowest cost with deterministic tie-breaking.
```

## Quick Start / Clone
```bash
curl -fsSL https://raw.githubusercontent.com/dragonked2/alphacode/main/scripts/install.sh | bash
```
