Go to file
Zachary Huang 993e024ec4
Update README.md
2024-12-26 17:58:00 -05:00
docs update readme 2024-12-26 19:41:17 +00:00
minillmflow refactor 2024-12-26 07:52:07 +00:00
tests fix trsts 2024-12-26 03:18:00 +00:00
.gitignore rephrase readme 2024-12-26 21:59:18 +00:00
LICENSE Create LICENSE 2024-12-26 00:44:17 -05:00
README.md Update README.md 2024-12-26 17:58:00 -05:00
setup.py update readme 2024-12-26 19:41:17 +00:00

README.md

Mini LLM Flow

License: MIT

A 100-line minimalist LLM framework for agents, task decomposition, RAG, etc.

  • Install via pip install minillmflow, or just copy the source (only 100 lines)

  • Pro tip: Build LLM apps with LLMs assistants (ChatGPT, Claude, etc.) via this prompt

Why Mini LLM Flow?

The future of LLM app development will be heavily LLM-assisted: users specify requirements, and LLMs build, test, and maintain on their own. Current LLM assistants:

  1. 😀 Shine at Low-level Implementation: With proper docs, LLMs can handle APIs, tools, chunking, prompt wrapping, etc. These are hard to maintain and optimize for a general-purpose framework.

  2. ☹️ Struggle with High-level Paradigms: Paradigms like MapReduce, task decomposition, and agents are powerful for development. However, designing these elegantly remains challenging for LLMs.

To enable LLMs to develop LLM app, a framework should (1) remove specialized low-level implementations, and (2) keep high-level paradigms to program against. Hence, I built this framework that lets LLMs focus on what matters. It turns out 100 lines is all you need.