Autohand Code CLI
An ultra-fast, self-improving AI coding agent that runs in your terminal, understands your codebase, and executes changes while keeping you in control through a permission system.
- Source repo
- autohandai/code-cli
- Stars
- ★ 217
- Last updated
- today
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 65/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Terminal-first developers who want an AI to understand their codebase and directly fix lint/type errors, write tests, or do small refactors without leaving the shell
- Not a fit if
- Teams on a standard Node toolchain that won't adopt Bun
- Users of other tools that rely on a generic `agent` command on PATH
- Website
- autohand.ai/code ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-10latest release v0.9.10 (2026-11-04)
- Source review
- 65/100 · Some gaps
What does this agent do, and when should you use it?
Autohand Code CLI is a terminal-native AI coding agent built with Bun/TypeScript, invoked via the autohand command in either an interactive Ink-based REPL or single-shot command mode. It reads project context, plans changes, edits files, runs shell and Git operations, and prompts for approval before risky actions, with configurable permission modes for tighter or looser control. It ships 40+ tools spanning file operations, Git, planning, memory, browser integration, and subagent delegation, plus a modular Agent Skills system and a declarative code-extension mechanism. Structured JSON Lines streaming (--output-format stream-json) makes it scriptable from CI/CD. It supports multiple model providers including OpenRouter, OpenAI, AWS Bedrock, DeepSeek, and local Ollama/llama.cpp/MLX, and offers a companion Code Agent SDK in TypeScript, Go, Python, Java, and Swift. Installation is via curl script, Homebrew, manual build, or Docker, with a VS Code extension and ACP integration for Zed and JetBrains IDEs.
Run autohand for the interactive REPL or autohand -p "..." for a single instruction. It reads workspace files and project context, then calls tools such as plan, read_file, write_file, apply_patch, search, and semantic_search to generate and apply edits, executes shell commands via run_command, and manages version control with git_commit, git_push, and auto_commit (-c/--auto-commit commits after task completion). The REPL supports @ file mentions, / slash commands, $ skill autocomplete, and session persistence with /resume. --auto-skill analyzes the project and generates skill packages; --output-format stream-json emits thinking, tool_start, tool_end, file_modified, result, and error events; --dry-run and --patch preview changes without applying them. It also provides /goal persistent goal queues, --auto-mode autonomous loops with iteration/runtime/cost caps, /mcp for MCP server management, and spawn_subagent for delegating tasks to focused subagents.
- Terminal-first developers who want an AI to understand their codebase and directly fix lint/type errors, write tests, or do small refactors without leaving the shell
- Teams wiring repetitive engineering tasks into CI/CD or scripts, using command mode plus
--output-format stream-jsonto parse structured results - Engineers onboarding into unfamiliar or polyglot codebases, using
/initto create AGENTS.md and--auto-skillto generate project-specific skill packages - Cautious users reviewing work before it lands, using
--planread-only planning mode or--dry-run/--patchto preview changes before applying them - Power users running autonomous batch work with
--auto-mode, constrained by--max-cost,--max-runtime, git worktree isolation, and checkpoint intervals - Developers embedding agent capabilities in their own tools or IDEs via the Code Agent SDK (TypeScript/Go/Python/Java/Swift) or the ACP protocol
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://autohand.ai/install.sh | bashbrew install autohandai/code/autohand-code
- Config files
~/.autohand/config.json- Runtime
- Bun 1.0+
- Install notes cover
- macOS
How do you install or deploy this agent?
Quick install: curl -fsSL https://autohand.ai/install.sh | bash. Homebrew: brew install autohandai/code/autohand-code. Manual build requires Bun >= 1.0 and Git: git clone https://github.com/autohandai/code-cli.git && cd code-cli && bun install && bun run build && bun add -g .. A Dockerfile based on oven/bun:1 is provided in the README. Optionally install ripgrep for faster search. After install, run autohand --setup for the configuration wizard.
How do you use this agent?
1) Configure a provider: create ~/.autohand/config.json (or config.toml/yaml) such as {"provider":"openrouter","openrouter":{"apiKey":"sk-or-...","model":"..."}}; 2) Interactive session: run autohand, describe your goal in natural language, use @ for file mentions, /skills for skills, and Shift+Tab to cycle edit/plan/YOLO/auto modes; 3) One-shot: autohand -p "add a dark mode toggle to the settings page" with optional -y auto-confirm, -c auto-commit, --dry-run preview, or --output-format stream-json for event streaming; 4) Resume work: autohand resume --last. Editor use: install the AutohandAI.vscode-autohand extension in VS Code, or run as a native ACP external agent in Zed/JetBrains via --acp.
What are this agent's strengths and limitations?
- Terminal-native with zero context switching: the REPL combines file mentions, slash commands, skill autocomplete, and session resume in one prompt
- Multi-provider support (OpenRouter, OpenAI, Bedrock, DeepSeek, local Ollama/llama.cpp/MLX) avoids single-vendor model lock-in
- Explicit permission tiers: interactive approval,
--unrestricted,--restricted, whitelist/blacklist patterns, and a--planread-only mode as a safe entry point - Strong extensibility: Agent Skills (compatible with Codex and Claude skill formats), declarative code extensions, MCP server management, and 40+ built-in tools
- Engineering-grade automation: stream-json event output,
--patch, worktree isolation, and cost/runtime/iteration caps suited to scripting and CI/CD
- Runtime depends on Bun >= 1.0 and Git (ripgrep optional), so teams on a standard Node toolchain must adopt Bun
- The installer silently replaces any existing generic
agentcommand on your PATH, which can break other tools using that name - Custom provider setup requires hand-editing JSON/TOML/YAML and managing API keys yourself, adding initial configuration cost
- The README markets 'self-evolving' behavior, but the concrete evidence is skill auto-generation and memory tools; independent verification of long-term self-improvement is not provided in the source
- Telemetry is off by default (a privacy plus), but adopters should audit the code themselves; Apache-2.0 with commercial terms for companies with ARR above $5M (see COMMERCIAL.md)
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Autohand Code CLI This agent | 65 · Some gaps | CLIFree + model costs | ★ 217 | today | TypeScript | OpenAI API |
| zot Coding Agent | 58 · Major gaps | CLIFree + model costs | ★ 367 | 1d ago | Go | OpenAI API · Claude API |
| Klaat Code | 56 · Major gaps | CLIFreemium | ★ 353 | 1mo ago | TypeScript | — |
| Qwen Code | 73 · Some gaps | CLIFree + model costs | ★ 29k | today | TypeScript | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README and configuration reference describe approval before risky operations and controls such as restricted, dry-run, patch, undo, bare, and no-daemon modes. These support some permission limits and recovery, but --yes and --unrestricted bypass approvals, and installers silently replace any PATH command named agent; least privilege and external-effects control therefore score 1. The docs explain the readiness model request and opt-out, plus trace consent, upload, and deletion controls. They also show API keys and environment variables, but the sample does not detail key protection or most data flows, so transparency and sensitive-data handling score 2. Installers mention checksums and independently built trace and computer-use components, but the sample is insufficient to review dependency maintenance or the full supply chain; dependency security scores 2. Built-in skills have traceable local paths, but publisher identity is unverified and maintenance responsibility is unclear, so source attribution scores 2.
AGENTS.md describes a Bun, Vitest, and tsup project, while the README requires Node.js 22+ at runtime and Bun only for source builds, which is broadly compatible. However, the README's documentation links and the sampled localized references show duplicate links and inconsistent navigation formatting, so self-consistency scores 1. The README covers hosted and local models and lists platform and tool requirements, but the sample does not show provider implementations or availability guarantees; dependency availability scores 2. It documents JSON output, error events, dangerous-workspace warnings, exit behavior, and some installation limits, but the sample does not corroborate detailed failure paths; failure messages score 2.
The README and configuration reference address terminal users, CI, editors, and multilingual users, with interactive, command, ACP/RPC, auto, worktree, and local-model scenarios; audience and environment fit score 3. Bare, no-daemon, restricted, add-dir, and integration switches help define scope, but the sample does not fully establish boundaries for tool execution, browser, MCP, and desktop control; capability boundaries score 2. The brainstorm and computer-control skills specify fairly concrete use cases, and architecture-breakdown and code-reviewer also set task scope, though some activation depends on model judgment; trigger precision scores 2.
The README, configuration reference, and architecture notes provide useful entry points, but the README is lengthy and the sampled configuration references have navigation duplication or formatting inconsistencies; information architecture scores 2. Installation, build, platform, configuration, and command examples are concrete, but automatic replacement of the generic agent command lacks a choice step; install notes score 2. Commands and skills are recognizable, but multiple executable aliases include agent, autohand, and ah, with limited stability guidance; naming stability scores 2. The README has a Quick Start, options table, examples, and links, but the sample does not establish an FAQ; examples and FAQ score 2. Limitations such as unavailable native Windows Zit binaries, optional integrations, and trace deletion are disclosed, but the sample cannot establish complete coverage; known limitations score 2. The auth source header states Apache-2.0, consistent with the supplied metadata, so license scores 3. A fixed revision is supplied, but the sample includes no changelog or version history; versioning and changelog score 1. The README gives community links and product domains, but the publisher is unverified and no maintainer or support commitment is clear in the sample; maintenance responsibility scores 1.
The CLI can edit files, run commands, plan, generate patches, emit structured events, and resume sessions, which supports useful CLI, CI, and editor workflows. The sample does not show actual output quality or run results, so output usability scores 2. Multiple providers, skills, sessions, worktrees, ACP, and desktop control add substantial integration value to terminal coding; marginal value scores 3. The README offers local models, cost limits, and ways to disable background services, and says cloud trace ingestion does not count against API usage, but provides limited broader cost or resource tradeoff evidence; cost-benefit scores 2.
The README makes specific claims about installation, CLI options, limitations, and some data handling, and skills define explicit workflows; most product claims lack implementation or test corroboration in the sample, so claim traceability scores 2. A few facts are cross-supported, such as Apache-2.0 metadata and the auth file header, but most feature and safety claims lack independent corroboration; cross-source corroboration scores 1. The brainstorm skill asks for assumptions to be stated, and architecture-breakdown asks for path-linked claims and marked inferences. This helps distinguish evidence from inference, but the rest of the docs do not apply the same standard consistently; fact-inference separation scores 2.
- The README says installers silently scan PATH and replace existing commands named agent; check that this will not displace another tool you rely on.
- The README describes --yes and --unrestricted as options that auto-confirm or skip approval prompts; these modes reduce interactive checks.
- The README says trace-monitoring and computer-use components are installed by default; trace metadata may sync after consent, and desktop control involves macOS Accessibility and Screen Recording permissions.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v0.9.10 Release v0.9.10
Release notes excerpt
Hey there! We've been busy making Autohand better. Here's what's new since v0.9.9: Faster startup and a steadier terminal - The composer appears before background MCP connections and repository snapshots finish. Resuming a saved session restores input readiness, keeps its conversation intact, and connects MCP servers in the background. - Resize handling keeps clear and repaint output together, preserves multiline drafts and cursor placement, and reduces flicker during idle and streaming work. …View on GitHub ↗ -
v0.9.9 Release v0.9.9
Release notes excerpt
Hey there! We've been busy making Autohand better. Here's what's new since v0.9.8: Answers and continuity - Ctrl+Enter steers the next or selected queued message into the running conversation, preserves an unrelated draft, and leaves other queued work in order. Enter continues to queue new messages. - Streamed tool calls retain their identity when continuation chunks contain blank IDs. Genuinely incomplete headers are withheld from execution and enter bounded continuation without replaying the accepted request. …View on GitHub ↗ -
v0.9.8 Release v0.9.8
FAQ
Is Autohand Code CLI free?
Is Autohand Code CLI open source?
Is Autohand Code CLI safe to use?
Is Autohand Code CLI still maintained?
Who makes Autohand Code CLI?
What is Autohand Code CLI's official website?
Thanks — we use this to improve the page.