Your Agent Framework Should Not Become Your Architecture

Earlier this year, I tried to build something deliberately ordinary: a streaming chat, two tools, and memory that survived the browser session.I was not trying to build a synthetic employee or an autonomous company. I wanted a useful product feature. The first model response appeared quickly. By the end of the weekend, I also had tool calls and persisted messages. A few days later, the code technically worked and I could no longer explain where the application ended and the agent stack began. Provider response types had reached the UI. Cancellation lived in a component. Tool execution knew about the conversation store. Memory assumed the message shape of one SDK. Replacing any one piece
…