Clawctl
Tutorial
4 min

Cost-per-Outcome Analytics: The One Metric That Tells You Which Agents Earn Their Keep

Clawctl now includes built-in cost-per-outcome analytics for every OpenClaw deployment. Zero configuration. Auto-detected from tool calls. Available on all plans.

Clawctl Team

Product & Engineering

Cost-per-Outcome Analytics: The One Metric That Tells You Which Agents Earn Their Keep

You deployed an AI agent. It ran 247 times last week. It made 1,832 tool calls. Your LLM bill went up.

But did it actually accomplish anything?

That question is surprisingly hard to answer. Until now, you either tracked outcomes manually, bolted on a separate analytics tool, or just... hoped.

Today we're shipping cost-per-outcome analytics built directly into Clawctl. Zero configuration. Available on all plans.

One number. Infinite clarity.

The hero metric is simple: dollars per verified outcome.

An "outcome" is a business result your agent actually delivered --- closing a support ticket, merging a pull request, creating a lead in your CRM, processing a payment. Not an API call. Not a token. A result.

Clawctl's built-in audit plugin now automatically detects outcomes from your agents' tool calls. When your agent calls zendesk.close_ticket, that's a verified outcome. When it calls github.merge_pull_request, that's another one. No extra code. No webhooks to configure. It just works.

How it works under the hood

The clawctl-audit plugin --- already installed in every Clawctl tenant container --- now includes an outcome mapping table. When a tool call matches a known outcome pattern, the plugin:

  1. Records the outcome in the outcomes table
  2. Logs an outcome.detected audit event for your trail
  3. Updates the analytics dashboard in real time

The default mappings cover common integrations:

Tool CallDetected Outcome
zendesk.close_ticketticket_closed
stripe.create_chargepayment_succeeded
github.merge_pull_requestpr_merged
jira.transition_issueticket_closed
hubspot.create_contactlead_created
salesforce.create_leadlead_created
slack.send_messagemessage_sent
email.sendemail_sent
calendar.create_eventmeeting_scheduled

Need custom mappings? Add them to your openclaw.json plugin config:

{
  "plugins": {
    "entries": {
      "clawctl-audit": {
        "enabled": true,
        "config": {
          "outcomeMappings": {
            "my_crm.close_deal": "deal_closed",
            "shopify.create_order": "order_placed"
          }
        }
      }
    }
  }
}

Custom mappings merge with the defaults, so you never lose the built-in detection.

The dashboard

Navigate to Analytics in your Clawctl dashboard. You'll see:

  • Cost / Outcome --- the hero metric with health coloring (green = excellent, amber = good, red = needs attention)
  • Estimated Spend --- derived from tool call volume
  • Outcomes --- total auto-detected outcomes in the window
  • Runs --- agent sessions in the selected time range
  • Per-Agent Breakdown --- which agents deliver the most value for the least cost

Switch between 24-hour, 7-day, and 30-day windows depending on your plan.

Why not a separate analytics tool?

We looked at the standalone analytics tools on the market. They all require:

  • A separate database (usually ClickHouse or BigQuery)
  • Separate billing and API keys
  • Manual instrumentation of your agent code
  • Yet another dashboard to check

Clawctl already has your audit trail. It already has your agent events. It already knows which tools ran and whether they succeeded. Adding outcome detection to the existing audit plugin was a natural extension --- not a bolt-on.

The result: zero additional infrastructure, zero additional cost, zero configuration. It's included on every plan.

Plan differences

All plans get cost-per-outcome analytics. The only difference is how far back you can look:

PlanAnalytics Window
Starter ($49/mo)24 hours
Team ($299/mo)30 days
Business ($999/mo)Full retention (365 days)
EnterpriseFull retention (2 years)

Getting started

If you're already a Clawctl customer: you're done. The audit plugin is already installed. Outcomes will start appearing automatically the next time your agents run tools that match the mapping table.

New to Clawctl? Get started in 60 seconds --- your first agent comes with full audit logging and analytics out of the box.

What's next

This is v1 of cost-per-outcome analytics. Coming soon:

  • Custom cost weights --- assign real dollar values to each outcome type
  • Outcome trends --- see how your cost efficiency changes over time
  • Alerts --- get notified when cost-per-outcome spikes above your threshold
  • API access --- pull analytics data into your own dashboards

The goal is simple: every Clawctl customer should be able to answer "are my agents worth it?" with a single number.


Cost-per-outcome analytics is available now on all Clawctl plans. No configuration required.

Ready to deploy your OpenClaw securely?

Get your OpenClaw running in production with Clawctl's enterprise-grade security.