jeranaias

jeranaias / attnroute

Public

Context routing for AI coding assistants

26
3
100% credibility
Found Feb 11, 2026 at 20 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

attnroute enhances Claude Code by automatically selecting and injecting only the most relevant project documentation into AI prompts, achieving over 90% token reduction with near-zero setup.

How It Works

1
🔍 Discover smarter coding help

You hear about Claude Code, a friendly AI assistant for coding projects, and attnroute that makes it super fast and cheap by focusing only on what matters.

2
📦 Easy one-click setup

Tell Claude or run a simple command to add attnroute—it connects automatically without any hassle or restarts.

3
Magic starts working

As you chat with Claude about your code, attnroute quietly picks the perfect files and info to share, skipping the irrelevant stuff for lightning-fast replies.

4
Feel the speed boost

Responses come in under half a second instead of waiting ages, and your AI usage stays affordable even on big projects.

5
📊 See your savings

Check a quick report to celebrate 90% less data used, meaning way lower costs and happier coding sessions.

🚀 Code like a pro

Your projects fly with smart, focused AI help—faster fixes, fewer mistakes, and more time creating what you love.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 20 to 26 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is attnroute?

attnroute is a Python hook system for Claude Code that implements context based routing for AI coding assistants, cutting token usage by 98-99% on large codebases. It automatically selects and injects only relevant files or symbols into prompts based on your recent focus, co-activation patterns, and dependency graphs—zero config needed after `pip install attnroute[all]` and `attnroute init`. Think Cisco routing context VRF or React routing context, but optimized for prompts: hot files get full content, warm ones symbols only, cold ones skipped.

Why is it gaining traction?

Unlike manual .claudeignore or full-repo dumps, attnroute runs invisibly via hooks with <500ms latency, verified benchmarks on real repos (e.g., 99.87% reduction on 556-file Go backends), and plugins tackling Claude pains like unverified edits or rate-limit burnout. CLI tools like `attnroute benchmark` and `attnroute report` give instant ROI proof, while graceful fallbacks ensure it works even without extras like semantic search.

Who should use this?

Backend devs on Python/Go projects using Claude Code for refactors or bug hunts, where context github copilot limits or github workflow token bloat kill productivity. Perfect for teams with github context payload explosions in actions, or anyone mimicking neo4j routing context for precise assistant focus without path based routing hacks.

Verdict

Grab it for Claude Code if token bills sting—early benchmarks deliver real 98-99% wins with simple CLI setup. At 18 stars and 1.0% credibility, it's beta-raw (light tests, solo author), so benchmark your repo first and contribute if it clicks.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.