From 777cbcc72d23afa1fc2b5eac0a240fa39c67e9ca Mon Sep 17 00:00:00 2001
From: Zachary Huang <33015448+zachary62@users.noreply.github.com>
Date: Wed, 5 Mar 2025 23:50:27 -0500
Subject: [PATCH] Update README.md
---
README.md | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 4c017b6..0cc5e3a 100644
--- a/README.md
+++ b/README.md
@@ -13,10 +13,15 @@
Pocket Flow: A [100-line](pocketflow/__init__.py) minimalist LLM framework
- **Expressive**: Support ([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), etc.—everything you’d expect from larger frameworks.
+
- **Lightweight**: Only the [core graph abstraction](https://the-pocket.github.io/PocketFlow/core_abstraction/) in 100 lines. No dependencies or vendor lock-ins.
+
- **Principled**: Designed for clear [modularity](https://the-pocket.github.io/PocketFlow/core_abstraction/node.html) and [separation of concerns](https://the-pocket.github.io/PocketFlow/core_abstraction/communication.html).
+
- 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)
@@ -52,7 +57,7 @@ For a new development paradigmn: **Build LLM Apps by Chatting with LLM agents, N
- 👈 How to set up Pocket Flow for LLM agents?
+ 👈 (Click to expand) How to set up Pocket Flow for LLM agents?
- **For quick questions**: Use the [GPT assistant](https://chatgpt.com/g/g-677464af36588191b9eba4901946557b-pocket-flow-assistant) (note: it uses older models not ideal for coding).
@@ -64,9 +69,10 @@ For a new development paradigmn: **Build LLM Apps by Chatting with LLM agents, N
- 👈 How does Pocket Flow compare to other frameworks? Pocket Flow is purpose-built for LLM Agents:
+ 👈 (Click to expand) How does Pocket Flow compare to other frameworks?
-
+
+ Pocket Flow is purpose-built for LLM Agents:
1. **🫠 LangChain-like frameworks** overwhelm Cursor AI with *complex* abstractions, *deprecated* functions and *irritating* dependency issues.
2. 😐 **Without a framework**, code is *ad hoc*—suitable only for immediate tasks, *not modular or maintainable*.
3. **🥰 With Pocket Flow**: (1) Minimal and expressive—easy for Cursor AI to pick up. (2) *Nodes and Flows* keep everything *modular*. (3) A *Shared Store* decouples your data structure from compute logic.