Tinker on Day 13


Over the weekend, I did some refactor on the reasoning loop on Tinker. There was so much technical debt built on top by the Claude Code and I needed to do a holistic review of the codebase and ask Tinker to clean things up.
Tip*: One thing that helped is to ask the coding agents to “I’ll give you 100 iterations, do a thorough research on …“ This helped the agents to look into nooks and crannies of the codebase and do a holistic overview.*
One of the things we noticed was that Tinker was using strict think → act → observe → decide
loop and this I believe is less flexible than agent being able to plan their action own their own. I decided to simplify this into one node.
To make that happen, we are now using LangGraph’s create_react_agent
and @tools
attribute to greatly simplify the codebase.
Next Step is to introduce memory summarization feature to reduce the context window usage.
Subscribe to my newsletter
Read articles from Sprited Dev directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
