Agent Mini: a minimal, local-first AI agent you can actually read, understand, and extend. [P]

Reddit r/MachineLearning Tools

Summary

Agent Mini is a minimal, open-source AI agent written in ~3k lines of Python that prioritizes readability and local-first operation using Ollama, offering practical tools while avoiding heavy frameworks.

It is about ~3k lines of Python, uses Ollama by default, and ships with practical tools for shell, files, web search, memory, and vision. No LangChain. No LiteLLM. No big framework stack. Just asyncio, httpx, and a small ReAct loop tuned for local/smaller models. An agent that feels useful without becoming a black box. Didn't wanted to dig through framework abstractions to figure out how agents actually work, so built one small enough to read in an afternoon, but practical enough to use for real tasks. GitHub: https://github.com/mohsinkaleem/agent-mini PyPI: https://pypi.org/project/agent-mini/ pip install agent-mini agent-mini init agent-mini chat Would love feedback from anyone experimenting with local agents.
Original Article

Similar Articles

Open Minis

Product Hunt

Open Minis is an on-device AI agent that runs on your phone, designed to be open and secure.

Build a local AI coding agent from scratch

Reddit r/ArtificialInteligence

A step-by-step guide to building a minimal AI coding agent that runs entirely locally using llama.cpp, GGUF models, and a custom harness, demonstrating how to set up tools and call a model to execute real tasks like creating a landing page.

MiniMaxAI/MiniMax-M2.7

Hugging Face Models Trending

MiniMaxAI releases MiniMax-M2.7, an open-weight model featuring self-evolution capabilities, advanced agent team support, and strong performance on software engineering benchmarks (56.22% on SWE-Pro, 66.6% medal rate on MLE Bench Lite), with notable applications in production incident recovery and professional work tasks.