agentty

AI pair programming in your terminal: one static binary, sub-ms startup, any model, with local RAG that sends only the relevant code.

Stars
★ 623
Last updated
today
License
MIT
Primary language
C++

At a glance

How it runs
CLI
Works with
Universal · cross-platformOpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
C++26 toolchain (GCC 14+ / recent Clang / MSVC) when building from sourceOllama (optional, localhost embeddings for semantic search)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
Developers on air-gapped or restricted machines: run agentty airgap user@host so a laptop relays model access over SSH with TLS pinning to an offline box.
Not a fit if
  • Users who need a GUI or native IDE plugin, not a terminal TUI
  • Teams unwilling to supply their own model API keys or run local Ollama
  • Anyone needing sandboxed shell tools on unrooted Android/Termux
Website
agentty.org ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-16latest release v0.9.57 (2026-11-16)+1.0 ★/day over 7 days
Source review
73/100 · Some gaps

What does this agent do, and when should you use it?

agentty (GitHub: 1ay1/agentty) is an open-source terminal coding agent written in C++26, positioned as a Claude Code alternative and released under the MIT license. It ships as a single fully static native binary (~16.7 MB) with ~3 ms cold start and no Node, Python, or runtime dependencies. It embeds a fully local retrieval engine — hybrid BM25 plus dense embeddings with HNSW indexing, RRF fusion, reranking, MMR diversification, GraphRAG document-graph expansion, and CRAG corrective retry — exposed through the search_docs and search_code tools to fetch only relevant slices, which the README claims cuts context by 80%+ versus whole-repo dumping. It is vendor-agnostic on the model side: Anthropic (including Claude Pro/Max OAuth), OpenAI, Groq, OpenRouter, Cerebras, DeepSeek, xAI, Mistral, Gemini, Fireworks, and local Ollama are all supported, switchable live with ^P. Security is default-on: shell and build commands run in a bwrap (Linux) / sandbox-exec (macOS) sandbox, file tools refuse paths outside the workspace, and an air-gapped mode relays sessions over SSH. It also speaks the Agent Client Protocol, so it runs inside the Zed editor as an agent server.

