Emmimal / context-engine
PublicA pure-Python context management layer for LLM systems — retrieval, re-ranking, memory decay, and token-budget enforcement in one pipeline.
A pure-Python tool for managing context in AI language model conversations by retrieving relevant documents, handling memory with decay, compressing information, and enforcing token limits.
How It Works
You learn about a simple tool that makes AI conversations smarter by picking the right info and remembering chats without overload.
You download it to your computer and prepare it with a couple of easy steps, no fuss.
You add notes, articles, or facts you want your AI to know about, like filling a knowledge drawer.
You build your personal AI assistant, setting how much info it juggles at once to keep things snappy.
You start asking questions, and it grabs the most relevant bits from your info to answer well.
It remembers your chat history, prioritizes important parts, and trims old stuff so chats stay fresh and focused.
Your AI now delivers precise, grounded answers every time, feeling like talking to a sharp expert friend.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.