PocketFlow
Free100-line minimalist LLM framework for building agents and workflows in pure Python.
Tool Info
Categories
Agents · Frameworks
Developer
The-Pocket
License
Open Source
Official Website
Repository
Overview
PocketFlow distills LLM workflow patterns into a tiny Python library.
Developers who understand the code can customize every behavior.
Ideal when LangChain or LangGraph feel over-engineered.
Features
- Graph-based flows in ~100 lines
- Node and edge abstractions
- No heavy dependencies
Pricing
Free tier available
Free (open source)
Pros
- Extremely lightweight
- Full control
- Easy to understand and extend
Best For
Learning agent patternsMinimal production agentsCustom workflow control
When NOT to Use
- DIY for integrations
- No enterprise support
Typical Users
Python developersEngineers avoiding heavy frameworks
Related Tools
Alternatives
Tags
#agents#minimal#framework
Related Guides
Stay Updated
Get the latest AI news, tools, and engineering guides delivered to your inbox.
Subscribe to Newsletter