loading…
Search for a command to run...
loading…
Evidence-grounded web research for AI agents. Verifies page-local claims with citations, confidence bands, policy reports, and multi-page session synthesis via
Evidence-grounded web research for AI agents. Verifies page-local claims with citations, confidence bands, policy reports, and multi-page session synthesis via MCP.

License: MPL-2.0 Status: pilot-ready
Ask a claim. Get page-grounded evidence, verdicts, and citations.
touch-browser is an evidence verification layer for AI agents. It does more than fetch a page or convert HTML to Markdown. It opens a page, compiles a structured snapshot, and tells you whether the current page supports a claim, contradicts it, or still needs more browsing.
Use it when you need:
Evidence-first, not fact-final:
touch-browser helps an AI collect page-local evidence and trace where it came fromextract ReturnsAbbreviated claimOutcome shape from the current extractor:
{
"statement": "The Starter plan costs $29 per month.",
"verdict": "evidence-supported",
"confidenceBand": "high",
"reviewRecommended": false,
"supportSnippets": [
{
"blockId": "b4",
"stableRef": "rmain:table:plan-monthly-price-snapshots-starter-29-10-000-t",
"snippet": "Starter | $29 | 10,000"
}
],
"verdictExplanation": "Matched direct support in 3 page block(s). Review the attached snippets before reusing the claim."
}
The extractor returns four verdicts:
evidence-supported: the current page surfaced usable supportcontradicted: the current page surfaced conflicting evidenceinsufficient-evidence: the current page did not provide enough direct supportneeds-more-browsing: the current page is not specific enough yet, so the next step is another pageconfidenceBand, reviewRecommended, supportSnippets, verdictExplanation, and matchSignals are there so an agent can decide what to do next without blindly trusting the first match.
Primary local-host MCP path:
@nangman-infra/touch-browser-mcpRecommended host config:
{
"mcpServers": {
"touch-browser": {
"command": "npx",
"args": ["-y", "@nangman-infra/touch-browser-mcp"]
}
}
}
On first launch, the package downloads the matching standalone runtime bundle from GitHub Releases, verifies the published .sha256, installs it under ~/.touch-browser/npm-mcp/versions/, and then starts touch-browser mcp.
Use this package when you want a local MCP host such as Claude Desktop, Cursor, or Codex to attach without a separate manual runtime install.
Tagged v* pushes now build standalone macOS and Linux bundles in the Standalone Release workflow. Each bundle includes:
bin/touch-browserruntime/touch-browser-binBrowser actions keep the Playwright adapter as the zero-config compatibility default. For new CLI deployments, the main recommended browser engine is the Rust CDP path. Enable it with:
TOUCH_BROWSER_BROWSER_ADAPTER=cdp-rust touch-browser open <target> --browser --session-file /tmp/tb.json
pnpm run fixtures:browser-adapter-parity
The CDP adapter reports browser-backed captures as sourceType: "cdp-rust",
reuses persistent browser context directories, applies the search identity
profile for search-result captures, and is covered by parity fixtures plus CLI
E2E validation for follow, click, type, submit, pagination, expand, iframe,
shadow DOM, SPA updates, download clicks, persistent-session actions, and
cross-origin nested shadow interactions. It still requires Chrome or Chromium.
Set TOUCH_BROWSER_CDP_BROWSER=/absolute/path/to/chrome when it is not
installed in a standard location.
For local size checks, a slim bundle profile skips prebundled Playwright Chromium and semantic model caches:
pnpm run build:standalone-bundle:slim -- local-dev
The full bundle remains the release default because it preserves the bundled Playwright compatibility path while shipping the recommended Rust CDP engine.
When a tagged release is published, download the matching tarball from GitHub Releases, unpack it, and run:
./touch-browser-<version>-<platform>-<arch>/install.sh
touch-browser telemetry-summary
touch-browser update --check
To build the same portable bundle locally:
pnpm install --frozen-lockfile
pnpm run build:standalone-bundle -- v0.1.0-rc1
# Then install the bundled command into PATH
./dist/standalone/touch-browser-v0.1.0-rc1-<platform>-<arch>/install.sh
touch-browser telemetry-summary
touch-browser update --check
The standalone path is still the official CLI, operations, offline, and fallback install path:
install.shtouch-browser command for every CLI and serve operationThe installer now performs a managed install:
~/.touch-browser/install/versions/<bundle-name>~/.touch-browser/install/current~/.touch-browser/install/current/bin/touch-browsertouch-browser update swaps current to a newly verified release bundletouch-browser uninstall --purge-all --yes removes the managed install and all stored dataThis is the command-only proof path that matches the installed user experience:
touch-browser open https://www.iana.org/help/example-domains --browser --session-file /tmp/tb-first-run.json
touch-browser session-read --session-file /tmp/tb-first-run.json --main-only
touch-browser session-extract --session-file /tmp/tb-first-run.json \
--claim "As described in RFC 2606 and RFC 6761, a number of domains such as example.com and example.org are maintained for documentation purposes."
touch-browser session-synthesize --session-file /tmp/tb-first-run.json --format markdown
touch-browser session-close --session-file /tmp/tb-first-run.json
Installed search now keeps an engine-level persistent trust profile by default:
~/.touch-browser/browser-search/profiles/google-default~/.touch-browser/browser-search/profiles/brave-default~/.touch-browser/browser-search/<engine>.profile-state.jsonPrerequisites: rustup, Node.js 18+, pnpm.
bash scripts/bootstrap-local.sh
cargo build --release -p touch-browser-cli
pnpm run build:standalone-bundle -- local-dev
./dist/standalone/touch-browser-local-dev-<platform>-<arch>/install.sh
Source checkout is a contributor workflow. Release and operations docs still assume the installed touch-browser command from the standalone bundle.
bootstrap-local.sh installs the default semantic models under:
~/.touch-browser/models/evidence/embedding~/.touch-browser/models/evidence/nliUse TOUCH_BROWSER_EVIDENCE_EMBEDDING_MODEL_PATH or TOUCH_BROWSER_EVIDENCE_NLI_MODEL_PATH only when you need to override those default locations.
touch-browser is not trying to replace every crawler or browser tool. Its job starts after page acquisition.
| Need | Markdown-only fetch | touch-browser |
|---|---|---|
| Read the page | yes | yes |
| Keep source-linked block refs | partial | yes |
| Judge whether the page supports a claim | no | yes |
| Return contradiction and unresolved states | no | yes |
| Give support snippets and verdict explanations | no | yes |
| Tell the agent to escalate instead of answering | no | yes |
Primary surface:
extract: verify claims against the current page and return structured claim outcomesSupporting read surfaces:
read-view: readable Markdown for a human reviewer or verifier modelcompact-view: low-token semantic state for agent loopssearch: structured discovery before opening candidate pagesSafety and audit surfaces:
policy: classify pages and actions as allow, review, or blocksession-synthesize: turn a multi-page session into JSON or Markdown with citationsserve: expose the runtime over stdio JSON-RPC for MCP or agent integrationRecommended MCP setup for local hosts:
{
"mcpServers": {
"touch-browser": {
"command": "npx",
"args": ["-y", "@nangman-infra/touch-browser-mcp"]
}
}
}
The MCP package is intentionally narrower than the full CLI:
tb_search -> tb_search_open_top -> tb_read_view -> tb_extractengine is not exposed over MCPheaded is not exposed over MCPAlternative MCP bridge setup for an installed standalone command:
{
"mcpServers": {
"touch-browser": {
"command": "touch-browser",
"args": ["mcp"]
}
}
}
The bridge starts touch-browser serve underneath and exposes tools like tb_search, tb_search_open_top, tb_open, tb_read_view, tb_extract, tb_tab_open, and tb_session_synthesize.
Repository checkout integration asset:
{
"mcpServers": {
"touch-browser": {
"command": "node",
"args": ["integrations/mcp/bridge/index.mjs"]
}
}
}
The standalone bundle ships touch-browser mcp and touch-browser serve. The checked-in Node launcher remains a repository integration asset for repo checkouts or container images.
By default the bridge prefers an explicit TOUCH_BROWSER_SERVE_COMMAND, then an explicit binary path, then an installed or packaged touch-browser binary, then repo-local target/{release,debug} binaries. If none are available, it fails fast with an install/build instruction instead of dropping back to cargo run.
Use TOUCH_BROWSER_SERVE_COMMAND if you want to force a specific built binary or wrapper command.
Query / URL / fixture / browser tab
-> browser-first search result parsing
-> Acquisition
-> Observation compiler
-> read-view / compact-view
-> extract (evidence + citations + optional verifier)
-> policy
-> session synthesis / replay
-> CLI / JSON-RPC serve / MCP
This repository now uses MPL-2.0.
MPL-2.0Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"nangman-infra-touch-browser": {
"command": "npx",
"args": []
}
}
}