Go to file
zachary62 87929060c8 rephrase readme 2024-12-26 21:59:18 +00: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 rephrase readme 2024-12-26 21:59:18 +00:00
setup.py update readme 2024-12-26 19:41:17 +00:00

README.md

miniLLMFlow

License: MIT

Minimalist LLM framework in 100 lines. Express popular paradigms like agents, task decomposition, RAG, and more.

  • Install via pip install minillmflow. Or just copy the source codes (it's only 100 lines)
  • We strongly recommened using LLMs (e.g., Claude, ChatGPT, Cursor) to develop LLM applications with this prompt

Why miniLLMFlow?

The future of programming will be heavily LLM-assited, and LLMs:

  1. 😀 Shine at Feature Implementation: With proper docs, LLMs can handle APIs, tools, chunking, prompt wrapping, etc. These are hard to maintain and optimize, so they dont belong in the framework.

  2. ☹️ Struggle with Paradigm Design: Paradigms like MapReduce, task decomposition, and agents are powerful, even for LLMs. However, designing these elegantly remains challenging for LLMs.

To enable LLMs to develop LLM applications, a framework should (1) remove redunant feature implementations but (2) keep core paradigms to build on. It turns out that such a framework only needs 100 lines of code.