PocketFlow
PocketFlow is a minimalist LLM framework whose core is just 100 lines of Python with no dependencies. Its premise is that the essential abstraction behind LLM frameworks is a graph: nodes that do work and the flow between them. On top of that abstraction you can implement agents, multi-agent systems, workflows, RAG and other patterns yourself, without vendor-specific or app-specific wrappers.
It suits developers who want to understand and fully control their agent logic, educators and learners who want to see how LLM applications work under the hood, and anyone frustrated by heavy frameworks and their dependency trees. The project also promotes "agentic coding": because the framework is so small, coding agents such as Cursor can read it entirely and build PocketFlow applications for you. Ports exist for TypeScript, Java, C++, Go and other languages, and the documentation includes design patterns and a large cookbook of examples.