Skip to main content

Command Palette

Search for a command to run...

Tinker on Day 13

Published
1 min readView as Markdown
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.