PocketFlow

100-line LLM framework for building agents with agents.

GrowingOpen SourceLow lock-in

Pricing

Free tier

Flat rate

Adoption

Stable

License

Open Source

Data freshness

Aging · Jun 8, 2026

Overview

What is PocketFlow?

PocketFlow is a lightweight and flexible framework designed to enable developers to build sophisticated AI agents. It simplifies the process of creating complex agent-based systems by providing a streamlined, easy-to-use interface.

Key differentiator

PocketFlow stands out with its minimalistic approach to building AI agents, offering a streamlined framework that focuses on ease of use and quick prototyping.

Capability profile

Capability Radar

Ease of StartEcosystemValueMaturityFlexibilityScale Ready

Honest assessment

Strengths & Weaknesses

↑ Strengths

Minimalistic design with only 100 lines of codemedium

Facilitates the creation and management of AI agentsmedium

Highly customizable for various agent-based applicationsmedium

↓ Weaknesses

Steep learning curve for non-Python developershigh

API requires Python-specific patterns, TypeScript SDK is community-maintained

Frequent breaking changes between versionsmedium

v0.1 to v0.2 migration required rewriting chain definitions

Limited language support restricts broader adoptionhigh

Primary language is Python, with no official support for other languages like JavaScript or Java

Small community leads to slower issue resolution and feature requestsmedium

GitHub issues have low engagement and infrequent updates from maintainers

Fit analysis

Who is it for?

✓ Best for

Teams looking to quickly prototype agent-based systems with minimal setup

Developers who need a lightweight framework to build complex AI agents without extensive configuration

Researchers exploring the capabilities of autonomous agents in controlled environments

✕ Not a fit for

Projects requiring real-time data processing and immediate feedback from agents

Applications that demand high scalability and performance, as PocketFlow is designed for simplicity over robustness

Cost structure

Pricing

Free Tier

Available

Open source — free to use

Starts at

$0

Model

Flat rate

Enterprise

None

Performance benchmarks

How Fast Is It?

Ecosystem

Relationships

Alternatives

Works well with

Next step

Get Started with PocketFlow

Step-by-step setup guide with code examples and common gotchas.

View Setup Guide →