Agent Mini packs a usable local AI agent into about 3,000 lines of Python

Lordrovks · reddit · 2026-07-28

A developer released Agent Mini, a minimal local-first AI agent that is small enough to read and extend without a heavy framework stack.

The project is about 3,000 lines of Python, uses Ollama by default, and includes practical tools for shell, files, web search, memory, and vision. The author explicitly avoids LangChain and LiteLLM, instead building on asyncio, httpx, and a compact ReAct loop tuned for local or smaller models.

The motivation is clarity: the author wanted an agent that is useful in practice without becoming a black box. Installation is simple via PyPI:

The post is looking for feedback from others experimenting with local agents.

Original post →

More from coding & agent

coding & agent channel →