--- layout: default title: "Home" nav_order: 1 --- # Mini LLM Flow A [100-line](https://github.com/zachary62/miniLLMFlow/blob/main/minillmflow/__init__.py) minimalist LLM framework for *Agents, Task Decomposition, RAG, etc*. We model the LLM workflow as a **Nested Directed Graph**: - **Nodes** handle simple (LLM) tasks. - Nodes connect through **Actions** (labeled edges) for *Agents*. - **Flows** orchestrate a directed graph of Nodes for *Task Decomposition*. - A Flow can be used as a Node (for **Nesting**). - **Batch** Nodes/Flows for data-intensive tasks. - **Async** Nodes/Flows allow waits or **Parallel** execution