Skip to content

Policy checks for AI agent actions

AI agents earn
their autonomy
one action
at a time.

Example

A refund agent that asks first.

Your support agent asks Opsline before each refund. Opsline holds the Stripe write key and answers by the level this agent has earned for refunds.

See the use case

refund-agent

Each action type moves through four levels

  • Shadow
  • Supervised
  • Auto limited
  • Auto

And drops back after

  • A bad outcome
  • A model change

Earned autonomy

Each action type earns its own level.

Every action type starts in shadow and is measured against what your people did. When its record clears the bar, an admin approves the promotion.

How levels work

Trust

Example: a support agent

bar 0.80 / 0.90
ClassLevelAgreedLower bound
Refunds up to $50refund.smallAuto limitedAuto at 100 samples61 of 640.871bar 0.90
Refunds over $50refund.largeSupervisedAuto limited at 40 samples12 of 140.601bar 0.80
Store creditscredit.storeShadowPromotion waits on an admin38 of 400.835bar 0.80
Goodwill creditscredit.goodwillShadowWaiting for samples0 of 0n/abar 0.80

Store credits cleared the bar for Auto limited. The promotion waits on an admin.

Review

Approvals and audit

Every decision on the record.

Risky actions go to the person accountable by email and Slack. Each request and decision lands in a hash-chained audit log you can verify and export.

Get started

Recent agent actions

From the hash-chained audit log.

RefundStepDecision
$24.00 to C-58PolicyEvaluatingAllowed
$45.00 to C-12PolicyAllowed
$1,800.00 to C-45Support leadApproved
$150.00 to C-77, splitSupport leadRejected
$3,400.00 to C-90FinanceWaiting
$28.00 to C-31ShadowRecorded
  • Email
  • Slack
  • Audit log
  • Export

Decisions go out by email and Slack, and export as JSON or CSV

Connect an agent

One call before every risky action.

Your agent calls POST /api/v1/actions, or the MCP tool named after the action. Opsline answers allowed, denied, pending or recorded.

Read the docs
const res = await fetch(`${OPSLINE}/api/v1/actions`, {
  method: "POST",
  headers: { Authorization: `Bearer ${KEY}` },
  body: JSON.stringify({
    action: "refund", amount: 30, payee: "C-12",
  }),
});
// { "decision": "allowed" }

Write keys

Opsline holds the keys.

Your write keys, such as Stripe's, stay encrypted in Opsline. It uses one only when the agent may act alone or a person approved the action, so your agent's own key can stay read-only.

Security

Zero write keys your agent needs. Zero secret values shown in runs. Zero secret values in exports.

Integrations

Connects to what you already use.

Agents ask over REST or MCP. People decide by email or Slack. Every decision exports as JSON or CSV.

Read the docs
  • REST APIAgents
  • MCP serverAgents
  • StripeRefunds
  • EmailApprovals
  • SlackApprovals
  • WebhooksTriggers
  • HTTP stepsSteps
  • SchedulesTriggers
  • Request formsIntake
  • Email inIntake
  • JSON exportAudit
  • CSV exportAudit

Pricing

Free for design partners.

A design partner routes real agent actions through Opsline and tells us what works and what doesn't. Nothing is charged today, and paid plans come later.

See pricing

01/Design partner

For a team putting its first agent behind a policy.

Free

Includes:

  • Policies with Decide steps
  • REST API and MCP server
  • Earned autonomy per action type
  • Email and Slack approvals
  • Hash-chained audit log
  • JSON and CSV exports
Start free

02/Services

We write the first policies and connect your agent with you.

Talk to us

We can help with:

  • Workflow setup
  • Integrations with your systems
  • Agent design and testing
  • Ongoing operations
Talk to us

AI usage

Model calls at list price.

AI steps run through OpenRouter at its list price with no markup, or on your own OpenRouter key.

FAQ

Common questions.

Got a question that isn't here?

Talk to us

Opsline checks the actions your AI agents propose, such as refunds, against your own policies. Small, normal actions are allowed on their own. Risky ones go to the accountable person by email and Slack. After an allow, Opsline issues the refund itself, so the agent's Stripe key can stay read-only. Every decision is recorded in a hash-chained audit log.

Before it acts, the agent calls POST /api/v1/actions, or the MCP tool named after the action, such as refund, with the amount, payee and its reason. Opsline runs that action's policy and answers allowed, denied or pending, or recorded when the agent is in shadow and Opsline only records the proposal.

An approval step goes to people, roles, or an email address taken from the request. You choose whether any one approver or everyone has to approve. Opsline sends reminders and escalates on timeout. Approvers can decide with a one-click link in the email, and requesters can't approve their own requests.

An admin enrolls the agent's API key, and each action class, such as refunds up to $50, starts in shadow. Opsline compares every proposal with what a person actually did, as an approver decides or as your connector reports it. When the two differ, an AI grader rules whether they match, and a person checks its rulings until its own record clears a bar. Once a class has 40 samples over 7 days and the 95% Wilson lower bound of agreement reaches 0.80, a workspace admin gets a promotion request to approve. Auto takes 100 samples over 14 days at 0.90. These are starting values.

A dispute, reversal, reopened ticket or rollback reported in a class at auto limited or auto moves that class back to supervised within the same call, and Opsline sends an alert. The class then earns its samples again from zero, and it can't be promoted until 30 days pass with no bad outcome.

An enrolled key, or any key that has requested an action, gets a 403 if it tries to report a label, and labels can't be edited or deleted. Every promotion waits on a workspace admin's approval, and no MCP tool changes a level. When the agent reports a new model, prompt or tool list, every class drops back to shadow. Above shadow, the engine refuses any step that sends a write secret unless the agent may act alone or a person approved the run.

No. The agent reports the amount, payee and details of each action. Opsline totals the amounts per payee and per API key over 24 hours, and checks for duplicates, split requests and unusual amounts. The agent can't supply its own totals or flags.

Each workspace's audit log is a hash chain. Verify chain on the Audit page recomputes every hash and names the first entry that doesn't match. Admins can export an agent's actions, approvers, risk flags and the related audit entries as JSON or CSV.

Nothing today. Opsline is free for design partners, the teams that route real agent actions through it and tell us what works and what doesn't. Paid plans come later.

Yes. Our services cover writing policies, connecting your agents, and building workflows for you.

Start your agent in shadow mode.

Create a workspace, give your agent an API key and enroll it. Opsline is free for design partners, and nothing is charged today.