Sato Hub
← Back to wiki

Onchain Agents vs Offchain Agents

Last updated 2026-06-24

Offchain agents automate work inside Web2 systems, email, docs, CRMs, code. Onchain agents add the ability to hold value, transact, and coordinate on blockchain rails. The difference is economic agency.

Key takeaways

  • The dividing line is **custody + settlement**, not intelligence: an onchain agent signs its own transactions; an offchain agent's actions stop at API calls.
  • Offchain agents are reversible, gas-free, and fast — trust is contractual (OAuth scopes, a SaaS terms-of-service), which is fine until you need to move value without a counterparty.
  • Onchain agents get economic agency and a public, independently checkable history — the basis for [wallet-verified performance](/wiki/how-agents-use-wallets) and permissionless coordination.
  • Most useful agents are **hybrids**: reason over offchain data, settle onchain only for the steps that need value to move or be proven.
  • Onchain history is what makes a claim checkable rather than self-reported — the gap between the two is exactly what the [Sato Score](/sato-score) tracks.

The line between an onchain agent and an offchain agent is not how smart it is — it's whether it controls a wallet and settles value on a public blockchain. An offchain agent reasons and acts through Web2 APIs: it drafts the email, files the ticket, queries the database. An onchain agent does all of that *and* holds keys, so it can pay, get paid, and prove what it did onchain. The reasoning model can be byte-for-byte identical; the difference is custody and settlement.

That distinction decides almost everything downstream — reversibility, who you have to trust, what an agent can prove about its own track record, and which kinds of failure can actually cost money. This page draws the real dividing line, covers where each kind shines, and explains why most production agents end up being hybrids that reason offchain and settle onchain only when they must.

Why It Matters

An offchain agent can draft an invoice; an onchain agent can settle it. Wallets and smart contracts give agents the ability to be paid, to pay, to own, and to prove what they did, verifiable onchain activity is the foundation for agent reputation and the agent marketplace.

How It Works

  • Offchain agents act through SaaS APIs with OAuth-style permissions; trust is contractual.
  • Onchain agents act through wallets and contracts; actions settle on public ledgers and are independently verifiable.
  • Most useful agents are hybrids: they reason over offchain data and execute on whichever rail fits the task.
  • Verifiable onchain history enables performance claims (like wallet-verified PnL) that offchain agents cannot prove.

Key Components

  • Execution rails (APIs vs wallets/contracts)
  • Settlement (invoices vs onchain transfers)
  • Verifiability (logs vs public ledgers)
  • Permission models (OAuth vs key policies)
  • Coordination (platform-bound vs permissionless)

The real dividing line: custody and settlement

Strip away the marketing and only two things separate the two categories.

  • Custody — does the agent hold keys it can sign with? An offchain agent borrows permission from a platform (an OAuth token, an API key) that a human granted and can revoke. An onchain agent holds, or is delegated, signing authority over a wallet. It doesn't ask a platform's permission to move value; it asks the chain.
  • Settlement — where does an action become final? Offchain, "done" means a row changed in someone's database, and that someone can change it back. Onchain, "done" means a transaction is confirmed on a public ledger — final, timestamped, and visible to anyone.

Everything people argue about — reversibility, trust, provability — falls out of those two. The reasoning loop (observe, decide, act) is the same on both sides. What changes is whether the "act" step writes to a private API or signs a transaction the whole world can audit. For how that signing authority is actually scoped, see how agents use wallets.

Offchain agents: fast, reversible, platform-bound

An offchain agent lives entirely in Web2. It triages an inbox, updates a CRM, writes code, books a meeting. It authenticates with OAuth scopes or API keys, and its permissions are whatever the host platform grants — no more, no less.

That model has real advantages, and it's a mistake to treat onchain as automatically "better":

  • Reversible. A wrong action is usually a support ticket, not a permanent loss. There's an undo button somewhere.
  • No gas, no settlement cost. Calls are effectively free, so high-frequency, low-stakes work is cheap.
  • Fast and mature. Web2 APIs are battle-tested and don't wait on block times.

The trade-off is that trust is contractual, not cryptographic. You trust the platform to honor the OAuth scope, keep logs honest, and not change the rules. That's fine for most automation. It stops being fine the moment an agent needs to hold a balance, get paid by a stranger, or prove to a third party what it did without that third party trusting the same platform.

Onchain agents: economic agency and a public record

