<aside> đź’ˇ
This blog will present our new multi-agent library, ContextAgent. It is a minimal, context-central multi-agent framework with PyTorch-like API. We want to build intelligent agent systems with minimal code.
</aside>
A context-centric multi-agent framework that integrates seamlessly with OpenAI Agents SDK. PyTorch-style definitions, open-box tracing, configuration, and rich printer utilities. Easy to customize; batteries included.
ContextAgent began as a response to a pattern we kept seeing in multi-agent projects: teams were creating dozens of bespoke agent types, stitching them together with brittle orchestration code, and manually juggling prompt state. Despite the tooling looking sophisticated, the real differentiator was always the context each agent carried. We decided to build a framework that embraces that reality. ContextAgent is a context-centric agent framework that puts context engineering front and center, so you can build reliable, flexible AI systems with far less ceremony.
Modern agents succeed or fail based on the context they see. When organizations prototype “multi-agent” systems, they often realize that their so-called agents are simply the same foundation model wearing different prompt templates, state, and run-time data. Treating each one as a unique entity encourages boilerplate, hides the shared mental model, and makes experimentation slow.
We believe the correct abstraction is:
By designing for context first, we get three compounding benefits:
Traditionally, multi-agent frameworks over-index on agent types and under-index on context lifecycle. ContextAgent flips that emphasis. We intentionally decouple agent and context so you can reason explicitly about how information flows, why a certain LLM call behaves the way it does, and what levers you can pull to change outcomes.