Documentation Index
Fetch the complete documentation index at: https://docs.b1e55ed.permanentupperclass.com/llms.txt
Use this file to discover all available pages before exploring further.
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:b1e55ed start. Do not run it manually - Step 5 installs it as a systemd service automatically. Just confirm the wizard completes cleanly.
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/workspace/ — your own copy with your real name, Telegram handle, timezone, and node ID already filled in.
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.0 Run the operator setup scripts
Two separate scripts, two separate concerns:scripts/setup-connected.sh — installs b1e55ed + OpenClaw + Telegram, and registers b1e55ed as a systemd service. Run this first if you haven’t already (it’s the full connected install script).
scripts/setup-openclaw.sh — configures the OpenClaw workspace (USER.md, CRITICAL.md, queue-drain cron). Run this after.
setup-openclaw.sh prompts for: name, Telegram handle, timezone, GitHub username, bot token — then writes your workspace files with real values (no placeholders).
Verify the engine is running:
5.1 Ensure b1e55ed is reachable locally
On the VPS (give it ~10s to start):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 two services under systemd:b1e55ed.service— runsb1e55ed daemon(manages API, dashboard, brain, resolver internally)openclaw-gateway.service— runs the OpenClaw AI layer
b1e55ed service
b1e55ed daemon manages all subsystems in a single process — no separate API/brain units, no crontab.
See: Standalone Operator Guide → Running as a service
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.