langroid vs PocketFlow
langroid is an open-source agent framework for multi-agent frameworks. PocketFlow is an open-source agent framework for multi-agent frameworks.
- PocketFlow has more GitHub stars (11,328 vs 4,152).
- langroid is best for build a multi-agent pipeline in python.
- PocketFlow is best for build a small custom agent loop.
- What it is
- langroid is an open-source agent framework for multi-agent frameworks.PocketFlow is an open-source agent framework for multi-agent frameworks.
- Best for
- Build a multi-agent pipeline in PythonBuild a small custom agent loop
- Kind
- AgentAgent
- Pricing
- Open sourceOpen source
- Platforms
- self-hostedself-hosted, API
- Agent type
- Agent frameworkAgent framework
- GitHub stars
- 4.2K11.3K
- Last commit
- Nov 2026Jul 2026
- License
- MITMIT
- Open source
- Good for
- Build a multi-agent pipeline in Python; Add retrieval over documents with source citations; Delegate subtasks between specialised agentsBuild a small custom agent loop; Prototype a RAG pipeline; Teach LLM workflow design
What langroid does
Agent and Task classes
Agents hold state and tools; tasks give them instructions and manage turns.
Hierarchical delegation
Sub-tasks act as additional responders for recursive task splitting.
Wide LLM support
Works with local and remote models through several libraries.
Vector-store retrieval
Supports Qdrant, Chroma, LanceDB and Milvus for RAG.
Prompt caching
Uses Redis by default to cache prompts and responses.
What PocketFlow does
Graph abstraction
Nodes, flows and actions in about 100 lines.
Shared store
Nodes communicate through shared state.
Batch and async
Handles data-intensive and waiting tasks.
Design patterns
Agent, workflow, RAG and map-reduce.
No dependencies
Zero dependencies and no vendor lock-in.
langroid vs PocketFlow: questions
Is langroid or PocketFlow cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between langroid and PocketFlow?
langroid is an open-source agent framework for multi-agent frameworks. PocketFlow is an open-source agent framework for multi-agent frameworks. PocketFlow has more GitHub stars (11,328 vs 4,152).

