Quickstart
The shortest possible end-to-end session: open a page, capture it, and read something back. Pick your surface in the header, or read all five.
npm install -g vibiumvibium go https://example.comvibium screenshot -o example.pngvibium textclaude mcp add vibium -- npx -y vibium mcp# Then ask the agent:# Use Vibium to open https://example.com, take a screenshot,# and tell me what the page says.// npm install vibiumimport { writeFileSync } from 'node:fs'import { browser } from 'vibium'
const bro = await browser.start()const vibe = await bro.page()
await vibe.go('https://example.com')writeFileSync('example.png', await vibe.screenshot())console.log(await vibe.title())
await bro.stop()# pip install vibiumfrom vibium import browser
bro = browser.start()vibe = bro.page()
vibe.go("https://example.com")with open("example.png", "wb") as f: f.write(vibe.screenshot())print(vibe.title())
bro.stop()// implementation 'com.vibium:vibium:26.11.16'import com.vibium.Vibium;import java.nio.file.Files;import java.nio.file.Path;
public class Quickstart { public static void main(String[] args) throws Exception { var bro = Vibium.start(); var vibe = bro.page();
vibe.go("https://example.com"); Files.write(Path.of("example.png"), vibe.screenshot()); System.out.println(vibe.title());
bro.stop(); }}In the libraries, screenshot() returns the PNG as bytes and you write the
file yourself. Longer walkthroughs: CLI,
MCP, JavaScript,
Python, Java.
CLI in detail
Section titled “CLI in detail”The CLI commands above open a page, save a screenshot, and print the page text.
Why does
vibium textnot need a URL or selector? Vibium keeps a background browser running across commands; later commands act on the page opened by the most recentvibium go. See Core Concepts for the full mental model.
What you should see:
vibium go https://example.com— exits with status 0 and printsNavigated to https://example.com.vibium screenshot -o example.png— writesexample.pngin the current directory and printsScreenshot saved towith the full path.-otakes any path and it is honored as given.vibium text— prints the visible page text to stdout. Forhttps://example.comthat is a short notice that the domain is for documentation examples.
If any of those don’t match, see Troubleshooting.
Zero-install with npx
Section titled “Zero-install with npx”If you’d rather not install anything, the same flow works through npx:
npx -y vibium go https://example.comnpx -y vibium screenshot -o example.pngnpx -y vibium textThis is great for CI jobs, throwaway scripts, and demos. To make the rest of this guide copy-pasteable, alias it for the current shell:
alias vibium='npx -y vibium'vibium go https://example.comvibium textLet the AI drive
Section titled “Let the AI drive”With an AI provider configured (vibium setup asks the questions and writes
the config), a whole goal is one command:
vibium run "open example.com and find its contact page"vibium check "the page shows contact information"run drives the browser toward the goal and reports COMPLETED or
NOT_COMPLETED; check independently verifies a claim with PASS, FAIL, or
REVIEW. See Run and Check.
Agent skill
Section titled “Agent skill”npm install -g vibiumvibium add-skillThis installs the browser and check skills for each supported agent
already on the machine (Claude Code, Grok). After this, your agent can drive
the browser by emitting vibium ... commands.
See the Tutorial for a longer worked example.