Agents

Working with OpenApps as an agent.

An AI agent can use OpenApps the way a person does: find the right tool, see the price first, run it with the person's approval, and keep a receipt. This guide covers connecting, the life of a job, and how to tell us when something goes wrong.

Last updated: 5 October 2026

What works today

OpenApps has one MCP address for every app, https://mcp.openapps.network/connect, and it is being built: no remote MCP connection is open today. Agents cannot pay with OnWallet right now either: that returns through /connect. Each section is marked Live, Building or Planned, and the request and response shapes for parts not yet live may still change.

Connect an AI app.

Building One address, for every app including OnWallet:

https://mcp.openapps.network/connect

There are no API keys to copy. The AI app signs in with OAuth, and the person approves the connection in the OnWallet extension with an eight-character code, choosing what the agent may do and spend as they go. Running tools and paying are separate permissions: an agent connected only to run tools cannot pay.

Claude Code

claude mcp add --transport http openapps https://mcp.openapps.network/connect

Any client that reads an mcpServers file

{
  "mcpServers": {
    "openapps": { "type": "http", "url": "https://mcp.openapps.network/connect" }
  }
}

Claude, ChatGPT and other apps with a connector screen

Add a custom connector and paste the URL. The app sends the person to sign in; they confirm in OnWallet, and the connector shows as connected.

Paying with OnWallet

Not available right now. OnWallet's remote connection (at /mcp, then /openwallet) was switched off on 5 October 2026, and its tools return as operations behind /connect. The OnWallet desktop agent, a local MCP server for macOS, is not available to download yet.

Six tools, and a catalogue behind them.

Building The front door gives an agent six tools and no more. Everything OpenApps can do (split a PDF, OCR a scan, redact a contract, cut a video) is an operation in a catalogue the agent searches. A new capability adds an operation, never a seventh tool, so the agent's tool list stays the same size and costs about 1,400 tokens a turn however much we add.

ToolWhat it doesNeeds sign-in
openapps_findSearch operations in plain words; or fetch one operation's full contractNo
openapps_planTurn a job and its inputs into a priced planYes
openapps_startStart a plan, paid with credits or OnWalletYes, plus a spend scope
openapps_statusWait up to 45 seconds for progress; results arrive as linksYes
openapps_receiptThe signed receipt, and how to check itYes
openapps_feedbackReport a problem or a missing capability; check a ticketNo

Full inputs and outputs are in the MCP reference.

The life of a job.

Building One job, start to finish: someone asks their agent to split a scanned PDF into one file per invoice.

  1. Find the operation. Search in the person's own words, in any of our eight languages. Each result is a short card with a typical and a worst-case price.
    // openapps_find
    { "query": "split this PDF into invoices", "limit": 3 }
    
    // →
    { "operations": [
        { "id": "doc.classify_and_split", "app": "openextract",
          "title": "Split a PDF by document type",
          "price": { "typical_usd": 0.02, "p95_usd": 0.05 },
          "grade": "audited", "effects": ["reads", "writes"] } ],
      "total_matches": 7 }
  2. Read the contract, if you need it. Call openapps_find with detail set to the operation id to get its schemas, its guarantees, what it cannot promise, and its side effects. Do this for the one operation you chose, not for all of them.
  3. Plan. Pass the job and the inputs. A file is an upload handle or an https URL, never a server path and never pasted bytes. If an input is missing, the plan says so and gives an upload link to show the person.
    // openapps_plan
    { "intent": "one PDF per invoice, with the totals",
      "files": [ { "file_id": "f_…" } ],
      "policy": "balanced" }
    
    // →
    { "plan_id": "pl_…", "quote": { "usd": 0.03, "credits": 6 },
      "classification": "…", "needs_upload": [] }
  4. Start, with an authorization. Choose how to pay and send an idempotency key, so a retry after a dropped connection does not start a second run.
    // openapps_start
    { "plan_id": "pl_…",
      "authorization": { "kind": "credits" },
      "idempotency_key": "split-invoices-2026-10-05-01" }
    
    // →
    { "run_id": "run_…", "state": "awaiting_approval",
      "approval": { "url": "https://…", "expires_at": "…" },
      "poll_after_ms": 2000 }
  5. Wait for approval, then for the result. If the quote is above what the person allows without asking, the run waits for them. Show them the approval link; they approve on their own device. Then call openapps_status, which holds for up to 45 seconds and returns as soon as something changes.
  6. Collect the results and the receipt. Finished files come back as links that work for one hour. openapps_receipt returns the signed receipt: what ran, on which inputs, what it cost, and what was checked.

Approval and limits.

Building through /connect.

A person connects an agent once and sets what it may do without asking. The decision to spend is made by OnWallet, outside the model, against what the operation declares about itself. An agent cannot raise its own limit, and a model cannot approve on someone's behalf by saying so in the chat.

The choices a person sees when they connect:

ChoiceWhat it means
Ask me every timeEvery spend waits for approval on the person's device.
Just this onceOne run, up to its quote; the permission ends with the run.
For this taskRuns that belong to one plan, up to a little over its quote.
For this appAny operation of one app, within a per-payment and a per-day cap.
NeverThis payee is refused without asking.

Until OnWallet's independent security audit, payments are also capped per payment and per day whatever the person sets. The OnWallet security model lists the figures.

Paying.

A failed or refunded run is credited back by the system. The receipt records both the charge and the refund.

Files, inputs and results.

Watching a run live.

Planned A screen, rather than a model, can follow a run as it happens: steps, progress, previews and the moment it needs approval. We use AG-UI as published, not a home-made dialect of it.

A watched run and an unwatched run do the same work and cost the same.

When something goes wrong.

Refusals and failures come back as a tool result with isError: true, so the model can read them and correct itself, with a stable code to branch on:

{ "isError": true,
  "structuredContent": {
    "code": "page_out_of_range",
    "message": "The document has 12 pages; page 14 was requested.",
    "retryable": false } }

Branch on code and show message to the person. Retry only when retryable is true, with the same idempotency key.

Tell us what went wrong.

Planned Agents hit our problems before people do: a search that found nothing, a tool that refused valid input, a description that pointed to the wrong tool. openapps_feedback takes a report while the agent still has the context, and returns a ticket id. Calling it again with that ticket id shows where it stands, up to the version that fixed it.

{ "kind": "wrong_result",
  "about": { "operation": "doc.classify_and_split", "run_id": "run_…" },
  "summary": "Two invoices on one page were returned as one document.",
  "expected": "Two PDFs", "actual": "One PDF",
  "contact_ok": false }

What we promise agents.