Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Context Engineering Python Packages

Python packages with the GitHub topic context-engineering. Sorted by monthly downloads, with stars and forks.
deepset-ai
haystack-ai

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 applications, semantic search, and conversational systems.

751K 27K 4K
headroomlabs-ai
headroom-ai

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.

418K 81K 6K
vstorm-co
summarization-pydantic-ai

Context Management processor for Pydantic AI agents, providing LLM-powered summarization or zero-cost sliding window trimming to handle infinite/long-running conversations without context overflow. Supports flexible triggers, safe cutoffs, and custom prompts for efficient AI apps.

276K 71 13
plastic-labs
honcho-ai

Memory library for building stateful agents

271K 8K 1K
topoteretes
cognee

Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free

229K 34K 4K
VectifyAI
pageindex

📑 PageIndex: Document Index for Vectorless, Reasoning-based RAG

164K 41K 4K
Canner
wren-core-py

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

81K 18K 2K
Canner
wrenai

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

55K 18K 2K
deepset-ai
farm-haystack

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 applications, semantic search, and conversational systems.

44K 27K 4K
laminlabs
lamindb

Open-source data management for multimodal AI. Query, trace, and govern with a lineage-native, format-agnostic lakehouse for agents and teams. Supports biological formats and registries - by the creators of Scanpy. 🍊YC S22

43K 433 144
oliver-zehentleitner
keep-the-why-lint

The why layer of repo-native project memory: the reasoning behind a codebase as Markdown in the repo, versioned by Git, for coding agents and humans, so nothing rejected is proposed twice. No database, no daemon, no account.

36K 240 14
naolabs
nao-core

nao Core is your analytics context builder with the best chat interface.

36K 2K 307
synalinks
synalog

Logic programming for AI agents: Datalog-family language compiling to optimized SQL

32K 20 2
laminlabs
lamindb-core

Open-source data management for multimodal AI. Query, trace, and govern with a lineage-native, format-agnostic lakehouse for agents and teams. Supports biological formats and registries - by the creators of Scanpy. 🍊YC S22

30K 433 144
imperalcloud
imperal-mcp

An exoskeleton for your AI coding agent - it remembers everything, sees your whole codebase, can undo any change and can't fake a result. Fewer wasted tokens, fewer broken builds. Claude Code, Cursor, Codex & more.

19K 6 0
Fergana-Labs
stashai

Open-source infrastructure for agents that learn from experience. Capture production traces and turn lessons into reusable knowledge and skills.

18K 347 46
bubbuild
bub

Bub it. Build it. A tiny agent runtime, composable with plugins.

16K 2K 173
vgp7758
agt-agent

An AI agent framework that builds itself — multi-model ReAct + tiered cache-friendly context + async multi-agent + XML workflows. CLI & WebUI, zero LangChain.

16K 1 0
fmind
brain-framework

🧠 Brain Framework: from information to informed actions.

16K 7 0
oliver-zehentleitner
keep-the-why-dashboard

The why layer of repo-native project memory: the reasoning behind a codebase as Markdown in the repo, versioned by Git, for coding agents and humans, so nothing rejected is proposed twice. No database, no daemon, no account.

16K 240 14
AreevAI
areev

Build micro-vertical AI products with memory, workflows, human approvals, and governed improvement. The open-source engine behind every Areev Store product.

15K 28 8
SynaLinks
synalinks

Keras based framework for neuro-symbolic LM systems

14K 468 51
semantica-agi
semantica

Graph-Native Semantic Layer for Trustworthy Enterprise AI

14K 15K 2K
mloda-ai
mloda

mloda.ai - Open Data Access for AI and ML. Plugin-based. Traceable. Framework-agnostic.

13K 103 115
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology