OpenClaw plugin

See every turn your OpenClaw agent takes and test it like any model

Install one plugin in your OpenClaw gateway. BenchGen gets traces of every turn, runs benchmarks against the agent, turns real turns into datasets, and lets you chat with it. Nothing inbound to your gateway.

Needs OpenClaw gateway 2026.7.2+ and plugin 0.3.0+

OpenClaw gateway — connect to BenchGen
# 1. Install the plugin
$ openclaw plugins install @benchgen/benchgen-openclaw
 
# 2. Enter the key pair from your agent's Observability card
$ openclaw benchgen configure
 
# 3. Restart the gateway, then check status
$ openclaw benchgen status
 
✓ Trace benchgen.plugin.connected arrives on the agent's Traces tab
✓ Runtime card: connected through the BenchGen OpenClaw plugin

How it works

One plugin install.
Everything else follows from it.

Create an agent in BenchGen, paste its key pair into the plugin, and restart the gateway. Three ways to put the configuration in place: command line, a setup prompt for your agent, or manual JSON.

01 / INSTALL
Install the plugin.
Create an agent under My Agents, then install the plugin package in your OpenClaw gateway.
openclaw plugins install @benchgen/benchgen-openclaw
02 / CONFIGURE
Enter your keys and restart.
The wizard takes the public key, secret key and endpoint from the agent's Observability card and verifies they reach BenchGen. Restart the gateway to load the configuration.
openclaw benchgen configure
03 / VERIFY
Watch the first trace arrive.
The plugin sends a benchgen.plugin.connected trace on every start. Then send the agent a few ordinary messages and read the real turns.
openclaw benchgen status

What the install gives you

Traces, benchmarks, datasets and chat.

All of it comes from the one plugin, and all of it is outbound from the gateway, so it can sit behind NAT, Docker, or a firewall.

You getHowWhere you see it
TracesThe plugin streams every turn the agent handles, with model calls and tool executions nested under it.The agent's Traces tab
BenchmarksA connected agent is registered as a model, so benchmarks run against it like against any other model.A benchmark's Evaluate tab, under Platform Models; results on the agent's Evaluations tab
DatasetsTraces you pick become dataset items: for training, annotation, or as benchmark material.Traces → Add to dataset; then Datasets and Train
ChatThe gateway dials out to BenchGen's chat relay; BenchGen connects the agent for chat on its own once the gateway is up.Settings → Runtime, then Open chat

Improve your agent

From real turns to a fix you can review.

Two routes start from the same traces: change the agent's harness, or train a model on the turns you trust.

Find the pattern
  • ·Diagnostics finds recurring problems in your agent's turns
  • ·Every turn is a trace you can open, filter and read
  • ·Benchmark runs are traced too, task by task
Read how diagnostics works →
Fix the harness
  • ·The BenchGen agent proposes the fix
  • ·With your harness repository connected, it arrives as a pull request
  • ·Default harness files: AGENTS.md and skills/**/SKILL.md
Connect your harness repository →
Train a model
  • ·Select traces and add them to a dataset
  • ·Fine-tune with LoRA (supervised) from a base model you choose
  • ·Re-run the benchmark to see whether it improved
Datasets from an OpenClaw agent →

FAQ

Common questions from OpenClaw developers

Get started

Connect your OpenClaw agent

Create an agent, install the plugin, and the first trace shows up on the agent's Traces tab. The docs walk through each step.

Read the setup guide