Agent Operator Guide (OpenClaw)
This guide is for operators who want the full stack:- b1e55ed (signals + brain + dashboard)
- OpenClaw (24/7 AI operator)
- Telegram alerts + natural-language queries
- Heartbeat health checks
What you get
Everything in the standalone deployment, plus:- AI monitors 24/7: watches health, events, and anomalies
- Telegram alerts: sends actionable notifications (failures, thresholds, noteworthy shifts)
- Natural-language ops: ask questions like “what’s HYPE doing?” and get a synthesized answer
- Proactive analysis: agent can summarize what changed since last check
- Heartbeat checks: a small, explicit checklist that runs periodically
Architecture
Prerequisites
Same as standalone
- VPS: 2 vCPU / 2 GB RAM minimum (4 GB recommended)
- Python 3.11+ (installer +
uvmanage this) - GitHub access (installer pulls from GitHub)
Additional
- Anthropic API key (required)
- Create one at: https://console.anthropic.com/
- You’ll copy the key into OpenClaw during setup.
- Telegram account (required)
- Optional model keys (only if you plan to use them):
- OpenAI key: https://platform.openai.com/
- xAI key: https://console.x.ai/
openclaw setup and ensure the key is stored (see Step 4).
Step 1: Install b1e55ed
Do the standalone install first:Step 2: Install OpenClaw
Install Node.js first if you don’t have it (Ubuntu):- Go to https://console.anthropic.com/
- Create an API key
- Paste it into the setup prompt
Step 3: Connect Telegram
3.1 Create a Telegram bot
- In Telegram, open @BotFather
- Send
/newbot - Choose a name and username
- BotFather will return a bot token (a long string)
3.2 Store the token in OpenClaw
On your VPS:3.3 Test the bot
- Open your bot in Telegram
- Tap Start (or send
/start)
Step 4: Configure the AI (SOUL.md + USER.md)
OpenClaw uses a workspace directory containing operator instructions. Two files matter most:SOUL.md: the assistant’s personality + operating principlesUSER.md: your preferences and what “good” looks like
openclaw config, but the default is usually ~/.openclaw/workspace).
Minimal examples:
SOUL.md
USER.md
Step 5: Connect b1e55ed to OpenClaw
The simplest integration pattern:- b1e55ed runs on the VPS (API on
127.0.0.1:5050) - OpenClaw heartbeats call:
b1e55ed health --jsoncurl http://127.0.0.1:5050/api/v1/healthb1e55ed status
5.1 Ensure b1e55ed is reachable locally
On the VPS:5.2 Create a HEARTBEAT.md
In your OpenClaw workspace, createHEARTBEAT.md with explicit checks.
Minimal, copy/paste-ready example:
b1e55ed command
Fix: ensure the service environment PATH includes ~/.local/bin, or use an absolute path in your heartbeat commands.
Step 6: Tailscale (recommended)
Tailscale lets you access the dashboard/API privately without exposing ports to the public internet.VPS install
tailscale up, it will print a login URL. Open it, authenticate, and approve the device.
Laptop (macOS) install
- Install from: https://tailscale.com/download
- Sign in to the same Tailscale account
tailscale serve (optional). For production hardening, see docs/deployment.md.
Step 7: Oracle setup (end-to-end)
If you want contributor registrations and agent provenance checks to work end-to-end, ensure:- API is running
- Oracle endpoint is reachable wherever your agent runs
Daily operations
What alerts look like
Typical Telegram alerts you should configure for:- services restarting (API/brain/OpenClaw)
b1e55ed healthreturning DEGRADED/ERROR- brain staleness (no successful cycles within your threshold)
Example natural-language queries
- “what’s BTC doing today?”
- “summarize last 2 hours of signals”
- “is the engine healthy?”
b1e55ed statusb1e55ed positions --json- API health endpoints
How heartbeats work
Heartbeats are deliberate, small checklists. You define them inHEARTBEAT.md. The agent executes them on a schedule and alerts on violations.
Customizing alerts
EditHEARTBEAT.md to change thresholds and escalation.
Practical knobs:
- “brain stale” threshold (e.g., 10 minutes vs 30 minutes)
- which endpoints matter (API, oracle, dashboard)
- noise filtering (only alert on consecutive failures)
Running as a service (systemd)
This section runs four services under systemd:b1e55ed-api.serviceb1e55ed-brain.serviceopenclaw-gateway.serviceopenclaw-agent.service(optional wrapper if you run a dedicated agent process)
b1e55ed services
Use the unit files from the standalone guide:OpenClaw gateway service
This assumes:- OpenClaw is installed globally (
/usr/bin/openclawshould exist) - You want it running as the
b1e55eduser
Troubleshooting
OpenClaw installed but openclaw not found
Telegram connection issues
- Re-check token with
openclaw config get telegram.token - Ensure the bot was started in Telegram (
/start)
b1e55ed API not reachable from OpenClaw
README.md.