Hanzi

Give your AI agent a real browser.

Your agent stops when it needs a browser. Hanzi lets it keep going — using your real signed-in Chrome session.

Hanzi demo video thumbnail
Works with Cursor Claude Code Gemini CLI Codex CLI VS Code Copilot Antigravity Kiro OpenCode Pi
Use Hanzi

Your AI agent gets a real browser.

One setup command. Works with Claude Code, Cursor, Codex, and Windsurf. Free to start.

INSTALL HANZI
npx hanzi-browse setup
1 Installs the Chrome extension
2 Configures MCP server + browser skills
3 Choose: we handle the AI, or bring your own key
Managed We handle the AI. 20 free tasks/month, then $0.05/task.
Bring your own model Use your Claude Pro, GPT Plus subscription, or any API key. Free forever, runs locally.

What you can do with it

linkedin-prospector Find people posting about your topic and send personalized connection requests.
e2e-tester Inspect the codebase, then test real UI flows in the browser.
social-poster Draft posts and publish from your real signed-in accounts.

Open source skills — add your own.

Or your agent just uses it.

"Fix the login bug" → agent opens the app to verify the fix works.
"Set up the project" → agent checks the docs site for the latest install steps.
"Why is this failing?" → agent opens the dashboard to check error logs.
Build with Hanzi

Add browser automation to your product.

REST API and TypeScript SDK. Your users connect their browser, your backend runs tasks. Hanzi is the runtime underneath.

How it works

1 and create an API key
2 Send your user a pairing link — they click it and connect
3 Run tasks from your backend, show results in your app

Need volume pricing? Talk to us.

Quick example

import { HanziClient } from '@hanzi/browser-agent';

const client = new HanziClient({
  apiKey: process.env.HANZI_API_KEY,
});

// Pair a browser
const { pairingToken } = await client.createPairingToken();

// Run a task
const result = await client.runTask({
  browserSessionId: 'bsn_...',
  task: 'Read the patient chart on this page',
});

console.log(result.answer);
Pricing

Free to start. Pay per task.

Only charged for completed tasks. Errors and timeouts are always free.

Managed

$0.05 / task

20 free tasks/month included

  • We handle the AI — no API key needed
  • Only charged for completed tasks
  • Errors and timeouts are free
  • REST API + MCP + TypeScript SDK
BYOM

Free

You provide your own AI model

  • Use your Claude, GPT, or Gemini key
  • Everything runs locally
  • No data leaves your machine
  • Unlimited tasks
Start here

One command. Real browser.

Or read the developer guide to embed Hanzi in your product.

npx hanzi-browse setup