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.
604 repos matching “context”
LLM & RAG frameworks
Stars:199context-engine
A pure-Python context management layer for LLM systems — retrieval, re-ranking, memory decay, and token-budget enforcement in one pipeline.
Python · MIT · updated 6 months agoDetails›MCP servers
Stars:180bgts-context-engine
Deterministic code-graph context engine for AI coding agents - PostgreSQL + Apache AGE + pgvector, MCP & REST, no LLM in the loop.
Python · MIT · updated 15 days agoDetails›LLM & RAG frameworks
Stars:106antigravity-plugin-context-mode
Reduce context size by 90%+ *and* make your agent smarter. Antigravity Context Mode is a local-first plugin built specifically for the Google Antigravity App. It prevents terminal commands, build logs, and multi-megabyte files from flooding your conversation history, saving thousands of tokens per…
JavaScript · MIT · updated 12 days agoDetails›MCP servers
Stars:97codex-image-context-runtime
A Codex plugin and local MCP runtime for context-bounded image generation and inspection.
JavaScript · Apache-2.0 · updated 3 months agoDetails›MCP servers
Stars:472krea
Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript · MIT · updated 10 days agoDetails›AI agents
Stars:160kJavaGuide
Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
JavaScript · Apache-2.0 · updated 1 month agoDetails›Skills & prompts
Stars:119kclaude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
TypeScript · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:94.5kragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
Go · Apache-2.0 · updated 10 days agoDetails›Learn AI
Stars:80.3kPrompt-Engineering-Guide
Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
MDX · MIT · updated 8 months agoDetails›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 11 days agoDetails›Coding assistants
Stars:75.4kOpenSpec
Spec-driven development (SDD) for AI coding assistants.
TypeScript · MIT · updated 10 days agoDetails›AI agents
Stars:69.3kmem0
The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python · Apache-2.0 · updated 13 days agoDetails›AI agents
Stars:59kai-agent-book
《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码
Python · Apache-2.0 · updated 1 month agoDetails›Other
Stars:55.6kBMAD-METHOD
Breakthrough Method for Agile Ai Driven Development
Python · updated 10 days agoDetails›Skills & prompts
Stars:55kopen-code-review
Secure, fast, efficient, battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in multi-language ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible.
Go · Apache-2.0 · updated 10 days agoDetails›MCP servers
Stars:49kcodebase-memory-mcp
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 162 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
C · MIT · updated 10 days agoDetails›Vector databases
Stars:42.6kOpenViking
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python · AGPL-3.0 · updated 10 days agoDetails›Data science
Stars:41kposthog
PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and…
Python · updated 10 days agoDetails›Vector databases
Stars:40.6kPageIndex
PageIndex: Document Index for Vectorless, Reasoning-based RAG
Python · MIT · updated 10 days agoDetails›Learn AI
Stars:38.6kbook-to-skill
Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.
Python · MIT · updated 11 days agoDetails›MCP servers
Stars:32.9kcode-review-graph
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Python · MIT · updated 14 days agoDetails›AI agents
Stars:31.7ksupermemory
Memory and context engine + app that is extremely fast, scalable, and can be run fully locally. The Memory API for the AI era.
TypeScript · MIT · updated 10 days agoDetails›AI agents
Stars:31.2kcomposio
Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript · MIT · updated 10 days agoDetails›Coding assistants
Stars:29.3kclaude-hud
A Claude Code plugin that shows what's happening - context usage, active tools, running agents, and todo progress
JavaScript · MIT · updated 11 days agoDetails›MCP servers
Stars:28.7kfastmcp
The fast, Pythonic way to build MCP servers and clients.
Python · Apache-2.0 · updated 10 days agoDetails›Skills & prompts
Stars:28.2kplanning-with-files
Persistent file-based planning for AI coding agents and long-running tasks. Crash-proof markdown plans, session recovery after /clear and compaction, per-turn re-injection against context rot, deterministic completion gate. Manus-style. Install from npm, the Claude Code…
Python · MIT · 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›LLM & RAG frameworks
Stars:27.1khaystack
Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal…
Python · Apache-2.0 · updated 10 days agoDetails›MCP servers
Stars:24.9kpython-sdk
The official Python SDK for Model Context Protocol servers and clients
Python · MIT · updated 14 days agoDetails›MCP servers
Stars:22.5kscreenpipe
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust · updated 10 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.