dragonked2/alphacode
Rust terminal agent for coding and UI verification across local and hosted models
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
auto selects from available routes by lowest cost with deterministic tie-breaking.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.
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.
Quick Start & Installation
curl -fsSL https://raw.githubusercontent.com/dragonked2/alphacode/main/scripts/install.sh | bash
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| alphacode ★ | 733 | +50 | Rust | MIT | Rust terminal agent for coding and UI verification across local and hosted model |
| Codewhale | 41.2k | +38 | Rust | MIT | Rust coding agent with swappable models, sandboxed execution, and turn receipts |
| openinterpreter | 69k | +65 | Rust | Apache-2.0 | A Rust coding CLI with swappable harnesses for low-cost models |
| oh-my-pi | 40.5k | +497 | TypeScript | MIT | A Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/dragonked2/alphacode.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about alphacode
How does the agent loop work, and where should I integrate an external tool?
How much RAM or VRAM should I budget?
Can a company use, redistribute, or self-host AlphaCode?
When is AlphaCode a better fit than Claude Code?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy