← all repositories

pHaeusler/micro-agent

A minimal autonomous agent using GPT-4 that writes and modifies Python code to accomplish user-specified software tasks.

441 stars Python AgentsCoding Assistants
micro-agent
Velocity · 7d
+0.4
★ / day
Trend
steady
star history

The repository implements a state-machine-based agent where each state performs actions like reading files, writing code, or executing commands, guided by GPT-4 decisions. The agent receives a purpose and task, then iteratively determines its next action to build software autonomously. Inspired by LangChain, it serves as a lightweight research tool for experimenting with agent architectures.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.