Skip to main content

Agent daemon for Remote AI Maestro — manages PTY sessions and AI agent subprocesses on remote machines

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

remotedev_agent-1.27.3.tar.gz (132.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remotedev_agent-1.27.3-py3-none-any.whl (109.0 kB view details)

Uploaded Python 3

File details

Details for the file remotedev_agent-1.27.3.tar.gz.

File metadata

  • Download URL: remotedev_agent-1.27.3.tar.gz
  • Upload date:
  • Size: 132.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for remotedev_agent-1.27.3.tar.gz
Algorithm Hash digest
SHA256 061d9862e187789dc81f7cf0c535d801ad808c800227a373ee6de3008a1edba6
MD5 4b483209ac6a094e342de4c9dbfe056f
BLAKE2b-256 f2c8c650851fd0aefa260d63ea456bf414df9d32a25494761689e99d32f708f7

See more details on using hashes here.

File details

Details for the file remotedev_agent-1.27.3-py3-none-any.whl.

File metadata

File hashes

Hashes for remotedev_agent-1.27.3-py3-none-any.whl
Algorithm Hash digest
SHA256 baa96d7b11a0bb2dac59e9df86f07230e3a82568750f4b56a2ad0c9882728ef8
MD5 140d680a85c88d6a7350b888dd562c72
BLAKE2b-256 94bf7b905ddcc873f3c0f6c93eba3cc12c8b7ad2c2013490c5dc9068837ca04e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page