Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
See what your AI sees. Framework-agnostic LLM context window visualizer.
| Date | Stars |
|---|---|
| 2026-07-31 | 382 |
| 2026-08-06 | 382 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
5.0
growth rate 0.00%/day
# Context Lens  [](https://github.com/larsderidder/context-lens/actions/workflows/ci.yml) [](https://www.npmjs.com/package/context-lens) See what's actually filling your context window. Context Lens is a local proxy that captures LLM API calls from your coding tools and shows you a composition breakdown: what percentage is system prompts, tool definitions, conversation history, tool results, thinking blocks. It answers the question every developer asks: "why is this session so expensive?" Works with Claude Code, Codex, Gemini CLI, Cline, Aider, Pi, and anything else that talks to OpenAI/Anthropic/Google APIs. No code changes needed. > [!NOTE] > Maintainer availability is reduced until 4th of May due to holidays. > Issue and PR response times may be slower than usual. **Using AI coding tools across a team?** Token costs compound fast when every developer runs agents all day. Context Lens gives you per-session visibility into where the budget goes: which tools, which patterns, which sessions are outliers. Export sessions as [LHAR](docs/LHAR.md) to share and compare. Team dashboards are on the roadmap; if that's relevant for you, [open an issue](https://github.com/larsderidder/context-lens/issues) or watch this repo.  ## Installation ```bash npm install -g context-lens # or: pnpm add -g context-lens # or: npx context-lens ... ``` ## Quick Start ```bash context-lens claude context-lens codex context-lens gemini context-lens cline context-lens aider --model claude-sonnet-4 context-lens pi context-lens -- python my_agent.py ``` This starts the proxy (port 4040), opens the web UI (http://localhost:4041), sets the right env vars, and runs your command. Multiple tools can share one proxy; just open more terminals. ## CLI Options ```bash context-lens --privacy=minimal claude # minimal|standard|full context-lens --no-open codex # don't auto-open the UI context-lens --no-ui -- claude # proxy only, no UI context-lens --redact claude # strip secrets before capture context-lens --redact=pii claude # broader PII redaction context-lens --redact --rehydrate claude # restore original values in responses context-lens doctor # check ports, certs, config, background state context-lens background start # start detached proxy + UI context-lens background status context-lens background stop context-lens stop # shorthand for background stop ``` Aliases: `cc` → `claude`, `cx` → `codex`, `gm` → `gemini`. For `pi`, add `alias cpi='context-lens pi'` to your shell rc. ## Configuration Persistent settings live in `~/.context-lens/config.toml`. CLI flags always override config file values. The file is not created automatically; create it if you want persistent defaults. ```toml # Context Lens configuration # ~/.context-lens/config.toml [proxy] # port = 4040 # redact = "secrets" # secrets | pii | strict # rehydrate = false [ui] # port = 4041 # no_open = false [privacy] # level = "standard" # minimal | standard | full ``` Run `context-lens doctor` to see the active config path and current values. ## Docker A pre-built image is published to GitHub Container Registry on every release: ```bash docker run -d \ -p 4040:4040 \ -p 4041:4041 \ -e CONTEXT_LENS_BIND_HOST=0.0.0.0 \ -v ~/.context-lens:/root/.context-lens \ ghcr.io/larsderidder/context-lens:latest ``` Or with Docker Compose (uses `~/.context-lens` on the host, so data is shared with any local install): ```bash docker compose up -d ``` Then open http://localhost:4041 and point your tools at the proxy: ```bash ANTHROPIC_BASE_URL=http://localhost:4040/claude claude OPENAI_BASE_URL=http://localhost:4040 codex ``` ### OpenAI-compatible providers If y
Excerpt of 15,187 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:258e2cbf53eee30b, llm:Description: 'See what your AI sees. Framework-agnostic LLM context window visualizer.' Language: TypeScript. No topics provided.
matched fp:258e2cbf53eee30b, llm:Description: 'See what your AI sees. Framework-agnostic LLM context window visualizer.' Language: TypeScript. No topics provided.
matched fp:258e2cbf53eee30b, llm:Description: 'See what your AI sees. Framework-agnostic LLM context window visualizer.' Language: TypeScript. No topics provided.