DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to resume a long agent session after a server restart with Halogen Flash Server

Use the on-disk prompt cache so a deep agent session picks up without a cold start.

Short answer: Read docs/configuration.md#prompt-cache-on-disk-resume-a-conversation-after-a-restart to learn how the disk cache is enabled; then read docs/sessions.md to learn how to keep, fork, or join a session; start the server with the disk cache option set as described in docs/configuration.md, using the run command from the Quickstart. All steps.

Who it is forA developer running a long coding-agent session with tens of thousands of tokens of context who needs to restart the server without losing that progress.

The problemA cold first turn on a long prompt is slow, and a restart normally throws away the conversation state the agent built up.

The outcomeThe conversation resumes from the disk prompt cache after a restart instead of reprocessing the whole prompt.

What you need first

  • An AMD Strix Halo machine (the README measures on a Ryzen AI Max+ 395 with 128 GB)
  • Podman installed, with access to /dev/kfd and /dev/dri
  • Access to the BIOS to set the UMA frame buffer carve-out to its minimum
  • Disk space for the model weights, which the container downloads on first run
  • Network access to ghcr.io and the model download source

Steps

  1. Read docs/configuration.md#prompt-cache-on-disk-resume-a-conversation-after-a-restart to learn how the disk cache is enabled.
  2. Read docs/sessions.md to learn how to keep, fork, or join a session.
  3. Start the server with the disk cache option set as described in docs/configuration.md, using the run command from the Quickstart.
  4. Send a long multi-turn session through the API and let the cache fill.
  5. Restart the server and send the next turn of the same session, then compare the first-token time with the cold first turn.

Prompt for your agent

Using the repo peonist-ai/halogen-flash-server, enable the on-disk prompt cache as described in docs/configuration.md and resume <target session> after a server restart. Expected output: the resumed session answers its next turn without reprocessing the full prompt. Verify by checking the time to first token against the first cold turn.

Caveat. The README gives the cold first turn for a 34,000-token prompt as 21 s, so resume timing will depend on your own hardware and cache state.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for peonist-ai/halogen-flash-server and "Resume a long agent session after a server restart"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer