context-engineering

26 repositories

Snailclimb/JavaGuide

A massive Java interview guide now expanding into AI app dev — JavaGuide covers Java, databases, distributed systems and system design for backend interviews, and now adds AI application development topics like LLMs, Agents, RAG and MCP. It includes a companion AI interview platform built with Spring Boot 4.0, Java 21 and Spring AI 2.0, useful as a learning or resume project.

JavaScript🇨🇳 Greater ChinaAttention 31
★159,782
infiniflow/ragflow

RAGFlow pairs deep document understanding with agentic RAG — RAGFlow combines retrieval-augmented generation with agent capabilities, grounding answers in traceable citations from complex documents. It targets teams building LLM apps that need reliable, well-cited knowledge bases rather than simple chatbots, with multi-language docs and a cloud-hosted option.

GoAttention 40
★95,175
headroomlabs-ai/headroom

Shrinking AI agent context without losing the important lines — Headroom compresses tool outputs, logs, and RAG chunks before they hit the LLM, cutting tokens by 20% for coding agents and up to 95% for JSON while preserving exact answers, including critical lines like error messages. It ships as a Python/TS library, proxy, or MCP server, with its own kompress-v2 model on Hugging Face.

PythonAttention 43
★81,512
Fission-AI/OpenSpec

Give AI coding assistants a spec to work from, not just a prompt — OpenSpec brings spec-driven development to AI coding assistants: you explore and propose changes via slash commands, and it generates proposals, requirements, design docs, and task checklists before code is written. Built for both new and existing codebases, it aims to scale from solo projects to enterprise teams.

TypeScriptAttention 44
★76,441
bojieli/ai-agent-book

An open-source book on AI Agent design with 109 runnable labs — A free, open 10-chapter book on AI Agent engineering, framed as LLM + context + tools, by Li Bojie. It ships 109 hands-on experiments, PDF/EPUB downloads, an online reader, and translations into 15 languages, aimed at engineers building real agent systems.

Python🇨🇳 Greater ChinaAttention 39
★60,811
bmad-code-org/BMAD-METHOD

A sizing-aware method for agile AI-driven development — BMad Method is an agile framework for AI-driven development that scales itself to the task: small changes go straight to build, complex work gets fuller planning and architecture. It now ships two tracks—a stable v6.12 npm installer and a v7 alpha using a skills CLI—letting solo devs or small teams adopt either end-to-end or alongside existing workflows.

PythonAttention 46
★56,205
VectifyAI/PageIndex

RAG without vectors: PageIndex reasons over document trees instead — PageIndex replaces vector DBs and chunking with a tree-structured index that an LLM reasons over, mimicking how a human expert navigates a document. New SDK supports local and cloud modes, plus a fast 'Flash' indexer and a File System layer for scaling across millions of documents. Built for developers building accurate RAG over long, complex professional documents.

Python🇪🇺 EuropeAttention 32
★40,883
virgiliojr94/book-to-skill

Convert technical books into agent skills for coding assistants — Converts PDFs, EPUBs, DOCX and other formats into unified agent skills usable inside Claude Code, Copilot CLI, Codex, Amp and other agents. Built on the open Agent Skills standard, it lets developers turn a whole book or document folder into a searchable reference they can call on while coding or studying.

PythonAttention 46
★39,715
topoteretes/cognee

Persistent long-term memory for AI agents, free and open source — Cognee gives AI agents long-term memory using small models, combining vector and graph databases for context engineering instead of fine-tuning. It targets developers building agents that need to recall knowledge across sessions, with community plugins extending its core.

PythonAttention 41
★33,842
OthmanAdi/planning-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 plugin marketplace, or npx skills. Codex, Cursor, OpenCode, 60+ agents.

Shell🇪🇺 EuropeAttention 35
★28,366
google/elephant-goldfish-model

Google's Plugin Splits Drafting and Review Roles for AI Coding Agents — EGM is an open-source plugin from Google that separates spec-writing from review: an "elephant" agent drafts with full project context, while "goldfish" reviewers examine the draft fresh, without prior conversation, to surface blind spots. It installs into Claude Code, Codex, and Antigravity, and includes bootstrap and drift reporting for existing codebases.

Python🇺🇸 North AmericaAttention 56
★25,033
Canner/WrenAI

A Git-versioned semantic layer that lets AI agents write trusted SQL — WrenAI gives agents like Claude Code, Cursor and LangChain a governed semantic layer plus an AI context layer, encoding metric definitions, joins and business meaning as reviewable YAML/Markdown in your own repo. It connects to 22+ sources and turns natural-language questions into governed SQL and shareable dashboards, aimed at teams wanting AI-generated BI they can audit.

PythonAttention 33
★18,477
open-gsd/gsd-core

