< 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
@sergenes
maintainer
★ 24 stars
github
mini-agent — preview
mini_agent repository preview
# 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_agent
languages
Python100%
last commit1 month ago
license
more Ollama repos
$ made-with-ollama
rssllmmadewithwhat

Ask MadeWithWhat

AI answers may contain mistakes — please double-check important details.