claude-relay-agent
v1.3.1
Published
Machine agent for Claude Relay system - manages local agentapi instances
Maintainers
Readme
Claude Relay Agent
Machine agent for the Claude Relay system - manages local Claude Code (agentapi) instances and connects them to the central relay server.
Installation
Via NPM (Recommended)
npm install -g claude-relay-agentVia Standalone Binary
Download the appropriate binary for your platform from the releases page.
Quick Start
- Initialize the agent (one-time setup):
claude-agent initThis will automatically:
- Download and install the agentapi binary
- Install Claude Code if not present
- Set up necessary directories
- Authenticate with Claude Code (if needed):
claude auth login- Connect to your relay server:
claude-agent login -s https://your-relay-server.onrender.com- Start the daemon:
claude-agent daemon startCommands
claude-agent init- Initialize and install dependenciesclaude-agent login- Authenticate with relay serverclaude-agent daemon start- Start the background daemonclaude-agent daemon stop- Stop the daemonclaude-agent daemon status- Check daemon statusclaude-agent config get- View configurationclaude-agent config set <key> <value>- Update configuration
Configuration
Configuration is stored in ~/.claude-agent/config.json
System Requirements
- Node.js 18+ (for npm installation)
- 4GB+ RAM recommended
- Internet connection for initial setup
Support
- Issues: https://github.com/obaid/claude-relay/issues
- Documentation: https://github.com/obaid/claude-relay
License
MIT
