by 1ay1
AI pair programming in your terminal — one static binary, sub-ms startup, any model
# Add to your Claude Code skills
git clone https://github.com/1ay1/agenttyGuides for using ai agents skills like agentty.
Last scanned: 7/22/2026
{
"issues": [
{
"file": "README.md",
"line": 22,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/1ay1/agentty/master/install.sh | sh\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-07-22T06:27:26.314Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}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.
Cold start under 1ms. No Node, no Python, no npm install. Just a static binary.
Claude, GPT, Groq, OpenRouter, Ollama, or any OpenAI-compatible endpoint. Switch live with ^P.
Every shell call runs inside bwrap (Linux) / sandbox-exec (macOS). File tools refuse paths outside your workspace.
Run on a box with no internet. Your laptop relays the bytes over SSH with TLS pinned end-to-end.
read · write · edit · bash · grep · glob · git · web · search_docs · search_code · task — each with a purpose-built widget.
Agent Skills + remember/forget memory, plus a fully local RAG engine — hybrid BM25 + embeddings, RRF-fused, reranked, diversified, and expanded over a GraphRAG document graph — over your docs, skills, and memory. Teach it once, every session knows your conventions. How it works ↓
agentty # bring your own key/model
agentty --provider openai -m gpt-4o # GPT
agentty --provider groq -m llama-3.3-70b # Groq
agentty --provider ollama -m qwen2.5-coder # local model, no key
agentty --provider openrouter # any model via OpenRouter
agentty -m claude-opus-4-5 # Claude (API key or Pro/Max OAuth)
--provider persists. Switch live in-app with ^P.
agentty ships a complete, fully-local retrieval engine behind two tools — no cloud, no dependencies, works offline. The only optional network hop is a localhost Ollama server for embeddings; with none reachable it falls back to keyword search and keeps working.
search_docs — searches your knowledge base: a docs folder, your
installed skills, your learned remember memory, and (opt-in) connected MCP
resources. Useful from the first turn — skills and memory are always indexed,
even with no docs folder.search_code — semantic search over your source by meaning, for
"where is retry backoff handled" questions where you don't know the identifier.
The hybrid complement to grep.Every returned passage is source-tagged (docs: · skill: · memory: · MCP
URI) with its file + line range, so the model can cite, open, or follow it.
Enable the semantic half (BM25 works with zero setup):
ollama pull nomic-embed-text && ollama serve # localhost embeddings
export AGENTTY_DOCS_DIR=~/my-project/docs # optional; skills+memory always indexed
agentty auto-detects the running server and upgrades from BM25-only to full hybrid retrieval — no restart needed.
Every search_docs call runs this pipeline. The default path makes no LLM
calls — it's fast, deterministic, and safe to leave fully on.
AGENTTY_RAG_FUSION=rsf). Every dense probe a search fans out — expansion,
HyDE, multi-hop — embeds in one batched round-trip, not one per probe.guide.md › Install › Linux is findable even
when the body never says "linux".Opt-in recall boosters (cost a model call, off by default):
RAG-Fusion query expansion (AGENTTY_RAG_EXPAND=1),
HyDE hypothetical-document embeddings (AGENTTY_RAG_HYDE=1), and
GraphRAG community summaries (AGENTTY_RAG_GRAPH_SUMMARY=1 — a cached
natural-language report per topic cluster, generated once per corpus shape).
Beyond the explicit tool, a proactive path runs the funnel before you ask
when your message looks knowledge-shaped, injecting a source-tagged
<retrieved-context> block into the very same turn — grounding without a tool
round-trip. The transcript renders it as one quiet 📚 card that shows a
confidence bar plus exactly which sources grounded the answer (docs · path,
skill · name, memory…) and a passage count, so you can always see — and
weigh — what the model was standing on.
BM25, RRF, HNSW, the reranker, MMR, compression, PRF, the chunker, and the
GraphRAG document graph (PageRank, entity extraction, community detection) are
all in-house C++/STL. Every stage degrades gracefully and is tunable via
AGENTTY_RAG_* env vars. For big corpora, two opt-in vector-cost levers keep
the ANN cheap while the full-precision rerank recovers quality: Matryoshka
dimension truncation (AGENTTY_RAG_ANN_DIM=256, ~2.3× faster walk) and
binary quantization (AGENTTY_RAG_BINARY=1, popcount-Hamming walk + float
rescore, ~2.5×). Full write-up:
docs/website/retrieval.md.
| Key | Action | Key | Action |
|---|---|---|---|
Enter |
Send | ^K |
Command palette |
Esc |
Cancel / reject | ^J |
Thread list |
S-Tab |
Cycle profile | ^P |
Model picker |
Alt+Enter |
Newline | ^N |
New thread |
^G |
Run code block | ^←/→ or Alt+←/→ |
Cycle threads |
Linux
# Debian / Ubuntu
curl -fsSLO https://github.com/1ay1/agentty/releases/latest/download/agentty_amd64.deb
sudo dpkg -i agentty_amd64.deb
# Fedora / RHEL / CentOS
sudo dnf install https://github.com/1ay1/agentty/releases/latest/download/agentty-x86_64.rpm
# openSUSE
sudo zypper install https://github.com/1ay1/agentty/releases/latest/download/agentty-x86_64.rpm
# Arch (AUR)
yay -S agentty-bin
# Alpine
curl -fsSLO https://github.com/1ay1/agentty/releases/latest/download/agentty-x86_64.apk
sudo apk add --allow-untrusted agentty-x86_64.apk
macOS
brew tap 1ay1/tap && brew install agentty
Windows
scoop bucket add 1ay1 https://github.com/1ay1/scoop-bucket; scoop install agentty
# or
winget install agentty.agentty
Termux / Android (no root, no proot)
agentty builds natively against Termux's Bionic/libc++ toolchain. The install
script detects Termux and installs into $PREFIX/bin (on your PATH):
pkg install git cmake clang openssl libnghttp2
curl -fsSL https://raw.githubusercontent.com/1ay1/agentty/master/install.sh | sh -s -- --build
Shell/build tools run unsandboxed on unrooted Android (Bubblewrap needs
user namespaces Android doesn't grant) — everything else works. See
packaging/termux/ for the pkg install agentty recipe.
Anywhere (no package manager)
curl -fsSL https://raw.githubusercontent.com/1ay1/agentty/master/install.sh | sh
If the prebuilt binary won't run on your system (e.g. a libc mismatch), pass
--build to compile from source instead — the installer also does this
automatically when the downloaded binary fails to execute:
curl -fsSL https://raw.githubusercontent.com/1ay1/agentty/master/install.sh | sh -s -- --build
**From so
agentty is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 1ay1. AI pair programming in your terminal — one static binary, sub-ms startup, any model. It has 101 GitHub stars.
Yes. agentty passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/1ay1/agentty" and add it to your Claude Code skills directory (see the Installation section above).
agentty is primarily written in C++. It is open-source under 1ay1 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agentty against similar tools.
No comments yet. Be the first to share your thoughts!