agentwallets.si
← Back to Blog

EDITORIAL ARTICLE

ZeroDev: Giving an Agent a Conditional Session Key

Article concepts · illustration
01Smart account02Session keys03Action restrictions

Product analysis · Sources checked October 28, 2026. Based on public information; not deployed or tested.

If every agent transfer needs a user click, a continuous automated task is difficult. Giving the agent an account’s master key is too broad. ZeroDev provides smart accounts and a permission system through which an account owner can grant an agent a restricted session key—limiting time, targets and actions instead of granting full control.

Where does ZeroDev fit?

ZeroDev provides smart accounts, account abstraction and developer tools. A developer can combine these with login, signing services, payment protocols and merchant interfaces to build an agent application. See the wallet documentation. It does not inherently solve every step of merchant discovery, product assessment and refunds.

Component Responsibility Example
Smart account Execute programmable account logic on-chain Hold funds and accept authorized actions
Owner Configure primary authority and delegation User or organization approves a grant
Session key Sign within restricted permissions Permit specific actions until expiry
Paymaster or bundler Sponsor fees or bundle operations in some account-abstraction flows Requires separate configuration and review

An illustrative restricted payment

flowchart LR U[Account owner] -->|Authorizes target, limit and time| K[Agent session key] A[Agent constructs transaction] --> K K --> P[Smart account checks permission] P -->|Allowed| N[Execute authorized action] P -->|Rejected| R[Reject]

ZeroDev’s documentation separates who can sign (signer), when execution is allowed (policy), and what is executed (action). For example, a key might be authorized to call a particular contract method within a time window. Available combinations vary by SDK and account version. The v5.3.x permissions documentation is archived and should not be treated as the latest API.

A limited key is not risk-free

Question What to verify
Amount Is the limit per transaction or cumulative? Which token and precision?
Target Do recipient, contract, method and parameter restrictions also cover batch calls?
Duration What on-chain actions activate, expire or revoke permission?
Gas Who pays, and are gas price, total spending and paymaster restricted?
Custody A leaked session key may still be used within its scope until expiry or revocation

Older official session-key documentation warns that without paymaster and gas constraints, a malicious key holder could use high gas settings to consume native assets. This is a risk warning for that version and configuration; verify current behavior.

Business model and total cost

A historical 2025 pricing announcement described using credits to measure usage across products; an old announcement is not necessarily the current quote. Confirm how smart accounts, bundling, sponsored gas and related services are billed. Network and payment-service fees can be extra. Analysis, not disclosed revenue: a developer platform can earn service revenue from account and transaction infrastructure as application usage and enterprise needs grow. Agent-specific revenue was not found in the reviewed material.

When might it fit?

ZeroDev is worth evaluating when developers need detailed permissions in EVM smart accounts and can manage chain, SDK version, wallet and fee decisions. It can overlap with or be combined with Safe, Privy or Turnkey. Compare them against the same task by testing permission boundaries, revocation and failures, not merely whether they offer session keys.

Configuring a recurring agent payment

Suppose a user wants an agent to pay a small amount of USDC weekly to a known contract for data access. A conceptual integration creates or connects a smart account; the owner authorizes a session key; the grant binds signer, expiry, target and callable method; the agent creates restricted requests; and the smart account checks and executes permitted actions. At the end, the user revokes the grant or lets it expire.

A per-call amount parameter restriction does not necessarily create a cumulative periodic cap. If a weekly total is needed, inspect the policy implementation and state for that version instead of assuming that the term session key implies it. Official documentation gives different APIs for different Kernel and EntryPoint versions; older session-key pages and newer permissions guides cannot be mixed without checking compatibility. See the session-key documentation.

Evaluation Expected observation
Unauthorized contract Is the request rejected, or does another execution path exist?
Same contract, changed parameters Do amount, recipient and method restrictions still apply?
Expiry How do user actions and background requests behave?
Repeated small calls Is the cumulative amount actually limited, and when does the period start?
Abnormal gas request Can gas and paymaster policies prevent uncontrolled cost?
Retry after revocation Are new requests rejected, and what happens to submitted operations?

These are acceptance tests, not tests performed for this article.

Separate gas from the payment amount

Suppose an agent buys 1 USDC of data. Even with a USDC session-key limit, execution can consume a native asset or sponsored paymaster allowance. Whether the user or application pays and how sponsorship is billed depend on the network and configuration. As the older documentation warns, inadequate paymaster and gas restrictions can expose assets to high gas settings; check mitigations in the current version.

Use this as a discussion framework: total cost = data price + on-chain execution or sponsorship + wallet/infrastructure service fees + funding/conversion. It is not a quote from a real payment.

What else does a payment product need?

ZeroDev supplies account and permission components. A payment experience may also need funding, identity, merchant discovery, a payment protocol, delivery, billing and risk controls. A session key alone does not tell an agent whether a provider is trustworthy or whether an API response is usable.

To compare Safe’s allowance module, identify the account standard and version, then test the same token, amount, target and revocation task. When comparing Privy or Turnkey, understand which layer provides identity, signing, wallet services and smart-account logic; components can coexist. For an individual developer who only wants to try one paid API from a command line, assembling a complete smart-account stack may not be worthwhile.

Sources: ZeroDev wallets; session keys; versioned permissions; historical pricing announcement.