Post

For my stateful agent, I run a private, real-time dashboard on top of a Cloudflare durable object. This allows me to monitor tool calls and progress without needing the agent to constantly send messages to my chat client. These events are read and published directly from logs.

I realized this was silly. Adding hook instrumentation allows me to see the tools in thread in the message client without requiring the agent to invoke the tool to send messages. It's a little noisy but solves the problem in the spot I care about it

0 reposts0 likes