< cd ../gallery
[AI & ML]
mini_agent
A minimal AI agent built from scratch — no agent framework, just Python, the OpenAI SDK, and a `while` loop. Accompanies the Medium article "Build Your Own AI Agent from Scratch." Three execution modes: `local` (Ollama only), `remote` (cloud provider), `mixed` (local orchestrates, delegates to remote).
@sergenes
maintainer
★ 24 stars
# README
A minimal AI agent built from scratch — no agent framework, just Python, the OpenAI SDK, and a `while` loop. Accompanies the Medium article "Build Your Own AI Agent from Scratch." Three execution modes: `local` (Ollama only), `remote` (cloud provider), `mixed` (local orchestrates, delegates to remote). Maintained by sergenes on GitHub, where it has earned 24 stars from the community.
It's actively developed around aitools, iagents, llm, and is a solid reference for anyone building with these tools.
# tags
# install
npm install mini_agentmore Ollama repos