context-window repositories

Trending repositories tagged context-window, ranked by trending score. Updated daily.

  1. 1
    headroomlabs-ai/headroom

    Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

    GitHub · Python · 80,791 stars · 6,339 forks · +281 stars in 24 hours · Trending score 4.62

  2. 2
    humanlayer/12-factor-agents

    What are the principles we can use to build LLM-powered software that is actually good enough to put in the hands of production customers?

    GitHub · TypeScript · 27,408 stars · 2,063 forks · +37 stars in 24 hours · Trending score 3.42

  3. 3
    alexgreensh/token-optimizer

    Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.

    GitHub · Python · 3,131 stars · 246 forks · +76 stars in 24 hours · Trending score 3.42

  4. 4
    Lumidarin/agy-capsule

    Context usage, model quotas, token breakdowns, and generation metrics — right in your Antigravity composer.

    GitHub · JavaScript · 299 stars · 9 forks · +49 stars in 24 hours · Trending score 3.16

  5. 5
    yuhuan-dev/antigravity-usage-monitor

    Real-time Google Antigravity monitor for token usage, context windows, quotas, generation speed (TPS), TTFT and subagent analytics.

    GitHub · JavaScript · 155 stars · 28 forks · +21 stars in 24 hours · Trending score 2.85

  6. 6
    wycocoyu/agy-context-dashboard

    Google Antigravity(agy)上下文窗口、Token 用量、缓存命中率及额度仪表盘以及界面汉化功能等插件

    GitHub · JavaScript · 130 stars · 14 forks · +22 stars in 24 hours · Trending score 2.75

  7. 7
    snchimata/tokenfold

    Private, provider-neutral context compression for LLMs. Reversibly compress schemas and logs inside your perimeter with zero third-party calls.

    GitHub · Rust · 454 stars · 31 forks · +14 stars in 24 hours · Trending score 2.69

  8. 8
    toprakahmetaydogmus/TZeroAlgorithm

    Deterministic AST Context Compressor & MCP Server for Cursor, Claude & Local LLMs. Cuts prompt tokens by 85–95% with 100% Zero-Leak security.

    GitHub · Python · 90 stars · 4 forks · +14 stars in 24 hours · Trending score 2.35

  9. 9
    mnemon-dev/mnemon

    LLM-supervised persistent memory for AI agents — graph-based recall, cross-session knowledge, single binary. Works with DeepSeek Harness, Claude Code, OpenClaw, and any agent runtime.

    GitHub · Go · 743 stars · 86 forks · +9 stars in 24 hours · Trending score 2.11

  10. 10
    scasella/claude-flightdeck

    A Claude Code mod that puts a live agent dashboard in your terminal: context and cost, advisor timeline, every permission check, subagent cards and swimlanes.

    GitHub · TypeScript · 346 stars · 52 forks · +5 stars in 24 hours · Trending score 2.10

  11. 11
    inevolin/claude-code-usage-analysis

    Coming back after the Claude Code cache expires costs about 10x a new chat. 1 hour on a Pro, Max or Ultra plan, 5 minutes on an API key. Fix: /compact before a break, /clear plus 3 lines after.

    GitHub · Python · 165 stars · 5 forks · +7 stars in 24 hours · Trending score 2.09

  12. 12
    jgravelle/jcodemunch-mcp

    Symbol-level code retrieval for AI agents: fetch the function you need, not the whole file. Runs locally. 96.2% fewer tokens per lookup on average than grep-and-read on our 15-lookup benchmark. Works with Claude Code, Cursor, Codex and any MCP client. Free for non-commercial use; commercial use needs a one-time license.

    GitHub · Python · 2,871 stars · 377 forks · +12 stars in 24 hours · Trending score 2.06

  13. 13
    morluto/leantoken

    Code intelligence for agents: find the code that matters and keep your context window and tokens lean.

    GitHub · Rust · 178 stars · 37 forks · +3 stars in 24 hours · Trending score 2.05

  14. 14
    zou172866/Antigravity-agy-dart

    Google Antigravity plugin that improves cache hits, keeps cache warm automatically, protects context quota, shows live context usage, rescues crashed sessions, and saves tokens.

    GitHub · JavaScript · 144 stars · 6 forks · +55 stars in 24 hours · Trending score 1.96

  15. 15
    ultracontext/ultracontext

    Open Source Context infrastructure for AI agents. Auto-capture and share your agents' context everywhere.

    GitHub · JavaScript · 449 stars · 41 forks · +6 stars in 24 hours · Trending score 1.79

  16. 16
    localixai/tokendoctor

    tokendoctor: the same Claude Code for up to 38% less. Replays your own past sessions to show what each change would have saved, then changes only what you pick

    GitHub · TypeScript · 177 stars · 12 forks · +2 stars in 24 hours · Trending score 1.64

  17. 17
    zzet/gortex

    High-performance code-intelligence engine for AI agents and IDE, supports 257 languages, multi repositories, based on graph, with access via CLI, MCP Server, and API. AI coding agents teammate - expose only needed information, cutting token usage up to 50x. 100% local. Discord: https://discord.gg/39MFHu3J5d

    GitHub · Go · 2,098 stars · 210 forks · +3 stars in 24 hours · Trending score 1.51

  18. 18
    cocoindex-io/cocoindex-code

    A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent 🌟 Star if you like it!

    GitHub · Python · 2,991 stars · 256 forks · +3 stars in 24 hours · Trending score 1.50

  19. 19
    hunhee98/pluck

    MCP-native code retrieval for AI agents — 84-88% fewer read tokens, BM25F + semantic search, AST chunks, session dedup

    GitHub · Rust · 43 stars · 1 forks · +6 stars in 24 hours · Trending score 1.47

  20. 20
    smart-mcp-proxy/mcpproxy-go

    Supercharge AI Agents, Safely

    GitHub · Go · 434 stars · 76 forks · +4 stars in 24 hours · Trending score 1.46

  21. 21
    claudioemmanuel/squeez

    Hook-based token compressor for 7 AI CLI hosts (Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI, Pi, Hermes). Up to 95% bash compression, signature-mode for code reads, cross-call dedup, MCP server, self-teaching protocol. Zero runtime deps.

    GitHub · Rust · 244 stars · 30 forks · +2 stars in 24 hours · Trending score 1.40

  22. 22
    archid21/rightsize

    Make every Claude token count. rightsize picks the right model and effort for each prompt, while keeping cache and context costs low. It learns how you work and gets better over time.

    GitHub · TypeScript · 50 stars · 14 forks · +2 stars in 24 hours · Trending score 1.38

  23. 23
    redhat-et/ripwire

    The ripgrep of AI context: a zero-dependency C++23 CLI + MCP server for coding agents. Cut agent token costs by finding code without reading the repo, then keep large codebases off the complexity wall: blast radius, tests to run, quality deltas as you write. Every guess labelled, every loss published. Paddle out with a map.

    GitHub · C++ · 2,563 stars · 180 forks · +2 stars in 24 hours · Trending score 1.36

  24. 24
    mpecan/tokf

    Config-driven CLI tool that compresses command output before it reaches an LLM context

    GitHub · Rust · 200 stars · 17 forks · +5 stars in 24 hours · Trending score 1.26