{
  "id": 16315765,
  "title": "Flisk's Agent Resource: Durable Agents With Sessions You Can Restart",
  "url": "https://urgent.news/2026/10/24/flisks-agent-resource-durable-agents-with-sessions-you-can-restart",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-24T11:06:09.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/flisk/flisks-agent-resource-durable-agents-with-sessions-you-can-restart-3pkj"
  },
  "original_language": "en",
  "account": "Flisk provides a resource type for creating durable agents with session-aware conversations. When you restart the process, the conversation is preserved thanks to durable checkpoints. The agent service is scaffolded with Traefik routing by session, ensuring concurrent conversations are kept separate. Upon graceful shutdown, in-flight turns complete and commit before stopping.\n\nTo use Flisk, you declare the agent settings in service.json, specifying the runtime as custom for plain Bun or Node code. The checkpoint is stored in a Docker volume, which must be removed manually to prevent accidental data loss. Requests include the x-session-id header, allowing Traefik to route by session. Flisk provides two health routes, /health and /ready, to verify checkpoint accessibility.\n\nYour agent code only needs to implement the runTurn(checkpoint, input) function, where you call the model provider and return the response. Flisk handles checkpoint loading, appending user messages, committing atomic updates, and returning the reply. You write the custom logic for model calls and prompts evaluation. Flisk does not manage prompts, model selection, or state storage cost, as these depend on your agent framework.",
  "summary": "An agent is a process that holds a conversation. Restart the process and the conversation can disappear, unless something saves it. Flisk's agent resource type is built for that case. It scaffolds an agent service with durable checkpoints, routes each conversation by session, and drains in-flight turns before shutdown. This article covers the resource type. The series continues with tools,…",
  "key_points": [
    "Flisk offers durable agents with session-aware conversations",
    "Conversation preserved through durable checkpoints during restarts",
    "Traefik routing by session ensures separate concurrent conversations"
  ],
  "editors_take": "Automating checkpoint management and session routing offloads the technical complexity of maintaining continuous conversation state from the developer to the underlying infrastructure.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}