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
-
Register a machine on the Remote AI Maestro dashboard to get your machine ID and token.
-
Configure the agent:
remotedev-agent configure \
--relay-url wss://relay.thesavvydeveloper.com \
--machine-id YOUR_MACHINE_ID \
--token YOUR_MACHINE_TOKEN
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| remotedev_agent-1.36.0.tar.gz | 241.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|