Skip to main content

remotedev-agent

Agent daemon for Remote AI Maestro -- connects your machine to the platform so you can remotely control AI coding agents (Claude Code, Codex, Aider, Copilot, Cursor) via a browser-based terminal.

What it does

  • Opens tmux-backed PTY sessions that survive disconnects and daemon restarts
  • Discovers AI agents available on your machine's PATH
  • Streams terminal I/O to the Remote AI Maestro relay over WebSocket
  • Manages sandbox directories (create, clone repos, delete)
  • Installs as a background service (launchd on macOS, systemd on Linux)

Requirements

  • Python 3.10+
  • tmux installed and on PATH
  • macOS or Linux

Installation

pip install remotedev-agent

Quick start

  1. Register a machine on the Remote AI Maestro dashboard to get your machine ID and token.

  2. Configure the agent:

remotedev-agent configure \
  --relay-url wss://relay.thesavvydeveloper.com \
  --machine-id YOUR_MACHINE_ID \
  --token YOUR_MACHINE_TOKEN
  1. Start the agent:
remotedev-agent start

The agent connects to the relay and begins accepting terminal sessions from the web dashboard.

Interactive setup

If you prefer prompts instead of flags:

remotedev-agent setup

Install as a background service

remotedev-agent install-service

This creates a launchd plist (macOS) or systemd unit (Linux) so the agent starts automatically on boot.

To remove the service:

remotedev-agent uninstall-service

Configuration

Config is stored at ~/.remotedev-agent/config.json with three fields:

Field Description
relay_url WebSocket URL of the relay server
machine_id UUID assigned when you register the machine
token Machine authentication token

How it works

The agent daemon maintains a persistent WebSocket connection to the Remote AI Maestro relay server. When a user opens a sandbox terminal in their browser, the relay forwards the request to the agent, which creates a tmux-backed PTY session on your machine. All terminal input/output is streamed in real time through the relay.

AI agents (Claude Code, Codex, etc.) are discovered by probing your PATH at startup. Users can invoke any discovered agent from the browser terminal.

Development

# Install in editable mode with test dependencies
pip install -e ".[test]"

# Run tests
pytest

License

MIT

Metadata

Release files for remotedev-agent 1.35.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for remotedev-agent 1.35.0
File Size Uploaded
remotedev_agent-1.35.0.tar.gz 234.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for remotedev-agent 1.35.0
File Interpreter ABI Platform
remotedev_agent-1.35.0-py3-none-any.whl Python 3 none any Details

Total release size: 405.1 kB

Release files / remotedev_agent-1.35.0.tar.gz

Download URL remotedev_agent-1.35.0.tar.gz
Size 234.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a01663b568bca4c308302b47de0c660eb276ad83aae106b81cb725416b3485cb
BLAKE2b-256 checksum
How to use checksums
148b9aa58e862dbd93fcb622a17cff6a14bcca8d4819a02c51bfe0022a1daab1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release files / remotedev_agent-1.35.0-py3-none-any.whl

Download URL remotedev_agent-1.35.0-py3-none-any.whl
Size 170.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb3587af2db57e69bd68380f2634e51d10319639051e650c623f630964057f89
BLAKE2b-256 checksum
How to use checksums
873fe731c36700f739073bfdcf443335d6f8382028cdbca7f78a0b6ecf741f18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release history Release notifications | RSS feed

1.36.0

2 release files

This release

1.35.0 This release

2 release files

1.33.2

2 release files

1.33.1

2 release files

1.32.0

2 release files

1.31.0

2 release files

1.29.0

2 release files

1.27.3

2 release files

1.19.0

2 release files

1.17.0

2 release files

1.16.0

2 release files

1.13.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page