Jarvis · Local ReAct Agent Built From Scratch
Aug 2026 to PresentDetails
A hand-built ReAct agent loop running on a local Ollama model, with no agent framework underneath: the client parses the model's replies, decides when to call a tool, and handles the failure modes (bad tool names, missing input, off-format replies) with a bounded retry instead of failing silently.
Tools now run behind a real MCP server rather than in-process — the client launches it as a subprocess over stdio, discovers its tools at startup, and calls them through an MCP client session. I'm building this to understand the ReAct loop and the Model Context Protocol from first principles, as hands-on practice for the MCP and tool-using-agent sections of my own learning plan, rather than to ship a product. Work in progress.