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.

599K 27K 3K
plastic-labs
honcho-ai

Memory library for building stateful agents

532K 8K 932
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.

346K 75K 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.

245K 72 12
VectifyAI
pageindex

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

135K 39K 3K
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

106K 32K 3K
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

44K 416 143
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.

38K 27K 3K
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.

36K 18K 2K
Fergana-Labs
stashai

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

34K 337 43
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

32K 416 143
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.

30K 1 0
bubbuild
bub

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

23K 2K 167
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.

23K 18K 2K
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.

20K 231 13
inth3shadows
terse-mcp

Shrinks your AI agent's tool output so it burns fewer tokens, without changing what the agent reads. Lossless by default, no decode step.

19K 1 0
cocoindex-io
cocoindex-code

A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent 🌟 Star if you like it!

19K 3K 235
semantica-agi
semantica

Graph-Native Infrastructure for Context and Accountable AI Systems

15K 14K 2K
wallter
trw-mcp

MCP server for AI coding agents — persistent engineering memory, knowledge compounding, and spec-driven development workflows. Part of TRW Framework.

14K 0 0
nikolay-e
diffctx

Smart git diff context for LLMs and AI agents: budgeted fragment selection, deterministic, MCP server included

13K 6 1
drknowhow
code-context-control

Local MCP code-intelligence for AI coding tools: surgical search/read/edit, agent-config version history, path-level access + masking guards, and a multi-project hub.

13K 7 2
fmind
brain-framework

🧠 Brain Framework: from information to informed actions.

13K 4 0
mordechaipotash
brain-mcp

The recorder for your AI conversations — local-first MCP memory that keeps byte-exact copies of your Claude Code, Codex and Pi sessions (Claude Code deletes its own after 30 days) and answers with a citation or abstains. DuckDB.

13K 78 17
ainiadra
niadra

Python SDK for Niadra: shared customer memory for every AI agent in a company. Context before the model call, history, tools and MCP.

12K 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology