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

Durable Pi: keep an AI agent running on your machine after you close the browser

Start a device server and web hub so an agent keeps running after you close the browser.

Short answer: Run cp .env.example .env, then set OPENROUTER_API_KEY in .env; then run cp dpi-network.example.yaml dpi-network.yaml; run just install, then just net up local. All steps.

Credentials. The setup writes a bearer token to ~/.dpi/backend.env and copies the OpenRouter key into each device's backend.env, so keep those files private.

Who it is forA developer who wants a long-running AI agent on a laptop or server that survives closing the browser or restarting the terminal.

The problemChat sessions tied to one window stop when the window closes, and resume does not restore which tool call was running.

The outcomeA local device server on port 4780 and a web UI on http://localhost:4781 that show one durable agent you can reopen at any time.

What you need first

  • Node.js 24
  • just
  • zsh
  • An OpenRouter API key for OPENROUTER_API_KEY in .env
  • For remote devices: passwordless ssh, and an exe.dev account for exe.dev VMs

Steps

  1. Run cp .env.example .env, then set OPENROUTER_API_KEY in .env.
  2. Run cp dpi-network.example.yaml dpi-network.yaml.
  3. Run just install, then just net up local.
  4. Run just hub build.
  5. In one terminal run just backend run. In a second terminal run just hub start.
  6. Open http://localhost:4781 in a browser and start a session on the local device.

Prompt for your agent

In the Durable Pi repo at <repo path>, follow the Manual Install steps in the README up to starting the hub on http://localhost:4781. Report the URL that responds and the names of the device and session shown in the web UI. Verify that the device appears as local in the network tree.

Caveat. The README says remote devices need passwordless ssh and that exe.dev VMs need an exe.dev account, so start with the local device only.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for disler/durable-pi and "Run a durable agent on your own machine"

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