The easiest way to misunderstand an agent session is to treat it as a chat API call with a longer memory. Send a prompt, receive a response, append both to a transcript. That is enough for a demo.

Source: [Dev.to](https://dev.to/antonio_zhu_e726fd856cd86/opencode-session-framework-internals-1oj8)

Sponsored