the-pocket/pocketflow

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 7 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)

Median issue/PR response: 10.6 hours
Mean response time: 5.6 days
90th percentile: 21.4 days
Tracked items: 75

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 93% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 7% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 60
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 435 days
Stale 30+ days: 57
Stale 90+ days: 56

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

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.