Skip to content

Scripting and Agents

Everything an agent or script needs to consume Vibium’s output reliably: the JSON envelope, exit codes, and the machine-readable endpoints this site publishes.

Every command accepts the global --json flag and prints one envelope:

{"ok": true, "result": { ... }}

Execution errors print {"ok": false, "error": "..."} instead. ok means the command completed, not that the outcome was what you wanted — verdicts and answers live inside result.

Terminal window
vibium --json url
# {"ok":true,"result":{"url":"https://example.com/"}}
CommandExit 0Exit 1
Most commandsCompletedFailed (bad selector, timeout, browser error)
runOperation completed, whether the status is completed or not_completedConfiguration, provider, browser, or timeout failure
checkVerdict delivered: PASS, FAIL, or INCONCLUSIVEExecution failure, no verdict
ready, ready ai, ready browserReadySetup problem
is-installedBrowser installedNot installed
is visible / enabled / set / actionableAnswer printed (true or false)Only with --fail: the answer was false

The run/check rule matters most for automation: do not treat exit 0 as success of the goal or claim. Inspect the JSON instead:

Terminal window
vibium check "the cart shows one item" --json
# exit 0 even for FAIL; require result.status == "passed"
vibium run "add a battery pack to the cart" --json
# exit 0 even for not_completed; require result.status == "completed"

is ... subcommands print true/false and exit 0 either way; add --fail to turn a false answer into exit 1 for shell conditionals.

This site publishes several endpoints meant for agents:

URLContents
/commands.jsonEvery command with usage, flags, and nightly-only markers, generated from the binaries
/llms.txtCurated Markdown index of these docs
/llms-full.txtThe whole documentation as one file
/llms/docs/....mdClean Markdown copy of any page (linked via rel="alternate" in each page head)
/skills/browser.mdThe Vibium browser skill, as installed by vibium add-skill
/skills/check.mdThe check skill for independent verification
/.well-known/agent-skills/index.jsonSkills discovery index with sha256 digests
/.well-known/api-catalogRFC 9727 linkset pointing at the machine-readable surfaces

The skills are the fastest way to teach an agent the CLI: they contain the full command reference with usage patterns. vibium add-skill installs the same content locally for Claude Code and Grok.