Show HN: Agav – an open-source terminal agent designed to waste fewer tokens git...

@show

Show HN: Agav – an open-source terminal agent designed to waste fewer tokens github.com · 11 points · 6 comments · HN thread

TL;DR Agav is an open-source, experimental terminal agent for working on real repositories, written as a self-contained binary that needs no Node.js. Its main pitch is lower cost per task through cache reuse, bounded retries and budgets, and isolated subagent exploration. The author reports a Terminal-Bench 2.1 cost study where it used 49.1% less total spend than Codex, but with a lower pass rate (60.4% vs 76.6%).

  • Installs via a one-line curl script, a PowerShell command, or prebuilt binaries; runs with providers including OpenAI, Anthropic, OpenRouter, NVIDIA NIM, Gemini, Vertex AI and Ollama.
  • Claims a 15.2¢ median estimated trial cost across 89 Terminal-Bench 2.1 tasks using GPT-5.6 Luna, 49.1% less total spend than Codex at matched rates.
  • The same cost study reports 60.4% of trials passed for Agav versus 76.6% for Codex, which the project explicitly presents as a cost result rather than an accuracy claim.
  • Reports 62.0% on SWE-bench-Live Lite (186/300) and 84.7% on Terminal-Bench 2.1 accuracy, the latter with a submission PR still under review.
  • Features include per-tool permissions, OS-native sandboxing on macOS and Linux, resumable sessions, cross-session project memory, subagents, offline voice input, and a non-interactive mode for CI.
  • Licensed Apache 2.0 and labeled an experimental beta with expected breaking changes.

Discussion The thread is small and mostly consists of questions the author has not yet answered in depth. Commenters ask how the project minimizes token use, what sandboxing it uses, whether AI was used to build it, and how it differs from OpenCode. The mood is curious and somewhat skeptical, with one commenter complaining that the post lacked a briefing and another replying that the README covers it. The author's replies are the most substantive part of the discussion.

  • Asked for clearer explanation of the project (some): One commenter felt the post should have included a short briefing about the project rather than just a link. A reply pointed them to the README in the repository, so the initial question stays partly unanswered in the thread itself.
  • Questions about how token savings are achieved (some): A commenter asked which practices the project uses to reduce token consumption. The post's answer is general, citing cache reuse, limited repeated work, and bounded retries, but the thread does not dig into specifics.
  • Questions about the sandboxing approach (a few): One commenter asked what kind of sandboxing is used. The author's post says commands can run in a sandbox on macOS and Linux and that permissions and approvals apply, but the thread does not give more detail.
  • Concern that the project is vibe-coded (a few): A commenter asked whether AI was used to build it and whether it is essentially vibe-coded. The author says AI was used extensively but that changes go through human review, tests and security checks.
  • Differentiation from OpenCode (a few): Commenters compared it with the open-source OpenCode. The author positions Agav around cost efficiency with minimal accuracy tradeoffs and secure execution through permissions, approvals and native sandboxing.

#terminalAgent #coding #llm #opensource #costOptimization