Skip to content

Examples

Set up your agent

Give your coding agent a Steel browser and the Steel skills, so that it browses and writes Steel code the right way. Learn more

Install the Steel CLI. It signs you in and installs the skills for your coding agents.

curl -fsS https://setup.steel.dev | sh

Or send this prompt to your coding agent, and it does the same:

Read https://setup.steel.dev/install.md and follow it to set up Steel for this coding client.
Then continue my requested task using the installed Steel skill.

Set up your agent →

Each example is a complete project that you can run, with its own README. The code lives in the Steel cookbook on GitHub, and the links below open each example in the language that you choose.

Connect a browser library

Programs that connect a library to a session over CDP and drive it.

ExampleWhat it buildsCode
Automate a cloud browser with PlaywrightConnect Playwright and print the top five Hacker News stories with their links and points. The Go version also saves a screenshot.TypeScript, Python, Go
Automate a cloud browser with PuppeteerConnect Puppeteer and read the top five Hacker News stories with page.evaluate.TypeScript
Automate a cloud browser with chromedpConnect chromedp, read the top Hacker News stories, and take a screenshot.Go
Automate a cloud browser with RodConnect Rod, scrape the quotes on quotes.toscrape.com, and take a screenshot.Go
Automate a cloud browser with chromiumoxideConnect chromiumoxide, read the title, HTML and top stories of Hacker News, and take a screenshot.Rust
Automate a cloud browser with headless_chromeConnect headless_chrome, scrape quotes with its blocking API, and save a screenshot.Rust

Computer-use agents

Agents whose model sees screenshots and controls the session with the mouse and keyboard.

ExampleWhat it buildsCode
Drive a browser with Claude Computer UseSend Claude a screenshot after each step, and run the click or keystroke that it returns with Steel's computer actions.TypeScript, Python, Go, Rust
Drive a mobile browser with Claude Computer UseLet Claude control a session that emulates a phone, with Playwright running each action.TypeScript
Drive a browser with OpenAI Computer UseRun OpenAI's computer use model through the Responses API, and carry out each computer_call that it returns in the session.TypeScript, Python, Go, Rust
Drive a browser with Gemini Computer UseRun Gemini's computer use tool, and turn its actions, which use a 1000 by 1000 grid, into clicks and keys in the session.TypeScript, Python, Go, Rust

Agents on a framework

Agents built with an agent framework, with the browser as a tool. The integration guides show the code that connects each framework, one step at a time. Several of them do the same task, so that you can compare the frameworks. They read GitHub's trending page for Python and report its top AI and ML projects.

ExampleWhat it buildsCode
Automate browsing with natural-language instructions using StagehandClick with Stagehand's act and read the top Hacker News stories into a schema with extract, with no selectors.TypeScript, Python
Build a browser agent with Browser UseGive a Browser Use agent a task in plain language, such as a search on Wikipedia, and let it plan and act in the session.Python
Build a browser agent with the Claude Agent SDKTurn off Claude Code's built-in tools, and give the agent four browser tools as an MCP server to read GitHub's trending page.TypeScript, Python
Build a typed browser agent with the OpenAI Agents SDKWrap four browser tools for an OpenAI agent, and check its GitHub report against a schema.TypeScript, Python
Build a typed browser agent with the Vercel AI SDKRun a ToolLoopAgent that browses GitHub's trending page and stops when it calls a typed reportFindings tool.TypeScript
Build a typed browser agent with LangGraphBuild the agent loop as a graph of agent, tools and format nodes, and get the GitHub report checked with Pydantic.Python
Build a typed browser agent with Pydantic AIPass the browser to each tool through Pydantic AI's dependencies, and get a typed GitHub report back.Python
Build a typed browser agent with MastraGive a Mastra agent four browser tools, and chat with it in Mastra Studio. Its GitHub report is checked with Zod.TypeScript
Build a browser agent with Microsoft Agent FrameworkTurn Python functions into browser tools with the framework's @tool decorator, and ask the agent for the GitHub report.Python
Build a browser agent with Google ADKHave an ADK agent read the Hacker News front page and return the top five stories as JSON.TypeScript, Python, Go
Build a multi-agent browser workflow with CrewAILet a researcher agent gather sources through Scrape, and an analyst agent turn them into report.md.Python
Build a browser agent with Inngest AgentKitPick Hacker News stories by topic with an AgentKit network, and checkpoint each browser call as an Inngest step.TypeScript
Build a browser agent with AgnoWrap the browser in an Agno toolkit that opens the session only on the first tool call. The default task scrapes quotes from two pages.Python
Control a browser with Notte's reasoning engineLet Notte turn each page into a list of labeled actions and pick one at each step, for example to search Wikipedia.Python
Build an AI browser agent with MagnitudeFind the latest commit in a GitHub repository, open its pull request, and summarize the change with act and extract.TypeScript
Build a browser agent with GenkitLet Claude read Hacker News through three Genkit tools on a session, and fill a typed Go struct with the answer.Go
Build a browser agent with EinoRun a ReAct agent that uses two Scrape tools to write a short briefing from a news front page.Go
Build a browser agent with LangChainGoGive a zero-shot ReAct agent on Claude one Scrape tool, and ask it for the top Hacker News stories.Go
Build a browser agent with rigDrive a session over CDP with two rig tools, so that the model can follow links on pages that need JavaScript.Rust
Build a research agent with SwiftideAnswer a question about Hacker News with an agent that reads pages as Markdown through Scrape and follows a link or two.Rust

Apps

Complete apps and multi-agent systems.

ExampleWhat it buildsCode
Stream a browser agent into a Next.js chat appA Next.js chat app where an agent drives a session, with the live view embedded.TypeScript
Deep research with Claude Agent SDK subagentsA lead agent sends research agents out in parallel, each with its own session, and writes a report with sources.TypeScript, Python
Combine You.com search with Steel browser actionsAn agent that searches with You.com first and opens a session only when a page needs it.Python
Chat with any webpage on ConvexA Convex app that answers questions about any page with Scrape.TypeScript
Provision a web agent app with Stripe ProjectsA Next.js app that Stripe Projects sets up with Steel, OpenRouter and Vercel. Its agent opens up to four sessions, reads public pages and returns a report with sources.TypeScript

Jobs and workflows

Browser tasks that run in a job queue or a durable workflow engine.

ExampleWhat it buildsCode
Run a Steel browser job with Trigger.devA Trigger.dev task that creates a session, saves what it finds, and releases the session.TypeScript
Run a durable browser workflow with TemporalA Temporal workflow that runs browser steps as activities that can retry.TypeScript, Python, Go, Rust
Run a durable browser agent with RestateA Restate agent that keeps its state across failures and reads pages with Scrape.TypeScript, Python, Go, Rust

Steel features

Small programs that show one feature of Steel.

ExampleWhat it buildsCode
Persist authenticated sessions with ProfilesSave a signed-in browser as a profile, and start the next session from it.TypeScript, Python, Go, Rust
Reuse authenticated sessions across browsersExport a signed-in session's cookies and storage, and start a new session with them.TypeScript, Python, Go, Rust
Automate logins with the Credentials APIStore a login in Steel and let the session sign in.TypeScript, Python, Go, Rust
Move files between your machine and a cloud browserUpload a CSV file to a session, hand it to a file input on a page, and let the site chart it.TypeScript, Python, Go, Rust
Upload and run browser extensionsUpload a Chrome extension once, and load it into a session by its ID.TypeScript, Python, Go, Rust
Scrape a page to Markdown, screenshot, and PDFTurn a page into Markdown, a screenshot and a PDF without a browser library.TypeScript, Python, Go, Rust
Solve CAPTCHAs automatically in a Browser Use agentRun a Browser Use agent that waits while Steel solves each CAPTCHA.Python
Solve reCAPTCHA v2 manually with Browser UseRun a Browser Use agent, and have Steel solve a reCAPTCHA v2 only when your code asks.Python