Skip to content

About

One agent that does things for you, in your own browser and Mac apps. Asks before anything that matters, stops before money moves.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Solo Harness

Solo Harness

What it does · Results · Install · Your own browser · Options · Docs · Develop

Runs on your machineNo API keymacOS

One agent that does things for you, in your own browser and your own apps. Ask it to book a flight, send a message or research something; it works in the background, asks you before anything that matters, and stops before money moves. Built from scratch in Rust, everything runs on your own machine.

solo-demo-draft.mp4
Your own browser Works in your open tabs in Chrome or Comet (or only the ones you share), logged in as you, through a small extension. Its own tabs open in the background, so it never takes over your screen.
Your Mac apps Spotify, Notes, Mail, WhatsApp and the rest: AppleScript for apps that have it, and the accessibility API (numbered buttons and fields) for any other app.
You approve what matters Every action asks once per site or app. After it reads a web page or a message, the rules tighten. Payment fields and "Pay" buttons are refused in code; OTPs go from you to the page.
Sub-agents in parallel Hands independent parts of a task (three booking sites, five questions) to sub-agents that run at once, each with only the tools it needs, and report back.
Remembers you Facts about you and your preferences, kept small and up to date, plus a search over past conversations. Nothing is saved without your OK.
Research and critic modes Research: an orchestrator splits your question, parallel sub-agents read the sources, it writes the synthesis. Critic: an independent reviewer checks each answer and the agent revises.
Every step on record An append-only log is the only source of what the model saw, so any run can be replayed and audited. A trace view shows every step, tool call, sub-agent, token and dollar, and exports to OpenTelemetry.

What it does

you ──► dashboard / CLI ──► agent loop ──► model (your Claude Code login, or any API)
                                │
                                ├── web: search, fetch, weather
                                ├── browser: your Chrome/Comet tabs (extension) or its own Chromium
                                ├── Mac: open apps, AppleScript, accessibility (observe → act)
                                ├── workspace: read, write, grep, run commands
                                ├── memory, diagrams, ask you, spawn sub-agents
                                │   (modes: research = orchestrator + workers, critic = review + revise)
                                ▼
                        append-only session log ──► permission checks, history, dashboard,
                                                    traces and cost (pnpm trace, OpenTelemetry)

A few things you can say:

  • "Find the cheapest Delhi → Goa flight next Friday and take it to the payment page."
  • "Open my Gmail and draft a reply to the last mail from my landlord."
  • "Play my xe3 playlist on Spotify."
  • "Use sub-agents to compare the weather in Delhi, Goa and Shimla this weekend."
  • "Build a todo CLI in Python with tests, and run them."

Results

Measured on this machine, not estimated. Every number comes from a test or a recorded run.

What Result
Offline test suite (cargo test; no API key, no network beyond localhost) 136 tests, all passing (9 more with --ignored drive a real Chromium)
Flight booking on a live site (blazedemo.com) searched, picked the cheapest flight, filled passenger details, stopped at payment and handed over
Agent working in a background tab of a visible browser click 60 ms, typing 65 ms, your tab stays in front
A program pretending to be the harness on the extension's port extension sent only its pairing proof, ran 0 commands, opened 0 tabs
Calculator through the accessibility API pressed 7, +, 2, = and read back 9, about 0.6 s per press
Spotify through AppleScript player state read in 126 ms
Two sub-agents in parallel (list files, get the time) both ran with one tool each and reported back: 2 steps, 17k input tokens

Not perfect: Spotify's window exposes nothing to accessibility, so the agent uses AppleScript, links and shortcuts there; some apps ignore background keystrokes and need to come to the front; sites with strong bot protection can still block the agent's own browser (your own browser, through the extension, avoids most of that).


Install

You need Rust, Node.js 22+ (for the dashboard) and Claude Code logged in (claude, then /login). No API key: each model step runs on your Claude Code login.

git clone https://github.com/devhimanshuhc/solo-harness.git
cd solo-harness && pnpm start

pnpm start does the rest: the first time it installs the dashboard's dependencies and the browser the agent uses, and builds the solo binary (a few minutes), then starts the dashboard at http://localhost:3000/dashboard (the landing page is at localhost:3000). Later runs start right away. No pnpm? npm start works too and fetches it. Everything listens on this machine only.

