Agent Mini: a minimal, local-first AI agent you can actually read, understand, and extend. [P]
Mirrored from r/MachineLearning for archival readability. Support the source by reading on the original site.
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.
[link] [comments]
More from r/MachineLearning
-
A collision-entropy floor for watermark/retrieval AI-text detection. Looking for a sanity check before I take this further [D]
Aug 14
-
Are supervised and unsupervised learning still relevant today? [D]
Aug 14
-
TMLR Relevance and Prestige [D]
Aug 13
-
Reproducible canvas-aligned low-level patterns in somerandomllm-generated images and their possible relation to iterative editing artifacts [D]
Aug 13
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.