Skip to content

PocketFlow

A 100-line LLM framework for self-programming agents

Visit official site

What PocketFlow is

The framework is described as a minimal LLM framework in 100 lines of code that lets LLMs program themselves.

What you can do with it

  • Split a task into several LLM steps
  • Use branching and recursive decisions

Pros & cons

✓ What we like

  • High-level paradigms such as task decomposition and multi-agent work
  • Low-level details are removed from the core logic

! What to watch out for

  • The codebase is stated as 100 lines
  • The framework is distributed under the MIT licence

FAQ

How large is the framework?

The material states only 100 lines of code.

What licence is used?

The material states the MIT licence.

Last reviewed: 2026-11-15

More AI coding tools tools

View all →

How we review