Skip to content
prapaa-aiPublic

About

Terminal-native AI coding assistant for real repositories. Inspect code, edit files, run tests, and verify changes from the CLI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

205 stars

Watchers

1 watching

Forks

Agav

Terminal-native autonomous agent for real repositories and projects

Documentation: https://docs.agav.dev

Version Terminal-Bench 2.1 SWE-bench-Live Lite Docs Discord X YouTube Reddit License

Agav preview

Install

No Node.js required. One command, self-contained binary:

curl -fsSL https://agav.dev/install.sh | bash

Windows PowerShell:

irm https://www.agav.dev/install.ps1 | iex

Windows Command Prompt:

curl -fsSL https://agav.dev/install.cmd -o install.cmd
install.cmd
del install.cmd

Download binaries or pre-releases from Releases. See docs.agav.dev/getting-started/installation for detailed installation steps.

Free daily usage

OpenRouter and NVIDIA NIM offer free daily LLM API credits, no paid plan required. Create free OpenRouter API key · Create free NVIDIA NIM API key

Run

agav

Pick a provider and model, or use defaults:

agav --provider openai --model gpt-4o
agav --provider openrouter --model openrouter/free
agav --provider nvidia --model meta/muse-glimmer-30b
agav --provider ollama --model llama3.2

Non-interactive for scripts and CI:

agav run "List the files in this repository and explain its structure. Do not modify anything."
agav -P "what does this project do?"
cat error.log | agav -P "explain this error"

Keep it current:

agav update

Run local models through an OpenAI-compatible API

Agav can connect to a local inference server using --provider openai --openai-api chat. For example, serve a GGUF model with llama.cpp:

llama-server -m /path/to/model.gguf --alias local-model --port 8080

In another terminal, point Agav at that server:

OPENAI_BASE_URL=http://127.0.0.1:8080/v1 OPENAI_API_KEY=local \
  agav --provider openai --openai-api chat --model local-model

Here, openai selects the API format; inference runs locally, not on OpenAI's servers. local is a placeholder for an unauthenticated server. If your server requires authentication, use its actual key.

LM Studio works the same way for GGUF models and, on Apple Silicon, MLX models. Start its local server, use http://127.0.0.1:1234/v1 (the default), and pass the model ID shown by LM Studio. For Agav to use tools, the model and chat template must support tool calling.

Why harness efficiency matters

AI coding costs are often a harness problem, not just a model problem.

Agav is built to make every model call count. It reuses cached context, limits repeated work, interrupts unproductive repair loops, bounds retries and budgets, and keeps subagent exploration isolated instead of repeatedly sending the same repository context.

In a Terminal-Bench 2.1 cost study using GPT-5.6 Luna at the same rates, Agav had a 15.2¢ median estimated trial cost across 89 tasks and used 49.1% less total spend than Codex. The savings came from measured cache reuse and controls around context, retries, and budgets.

This is a cost result, not a claim of higher accuracy: in that comparison, Agav passed 60.4% of trials versus 76.6% for Codex. We publish the methodology, telemetry, task-level data, implementation references, and limitations in The economics of coding with Agav.

You own it. Agav is Apache 2.0 open source, with no lock-in, hidden telemetry, or closed hosted runtime required.

You choose the brain. Use Anthropic, OpenAI, OpenRouter, NVIDIA NIM, Gemini, Vertex AI, or Ollama. Switch models mid-session with /model, use local models with Ollama, or route through OpenRouter.

You control the data and actions. API keys are encrypted, local-first operation is supported, tools have per-action permissions, and commands can run in a sandbox on macOS and Linux.

You can verify the work. Agav creates and tracks plans, keeps sessions resumable, supports human approval for destructive actions, and provides non-interactive agav run for CI with optional JSON Schema output.

Benchmarks and cost evidence

Highlights

  • Providers — switch mid-session with /model. Fast /fast and deep /deep shortcuts.
  • Non-interactive mode — agav run and agav --print with per-tool permissions and optional JSON Schema output.
  • Sessions that survive — resume, branch, name, search and export. /compact reclaims context without losing plans, and /permission switches between ask, auto-accept, and deny-writes mid-session and sticks on resume.
  • Skills & Agents — reusable instruction bundles and installable service agents from a marketplace. Delegate scoped work to fresh-context subagents.
  • Memory — cross-session memories per project: user preferences, feedback, project decisions, references.
  • Voice input — /voice dictates an editable prompt with offline, English-only transcription. No FFmpeg, Python, or extra setup.
  • Background jobs — opt-in run_background_job and /job keep long-running commands and cron schedules alive beyond a single turn.
  • Repository-aware editing — LSP queries, notebook support, test running, /undo, and planning UI.

Quick links

Community

Discord X YouTube Reddit

Email: contact@agav.dev

License

Apache 2.0


Documentation source lives in docs/. To run locally: cd docs && npm install && npm run dev.

About

Terminal-native AI coding assistant for real repositories. Inspect code, edit files, run tests, and verify changes from the CLI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

205 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages