Urgent.News

the world's headlines, one feed

Editions

More in Tech

OpenCode Session Framework Internals

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.