Accepts natural-language tasks in a terminal TUI, calls LLMs, and drives a full tool suite — read, write, edit, bash, grep, glob, git, web, search_docs, search_code, task — each with a purpose-built widget. It reads workspace files and docs, executes shell/build commands inside a sandbox, produces and applies code edits, and lets you review changes with ^R. search_docs runs a nine-stage retrieval funnel over your knowledge base (docs folder, installed skills, remember memory, and opt-in MCP resources); search_code performs semantic search over source, complementing keyword grep. Smart Mode (^S) uses an orchestrator-workers design: a flagship model plans and delegates to cheaper workers, effort scales to per-turn complexity with a cascade retry, and it learns per-workspace with local state persisted under .agentty/. It supports Agent Skills (SKILL.md, compatible with Claude Code's .claude/skills/ format), MCP, ^B prompt looping, ^G interactive execution of code blocks from replies on your real terminal, and the agentty airgap command to serve internet-less hosts via SSH relay.

  1. Developers on air-gapped or restricted machines: run agentty airgap user@host so a laptop relays model access over SSH with TLS pinning to an offline box.
  2. Privacy-sensitive local-first users: run fully offline with --provider ollama -m qwen2.5-coder and no API key at all.
  3. Existing Claude Pro/Max subscribers: sign in with OAuth and reuse the subscription instead of buying separate API credits.
  4. Engineers on large, sparsely documented codebases: use search_code semantic queries (e.g. 'where is retry backoff handled') and GraphRAG-augmented retrieval to locate code without whole-repo context dumping.
  5. Cost-conscious teams: enable Smart Mode so a flagship model plans while cheaper models do the legwork, with the cascade escalating effort only on failure.
  6. Zed editor users: plug agentty in over ACP (agentty acp) as an agent server.
  7. Android/Termux users: native build installs into $PREFIX/bin without root or proot (though sandboxing is unavailable on unrooted Android).

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Environment variables
AGENTTY_DOCS_DIR
Config files
~/.agentty/skills/
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

One-line install: curl -fsSL https://raw.githubusercontent.com/1ay1/agentty/master/install.sh | sh. Package managers — Debian/Ubuntu: download agentty_amd64.deb and sudo dpkg -i; Fedora/RHEL: sudo dnf install <release URL for agentty-x86_64.rpm>; Arch: yay -S agentty-bin; macOS: brew tap 1ay1/tap && brew install agentty; Windows: scoop bucket add 1ay1 ... ; scoop install agentty, or winget install agentty.agentty. If the prebuilt binary won't run (e.g. libc mismatch), build from source with curl -fsSL ... | sh -s -- --build (requires a C++26 toolchain: GCC 14+ / recent Clang / MSVC); developers should use cmake --preset debug for a fast iteration loop.

How do you use this agent?

Run cd your-project && agentty. First launch opens auth: paste an API key (Anthropic sk-ant-… or any provider's key), sign in with Claude Pro/Max OAuth, or pick a local Ollama model (no key needed). Examples: agentty --provider openai -m gpt-4o, agentty --provider groq -m llama-3.3-70b, agentty --provider ollama -m qwen2.5-coder. --provider persists; ^P switches providers live, ^S toggles Smart Mode, ^B loops a prompt, ^G runs code blocks from replies, ^R reviews changes, ^K opens the command palette. To enable semantic retrieval: ollama pull nomic-embed-text && ollama serve, optionally export AGENTTY_DOCS_DIR=~/my-project/docs; drop SKILL.md files under .agentty/skills/ or ~/.agentty/skills/. For Zed, configure an agent_server with command agentty and args ["acp"].

What are this agent's strengths and limitations?

Pros
  • A single 16.7 MB static binary with ~3 ms cold start and zero runtime dependencies — download and run — a concrete differentiator versus typical Node/Python terminal agents.
  • Fully local RAG (BM25+dense, RRF, GraphRAG, CRAG) fetches only relevant passages; README claims 80%+ context savings vs whole-repo dumping, and it works offline (BM25 fallback without Ollama).
  • Model/vendor agnostic: Anthropic (including Pro/Max OAuth), OpenAI, Groq, DeepSeek, xAI, Gemini, Ollama and more, with live ^P switching — no vendor lock-in.
  • Safe by default: shell commands run in bwrap/sandbox-exec sandboxes, file tools are workspace-confined, plus an SSH air-gap mode.
  • Smart Mode's orchestrator-workers design scales model/effort to turn complexity and learns per-workspace locally; off is a strict byte-for-byte no-op.
Limitations
  • Building from source requires a C++26 toolchain (GCC 14+ etc.) — a higher bar than Node/Python projects; code edits need the debug preset or a full rebuild takes ~36 s.
  • Semantic retrieval (dense embeddings, HyDE, GraphRAG summaries) depends on a local Ollama embedding server or extra model calls; only BM25 is zero-setup.
  • On unrooted Android/Termux, shell and build tools run unsandboxed (Android doesn't grant user namespaces), degrading the security model on that platform.
  • Opt-in recall boosters (RAG-Fusion, HyDE, GraphRAG community summaries) are off by default and each costs a model call, adding latency and cost when enabled.
  • Against mature rivals like Claude Code, Aider, and Cursor, real-world ecosystem maturity lacks independent evidence beyond README claims — evaluate with your own workloads before migrating.

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
agentty This agent 73 · Some gaps CLIFree + model costs ★ 623 today C++ OpenAI API · Claude API
zerostack 69 · Some gaps CLIFree + model costs ★ 1.8k today Rust OpenAI API · Claude API
Keen Code 62 · Some gaps — ★ 92 3d ago Go ChatGPT · OpenAI API · Claude API
OpenClaude — Universal Terminal AI Coding Agent 63 · Some gaps CLIFree + model costs ★ 34k today TypeScript Claude Code · OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
73/ 100 5-point scale 3.7 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 6 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 17/29
Reliability 9/14
Adaptability 16/18
Convention 15/18
Effectiveness 10/13
Verifiability 6/8
Why each dimension lost points
Trust17 / 29 · 2.9/5

The files describe workspace-bounded file tools, OS-enforced sandboxing for shell commands, masked credential files, and a permission design that asks before side-effecting actions and supports persistent allow rules. These are documentation and excerpt-level evidence, not a verification of every implementation path; the default balanced posture also leaves networking open. The security audit describes local credential encryption, optional passphrase and OS-keystore layers, and acknowledges that machine-bound encryption does not protect against same-UID attackers. Evidence about dependency security and the complete credential lifecycle is limited.

Reliability9 / 14 · 3.2/5

The sandbox design explains visible unavailable states, platform differences, and degradation boundaries; the README and security document describe failure handling and retry behavior. The audit claims remediations and tests, but a static review cannot verify those execution results. The supplied documents also cite differing test counts (55/55 and 57), so self-consistency and dependency availability do not receive full marks.

Adaptability16 / 18 · 4.4/5

The README covers terminal use, scripts and CI, ACP, offline operation, local models, and multi-platform installation. Sandbox documentation gives detailed platform capabilities, limitations, network postures, and unavailable behavior. The supplied excerpts do not fully establish trigger conditions for skills, tools, or automatic actions, so trigger precision receives only partial credit.

Convention15 / 18 · 4.2/5

The README, topic-specific documentation, installation steps, command examples, and stated sandbox limitations provide a clear information architecture. The MIT license text is complete. A release process is documented, but the revision's changelog content is not supplied; naming conventions and maintenance responsibility also lack complete contributor or support governance evidence.

Effectiveness10 / 13 · 3.8/5

The product offers a usable terminal agent, structured CLI output, tool results, and source-tagged retrieval, with clear workflow value. Benefits claimed for retrieval, Smart Mode, the native binary, and multi-model support are largely project assertions; the retrieval measurements concern the project's own questions. Cost and benefit lack independent or generally applicable evidence.

Verifiability6 / 8 · 3.8/5

Security, sandbox, and architecture claims are tied to concrete mechanisms, paths, and design rationale, and retrieval results are said to include file and line references. The README, audit, and design documents corroborate some claims, but most evidence comes from repository-authored material. Build, test, and live-check claims in the audit cannot be independently verified from this static packet, and the boundary between measured facts and assertions is not always clear.

Risks and how to mitigate them
  • The default balanced sandbox posture allows network access; review airgapped or restricted-host settings if commands should not send data externally.
  • Build, test, and live-check results in the security audit are repository claims and were not run or independently verified in this static review.
  • Sandbox strength and degradation differ across Windows, macOS, and Android; read the platform-specific notes, especially the possibility of unsandboxed commands when enforcement is unavailable.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 9037ebc5dc2c New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/agentty.svg)](https://followagents.com/en/agents/agentty)
<a href="https://followagents.com/en/agents/agentty"><img src="https://followagents.com/badge/agentty.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.9.57
    Release notes excerpt
    Added - Hooks speak Claude Code's protocol, so RTK works as is (#128). A hooks.json can use Claude Code's shape (PreToolUse, PostToolUse, PostToolUseFailure). Hooks get the event as JSON on stdin and can deny, ask, allow, rewrite a call before it runs, or replace its output before the model reads it. PreToolUse runs before the permission prompt, so the prompt and the card show what will really run. Hooks now also run in agentty run and in subagents. The old pre_tool / post_tool format still works. See [Hooks](https://agentty.org/docs/hooks). …
    View on GitHub ↗
  2. v0.9.56
    Release notes excerpt
    Fixed - A command the sandbox blocks now says so. The note telling the model the sandbox was the likely cause never reached it, so it blamed your machine instead (#125). Now it hears that, hears that approving doesn't widen the sandbox, and offers a way out. The card shows you two short lines: likely blocked by the sandbox, then run it yourself, allow it in Settings › Sandbox, or use --sandbox off. On macOS, open and Finder errors count too. - The model picker no longer warns about an Ollama you don't use (#126). …
    View on GitHub ↗
  3. v0.9.55
    Release notes excerpt
    Fixed - The ChatGPT model list no longer comes back empty. The server hid models from the client version agentty reported, and one bad field in any row threw away the whole list. Both are fixed, and AGENTTY_CODEX_CLIENT_VERSION lets you report a newer version if it happens again. Thanks @cloudbouz53 (#124). - Pinning a tool that fails now shows a toast instead of doing nothing. Changed - The docs are rewritten to be easy to read, and checked against the code. Quick Start is a short path from install to first answer, with a section on …
    View on GitHub ↗

FAQ

Is agentty free?
The software is free, but agentty calls an AI model, and you pay that model provider for usage (or run a local model).
Is agentty open source?
Yes. The source code is on GitHub (agentty-org/agentty) under the MIT licence.
Is agentty safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored agentty 17/29 on trust and safety. None of the eight safety controls the review checks for was missing outright. The repository has changed since that review.
Is agentty still maintained?
Yes. The latest commit on GitHub is from 2026-11-16, within the last 30 days. The latest release is v0.9.57 (2026-11-16).
Who makes agentty?
agentty is published on GitHub by the account agentty-org. FollowAgents has not verified which person or company is behind that account.
What is agentty's official website?
The project's GitHub repository lists https://agentty.org as its website. That link is set by the repository owner; the source code itself is on GitHub (agentty-org/agentty).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts