Browser Session
Lease one ordinary remote browser with standard CDP access for 10, 30, or 60 minutes through Ausca.
You’re reading version 0.2.0. Go to the current version
Overview
In the manual
Runners
closecreate
Declared by its execution profile. Read the profile
SKILL.md
Ausca Browser Session
Use this service when an agent already knows how to drive CDP, Playwright, or Puppeteer and needs a short-lived remote browser without creating an account. It is browser infrastructure, not a browser agent.
What the purchase includes
One purchase creates one browser lease. Choose the duration; the prices are:
- 10 minutes (
duration_seconds: 600): $0.05 USD - 30 minutes (
1800): $0.10 USD - 60 minutes (
3600): $0.20 USD
Status, CDP connection creation, and close do not charge again.
The service does not provide actions, extraction, crawling, recording, persistent profiles, proxies, stealth, CAPTCHA solving, or a target-success promise.
Buy a session
The create input names one lease:
{
"duration_seconds": 600
}Invoke ausca/browser-session with its create runner through your skill
runtime. The runtime prices the call from this skill's offer, asks for
approval, and pays Ausca. Ausca provisions the session and returns its public
lease: session_id, state, created_at and expires_at. There are no
other browser options.
Your skill runtime keeps the session's capability for whoever bought it: it never appears in a result, a prompt or a receipt. A lost answer is recovered by running the same purchase again under its run id; never start a new purchase to recover one.
A purchase whose run fails, or never starts, is refunded; the purchase then
reports failure.code and failure.message.
Close the session
Run ausca/browser-session close with { "session_id": ... } to close a
session you hold early; the runtime then holds nothing for it. It is free, and close
is idempotent, including after a terminal state. Otherwise the hard expiry
cleans the session up.
Drive the browser
CDP connections are minted with the capability. A buyer with no account
names a purchaser_key with its purchase, and that key owns the session: once
the purchase is fulfilled, the key claims the capability from the runtime that
sold it, signed over the purchase receipt's digest. A buyer through ausca.com
receives it in the paid answer. Keep the capability in host-controlled secret
state: never in a prompt, log, receipt, query string, or later model-authored
tool argument. Then supply Authorization: Bearer <capability> from the host
boundary:
GET /v1/browser-sessions/{session_id}for status and hard expiry.POST /v1/browser-sessions/{session_id}/connectionswith a stableIdempotency-Keyto mint a short-lived CDP WebSocket ticket. This HTTP request has no JSON body, not even{}. The capability and idempotency key are headers, not body fields.- Read
connection.websocket_urland connect to thatwss://browser.ausca.com/...URL using an ordinary CDP client. DELETE /v1/browser-sessions/{session_id}to close early, or allow the hard expiry to clean it up.
Only one CDP connection may be live at once. Connection tickets last 60 seconds,
are single-use, and at most 64 unexpired tickets may coexist. Expired records
are compacted, so reconnects do not consume a lifetime quota. Use a stable
connection Idempotency-Key to recover the same intended ticket; a different
key means a new ticket issue. Each CDP message is capped at 32 MiB. Status can
report a terminal lease, but connect requires ready.
ticket_issued means a credential was issued, not that Chromium connected.
Only a successful CDP handshake proves connection. Use
chromium.connectOverCDP(connection.websocket_url) with Playwright, or
puppeteer.connect({ browserWSEndpoint: connection.websocket_url }) with
Puppeteer. That URL contains a secret: never log it or include it in reports.
Cloudflare treats 10 minutes as an inactivity timeout, not the session's hard lifetime. For a 30- or 60-minute lease, issue a CDP command at least once inside each 10-minute idle window. Provider eviction, Chromium failure, or an idle timeout can still end a browser before Ausca's maximum lease expiry; reconnect failure never allocates or charges for a replacement silently.
A browser lease cannot be extended. Choose the required duration before purchase. More browser time means a separately approved new session with new state and authority; no cookies, storage, tabs, or profile data carry over.
Reuse the purchase idempotency identity only for the same intended lease. If the
paid response is uncertain, replay that exact purchase; never mint a second
payment identity. Changed duration or terms under an existing identity are a
conflict. Expiry, exhausted ticket issues, unavailable capacity, invalid
authority, and an unverifiable provider result or receipt are stop conditions,
not permission to bypass the lease path. A failed invocation reports
failure.code and failure.message; the payment is refunded.
Successful paid state returns receipt_ref.public_url, an immutable hash-only
proof of the service, public price, completion time, and receipt digest. It
contains no browser state, connection ticket, lease capability, or content
digest and is readable by anyone holding the unguessable URL, so share it
deliberately.
The active catalog revision and linked schemas are the machine authority. x402 uses its external V2 semantics; Ausca's internal contracts remain V1.
The executable purchase and recovery examples
cover this offer. CLI requires --idempotency-key; local paid MCP tools require
ausca_idempotency_key. Save one unique key before purchase and reuse unchanged
input on recovery. A new key buys a new lease, even for identical input.
Published execution profile
The execution profile published with 0.2.0, shown as its exact bytes.
| Runners |
|
|---|---|
| Profile digest | sha256:7de656316c2e2bb8fc1b1d59d3d6ae6f692746db74068cda4b99e427854ade06 |
skill: browser-session
version: "0.2.0"
catalog:
kind: skill
audience: operator
visibility: public
role: canonical
category: ops
execution: execute
completion: runtime_receipt
approval: none
# Prices and the offer identity are Ausca's catalog (catalog/source/offers.yaml:
# browser.session); internal/executiontest pins these to it.
marketplace:
offers:
create:
price:
model: input_choice
selectors: [duration_seconds]
cases:
- { when: [600], amount_minor: 5 }
- { when: [1800], amount_minor: 10 }
- { when: [3600], amount_minor: 20 }
currency: USD
accepted_settlement_families: [x402]
input_schema_digest: sha256:56cdc9d72b13fe36711de6366020b103c1977c3032ee72d7d91dee5064a1f61d
output_schema_digest: sha256:5462549e8b7384af27bc2fb56e51eaffefbfa3013262adfc7d3975b9edd5ab84
connectors:
ausca/browser:
operations: [session.provision, session.close]
runners:
create:
default: true
inputs:
duration_seconds:
type: integer
required: true
description: Hard lease duration; 600, 1800, or 3600 seconds.
schema: { enum: [600, 1800, 3600] }
result_from: [validate]
steps:
- id: provision
operation: ausca/browser/session.provision
result_fields: [lease]
idempotency_key: $run.id
input:
duration_seconds: $input.duration_seconds
- id: validate
tool: { module: session.mjs, export: validateBrowserLease }
inputs:
duration_seconds: $input.duration_seconds
provider_result: $steps.provision.provider_operation.result.lease
outputs:
resource_lease:
type: object
schema:
additionalProperties: false
required: [schema, session_id, state, created_at, expires_at]
properties:
schema: { type: string, const: ausca.browser_session.lease.v1 }
session_id: { type: string, pattern: "^brs_[A-Za-z0-9_-]{22,64}$" }
state: { type: string, const: ready }
created_at: { type: string, format: date-time }
expires_at: { type: string, format: date-time }
# The session a purchase bought is used through runx, which holds its
# lease: this runner names the session and never handles its capability.
# It runs as its caller, under the lease that caller holds, and is free.
close:
inputs:
session_id:
type: string
required: true
description: A browser session the caller holds; closing ends it and releases the browser.
schema: { pattern: "^brs_[A-Za-z0-9_-]{22,64}$" }
result_from: [close]
steps:
- id: close
operation: ausca/browser/session.close
result_fields: [session]
idempotency_key: $run.id
input:
session_id: $input.session_id
harness:
files: [fixtures/support/composed.graph]
cases: []
Published package and test evidence.
This exact version passed its recorded harness run: 4 checks passed · 0 failed.
Test result
| Harness result | Passed |
|---|---|
| Tested version | 0.2.0 |
| Recorded result | 4 checks passed · 0 failed |
| Result source | Run by the Runx registry at publication |
| Suite | runx-harness |
| Test recorded | |
| Test record | Open the recorded run |
Inspect receipt references
sha256:d6f99704fbf7772a504a44c140177bd80705624091dc8f91af3723f0422bffeesha256:ef0dbb8ae26ff2c08728f059a890f9bae7cd308250b1b4c1d9d8dd8d6cd41529sha256:fe60fbde89a6630e68a3367815e022bd0005702874d85fbe61cf4ae1d4053420sha256:47d71f6ba7b0dc5bd39e2963a038d626c329173189a28da61e3a8909857a5641Package identity
| Published revision | 0.2.0 |
|---|---|
| Content digest | sha256:c19155da49cf3fd709c080d92d856d65d5565b1a5c86bbb222fcd92b005701cf |
| SKILL.md digest | sha256:a945470b864c7651da2c5c1a8f0836edb1133fc06828a45e46889b554c188e48 |
| Execution profile digest | sha256:7de656316c2e2bb8fc1b1d59d3d6ae6f692746db74068cda4b99e427854ade06 |
| Publisher identity | Verified publisher · Ausca |
| Trust tier | Verified publisherRunx has verified this publisher. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |