Open-Source Projects
Discover top open-source software, updated regularly with real-world adoption signals.
Discover top open-source software, updated regularly with real-world adoption signals.

Build AI apps with a 100‑line, dependency‑free framework
Pocket Flow is a 100‑line, zero‑dependency LLM framework that offers graph‑based agents, workflows, RAG, and multi‑language ports, enabling rapid, vendor‑agnostic AI application development.

Chatbot with memory
A conversational agent that retains short‑term and long‑term context using Pocket Flow’s graph nodes.
Retrieval‑augmented generation pipeline
Combine external document retrieval with LLM generation for accurate Q&A without external wrappers.
Multi‑agent research assistant
Two agents coordinate via async graph to browse web, synthesize information, and produce reports.
Parallel image processing workflow
Process multiple images concurrently, achieving up to 8× speedup using Pocket Flow’s parallel flow support.
Run `pip install pocketflow` or copy the single 100‑line source file into your project.
No. The core library is dependency‑free; optional language ports may have their own standard libraries.
Yes. The framework abstracts the LLM call, so you can plug in OpenAI, Anthropic, or self‑hosted models by implementing a simple interface.
Beyond Python, there are community ports for TypeScript, Java, C++, Go, Rust, and PHP.
It is ideal for prototyping and lightweight services; production use may require additional tooling for scaling, monitoring, and security.
Project at a glance
StableLast synced 4 days ago