yzfly/awesome-context-engineering
A curated collection of resources, papers, tools, and best practices for Context Engineering in AI agents and Large Language Models (LLMs).
Covers context retrieval, processing, compression, and isolation strategies across agent trajectories, with specific focus on KV-cache optimization and attention manipulation. Aggregates academic research (1400+ papers), production frameworks like LangGraph and LangSmith, and battle-tested patterns from implementations like Manus and Claude Code, including failure mode analysis (context rot, poisoning, distraction) and remediation techniques.
Stars
99
Forks
7
Language
—
License
CC0-1.0
Category
Last pushed
Nov 08, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/yzfly/awesome-context-engineering"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
shcherbak-ai/contextgem
ContextGem: Effortless LLM extraction from documents
mufeedvh/code2prompt
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt...
ShahzaibAhmad05/gitree
An upgrade from "ls" for developers. An open-source tool to analyze folder structures and to...
nicepkg/ctxport
Copy AI conversations as clean Markdown Context Bundles — one click from ChatGPT, Claude,...
mkorpela/kopipasta
`cat project | LLM | patch`. Transparent context control and interactive patching for...