Skip to content

Agentty

AI pair programming in your terminal, one static binary, sub-ms startup, any model

Install: git clone https://github.com/1ay1/agentty

Works with Claude Code · 617 GitHub stars

Install

$git clone https://github.com/1ay1/agentty

Install command taken from the project's README or registry entry. Always review code before running it.

agentty

A blazing-fast, open-source coding agent in your terminal. A drop-in Claude Code alternative in C++26 — one static binary, millisecond startup, any model.

Why agentty?

Most terminal coding agents ship as a Node or Python app and send big chunks of your repository to the model on every turn. agentty takes the opposite approach:

  • It's one native binary. 16.7 MB, ~3 ms cold start, zero runtime dependencies — no Node, no Python, no npm install, no node_modules. Download and run.
  • It sends only the relevant code. Built-in retrieval (hybrid BM25 + dense embeddings, code-aware chunking, GraphRAG) fetches just the slices that matter — often cutting context by 80%+ vs. whole-repo dumping.
  • It's not locked to one vendor. Sign in with your Claude Pro/Max, or point it at OpenAI, Groq, OpenRouter, Cerebras, DeepSeek, xAI (Grok), Mistral, Gemini, Fireworks, or a fully local Ollama model. Switch live with ^P.
  • It's safe by default. Shell and build commands run in a sandbox; air-gap an entire session over SSH with one command.
  • It's open source (MIT) and runs inside Zed over ACP.

Coming from another tool? See the honest comparisons: vs Claude Code · vs Aider · vs Cursor · all alternatives.

Getting Started

curl -fsSL https://raw.githubusercontent.com/1ay1/agentty/master/install.sh | sh
cd your-project
agentty

First launch opens auth — paste an API key (Anthropic sk-ant-…, or any provider's key) or use a local Ollama model that needs no key at all. You can also sign in with your Claude Pro/Max OAuth if you prefer. Once you're in, a first-run welcome card suggests a few things to try; just type and hit Enter.

Features

⚡ Instant, all the way through

Cold start under 1 ms; keystroke-to-pixel about 1 ms. No Node, no Python, no npm install — just a static binary. Independent tool calls run in parallel and read-only tools start while the model is still typing, so tool-heavy turns finish sooner.

🔌 Any model

Claude, GPT, Groq, OpenRouter, Ollama, or any OpenAI-compatible endpoint. Switch live with ^P.

🛡️ Sandboxed by default

Every shell call runs inside an OS-enforced sandbox — claybin on both Linux (seccomp + landlock + cgroup2, with bubblewrap as the fallback) and macOS (seatbelt + rlimits, with sandbox-exec as the fallback). Credential files are masked whether or not you configure anything, and file tools refuse paths outside your workspace. Deep dive: docs/SANDBOX.md.

🌐 Air-gapped mode

Run on a box with no internet. Your laptop relays the bytes over SSH with TLS pinned end-to-end.

🤖 Scripts and CI

agentty run "fix the failing test" runs one prompt with tools and prints just the answer. --json, clear exit codes, --timeout, --events jsonl (tool calls and reasoning), and --read-only --no-network for untrusted code. Docs ↗

🔧 Full tool suite

read · write · edit · bash · grep · glob · git · web · search_docs · search_code · task — each with a purpose-built widget.

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related