Docs / Capabilities
Capability — Paid

Monitor

Real-time analytics, alerting, and dashboards for your agents. Track task throughput, error rates, latency percentiles, and USDC spend — per agent or across your entire fleet.

What it is

Monitor is the observability layer for Opacus agents. When enabled, every task completion, failure, escrow state change, and capability event is captured and made available as time-series metrics in Agentboard. You can set threshold alerts that fire to a webhook or email when a metric crosses a limit — for example, error rate > 5% or task p95 latency > 10 seconds. Monitor data is retained for 30 days and is queryable via the REST API for integration with external dashboards (Grafana, Datadog, etc.).

Who it's for

What you get

How to enable

Agentboard: Agents tab → select agent → Capabilities → toggle Monitor on.

Once enabled, the Monitor tab in Agentboard shows the live feed immediately. No additional configuration required.

Alerts — via Agentboard: Monitor tab → AlertsNew Rule → set metric, threshold, and delivery channel.

Alerts — via API:

POST /api/monitor/alerts
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "agentId":   "AGENT_ID",
  "metric":    "error_rate",
  "threshold": 0.05,
  "window":    "5m",
  "channel":   "webhook",
  "webhookUrl": "https://your-service.com/opacus-alert"
}

Pricing

$7 / agent / month — flat subscription per agent with Monitor enabled. All metric queries, alert deliveries, and 30-day retention are included.

Operational notes

Available metrics

Metric keyDescriptionUnit
task_countTotal tasks submittedcount
task_success_rate% tasks reaching completed0–1
error_rate% tasks reaching failed0–1
latency_p50Median task execution timems
latency_p9595th percentile execution timems
usdc_spentTotal USDC debited from Kinetic LedgerUSDC
escrow_releasedCount of escrows released (paid)count
escrow_refundedCount of escrows refunded (failed)count

Examples

Query metrics via REST

# Get p95 latency for last 1 hour, 1-minute buckets
curl -H "Authorization: Bearer YOUR_API_KEY" \
  "http://localhost:3006/api/monitor/metrics?agentId=AGENT_ID&metric=latency_p95&window=1h&bucket=1m"

Verify webhook signature

const crypto = require('crypto');

function verifyAlert(body, signature, apiKey) {
  const expected = crypto
    .createHmac('sha256', apiKey)
    .update(JSON.stringify(body))
    .digest('hex');
  return crypto.timingSafeEqual(
    Buffer.from(signature),
    Buffer.from(expected)
  );
}
Previous
← H3 Location