Dashboard pnpm start
Dashboard in your own Chrome or Comet pnpm start --own-browser (see below)
One task in the terminal pnpm harness "what's the weather in Delhi?"
Chat in the terminal pnpm harness (/exit to quit, Ctrl+C cancels a turn)
Full-screen terminal UI pnpm tui
Research or critic mode pnpm harness --mode research "Goa or Shimla this weekend?" (/mode critic in chat and the TUI; a switch in the dashboard)
A run's trace, tokens and cost pnpm trace (latest session) or pnpm trace <session-id>
Solo Bridge pairing code pnpm bridge (pnpm bridge --reset for a new one)
Tests (offline) pnpm test
Forget everything delete the .harness/ folder (sessions, memory, approvals, browser profile, pairing code)

Use it inside Claude Code

Solo also installs as a Claude Code plugin. It gives Claude Code Solo's guarded browser and Mac app tools, recalls your memory on every prompt, and asks again before risky shell commands:

/plugin marketplace add devhimanshuhc/solo-harness
/plugin install solo@solo-harness
/solo:setup

See plugin/README.md.

Use your own browser (Solo Bridge)

By default the agent works in its own browser window, where you sign in to sites once. With Solo Bridge it works in your everyday Chrome, Comet, Brave, Arc or Edge instead, logged in as you, in the background:

  1. In your browser open chrome://extensions, turn on Developer mode, click Load unpacked and pick the extension folder of this repo.
  2. Run pnpm start --own-browser. It prints a pairing code.
  3. Click the Solo Bridge icon, paste the code and press Pair. The dashboard's Your browser card turns green when it connects.
  4. That's it: the agent can find and use any of your open tabs (say "play the video I paused on YouTube" or "reply in my Gmail tab"), and opens its own tabs in a Solo tab group without switching you to them.

In the popup you can exclude a tab (the agent never sees it), or switch to only tabs I share and share tabs one by one. Either way your tabs are never closed, payments and passwords stay refused, and nothing connects without the pairing code. Details: extension/README.md.

Options (in .env)

Copy .env.example to .env. The most useful settings:

  • HARNESS_PROVIDER: claude-code (default), anthropic (with ANTHROPIC_API_KEY) or openai-compatible (DeepSeek, OpenAI, Ollama).
  • HARNESS_BROWSER_DRIVER: patchright (the default: its own browser without automation flags, minimized), playwright (standard automation flags) or extension (your browser).
  • BRAVE_API_KEY: faster web search (about 1 s instead of 15–30 s).
  • HARNESS_MAC, HARNESS_SUBAGENTS, HARNESS_MEMORY, HARNESS_WEB_TOOLS: off to switch a feature off.
  • OTEL_EXPORTER_OTLP_ENDPOINT: send each run's trace to Jaeger, Grafana Tempo, Langfuse, Phoenix or Traceloop (OpenTelemetry GenAI spans; names, timings, tokens and cost only, no prompts).

All settings: docs/development.md. Lasting approvals ("always allow goibibo.com") live in .harness/approvals.json, which you can edit by hand.

Docs

  • How it works: the loop, the log, every tool, permissions, sub-agents.
  • Safety: what can go wrong and what stops it.
  • Roadmap: what's done and what's next.
  • The Rust crate: commands, terminal UI keys, token efficiency, evals.
  • Decisions: why it's built this way, one page per decision.

Develop

The harness is one Rust crate in rust/ (binary solo; pnpm build or cargo build --release --manifest-path rust/Cargo.toml), with a Next.js 16 dashboard in dashboard/, the landing page in site/ (served on the dashboard's port at /), a Chrome extension in extension/ and a small Swift helper for Mac accessibility in native/. Start with AGENTS.md for the layout, commands and rules; run cargo fmt --check, cargo clippy --all-targets and cargo test in rust/ before pushing.

Credits

Inspired by deepseek-ai/deepseek-harness. Ideas and designs from Playwright (extension relay), Tencent/BrowserSkill (pairing, background tabs), rakazo and agentmemory (memory, Mac control), dsh-diagram (diagrams) and claude-skills (agent skills). See THIRD_PARTY_NOTICES.md. MIT licensed.

About

One agent that does things for you, in your own browser and Mac apps. Asks before anything that matters, stops before money moves.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages