{"id":51723146,"url":"https://github.com/AntigmaLabs/ante-preview","last_synced_at":"2026-08-05T22:00:35.649Z","repository":{"id":350988508,"uuid":"1121999804","full_name":"AntigmaLabs/ante-preview","owner":"AntigmaLabs","description":"Ghost in your shell. Ante is a self-contained agent harness with a highly optimized core. It works like Claude Code or Codex, with none of their dependencies or model constraints. ","archived":false,"fork":false,"pushed_at":"2026-07-29T19:57:58.000Z","size":83932,"stargazers_count":582,"open_issues_count":6,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-07-29T20:10:05.215Z","etag":null,"topics":["agent","agentic-ai","ai-agents","artifical-life","rust","terminal"],"latest_commit_sha":null,"homepage":"https://antigma.ai","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AntigmaLabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2025-12-23T23:42:44.000Z","updated_at":"2026-07-29T19:58:03.000Z","dependencies_parsed_at":"2026-08-05T20:22:27.013Z","dependency_job_id":null,"html_url":"https://github.com/AntigmaLabs/ante-preview","commit_stats":null,"previous_names":["antigmalabs/ante-preview"],"tags_count":65,"template":false,"template_full_name":null,"purl":"pkg:github/AntigmaLabs/ante-preview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntigmaLabs%2Fante-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntigmaLabs%2Fante-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntigmaLabs%2Fante-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntigmaLabs%2Fante-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AntigmaLabs","download_url":"https://codeload.github.com/AntigmaLabs/ante-preview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntigmaLabs%2Fante-preview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36322586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-05T02:00:06.619Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","agentic-ai","ai-agents","artifical-life","rust","terminal"],"created_at":"2026-07-17T15:00:32.875Z","updated_at":"2026-08-05T22:00:35.635Z","avatar_url":"https://github.com/AntigmaLabs.png","language":"Rust","funding_links":[],"categories":["Terminal-native coding agents"],"sub_categories":["Closed Source"],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs-site/static/assets/ante-readme-banner-dark-1280x320.png\"\u003e\n    \u003cimg src=\"docs-site/static/assets/ante-readme-banner-light-1280x320.png\" alt=\"Ante — substrate for self-organizing intelligence\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/AntigmaLabs/ante-preview/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/AntigmaLabs/ante-preview?include_prereleases\u0026label=release\u0026color=blueviolet\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://antigma.ai/eval\"\u003e\u003cimg src=\"https://img.shields.io/badge/Terminal--Bench_2.1-live_results-2ea44f?logo=speedtest\u0026logoColor=white\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://docs.antigma.ai\"\u003e\u003cimg src=\"https://img.shields.io/badge/Docs-docs.antigma.ai-orange?logo=safari\u0026logoColor=white\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.gg/CbAsUR434B\"\u003e\u003cimg src=\"https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord\u0026logoColor=white\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/antigma_labs\"\u003e\u003cimg src=\"https://img.shields.io/badge/X-@antigma__labs-black?logo=x\u0026logoColor=white\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://huggingface.co/Antigma\"\u003e\u003cimg src=\"https://img.shields.io/badge/HuggingFace-Antigma-yellow?logo=huggingface\u0026logoColor=white\" /\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-Apache--2.0-blue\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Ante\n\n\u003e **Alpha preview**: expect breaking changes and incomplete functionality. macOS and Linux only; on Windows we suggest [WSL](https://learn.microsoft.com/windows/wsl/install).\n\n**A ghost in your shell.** Ante is a self-contained coding agent that lives in your terminal and self-organizes. One ~15MB Rust binary from [Antigma Labs](https://antigma.ai), zero runtime dependencies, built to get the most out of any model.\n\nIt works like Claude Code or Codex, with none of their dependencies or model constraints. It can also be the optimized core for building your own harness and high-performing assistants.\n\n```sh\ncurl -fsSL https://ante.run/install.sh | bash\nante\n```\n\nEvery agent claims to be good. Here are numbers you can check:\n\n### 🥇 Continuously evaled and evolved, in public\n\nAnte runs [Terminal-Bench 2.1](https://antigma.ai/eval) continuously under official leaderboard constraints. For every model we run, Ante is the **#1 same-model agent**. Each result pins the exact build you can download and links the raw Harbor run for independent audit. With open-weight **GLM 5.2, Ante scores 74.6%**: a top-7 slot on the public verified leaderboard.\n\n**[Live results →](https://antigma.ai/eval)** · [Methodology →](https://docs.antigma.ai/benchmarks/eval)\n\n### 🪶 A fraction of the footprint\n\nAnte is hand-written Rust with the heavy parts (`Grep`, `git`, local inference) embedded in one binary, one process. Across the same 20 parallel tasks in Docker, Ante uses **~7× less peak memory**, **~9× less average CPU**, and **~5× less disk I/O** than Claude Code.\n\n![Resource Usage Comparison](docs-site/docs/benchmarks/compare_animated.gif)\n\n**[Raw numbers →](https://docs.antigma.ai/benchmarks/compare_table)** · [Benchmark details →](https://docs.antigma.ai/benchmarks/eval)\n\n### 🔌 Natively offline\n\nAnte ships its own inference engine. Point it at a GGUF file and the whole loop runs on your machine: no API key, no account, no internet.\n\n```sh\nante --offline-model ~/.ante/models/Qwen3.5-9B-Q4_K_M.gguf \\\n  -p \"add error handling to src/main.rs\"\n```\n\n**[Offline mode →](https://docs.antigma.ai/usage/offline)**\n\n---\n\nThe three are one design decision. An agent you can **verify**, **afford**, and **run anywhere** is light enough to run by the *thousands*: the substrate for self-organizing intelligence.\n\n## See it in action\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd width=\"50%\"\u003e\n\n**[Models, Providers \u0026 Thinking](https://docs.antigma.ai/usage/models-and-thinking)**\n\n![Switching provider, model, and effort with /providers](docs-site/static/assets/cookbook/providers.gif)\n\n\u003c/td\u003e\n\u003ctd width=\"50%\"\u003e\n\n**[Providing Context: Files \u0026 Folders](https://docs.antigma.ai/usage/providing-context)**\n\n![Adding file context with @ mentions](docs-site/static/assets/cookbook/files.gif)\n\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"50%\"\u003e\n\n**[Interrupting \u0026 Steering](https://docs.antigma.ai/usage/steering)**\n\n![Interrupting the agent with Escape](docs-site/static/assets/cookbook/interrupt.gif)\n\n\u003c/td\u003e\n\u003ctd width=\"50%\"\u003e\n\n**[Subscription Login](https://docs.antigma.ai/usage/login)**\n\n![Connecting to a provider via /connect](docs-site/static/assets/cookbook/connect.gif)\n\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n[See all cookbook guides](https://docs.antigma.ai/usage/providers)\n\n## Quick Start\n\n### Installation\n\nAnte is a single, self-contained binary with no external dependencies: download and run.\n\n```sh\ncurl -fsSL https://ante.run/install.sh | bash\n\n# Install a specific release channel\ncurl -fsSL https://ante.run/install.sh | bash -s -- nightly\n\n# Install into a directory already on PATH\ncurl -fsSL https://ante.run/install.sh | ANTE_INSTALL_DIR=/usr/local/bin bash\n```\n\n### Modes\n\n| Mode | Command | Use it for |\n|------|---------|------------|\n| [Interactive TUI](https://docs.antigma.ai/usage/tui) | `ante` | day-to-day work in the terminal |\n| [Headless](https://docs.antigma.ai/usage/headless) | `ante -p \"...\"` | one-shot tasks, scripts, CI |\n| [Server](https://docs.antigma.ai/usage/serve) | `ante serve` | editor plugins and integrations, over a JSONL protocol |\n| [Gateway](https://docs.antigma.ai/usage/gateway) | `ante gateway` | running Ante as a Slack or Discord bot |\n\n### Headless examples\n\n```sh\n# Fix a bug\nante -p \"find and fix the failing test in src/auth\"\n\n# Review a diff\ngit diff | ante -p \"review this for security issues\"\n\n# Use a different provider\nante --provider openai --model gpt-5.5 -p \"refactor the database module\"\n\n# Resume a saved session\nante --resume ses_01ARZ3NDEKTSV4RRFFQ69G5FAV -p \"now add tests\"\n\n# Run fully offline with a local GGUF model\nante --offline-model ~/.ante/models/Qwen3.5-9B-Q4_K_M.gguf \\\n  -p \"add error handling to src/main.rs\"\n```\n\n### Update Ante\n\n```sh\nante update\n\n# One-off update from a different channel\nante update --channel nightly\n\n# Roll back or pin to an exact release\nante update --version v0.preview.33\n```\n\n## Beyond the headline numbers\n\n- **Zero vendor lock-in**: bring your own API key, subscription, or local model. Switch between 12+ providers freely. No account required, not even with us.\n- **Multi-agent orchestration**: spawn sub-agents and coordinate complex tasks across independent, decentralized, and centralized architectures. [See the patterns →](https://docs.antigma.ai/experimental/agent-org)\n- **Channel integrations**: run Ante as a Slack or Discord bot with `ante gateway`.\n- **Extensible**: custom skills, sub-agents, MCP, and persistent memory across sessions.\n\n## Supported Providers\n\nAnte works with 12+ providers out of the box:\n\n| Provider | Example Models |\n|----------|---------------|\n| Anthropic | Claude Sonnet 4.5, Opus 4.6 |\n| OpenAI | GPT-5 family |\n| Google Gemini | Gemini 3 family |\n| Grok (xAI) | Grok 4 |\n| Open Router | Multiple providers |\n| Local (GGUF) | Any GGUF model via built-in llama.cpp |\n| ...and more | Vertex AI, Zai, Antix, OpenAI-compatible |\n\nConfigure providers via environment variables (`ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, etc.) or OAuth. Add custom providers in `~/.ante/catalog.json`.\n\n## What's in this repo\n\nWe open sourced what really matters in the age of agentic coding, all under Apache 2.0:\n\n1. **Detailed documentation, the descriptive truth.** [`docs-site/`](docs-site) is the source for [docs.antigma.ai](https://docs.antigma.ai): a precise description of what the harness does and how to drive it.\n2. **The protocol, the algorithm of the core.** [`crates/protocol-shape`](crates/protocol-shape) defines the schema and wire messages spoken by `ante serve`; [`crates/agent-sdk`](crates/agent-sdk) is the Rust SDK and client for building against agent runtimes.\n3. **The eval pipeline, constraint and continuous improvement.** [`ante-harbor/`](ante-harbor) is the Harbor agent adapter behind our Terminal-Bench results: use it to reproduce any run at [antigma.ai/eval](https://antigma.ai/eval). [`CHANGELOG.md`](CHANGELOG.md) records the improvement, release by release.\n\nThe core harness itself is developed in a private repository during the alpha and ships as a prebuilt binary via [releases](https://github.com/AntigmaLabs/ante-preview/releases). Core libraries from it are included here progressively as they stabilize; [`crates/exec`](crates/exec), standalone process execution, is the first.\n\nThe protocol surface maps to Ante's client-daemon architecture:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│                         Clients                             │\n│                                                             │\n│   ┌───────────┐    ┌───────────┐    ┌────────────────────┐  │\n│   │    TUI    │    │ Headless  │    │    ante serve      │  │\n│   │  (ante)   │    │ (ante -p) │    │  (stdio / ws)      │  │\n│   └─────┬─────┘    └─────┬─────┘    └─────────┬──────────┘  │\n└─────────┼────────────────┼─────────────────────┼────────────┘\n          │                │                     │\n          ▼                ▼                     ▼\n┌─────────────────────────────────────────────────────────────┐\n│                         Daemon                              │\n│                                                             │\n│   Session ──▶ Turn ──▶ Step                                │\n│                                                             │\n│   ┌──────────┐  ┌──────────────┐  ┌───────────────────┐     │\n│   │  Tools   │  │  Permission  │  │  Skills / Agents  │     │\n│   └──────────┘  └──────────────┘  └───────────────────┘     │\n└────────────────────────┬────────────────────────────────────┘\n                         │\n                         ▼\n┌─────────────────────────────────────────────────────────────┐\n│                     LLM Providers                           │\n│                                                             │\n│   Anthropic · OpenAI · Gemini · Grok · Open Router · Local  │\n└─────────────────────────────────────────────────────────────┘\n```\n\n## The bigger picture\n\n\u003e **We care about the harness, not the model or the prompts.**\n\u003e\n\u003e **Documentation is the new source code.**\n\nAnte is designed for **cellular-native** agents: like cells in an organism, tiny, expendable, massively replicated. That thesis is why the three headline claims exist. A cell-scale agent must be *verified* (reliability compounds at scale), *tiny* (every byte is multiplied by thousands), and *self-contained* (no runtime to install, no service to phone home to). Read more in our [philosophy](https://docs.antigma.ai/start/philosophy) and [agent organization patterns](https://docs.antigma.ai/experimental/agent-org).\n\n## FAQ\n\n### Why another terminal agent?\n\nThe name is the answer: **An**other **Te**rminal agent, and *ante*, the stake you put on the table to play. Ante is fast, lightweight, and the only terminal agent with native local inference built in. We believe a self-contained agent core that self-organizes is the foundation of the coming agent economy.\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eHow is Ante different from other agents?\u003c/b\u003e\u003c/summary\u003e\n\nAnte has most of the features you expect from agents like Claude Code or Codex: multi-agents, skills, MCP, persistent memory. The difference is the build philosophy.\n\n- Built from scratch in Rust. Core components like `Grep` (fully rebuilt and customized) and `git` are embedded in the same ~15MB binary and run in the same process at runtime, so nothing is shelled out and no resources leak. Most similar projects ship on Node.js or CPython and carry an order-of-magnitude larger footprint.\n- We built our own inference engine from the ground up (see [nanochat-rs](https://github.com/AntigmaLabs/nanochat-rs) for a toy version of that work), so a local GGUF model is all Ante needs to run without any provider.\n- No vendor lock-in, not even to ourselves: no account needed, reuse your existing API credentials. An opt-in, fully integrated server-side experience lives at [antix.antigma.ai](https://antix.antigma.ai).\n- Every claim is backed by public, reproducible benchmarks of the exact builds we ship: [antigma.ai/eval](https://antigma.ai/eval).\n\nBeyond the footprint it comes down to agent architecture, and ultimately to *who* is building it and with what philosophy. Anyone can fork a binary; taste and engineering rigor don't copy. Those differences leak into every detail of the product.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eWhy care about runtime optimization like memory and I/O if model inference is usually the biggest bottleneck?\u003c/b\u003e\u003c/summary\u003e\n\nFor one-on-one agent interactions, runtime overhead like memory usage and I/O is often less important than model inference.\n\nBut our vision is much bigger: millions of agents self-organizing and communicating at massive scale. At that point, even small inefficiencies get multiplied millions or billions of times, so runtime optimization becomes economically significant.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eCan I run Ante completely offline?\u003c/b\u003e\u003c/summary\u003e\n\nYes. Ante has a built-in llama.cpp engine that runs GGUF models locally. It handles engine installation, model discovery, and memory management automatically. No API keys or internet connection required.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eCan I use my own custom models or providers?\u003c/b\u003e\u003c/summary\u003e\n\nYes. Create a `~/.ante/catalog.json` file to add or override providers and models with custom endpoints, API keys, and configurations. Any OpenAI-compatible API works.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eWhat is the \u003ccode\u003eante serve\u003c/code\u003e mode for?\u003c/b\u003e\u003c/summary\u003e\n\nServer mode runs Ante as a long-lived daemon that communicates over a structured JSONL protocol. It's ideal for building editor plugins, web UIs, and custom integrations on top of Ante.\n\u003c/details\u003e\n\n## Documentation\n\nFull documentation is available at [docs.antigma.ai](https://docs.antigma.ai).\n\n## License\n\nSource code in this repository (including the SDK and protocol crates) is\nlicensed under the [Apache License 2.0](LICENSE).\n\nThe prebuilt `ante` binary is free to use — including commercially — during\nthe alpha preview under the [Binary Preview Terms](BINARY-TERMS.md). The core\nharness is currently developed in a private repository and shipped as a\nbinary; the SDK and protocol surface you build against here will remain\npermissively licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAntigmaLabs%2Fante-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAntigmaLabs%2Fante-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAntigmaLabs%2Fante-preview/lists"}