Live in 4 steps.
// from zero to a streaming trace.

AgentScope is OpenTelemetry under the hood, so any HTTP-capable agent can ship spans. Below: the smallest path for ElizaOS, Solana Agent Kit, and a one-shot curl.

  1. 01

    Register your agent

    Sign in to the dashboard, click Register agent, and fill in name + wallet pubkey. You'll get a per-agent ingest token on the detail page — copy it, keep it server-side.

    Free tier caps at 2 agents per account during the public beta.

  2. 02

    Install the SDK

    Pick the path that matches your stack. Both SDKs ship under @agentscopehq/* on npm — pinned to @alpha until 1.0. The curl path skips install entirely — just two env vars and you're ready for step 03.

    shell npm registry
    # ElizaOS plugin
    $ pnpm add @agentscopehq/elizaos-plugin@alpha
  3. 03

    Instrument your agent

    One init call at boot, then wrap each action. Nested traced() calls auto-parent into a tree.

    src/agent/index.ts @agentscopehq/elizaos-plugin
    import { initAgentScope, wrapActions } from '@agentscopehq/elizaos-plugin';
    
    const sdk = initAgentScope(({
      apiUrl: process.env.AGENTSCOPE_API_URL!,
      agentToken: process.env.AGENTSCOPE_AGENT_TOKEN!,
    });
    
    export const myPlugin = {
      name: 'my-trading-plugin',
      actions: wrapActions([tradeAction, analyzeAction]),
    };
    
    process.on('SIGTERM', () => sdk.shutdown());
  4. 04

    See traces in the dashboard

    Boot your agent. Within seconds you'll see spans land in the Reasoning view, on-chain transactions parsed and timestamped under Transactions, and any rule breaches piped to Telegram.

    • Reasoning tree with parent/child spans, durations, errors
    • Tx ↔ span correlation via solana.tx.signature
    • 11 anomaly rules out of the box: slippage spike, gas spike, error rate, drawdown, stale agent, decision↔swap mismatch, stale oracle, ghost execution, MEV sandwich, low balance, runaway loop