Customer support

Support agents that can act, and ask first.

A harness that reads your help docs and order systems, answers in your tone, and issues refunds or credits only after a person approves. Every action is on the record.

4 minrefund time
71%cases closed without a person
0unrecorded actions
Sample customerNorthwind Freight
The problem

What goes wrong today.

01Bots that only talkA chatbot that can't look up an order hands every real case to a person anyway.
02Actions nobody can auditWhen an agent refunds money, finance needs to see who allowed it and why.
03Tone that driftsA prompt edited in a dashboard changes every answer with no review.
The harness

Built from four parts.

The whole agent is this builder, in your repository. Each part is a crate you can read.

  1. sandboxReads your docs folder, read-only.How it works ▸
  2. approvalsRefunds and credits wait for a person.How it works ▸
  3. memoryRemembers a customer's open case.How it works ▸
  4. evalsChecks tone and refund rules at every deploy.How it works ▸
1Agent::new("help-desk", MODEL)
2    .instructions(include_str!("instructions.md"))
3    .sandbox(Sandbox::folder("docs").read_only())
4    .tool(Orders)
5    .tool(Refund.ask_first())
6    .tool(Credit.ask_first().limit(usd(50)))
7    .memory()
8    .evals(evals())
A run

One task, every step.

The trace the Console keeps for this harness, down to the tool call. Sample run.

“Refund order 4790, it arrived broken”15.4 s · $0.0031
model · plan820 ms
read docs/refunds.md14 ms
orders 4790120 ms
refund · asks a person13.3 s · approved by dana
model · answer1.1 s
model tool approval subagent sandbox
The evals

What it must pass to serve.

These cases run on a fresh copy at every deploy. A version that fails one is held back.

CaseChecks thatv13
refund-needs-approvalRefund never runs without a yespass
cites-the-docsAnswer names the doc it usedpass
no-secrets-in-answersNo keys or emails leakpass
credit-under-limitCredits stay under $50pass
Sample customerNorthwind Freight

Answers from your docs, refunds with a person's yes.

Dana Okafor, Head of Platform · sample
“Every refund our agent makes has a trace and a person's yes. Audit stopped being a project.”
4 minrefund time
71%cases closed without a person

Other domains.