sergenes/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).
GitHub repository with 20 stars and 15 forks.
Language: Python
Topics: aitools, iagents, llm, mcp, mcp-client, mcp-server, ollama, open-source, python, react