Prerequisites
- A Webcompute API key with the
wc_key_prefix. - A model profile or provider key for
web agent. - A shell with
curl.
API keys and provider keys are credentials. Do not paste real keys into prompts, source control, issue trackers, or shared transcripts.
Install Webcompute
Sign in
web login stores your Webcompute API key for CLI and MCP use. SDK code can also use WEBCOMPUTE_API_KEY.
Configure a model
Run the interactive setup:--profile browsing.
You can also pass model access for one command:
Run your first browser agent
sec.gov, browses the public filing search, and returns a short result.
A successful run prints a final answer with filing metadata. The exact filing date and accession number depend on the live SEC site.
What happened
The agent path is the fastest starting point, but it still uses the same browser runtime as the SDK, MCP, REST, and CDP surfaces. During the run, Webcompute can produce:- A final answer for humans.
- JSON output when you use
--jsonor--schema. - A browser ID and signed Debug UI URL while the CLI run is active when you opt into
--debug-url. - Bounded observations and step summaries.
- Status, events, recordings, files, downloads, and artifacts when the workflow creates them.
web.agent(), become deterministic Playwright code, or run through MCP.
Get machine-readable output
Use--json when another program will read the result:
--schema ./filings.schema.json when the run must return a validated JSON shape.
The JSON envelope includes the run status, final text, structured output when requested, browser metadata when available, and redacted errors when the run fails. See what Webcompute returns for the surface-by-surface shapes.
Inspect the run
Use--debug-url only when you intentionally want a signed live-browser link in the result:
Debug UI URLs are signed bearer capabilities. Share them only with people or systems that should control the live browser.

https://example.com. Real agent runs expose the same inspection surface while the browser is live, and recordings can preserve evidence after the browser closes.
The Debug UI link is available only when the browser is still live. A one-shot web agent run closes browsers it creates after completion. Use SDK browser creation or SDK web.agent() with recording when your workflow needs longer inspection or durable replay evidence.
If the quickstart does not finish
| Symptom | What to check |
|---|---|
web agent cannot find a model profile | Run web model setup, or pass --route, --model, and --api-key-env for one command. |
| Provider authentication fails | Confirm the provider key exists in the environment variable named by --api-key-env. Do not paste provider keys into prompts. |
| The SEC site changes or blocks the run | Re-run with --debug-url, inspect status and page evidence, and report the blocker instead of treating it as success. |
| No Debug UI URL appears | Add --debug-url; Webcompute does not print signed live-browser URLs unless you ask for them. |
| You need the browser to stay open | Move the workflow into the SDK and create the browser explicitly. |
Next steps
Choose your path
Decide whether to use CLI agent, SDK agent, direct Playwright, MCP, REST, CDP, or quick actions.
Understand returned evidence
Learn what the CLI, SDK, MCP, REST, and quick actions return.
Run tasks with web agent
Learn model profiles, domain boundaries, schemas, secrets, approvals, and live inspection.
Try a richer task
Run a browser-agent task with fields, boundaries, JSON output, and blocker guidance.
Build with the SDK
Move from a CLI proof to a product workflow with
web.agent().Inspect and debug
Use live sessions, recordings, status, events, downloads, and errors when a run needs evidence.