Skip to content
AntigmaLabsPublic

About

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.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2.1k stars

Watchers

5 watching

Forks

Ante — One harness to run them all

Ante

A ghost in your shell. One ~15 MB Rust binary from Antigma Labs with zero runtime dependencies, built to get the most out of any model: in the cloud, fully offline, or driven by another agent.

Bring your own API keys (Anthropic, OpenAI, Gemini, DeepSeek, Grok, OpenRouter, or custom endpoints) or run locally with built-in inference. Works in your terminal, headless CI, Zed and JetBrains (ACP), Slack and Discord (Gateway), or as the core of your own harness.

Terminal-Bench 1.0 → 4.1 Native local inference ~7× less memory Built for agents too
Benchmarked as shipped, at the frontier for more than a year Built-in engine and adaptive context down to 32K, no API key needed ~9× less CPU and ~5× less disk I/O than Claude Code JSONL headless & daemon, scoped tools, ACP, SDK, llms.txt
curl -fsSL https://ante.run/install.sh | bash
ante                                                            # interactive TUI
ante --offline-model qwen3.8-27b -p "add error handling"        # zero API keys, runs locally

Already using Claude Code or Codex? Give them the ante skill for cross-model second opinions or to keep sensitive files local.
For AI agents: llms.txt · llms-full.txt · SKILL.md
Build on any layer: profiles & skills to shape the whole agent · ante-sdk to drive the runtime from your own interface · ante-llm to write your own loop on Ante's model layer · how to pick →

We care about the harness, not a co-trained model or a secret prompt. The harness and the model are a dynamic duo: they should evolve together without being bound together, and prompts belong to the user. In Ante, one settings profile can define the whole agent, replacement system prompt included.

Why Ante

Continuously evaluated and evolved in public

We keep up with the frontier so you don't have to. We benchmark the build we ship: each result pins the exact release you can download and links the raw Harbor run for independent audit. For more than a year, Ante has run against every Terminal-Bench release under official timeouts and sandbox resource limits:

  • Terminal-Bench 4.1 (current): 65.6% with Gemini 4 Neon, beating Google's native Antigravity CLI on the same model (61.2%). With DeepSeek V4.1 Flash 1017, 40.9% against the verified Claude Code row's 38.5%. Ante is the #1 same-model agent on both.
  • Terminal-Bench 2.1: 83.9% with open-weight DeepSeek V4.1 Flash for ~$18 of inference (~30× cheaper), edging past Fable 5 in its native Claude Code (83.8%, ~$553).
  • Terminal-Bench 2.0 (early 2026): #1 verified agent.
  • Terminal-Bench 1.0 (2025): #1.

We evaluate Ante as a harness across model families. Track record →

Same model, different harness

Benchmark summary for five agent harness configurations running the same DeepSeek model

Live cross-model results → · Same-model harness comparison → · Methodology →

Native local inference

Local models sit in the same catalog as hosted providers and run the same full prompt and tool stack: no API key, no account, no internet.

  • Self-contained. Ante installs and runs a hardware-matched inference engine itself, finds models on disk, estimates memory before loading, and manages the server from the TUI.
  • Adaptive context. The context window scales to the memory you have, along with the skills list and compaction, so the full agent loop runs in windows as small as 32K.
  • Verified. A curated model list is tested against Ante's loop for loading, chat templates, and tool calling.

Ante starting on a local model with no sign-in, then adding a command to a small Rust project and running its tests

--offline-model takes a model ID from ante offline list, a local GGUF file, or any GGUF on Hugging Face as <owner>/<repo>:<file>.gguf. Ante downloads the engine and model automatically when missing:

ante offline use qwen3.8-27b               # save a default local model
ante --offline-model                       # launch interactive TUI offline
ante offline status                        # inspect the local engine

We think about the engine layer in public too: nanochat-rs is a small pure-Rust GPT inference core on candle, published as a study project for in-process, agent-native inference.

Local models → · Offline mode → · nanochat-rs → · Where this is going →

A fraction of the footprint

Ante is hand-written Rust (~15 MB compressed download, 34.1 MiB unpacked) with heavy primitives like customized Grep and git embedded in one binary and 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.

Resource Usage Comparison

Raw numbers → · Benchmark details →


These three properties are one design decision. An agent you can verify, run anywhere, and afford is light enough to run by the thousands: the substrate for self-organizing intelligence.

Works alongside Claude Code & Codex

Orchestrate live sessions with /term

Open an agent in a terminal. Let Ante drive it. Step in whenever you want. /term gives you and Ante a shared view of another interactive session, so coordinating agents feels like working side by side in your terminal.

Ante opening another agent in a terminal split, sending it a question, reading its answer, and detaching the viewer

/term ante
/term claude
/term codex

Each command opens a named terminal and launches the installed CLI when the session is new. Ask the main Ante to give another agent a task, read its progress, send follow-up prompts, or compare answers from several agents. You can watch and type in the same terminal at any time.

Use an agent's native fork command to branch a saved conversation, or ask Ante to hand the current task and findings to a fresh session. These terminals make useful persistent, interactive subagents: detach a viewer and the agent keeps running; restart Ante and reconnect to the same live session. Run /term to find your sessions, attach or detach, and stop them when you're done.

Requires tmux and whichever agent CLIs you want to run. Terminal orchestration walkthrough → · Forking conversations →

Use Ante from another agent or script

Ante is built to be called programmatically from CI pipelines, shell scripts, or other coding agents, with structured JSONL output, resumable sessions, and strict tool scoping:

# Structured JSONL run + session resume
ante --output-format json -p "audit src/auth for race conditions" > run.jsonl
SID=$(jq -r '.event.SessionStart?.session_id // empty' run.jsonl)
ante --resume "$SID" -p "write a minimal regression test"

# Read-only second opinion on a different model/provider
ante --provider gemini --tools Read,Glob,Grep -p "review this design for edge cases"

Keep sensitive data local

When a cloud-hosted agent (Claude Code, Codex, etc.) needs to process sensitive files without sending their contents to a remote API, delegate the file path to Ante on a local model:

# Uses your saved default from 'ante offline use' (or pass a model id after --offline-model)
ANTE_TELEMETRY=off ante --offline-model --no-session-save --tools Read,Write \
  -p "Read tickets.csv. Write tickets.redacted.csv replacing names, emails, and phones with [NAME], [EMAIL], [PHONE]. Reply with only the row count."

--tools Read,Write restricts capabilities to file access, --no-session-save leaves no transcript on disk, and ANTE_TELEMETRY=off disables log export.

Install the ante skill for your existing agent:

# Claude Code
mkdir -p ~/.claude/skills/ante && curl -fsSL https://raw.githubusercontent.com/AntigmaLabs/ante/main/curated/skills/ante/SKILL.md -o ~/.claude/skills/ante/SKILL.md

# Codex / Agent Skills-compatible tools
mkdir -p ~/.agents/skills/ante && curl -fsSL https://raw.githubusercontent.com/AntigmaLabs/ante/main/curated/skills/ante/SKILL.md -o ~/.agents/skills/ante/SKILL.md

For full turn control (approvals, steering, interrupts), drive ante serve --stdio over JSONL (protocol reference →).

Quick Start

Installation

Install the stable release with curl -fsSL https://ante.run/install.sh | bash (macOS and Linux; on Windows, use WSL). The installer adds ~/.ante/bin to your shell PATH; open a new terminal or run ~/.ante/bin/ante right away.

# Nightly channel
curl -fsSL https://ante.run/install.sh | bash -s -- nightly

# Custom install directory already on PATH
curl -fsSL https://ante.run/install.sh | ANTE_INSTALL_DIR=/usr/local/bin bash

Start a session by running ante in your project directory. If prompted, open /providers to sign in or paste an API key, then ask something like: "Where does this project start, and which test covers that path?" Interactive guide →

Modes

Mode Command Use it for
Interactive TUI ante Day-to-day terminal work (--fullscreen for alternate screen)
Headless ante -p "..." One-shot tasks, scripts, CI, subagent delegation
Server ante serve Long-lived JSONL daemon over stdio, Unix socket (--sock), or WebSocket
Editor ACP ante acp Zed and JetBrains IDEs via Agent Client Protocol (requires ante-acp)
Gateway ante gateway Running Ante as a Slack or Discord bot (requires ante-gateway)

Common commands

# Pipe a diff into a one-shot review
git diff | ante -p "review this for security issues"

# Update, switch channels, or pin a release
ante update
ante update --channel nightly
ante update --version v0.3.9

One binary, many agents

Ante's behavior lives in a settings file, and --profile <name> swaps that file per run: system prompt, tool set, skills, memory, permissions. The same binary can be a full assistant in one terminal and a minimal specialist in the next.

For project-specific workflows, Ante loads .ante/settings.json from the nearest ancestor directory, layering tool/skill filters, reasoning effort, and session settings over user defaults. Project settings cannot change provider/model, add MCP servers, or widen permissions.

Curated profiles in curated/ show the range:

  • pi: Strips Ante down to four tools (Read, Write, Edit, Bash) and a short replacement system prompt.
  • plan: Read-only research and planning agent with file mutations disabled; resume the session without --profile plan to execute with full tools.
  • rea: Reverse-engineering agent backed by Ghidra/REA MCP.
  • web-search-MCP: Ready-to-use search MCP configs (Exa, Parallel, Firecrawl, DuckDuckGo, Tavily, Perplexity, Brave).
cp curated/pi/pi.settings.json ~/.ante/
ante --profile pi

A profile replaces the settings file (omitted keys fall back to defaults; explicit CLI flags still win). Ante also ships a built-in bare profile with no skills, MCP servers, session saving, or auto-memory.

Named profiles → · Project settings → · Curated profiles & skills →

See it in action

Providers, Credentials & Models

Choosing a provider and its credential in /providers, then signing in

Providing Context: Files & Folders

Adding file context with @ mentions

Interrupting & Steering

Interrupting the agent with Escape

Sub-Agents

Watching sub-agents run in parallel and opening one's transcript

More: Background Jobs

Background Jobs

Checking a background build's output from the footer

Walk through a task in the terminal →

Architecture & What's in this repo

┌─────────────────────────────────────────────────────────────┐
│                         Clients                             │
│                                                             │
│   ┌───────────┐    ┌───────────┐    ┌────────────────────┐  │
│   │    TUI    │    │ Headless  │    │    ante serve      │  │
│   │  (ante)   │    │ (ante -p) │    │   stdio/sock/ws    │  │
│   └─────┬─────┘    └─────┬─────┘    └─────────┬──────────┘  │
└─────────┼────────────────┼─────────────────────┼────────────┘
          │                │                     │
          ▼                ▼                     ▼
┌─────────────────────────────────────────────────────────────┐
│                         Daemon                              │
│                                                             │
│   Session ──▶ Turn ──▶ Step                                │
│                                                             │
│   ┌──────────┐  ┌──────────────┐  ┌───────────────────┐     │
│   │  Tools   │  │  Permission  │  │  Skills / Agents  │     │
│   └──────────┘  └──────────────┘  └───────────────────┘     │
└────────────────────────┬────────────────────────────────────┘
                         │
                         ▼
┌─────────────────────────────────────────────────────────────┐
│                     LLM Providers                           │
│                                                             │
│   Anthropic · OpenAI · Gemini · Grok · Open Router · Local  │
└─────────────────────────────────────────────────────────────┘

Installing the companion apps

Install ACP and the gateway from crates.io (or from this checkout with cargo install --path ante-acp / cargo install --path examples/ante-gateway):

cargo install ante-acp ante-gateway

Once on PATH, run them directly (ante-acp, ante-gateway) or dispatch via ante:

ante acp       # runs ante-acp
ante gateway   # runs ante-gateway

The bigger picture

Ante 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 and agent organization patterns.

Documentation

FAQ

Why another terminal agent?

The name is the answer: Another Terminal 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.

How is Ante different from other agents?

Ante has the features you expect from agents like Claude Code or Codex: sub-agents, skills, MCP, persistent memory. The difference is the build philosophy.

  • Built from scratch in Rust: one ~15 MB compressed executable (34.1 MiB unpacked, the figure our harness comparison tables report) with customized Grep and git running in-process. Most similar tools ship on Node.js or CPython with an order-of-magnitude larger footprint.
  • Native local inference: Ante runs the engine itself and adapts its context window to the model, so a local model is all it needs with zero external dependencies.
  • No vendor lock-in: no account required; reuse your existing API credentials. An opt-in, integrated server-side experience lives at antix.antigma.ai.
  • Every claim is backed by public, reproducible Harbor benchmarks of the exact builds we ship: antigma.ai/eval.
Why care about memory and I/O if model inference is usually the bottleneck?

For a single interactive session, runtime overhead matters less than inference latency. When you scale to hundreds or thousands of self-organizing agents running in parallel, or pack parallel tasks into CI containers, every megabyte and CPU cycle multiplies.

Can I run Ante completely offline?

Yes. Ante has a built-in local inference engine that handles installation, model discovery, and memory sizing automatically. No API keys or internet connection required.

Can I use my own custom models or providers?

Run /add-provider in the TUI to connect your endpoint, then select it in /providers. For custom headers and advanced options, see the custom catalog examples.

What is ante serve mode for?

Server mode runs Ante as a long-lived daemon communicating over a structured JSONL protocol (stdio, Unix socket, or WebSocket), ideal for editor plugins, web UIs, agent orchestration, and custom harnesses built on ante-sdk.

Trust, License & Open-Sourcing

  • Open-source crates & tools: Source code in this repository (ante-sdk, protocol-shape, exec, llm, ante-acp, ante-harbor, examples, curated profiles/skills) is licensed under Apache License 2.0.
  • Prebuilt binary & roadmap: The ante binary is free for personal and commercial use under the Binary Preview Terms. We are refactoring and open-sourcing the agent core piece by piece; progress is tracked in #21.
  • Don't trust, verify: Curious what the prebuilt binary does? Follow our reproducible Ante decompiles Ante walkthrough using Ghidra and REA, complete with SHA-256-verifiable decompiled output attached to releases.

For now, the most useful contribution is a GitHub issue or a curated profile/skill PR; see CONTRIBUTING.md.

About

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.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2.1k stars

Watchers

5 watching

Forks

Releases

Contributors

Languages