AI article

DeepSeek Harness Series (05): Sessions and Memory — How Conversation History Survives

Community description: Start with a Practical Question Your Agent crashes halfway through a run. After...

Dev.to | Sep 13, 2026 | WonderLab

Automated excerpt

Both questions point to the same design: Session. A dsh Session is an append-only log of typed events. │ seq=1: user/message { role: 'user', ... } │ │ seq=2: system/message { message: {... } } │ │ seq=3: request/header { header: {... } } │ │ seq=4: assistant/message { message: {... } } │ │ seq=5: tool/call { name: 'read_file', ... } │ │ seq=6: tool/result { message: {... } } │ │ seq=7: assistant/message { message: {... } } │ The model's "message history" is not stored separately — it's derived from this log.

Selected automatically from source text; not independently written or fact-checked. Read the original for full context.

Read the original article

More AI news