the-pocket/pocketflow

Pocket Flow: 100-line LLM framework. Let Agents build Agents!

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 53 minutes ago
Added to GitGenius on September 5th, 2026
Created on December 24th, 2024
Open Issues & Pull Requests: 75 (+0)
GitHub issues: Enabled
Number of forks: 1,213
Total Stargazers: 11,153 (+0)
Total Subscribers: 102 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Pocket Flow is a lightweight LLM framework that enables agents to construct and manage other agents through a compact, minimal codebase.

The framework addresses the complexity of building agentic AI systems by providing a flow-based approach where agents can dynamically create and orchestrate other agents. Rather than requiring extensive boilerplate or complex configuration, Pocket Flow achieves its core functionality in approximately one hundred lines of code, making the agent-building process itself accessible to agents. This approach treats agent creation as a first-class operation within the framework, allowing for recursive and emergent agent hierarchies.

Pocket Flow suits projects where you need rapid prototyping of multi-agent systems or want to explore agent-driven workflows without heavyweight dependencies. It is particularly relevant for scenarios involving retrieval-augmented generation and workflow orchestration where agents need to adapt their structure dynamically. The minimalist design makes it appropriate for developers who prioritize simplicity and want to understand the complete mechanics of their agentic system without navigating extensive abstraction layers.

The project shows active development with regular commits addressing core functionality and documentation. The codebase remains tightly focused on its central concept, with changes concentrated on the framework's agent-building capabilities rather than sprawling feature additions. Documentation is maintained alongside code updates, indicating attention to usability as the project evolves.