context-window repositories

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

  1. 1
    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,395 stars · 2,063 forks · +431 stars in 24 hours · Trending score 4.50

  2. 2
    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,704 stars · 6,329 forks · +177 stars in 24 hours · Trending score 4.36

  3. 3
    alexgreensh/token-optimizer

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

    GitHub · Python · 3,073 stars · 243 forks · +92 stars in 24 hours · Trending score 3.36

  4. 4
    Lumidarin/agy-capsule

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

    GitHub · JavaScript · 274 stars · 8 forks · +42 stars in 24 hours · Trending score 3.07

  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 · 134 stars · 25 forks · +20 stars in 24 hours · Trending score 2.76

  6. 6
    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 · 87 stars · 3 forks · +28 stars in 24 hours · Trending score 2.58

  7. 7
    wycocoyu/agy-context-dashboard

    Antigravity (agy) context window, token usage, cache hit & quota dashboard — community fork of antigrative-dashboard (antigravity-pulse, MIT).

    GitHub · JavaScript · 123 stars · 11 forks · +11 stars in 24 hours · Trending score 2.33

  8. 8
    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 · +16 stars in 24 hours · Trending score 2.19

  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 · 737 stars · 85 forks · +13 stars in 24 hours · Trending score 2.19

  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 · 342 stars · 52 forks · +5 stars in 24 hours · Trending score 2.09

  11. 11
    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 · +5 stars in 24 hours · Trending score 2.08

  12. 12
    diegosouzapw/OmniGlyph

    Cut your Claude bill 59–70% by rendering bulky LLM context as dense PNG pages — 100% read accuracy, exact per-provider billing math (Anthropic/OpenAI/Gemini), fail-closed gates, measured benchmarks. CLI + proxy + Cloudflare Workers. Docs in 42 languages. Part of the OmniRoute family.

    GitHub · TypeScript · 181 stars · 31 forks · +13 stars in 24 hours · Trending score 2.04

  13. 13
    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 · 113 stars · 5 forks · +53 stars in 24 hours · Trending score 1.98

  14. 14
    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,990 stars · 256 forks · +7 stars in 24 hours · Trending score 1.77

  15. 15
    activeing123/mcptoon

    One zero-dependency MCP gateway CLI for every server and agent skill. Token optimization, tool discovery and context compression: 71,929 -> 581 tokens (-99.2%, measured), schemas stay out of context. One config for Claude Code, Codex, Cursor, every agent. 561KB, pure Python. | 零依赖 CLI:管所有 MCP 工具与技能,工具发现省 99.2% token。

    GitHub · Python · 444 stars · 26 forks · +12 stars in 24 hours · Trending score 1.73

  16. 16
    Priyanshu-byte-coder/contextrot

    Find out where your coding agent starts degrading. Personal context-rot analytics from your own sessions - 100% local, zero-config: uvx contextrot

    GitHub · Python · 146 stars · 8 forks · +12 stars in 24 hours · Trending score 1.67

  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,097 stars · 210 forks · +3 stars in 24 hours · Trending score 1.54

  18. 18
    3265807971-cloud/mcp-toolpacks

    Group MCP tools by purpose, not by server — one switch per pack. Reference implementation + the seven design notes that only show up after you ship it.

    GitHub · TypeScript · 37 stars · 2 forks · +9 stars in 24 hours · Trending score 1.52

  19. 19
    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,562 stars · 180 forks · +2 stars in 24 hours · Trending score 1.41

  20. 20
    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 · +15 stars in 24 hours · Trending score 1.35

  21. 21
    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 · 49 stars · 14 forks · +1 stars in 24 hours · Trending score 1.32

  22. 22
    Spobi/context-carwash

    Context Carwash: ⟡ see your full session context size at all times ⟡ /clear with no worries about loosing context or adding to your file bloat ⟡ specify the exact context you want saved for the next session

    GitHub · JavaScript · 35 stars · 1 forks · +5 stars in 24 hours · Trending score 1.30

  23. 23
    thousandflowers/skillreaper

    Cut context bloat in your AI-agent stack: find and safely prune unused skills, MCP servers and subagents from real transcript evidence

    GitHub · Go · 68 stars · 8 forks · +1 stars in 24 hours · Trending score 1.07

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

    Supercharge AI Agents, Safely

    GitHub · Go · 431 stars · 76 forks · +1 stars in 24 hours · Trending score 1.04