Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
17 repos matching “context-window”
MCP servers
Stars:80.2kheadroom
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.
Python · Apache-2.0 · updated 10 days agoDetails›AI agents
Stars:27.4k12-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?
TypeScript · updated 1 year agoDetails›MCP servers
Stars:2.9kjcodemunch-mcp
Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Works with Claude Code, Cursor & any MCP client. 313B+ tokens saved.
Python · updated 9 days agoDetails›MCP servers
Stars:2.1kgortex
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/3…
Go · Apache-2.0 · updated 9 days agoDetails›MCP servers
Stars:732mnemon
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.
Go · Apache-2.0 · updated 11 days agoDetails›MCP servers
Stars:681sqz
Context compression for AI coding agents: compresses tool output before it enters the model, dedups repeats to 13-token refs. Claude Code, Cursor, Codex, Kiro, Zed, any MCP client. Rust, zero LLM calls.
Rust · Apache-2.0 · updated 18 days agoDetails›Open models
Stars:667LongLM
[ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning
Python · MIT · updated 2 years agoDetails›Skills & prompts
Stars:585claude-brain
Give Claude Code photographic memory in ONE portable file. No database, no SQLite, no ChromaDB - just a single .mv2 file you can git commit, scp, or share. Native Rust core with sub-ms operations.
TypeScript · MIT · updated 10 months agoDetails›Skills & prompts
Stars:485snip
CLI proxy that reduces LLM token usage by 60-90%. Declarative YAML filters for Claude Code, Cursor, Copilot, Gemini. rtk alternative in Go.
Go · MIT · updated 25 days agoDetails›AI agents
Stars:443ultracontext
Open Source Context infrastructure for AI agents. Auto-capture and share your agents' context everywhere.
JavaScript · Apache-2.0 · updated 1 month agoDetails›MCP servers
Stars:441mcptoon
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 工具与技能…
Python · Apache-2.0 · updated 13 days agoDetails›Run models locally
Stars:395openclaw-optimization-guide
Make your OpenClaw AI agent faster, smarter, and cheaper. Speed optimization, memory architecture, context management, model selection, and one-shot development guide.
JavaScript · MIT · updated 5 months agoDetails›Skills & prompts
Stars:391tokenfold
Private, provider-neutral context compression for LLMs. Reversibly compress schemas and logs inside your perimeter with zero third-party calls.
Rust · Apache-2.0 · updated 19 days agoDetails›LLM & RAG frameworks
Stars:288pi-posthorse
Posthorse: fresh context, same journey. No-summary context rollover for the Pi coding agent (official Pi 1.0+ or the fitchmultz/pi fork), with durable notes and history recovery.
TypeScript · MIT · updated 10 days agoDetails›Skills & prompts
Stars:143claude-code-usage-analysis
Empirical analysis of Claude Code token usage: auto-compaction sweet spots across 8 developer workflows and Claude Desktop vs. CLI overhead
Python · MIT · updated 13 days agoDetails›Learn AI
Stars:125awesome-llm-token-optimization
A curated list of strategies, tools, papers, and resources for reducing LLM token costs and improving efficiency in production.
Shell · updated 16 days agoDetails›Vector databases
Stars:125mentedb
A cognition aware database engine for AI agent memory. Purpose built in Rust with WAL, HNSW, knowledge graphs, and speculative context pre assembly. Not a wrapper, a ground up storage engine that thinks.
Rust · Apache-2.0 · updated 10 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.