Installation
Installation Process
Binary Installation
Binary composition:- Bun runtime
- TypeScript code (compiled)
- npm dependencies
- Embedded Rust watcher (base64-encoded)
/opt/ariana-agent/ariana-agents-server
System Dependencies
The install script ensures these are available: Always installed:- Git (version control)
- GitHub CLI (
gh) - for PR creation, issue management - Node.js + npm (runtime for tools)
- Claude Code CLI (
claude) - AI coding assistant - Network tools:
ssornetstat(Linux only)
- Project-specific dependencies per agent requirements
Service Setup
The agent server runs as a system service that starts on boot and automatically restarts on failure. Linux (systemd):- Runs as
arianauser (non-root) - Logs to systemd journal
- Runs as the actual user who installed (not root)
- Logs to
/var/log/ariana-agent.log
ariana logs- View recent logsariana follow-logs- Stream logs in real-time
Environment Configuration
File:/opt/ariana-agent/.env
MACHINE_ID: Identifies this machine in backend databaseSHARED_KEY: Used for AES-256-GCM encryptionARIANA_PORT: Port the agent server listens on (default 8911)WORK_DIR: Directory where agents clone repositoriesCLAUDE_PATH: Path to Claude CLI binaryIS_SANDBOX: Flag indicating sandboxed environment