A phase-loop framework that keeps AI coding agents' context clean — GSD Core drives AI coding agents like Claude Code, Codex, and Cursor through a disciplined Discuss-Plan-Execute-Verify-Ship loop, running heavy work in fresh-context subagents to fight context rot. Installable via npx, it suits developers who want spec-driven, multi-runtime AI coding workflows.

JavaScript🇺🇸 North AmericaAttention 48
★12,061
cocoindex-io/cocoindex

Incremental indexing engine keeps agent context fresh — CocoIndex is a Rust-core, Python-exposed engine that re-syncs only the changed delta from codebases, Slack, meeting notes and docs into vector stores or knowledge graphs. It's built for teams running long-horizon AI agents or RAG pipelines that need continuously up-to-date context instead of full reindexing on every change.

Rust🇺🇸 North AmericaAttention 44
★11,992
trailhq/Trail-Code

A shared code map and decision memory for coding agents — Trail-Code (formerly graft) builds a code index of functions and callers plus a record of team decisions, served via MCP so Claude Code, Cursor, Codex and Gemini share the same context. It aims to stop agents from relearning the codebase or repeating past calls, useful for teams running multiple AI coding tools together.

TypeScript
★11,631
plastic-labs/honcho

Memory library for building stateful agents

Python🇺🇸 North AmericaAttention 39
★8,392
microsoft/apm

A package manager that makes AI agent setups portable — APM lets teams declare agent context, skills, prompts and MCP servers in one apm.yml manifest, then reproduce the full setup across tools like Copilot, Claude Code, Cursor and Codex with a single command. It supports transitive dependency resolution and plugin authoring, aimed at developers tired of manually configuring agent context per project.

Python🇺🇸 North America
★4,283
pipeshub-ai/pipeshub-ai

Self-hosted context layer ranks #1 on an enterprise RAG benchmark — PipesHub connects Slack, Drive, Jira, GitHub, Microsoft 365 and 50+ apps into a permission-aware search and citation layer that both employees and AI agents can query via MCP. It claims #1 of 39 systems on EnterpriseRAG-Bench, ahead of OpenAI File Search, Amazon Q and Azure/Vertex AI Search, useful for teams wanting self-hosted enterprise search with agent access.

Python🇺🇸 North AmericaAttention 33
★4,185
alexgreensh/token-optimizer

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

Python
★3,157
atomicstrata/llm-wiki-compiler

A CLI compiler that turns raw sources into an interlinked wiki — llmwiki compiles raw documents into an interlinked, Obsidian-friendly wiki using LLMs. Version 1.5 decouples wiki behavior from storage, adds bearer-authenticated Converse gateways, removes the fixed concept page limit, and gives the live viewer auto-refresh after compiles. Useful for anyone building and maintaining a growing knowledge base from scattered source material.

TypeScript🇺🇸 North AmericaAttention 56
★2,303
getnao/nao

Self-hosted agent that turns plain-English questions into SQL insights — nao is a self-hosted framework for building and deploying analytics agents. Data teams define context (data, metadata, docs, tools, MCPs) via the nao-core CLI, then expose a chat UI so business users can query warehouses like BigQuery, Snowflake or Databricks in plain English, with versioning and performance tracking.

TypeScriptAttention 38
★2,051
openbkn-ai/bkn-foundry

Ontology backend that turns business knowledge into executable services — BKN Foundry is the Go-based backend of OpenBKN, converting ontology models of data, rules, and processes into runtime services with data access, safe execution, and governance. It's a backend-only framework (no UI), aimed at developers building agents that need traceable, verifiable business logic rather than just generated answers.

Go🇪🇺 EuropeAttention 62
★1,996
Graphicle-AI/graphicle

A local, single-binary memory and code graph for MCP coding agents — Graphicle is a Rust tool that maps a repo into a code graph and stores project docs, decisions and past agent sessions, giving coding agents cited file-and-line excerpts. It runs locally with no API key, account or telemetry, and works with Claude Code, Cursor, Codex, VS Code and other MCP clients.

Rust
★581
Domush/antigravity-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 turn and stopping "agent amnesia" in its tracks.

JavaScript🇺🇸 North AmericaAttention 70
★172
karamage/cc-harness-studio

A visual studio for wiring and simulating Claude Code AI harnesses — CC Harness Studio parses a repo's AGENTS.md, skills, and hooks into a unified Harness Graph IR, letting developers visually wire agents, simulate context token budgets, and verify deterministic guardrails. Built in Rust for macOS, it targets anyone tired of hand-editing scattered Claude Code harness files, with no lock-in to proprietary formats.

Rust🇯🇵 Japan
★18
CLOUDWERX-DEV/skills-cli

A disk-first skills manager that spares AI agents a bloated startup context — skills-cli is a single Rust binary that stores agent skills on disk and surfaces only what a task needs via millisecond search, instead of loading an entire skill catalog into context at startup. It reads the standard SKILL.md folder format, so existing skill libraries keep working, with commands to search, load, install, validate and pin skills.

Rust🇺🇸 North America
★3