Credentials. Remote runs use SSH access to a host you control, so protect the keys and only connect to hosts you own.
Who it is forA developer whose code or compute lives on a remote server and who wants agents to run there.
The problemLong agent runs tie up a laptop, and remote setups usually need extra tools or a hosted service.
The outcomeAgents run on your SSH host while you monitor and review them from Diri.
What you need first
- macOS 15 or newer on Apple silicon or Intel, or x86_64 Ubuntu 22.04 or 24.04 for the Linux beta
- Terminal coding agent CLIs and accounts already installed on your machine, such as Claude Code, Codex, Cursor, or Gemini
- A Git repository to work in, since each agent can get its own Git worktree and branch
- For remote runs: an SSH host you control
Steps
- Install the app with
brew install --cask cristicretu/diri/diri. - Add an SSH host you control in Diri.
- Start an agent session on that host.
- Close the app and reopen it to confirm the session is still running.
- Review the session's changes once the agent finishes.
Prompt for your agent
Using the diri repo at github.com/cristicretu/diri, start an agent session on the SSH host <ssh-host>, then close and reopen Diri. Output the session status before and after the restart, and verify the session still runs.
Caveat. The README says the feature works on any SSH host but does not list supported host setups, so test with a non-critical host first.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cristicretu/diri and "Run coding agents on an SSH host you control"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer