← back to the directory
Library / SDK Agents & Orchestration

PocketFlow

1A 2minimalist 3LLM 4framework 5in 6code

the six Ws · specification

W1 Who

Open-source project, The Pocket.

W2 What

A tiny framework modeling LLM apps as graphs.

W3 Where

A minimal Python library on your infrastructure.

W4 When

When you want agents without heavy dependencies.

W5 Why

About a hundred lines, fully transparent and hackable.

W6 With

Python and an LLM provider.

W7 Watch

Community-maintained; open-source (MIT), library only. Runs locally and calls whichever LLM provider you configure.

MinimalistPythonFramework

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.