Menu

1 / 5

Microsoft Foundry: How Do You Persist Agent Sessions Outside the Chat Shell?

DEV Community: azure·Sai Prudhvi Neelakantam·1 day ago
#cQXW07r1
#devtoazure#devto#dev#conversation#refresh
Reading 0:00
15s threshold

I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at geekindata.com . The diagrams are on that page.

Three clocks: auth, UI, and conversation

Key takeaways

Treat auth session, UI state, and agent conversation as three separate clocks.

Own the conversation list in your API; exclude playground and portal junk.

Persist a durable conversation id before you open the stream.

Define refresh, quit, recycle, and token-renewal behavior in an ADR.

Show incomplete runs from server truth, not EventSource liveness.

Keep auth lifetime and conversation lifetime separate in support language.

Users expect ChatGPT rules: close the tab, come back, the thread is still there. Platform agent services often have their own conversation store.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.