From 7569430823da617ba0f2855ec79e56e5253f09e8 Mon Sep 17 00:00:00 2001 From: Zachary Huang <33015448+zachary62@users.noreply.github.com> Date: Tue, 11 Mar 2025 17:19:44 -0400 Subject: [PATCH] Update README.md --- README.md | 114 ++++++++++++++++++++++++++---------------------------- 1 file changed, 55 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index 4867357..b184203 100644 --- a/README.md +++ b/README.md @@ -12,47 +12,67 @@ Pocket Flow is a [100-line](pocketflow/__init__.py) minimalist LLM framework -- **Lightweight**: Just the core graph abstraction in 100 lines. Zero bloat, zero dependencies, zero vendor lock-in. +- **Lightweight**: Just 100 lines. Zero bloat, zero dependencies, zero vendor lock-in. -- **Expressive**: Everything you love from larger frameworks—([Multi-](https://the-pocket.github.io/PocketFlow/design_pattern/multi_agent.html))[Agents](https://the-pocket.github.io/PocketFlow/design_pattern/agent.html), [Workflow](https://the-pocket.github.io/PocketFlow/design_pattern/workflow.html), [RAG](https://the-pocket.github.io/PocketFlow/design_pattern/rag.html), and more. +- **Expressive**: Everything you love from large frameworks—([Multi-](https://the-pocket.github.io/PocketFlow/design_pattern/multi_agent.html))[Agents](https://the-pocket.github.io/PocketFlow/design_pattern/agent.html), [Workflow](https://the-pocket.github.io/PocketFlow/design_pattern/workflow.html), [RAG](https://the-pocket.github.io/PocketFlow/design_pattern/rag.html), and more. + +- **AI-Friendly**: Let AI Agents (e.g., Cursor AI) build Agents—10x productivity boost! -- **AI-Friendly**: Intuitive enough for AI agents (e.g., Cursor AI) to build agents! - -- **Principled**: Built with modularity and clear separation of concerns at its heart for maintainable codes. - - To install, ```pip install pocketflow```or just copy the [source code](pocketflow/__init__.py) (only 100 lines). - To learn more, check out the [documentation](https://the-pocket.github.io/PocketFlow/). For an in-depth design dive, read the [essay](https://github.com/The-Pocket/.github/blob/main/profile/pocketflow.md). - 🎉 We now have a [discord](https://discord.gg/hUHHE9Sa6T)! +## Why Pocket Flow? -## What can Pocket Flow build? - -✨ Below are examples of LLM Apps: +Current LLM frameworks are bloated. You only need 100 lines for LLM Framework!
+
+
+ | | **Abstraction** | **App-Specific Wrappers** | **Vendor-Specific Wrappers** | **Lines** | **Size** |
+|----------------|:-----------------------------: |:-----------------------------------------------------------:|:------------------------------------------------------------:|:---------------:|:----------------------------:|
+| LangChain | Agent, Chain | Many
+
+