96K tokens saved today

Your agent wastes 85% of tokens.
We fix that.

abyss gives AI coding agents a call graph, blast-radius analysis, and output compression — so they read less, know more, and break less. One binary. Zero config.

85%
Token savings
2ms
Hook latency
14
Languages
99%+
Resolver precision
$ abyss setup indexing workspace... ✓ 210 files, 1545 symbols, 12216 refs in 165ms ✓ hooks installed: pre-edit + post-edit + proxy agent commands now route through abyss proxy. $ abyss gain ┌────────────────────────────────────────────┐ abyss proxy — 96K tokens saved (85%) └────────────────────────────────────────────┘ 148 commands proxied 113K raw → 17K delivered Top commands: cargo test ████████████████ 51K (100%) python3 eval/compare.py █████████ 30K (100%) cat setup-indexers.sh 978 (37%)

Agents read entire files to change one line.

Without a code graph, every edit is blind. Without compression, every command wastes context window.

36×
Without abyss

“Who calls this function?”

Agent reads 6 files (221KB) with grep. Most content is irrelevant. 220,910 bytes consumed for a question with a 6KB answer.

6K
With abyss

Precise caller graph, instantly.

abyss context returns callers, blast radius, hotspot scores, and coupled files — 6,119 bytes. Same answer, 36× less context.

Measured, not promised.

Proxy compression on 148 commands during a real coding session. Zero information loss.

Command Raw Delivered Saved
cargo test 51,08555 99.9%
eval/compare.py 29,84456 99.8%
cat settings.json 2,712872 67.8%
cat setup-indexers.sh 2,6441,666 37.0%
Small exact match 427427 0%

0% on small results is correct — the never-worse guard passes through output that compression would degrade.

Two layers. One binary.

Code intelligence and token compression reinforce each other. Neither works this well alone.

Call Graph

Cross-file caller tracing with confidence scores. Tiered SQL resolver: L0 type-evidence → L4 global unique. 99%+ precision on 6 eval corpora.

Proxy Compression

Intercepts agent commands, structurally compresses output. 28 handlers + TOML rule engine. Never-worse guard: 0% savings beats mangled output.

💥

Blast Radius

Before every edit: who calls this, transitive impact, test coverage gaps, risk score 0-10. The pre-edit safety card agents never had.

🔥

Hotspot Mining

Churn × complexity from git history. Change coupling detects files that always move together. Temporal intelligence no grep can provide.

🌳

Tree-sitter Smart Read

AST-level body stripping for 14 languages. cat on a 600-line file returns 98 lines of signatures. Brace-counting fallback for the rest.

🔌

Agent Hooks

Pre-edit safety cards, post-edit incremental reindex, proxy rewrite — all at 2ms latency. One command installs hooks for Claude, Codex, Gemini.

Tested on real codebases. Scores published.

Every dogfood report is public: probe results, bugs found, axes scored.

Django 5.1
Python · 3,292 files · 6.91s
8/10ORM / CBV / Admin
SQLAlchemy 2.0
Python · 687 files · 8.41s
8/10mixin / SQL expr
hono v4.6
TypeScript · 388 files · 0.79s
8/10HTTP framework
helix-editor
Rust · 545 files · 1.57s
7.5/10workspace
vite v5.4
TS/JS monorepo · 1,793 files · 0.91s
7/10monorepo
FastAPI 0.115
Python · 2,164 files · 1.07s
6.5/10async web

Not another output filter.

abyss is code-aware compression. It knows what the code does, not just what the output looks like.

Pure compressor

  • Pattern-matching output filters
  • 100+ command handlers
  • No code understanding
  • No blast-radius annotations
  • Brace-counting only
  • Separate install required

abyss

  • Structural + semantic filters
  • 28 handlers + TOML engine
  • Call graph + impact analysis
  • Blast-radius & hotspot annotations
  • Tree-sitter AST strip (14 langs)
  • Built into one binary

60 seconds. For real.

No config files. No API keys. No embedding models. No language servers.

1

Install

cargo install code-abyss

Also: npm, curl, binstall

2

Setup

abyss setup

Index + hooks + proxy, one shot

3

Verify

abyss gain

See savings after one session

# or use the install script $ curl -fsSL https://raw.githubusercontent.com/telagod/abyss/main/install.sh | bash # or via npm $ npm install -g @code-abyss/cli

Everything is a subcommand.

No plugins. No runtime deps. Every command takes --json for machine consumption.

Code Intelligence

abyss indexBuild index
abyss callersWho calls this?
abyss impactBlast radius
abyss contextPre-edit card
abyss mapHotspots & coupling
abyss whereArch coordinates
abyss searchSymbol + fulltext
abyss historyFile/symbol evolution

Compression & Integration

abyss proxyRun + compress
abyss gainToken savings
abyss setupOne-cmd onboarding
abyss attachInstall hooks
abyss mcpMCP server
abyss daemonBackground reindex
abyss watchLive reindex
abyss configShow config