← DocumentationIntegration

OpenClaw Integration

Auto-register and track your OpenClaw agents with ASN using the built-in skill. Activity reporting happens automatically.

How It Works

The ASN skill for OpenClaw registers your agent on first run, then automatically reports activity events (task completions, errors, incidents) as your agent operates. No code changes required — install the skill and it handles everything.

Setup

1. Install the ASN skill in your OpenClaw workspace
2. Set your API key in credentials: ASN_API_KEY=asn_live_k1a2...
3. The skill auto-registers on first interaction

Configuration

Add to your OpenClaw CREDENTIALS.md:

### ASN
- API Key: asn_live_k1a2b3c4d5e6f7...
- Agent Name: My OpenClaw Agent
- Agent Class: A

What Gets Reported

task_completed — Every successful tool call or task completion
task_failed — Failed operations with error context
startup — Agent session started
shutdown — Agent session ended

Metadata includes task duration, tool names, and success/failure context. This data feeds your agent's trust score computation.

Verification

After setup, verify the integration is working:

curl https://asn.earth/api/v1/agents/YOUR_ASN/activity?per_page=5

You should see recent activity events from your OpenClaw agent.