a react agent in python with no framework underneath it, written when every agent library was adding abstraction faster than i could read it.
react is a small idea. the model reasons about what to do, takes an action, observes the result, and repeats until it decides it is finished. that is a loop, a prompt template, and a way to dispatch tool calls, and it fits on a page against the openai api.
the repository is that page, kept readable. it is not competing with the frameworks; it is meant to be read first, so that when you adopt one you can tell which parts solve your problem and which parts solve the framework's. a lot of what gets called an agent is this loop with retries and logging around it.