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.
alternatives