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.1. Go to the current version

Overview

Create one short-lived browser session for an agent that already drives CDP, Playwright, or Puppeteer. The purchase returns a lease with bounded access and expiry; it does not perform browser automation on the agent's behalf.

In the manual

Runners

  • close
  • create

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:

json
{
  "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 buyer_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:

  1. GET /v1/browser-sessions/{session_id} for status and hard expiry.
  2. POST /v1/browser-sessions/{session_id}/connections with a stable Idempotency-Key to 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.
  3. Read connection.websocket_url and connect to that wss://browser.ausca.com/... URL using an ordinary CDP client.
  4. 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.1, shown as its exact bytes.

Runners
  • close
  • create
Profile digestsha256:44d727bdcee577bcc8450852935d6fb803a1c6a3a823810511f6b990409a5b23
skill: browser-session
version: "0.2.1"

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 resultPassed
Tested version0.2.1
Recorded result4 checks passed · 0 failed
Result sourceRun by the Runx registry at publication
Suiterunx-harness
Test recorded
Test recordOpen the recorded run
Inspect receipt referencessha256:b8d8c4883dac8aa3a1cdbdb114f35bd97aa29eff99fbc6a5900299f926e448fcsha256:d83390592903100fafdb2ed6aebb530824801d02effa156ccb2eb83e209c20desha256:3f4324496d472f2e44081591df3744a637c8ea1edf4f1452a02048834ab7b103sha256:210ba48df3e9679665717bd047c5138ba63f68efd8cd3b19f3f4a4607e4de3f2

Package identity

Published revision0.2.1
Content digestsha256:9eec58dcefa5fde1d69c516cbef53a2736862525b78a242153fb0dfb7641556e
SKILL.md digestsha256:a93dd876ad6a6780d672f698034711db17180aef25400d11555909b7f30958d8
Execution profile digestsha256:44d727bdcee577bcc8450852935d6fb803a1c6a3a823810511f6b990409a5b23
Publisher identityVerified publisher · Ausca
Trust tierVerified publisherRunx has verified this publisher. This tier is not a code assessment.
Attestations
  • Publisher · VerifiedAusca · 25 Oct 2026
Source provenanceNot published with this version

Version history

  1. 0.2.1ViewingContent digest sha256:9eec58dcefa5fde1d69c516cbef53a2736862525b78a242153fb0dfb7641556e
  2. 0.2.0Content digest sha256:c19155da49cf3fd709c080d92d856d65d5565b1a5c86bbb222fcd92b005701cf