HB hakanbogan.com
hakanbogan/react-agent-calculator

ReAct Agent

A minimal, readable implementation of the ReAct pattern — the loop in which a model alternates between reasoning about what it needs and acting through a tool, using each observation to decide the next step.

Built as a calculator so the reasoning trace stays legible: arithmetic makes every intermediate step verifiable, which is what you want when the subject being taught is the control flow rather than the task.

## stack
  • Python
  • LangChain
→ github.com/hakanbogan/react-agent-calculator