Product Solutions About Blog Careers Book a Demo
All posts

Why we built agents that ask for help

Every agent framework on earth markets the same fantasy: press a button, disappear, come back to finished work. We spent two years running agents in production at 300+ companies, and the data says something different. The deployments that succeed aren't the ones where the agent never asks a question — they're the ones where the agent asks exactly the right questions, at exactly the right moments.

This is the design story behind that conclusion.

The false promise of full autonomy

Our first invoice agent, in 2022, was maximally autonomous. It extracted, matched, posted, and reported — no human in the loop, by design. In week one it processed 340 invoices flawlessly. In week two it confidently posted the same invoice twice, because the vendor had re-sent it with a corrected due date, and our dedup logic saw two different documents.

The error rate was 0.6%. For a demo, that's a rounding error. For a finance team, it's an incident report. The customer didn't ask us to make the agent smarter — they asked us to make it stop at exactly the moment it was about to be usefully dangerous.

The question was never "can the agent do the task?" It was "does the agent know when it shouldn't?"

Escalation is a feature

So we inverted the architecture. Instead of a confidence score that silently gates actions, every workflow step now declares its own escalation contract: what the agent should do when confidence drops, when the input looks weird, or when the cost of being wrong exceeds the value of being fast.

In practice, that contract looks like this:

step: post_to_erp
on:
  confidence < 0.94 → escalate(reason, evidence, best_guess)
  duplicate_suspected → escalate("po-match", block: true)
  amount > $10_000 → require_approval(finance)
default: act

Three things happen when an agent escalates well. The human gets context, not a question — the invoice, the mismatch, the agent's best guess, one click to resolve. The team gets a signal — every escalation is a named, countable exception. And the agent gets a lesson — resolved escalations feed back into guardrails, so the same question rarely comes back.

What customers taught us

Across finance, support, and supply-chain deployments, three patterns held:

  • Great escalators beat high autonomy. Teams trusted agents that escalated 8% of tasks precisely far more than agents that handled 99% but failed silently on the rest.
  • Escalation rates fall on their own. Median escalation rate dropped 40% in the first 60 days, without model changes — the guardrails learned from resolutions.
  • The audit trail is the product. The single most-requested artifact isn't the dashboard — it's the escalation log, because that's what auditors and managers actually read.

The counterintuitive takeaway

Autonomy is not a percentage you maximize. It's a budget you spend, workflow by workflow, and the market sets the exchange rate. A payment-chasing agent can act alone at 90% confidence because a polite email is reversible. A wire-transfer agent shouldn't act alone at 99%, because wires aren't.

Pi Agents 2.0 ships with this thinking baked in: escalation contracts on every step, evidence bundles on every hand-off, and a feedback loop that makes questions rarer over time. The agents still do the work. They're just honest about the edges.


If you run an operations team and this matches your reality more than the "full autonomy" demos do — we'd like to meet your worst workflow. Book a demo.

PR
Priya Raghavan Head of Product at OhMyPi. Previously Intercom. Writes about agents that behave in production.
Follow