comet-ml/opik-openclaw

🦞 Official plugin for OpenClaw that exports agent traces to Opik. See and monitor agent behaviour, cost, tokens, errors and more.

What it solves

This plugin solves the lack of observability for OpenClaw agent runs. It allows developers to export agent traces—including LLM requests, sub-agent interactions, and tool calls—to the Opik platform for monitoring and evaluation.

How it works

The plugin integrates directly into the OpenClaw Gateway process. It maps specific OpenClaw events (such as llm_input, before_tool_call, and subagent_spawned) to Opik entities like traces and spans. This allows the system to capture LLM inputs/outputs, tool inputs/outputs/errors, and the full lifecycle of sub-agents.

Who it’s for

Developers using the OpenClaw framework to build AI agents who need to debug, monitor, and track the cost and usage of their agentic workflows.

Highlights

  • Comprehensive Tracing: Captures LLM request/response spans, sub-agent spans, and tool call spans.
  • Detailed Metadata: Records usage and cost metadata along with run-level finalize metadata.
  • Easy Setup: Includes a CLI-based setup wizard (openclaw opik configure) for quick configuration.
  • Native Integration: Operates as a native hook within the OpenClaw ecosystem without requiring core changes to OpenClaw itself.

Related

  • Project
  • Project
  • Project
  • Project