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.36.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.36.0
File Size Uploaded
remotedev_agent-1.36.0.tar.gz 241.4 kB Details

Built distribution (wheel)

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

Total release size: 416.4 kB

Release files / remotedev_agent-1.36.0.tar.gz

Download URL remotedev_agent-1.36.0.tar.gz
Size 241.4 kB
Tags Source
SHA-256 checksum
How to use checksums
79f39830e5b22a0c0785c0a1a9d1271c99cb51c4484df5a91b971abb8a8a8fcc
BLAKE2b-256 checksum
How to use checksums
31bcf81e2df68b624206a008aef6258eec6c55f408a68eb04beac21a16a59417
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

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

Download URL remotedev_agent-1.36.0-py3-none-any.whl
Size 175.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
925d8799a6abd62df3e730167f9e7d181130b9b44455159d09892f14a3482918
BLAKE2b-256 checksum
How to use checksums
ad04af7977cbf913f4e27182fc72dd9714fff54ecd5c7bbaf79630d5d565ccb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release history Release notifications | RSS feed

This release

1.36.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