An onchain agent adds the one capability no API key grants: it can sign transactions from a wallet it controls, often built on account abstraction like ERC-4337 so spend limits and permission scopes are enforced at the wallet level. Two things follow.

Economic agency. It can hold a balance, pay another service per request — for example over the x402 payment standard — get paid, and coordinate with agents it has never met, without a platform brokering the relationship. That's permissionless coordination, and it's what the offchain model structurally can't do.

A public record. Every action settles on a ledger anyone can read. That history is what makes a performance claim *checkable* instead of self-reported: an agent's wallet-verified track record can be reconstructed from chain data rather than taken on faith. It's worth being precise here — onchain activity proves *what happened*, not that an agent is safe, well-run, or worth funding. "verified onchain" is a different claim from "safe"; the Sato Score is explicitly a transparency and liveness signal, not a safety or returns grade. The cost of all this is bluntness: onchain execution is irreversible, and a public trail can also leak an agent's strategy to anyone watching.

Hybrid agents, and when to use which

In practice the question is rarely "onchain or offchain." Most real agents are hybrids: they reason over offchain data (market feeds, social signals, documents) and touch a chain only for the steps that genuinely need it. A research agent might gather and summarize entirely offchain, then accept USDC for the finished report onchain. A trading agent reasons against offchain price feeds and signs the swap onchain.

A quick way to decide which rail a given step belongs on:

  1. Does value need to move, or be owned, or be proven to a stranger? → onchain.
  2. Is it private, high-frequency, reversible, or purely informational? → offchain.
  3. Does it touch funds but need a human in the loop? → offchain reasoning, onchain settlement behind an approval step and a spend cap.

The practical risk in hybrids is that they inherit *both* failure modes — Web2 API breakage and irreversible onchain execution — so guardrails matter more, not less. If you're assembling one, start from a framework that bundles wallet, permissions, and tools; browse the options in the directory.

Examples

  • Offchain: an agent that triages a support inbox.
  • Onchain: an agent that pays contributors from a DAO treasury each month.
  • Hybrid: a research agent that sells reports and accepts USDC via machine-payment protocols.

Risks & Limitations

  • Onchain execution is irreversible, no chargebacks, no undo.
  • Public activity leaks strategy; sophisticated counterparties can front-run agents.
  • Hybrid agents inherit both Web2 API risk and onchain execution risk.
  • A public onchain history proves what happened — not that an agent is safe or well-run. Don't read 'verified onchain' as 'safe.'

Frequently Asked Questions

What is the difference between an onchain and an offchain agent?

The dividing line is custody and settlement, not how intelligent the agent is. An offchain agent acts through Web2 APIs with borrowed, revocable permissions (OAuth scopes, API keys). An onchain agent controls a wallet, so it can sign its own transactions and settle value on a public blockchain. The reasoning model can be identical; only the 'act' step differs.

Are onchain agents better than offchain agents?

No — they're suited to different jobs. Offchain agents are reversible, gas-free, and fast, which is ideal for high-frequency, low-stakes automation like inbox triage or code edits. Onchain agents give you economic agency and a checkable public record, which matters when value has to move, be owned, or be proven to someone who doesn't trust your platform. Most production agents combine both.

What is a hybrid agent?

A hybrid agent reasons over offchain data and settles onchain only for the steps that need value to move or be independently verified. For example, a research agent might gather and write a report entirely offchain, then accept payment in USDC onchain. Hybrids are the common case, but they inherit both Web2 API risk and irreversible onchain execution risk, so guardrails like spend caps and approval steps matter.

Can an offchain agent prove its track record the way an onchain agent can?

Not in the same way. An offchain agent's history lives in private logs you have to trust the platform to keep honest. An onchain agent's actions settle on a public ledger, so its history can be reconstructed and checked by anyone from chain data. That said, onchain activity proves what happened — not that the agent is safe or well-run.

When should I build onchain versus offchain?

Ask whether each step needs value to move, be owned, or be proven to a stranger — if so, that step belongs onchain. If it's private, reversible, high-frequency, or purely informational, keep it offchain. Steps that touch funds but need human oversight can reason offchain and settle onchain behind an approval and a spend limit.

Sources

Related Resources

Related Wiki Pages

Spotted an error or something outdated?Submit a correction →

Join the Sato Hub Briefing

One email a week — the agents, tools, and infrastructure that actually shipped, and why they matter.