# Tychicus documentation

> Install Tychicus on macOS, Linux or Windows, load the extension, connect Claude Code, Codex, OpenCode, Cursor, OMP or pi, manage site access, use the skills and remote access, and fix problems.

Project site: https://dbaney.com/tychicus/

## Install

Tychicus needs a Chromium browser at version 141 or newer, such as Helium, Chrome, Brave, Edge or Chromium. Nothing else: the `tychicus` program in each release carries its own runtime. Releases are built for macOS on Apple silicon, Linux x64 and Windows x64.

On macOS or Linux, in a terminal:

```sh
curl -fsSL https://github.com/baney75/tychicus/releases/latest/download/install.sh | sh
```

On Windows, in PowerShell:

```powershell
irm https://github.com/baney75/tychicus/releases/latest/download/install.ps1 | iex
```

The command downloads the archive for your computer and `SHA256SUMS` from the latest release, checks the archive's SHA-256, checks its build attestation with `gh attestation verify` when the [GitHub CLI](https://cli.github.com) is installed, then runs the release's own `tychicus install --release`, which checks again and registers the helper with each Chromium browser it finds. It needs no sudo and refuses to run as root or administrator unless you pass `--allow-root`. `TYCHICUS_VERSION=1.2.3` installs that release instead of the latest.

### Load the extension

Browsers make you load an unpacked extension by hand:

1. Open `chrome://extensions` and turn on **Developer mode**.
2. Click **Load unpacked** and pick the folder the installer printed, `~/.local/share/tychicus/extension`.

The extension ID, `igjafcggmahiboobmnhfkndodphjdnhg`, is fixed by its manifest, so the helper registration already allows it. Once Tychicus is listed on the Chrome Web Store, that copy works too.

### Install from a release by hand

Download `SHA256SUMS` and the archive for your computer from the [latest release](https://github.com/baney75/tychicus/releases/latest) into one empty folder, then unpack it and run its installer:

```sh
tar -xzf tychicus-*.tar.gz && ./tychicus-*/tychicus install --release .
```

The installer checks every file against `SHA256SUMS` and refuses the whole install on any mismatch. Each version goes in a folder of its own under `~/.local/share/tychicus/versions/` (`%LOCALAPPDATA%\Tychicus\versions\` on Windows). `--dry-run` lists what it would write and writes nothing.

## Connect your agent

**Claude Code** and **Codex**:

```sh
claude mcp add --scope user tychicus -- ~/.local/share/tychicus/release/tychicus mcp
codex mcp add tychicus -- ~/.local/share/tychicus/release/tychicus mcp
```

JSON configs need the full path, not `~`. Replace `/home/you` with your own home folder, which is under /Users on a Mac (`echo $HOME` prints it).

**OpenCode** (`~/.config/opencode/opencode.json`):

```json
{ "mcp": { "tychicus": { "type": "local", "command": ["/home/you/.local/share/tychicus/release/tychicus", "mcp"], "enabled": true } } }
```

**Cursor** (`~/.cursor/mcp.json`):

```json
{ "mcpServers": { "tychicus": { "command": "/home/you/.local/share/tychicus/release/tychicus", "args": ["mcp"] } } }
```

**OMP** (`~/.omp/agent/mcp.json`):

```json
{ "mcpServers": { "tychicus": { "type": "stdio", "command": "/home/you/.local/share/tychicus/release/tychicus", "args": ["mcp"], "enabled": true } } }
```

**pi** has no MCP client, so `tychicus pi-extension` writes a native pi extension instead. Any other MCP client can run the stdio server with `tychicus mcp`.

Then ask your agent something like: "Use Tychicus to open news.ycombinator.com and list the top five stories."

### Let your agent do the rest

Once the extension is loaded, open the side panel's **Settings › Agents** and click **Copy setup prompt for your agent**. Paste it into Claude Code, Codex, pi, OMP or any agent with a shell. The agent connects itself, installs the skills, runs `tychicus doctor` and calls `status`. The prompt has no piped installers, and it tells the agent not to ask you for keys or passwords.

## Site access

An agent asks before it opens a site you haven't allowed. Claude Code and Codex show the question in the chat. Otherwise answer it in the side panel under **Settings › Agents**.

| Command | What it does |
| --- | --- |
| `tychicus allow <host>` | Let agents open a site without asking. Subdomains are included. |
| `tychicus ask` | Ask before any site not yet allowed (the default). |
| `tychicus allow-all` | Open any site without asking. |
| `tychicus status` | Whether the browser is connected, which sites are allowed, which browsers have the host. |

## Sessions and tab groups

Each agent works in a session: its own tab group, titled with the agent and the project, such as **Tychicus · claude · dbaney.com**. What you do to the group means something:

| You | Tychicus |
| --- | --- |
| Drag a tab out of an agent's group | The tab is yours. The agent loses it and is told. |
| Drag one of your tabs into an agent's group | The agent may use it, and is told. |
| Close the group | The session ends. |
| Collapse the group | It stays collapsed while the agent works. |

## What an agent can do

| Tools | What they do |
| --- | --- |
| `status`, `tabs_context`, `session_info`, `session_end` | Connection, allowed sites, and the agent's own session and tabs |
| `navigate`, `tabs_create`, `tabs_select`, `tabs_close`, `tabs_release` | Open pages in its own background tabs, at most 15 per session, or hand one to you |
| `read_page`, `find`, `get_page_text`, `get_page_html`, `screenshot` | Read a page as element references and text, or look at it |
| `click`, `type`, `fill`, `press`, `hover`, `scroll`, `drag`, `actions` | Act with real input events, by reference or by screenshot pixel, and see what changed |
| `run_js`, `wait`, `read_console`, `read_network` | Scripts, waits and debugging |
| `handle_dialog` | Answer an alert, confirm or prompt box |
| `capture` | Evidence from its own tab: a HAR with credentials left out, or a video, saved on your computer |
| `files` | Upload files to a page or download from it, with a prompt for any file outside the agent's project |
| `tabs_show` | Bring a tab in front of you, for a sign-in or when you want to see it |
| `ask_user` | Ask you one to four multiple-choice questions in the side panel |
| `library_add`, `library_search`, `library_cite` | Save verified sources and cite them |
| `computer_status`, `computer_*` | On a Mac with Polycarp's app: native apps on the agent workspace, in the background |

Every read is bounded and says when it cut, with the call that reads on, so one page can't fill an agent's context.

## Computer use on a Mac

When Polycarp's Mac app is installed, the same MCP server also offers the computer tools, such as `computer_windows`, `computer_snapshot`, `computer_click` and `computer_open`. They act on the agent workspace and the apps you lend, never take focus, and never hold up the browser tools. `computer_status` says why they are missing when they are. On Linux and Windows they are absent.

## The side panel

Press Cmd+Shift+S (Ctrl+Shift+S elsewhere) to open the side panel and chat with a page directly. When Local Studio runs, the panel's default provider is Local Studio and the first run asks for no key: each chat goes to the native host and on to Local Studio's daemon, on your local models and the subscriptions you signed in to there. The extension never sees a key or a sign-in token, and each panel chat works in an empty private folder where every command and write is refused. Local Studio chats are not on Windows yet. "Use an API key instead" on the first run opens the provider keys, which each provider bills.

## Skills

```sh
tychicus skill install            # Claude Code, Codex and OpenCode, wherever they're installed
tychicus skill list
tychicus skill print >> AGENTS.md # any other agent, as a section of a project's AGENTS.md
```

Tychicus bundles skills for browser work, academic research with verified citations, OSINT with a purpose check, news with primary sources, search operators, research loops, HTML reports, bug reports and more. `skill list` shows each one. Setup never replaces a skill of the same name that Tychicus didn't write. Every skill passes `tychicus skill lint`, which CI runs on every pull request. It refuses hidden text, instruction overrides, fake system turns, piped remote code, secret exfiltration, credential-file reads, config tampering and safety bypasses.

## Remote access

Nothing is exposed until you start it. For claude.ai, ChatGPT or grok.com:

```sh
tychicus remote setup   # Tailscale Funnel or your own Cloudflare tunnel, an approval passcode, a service that keeps it running
tychicus remote status  # is it up and reachable from the internet?
```

Setup prints the connector URL to paste into the app's connector settings. Each person runs their own connector on their own computer, so there is no account, no relay and no shared server. Remote sessions get only the tools their token's scopes allow and never answer site-permission requests.

## Safety model

- The agent asks before it opens a new site.
- The MCP server tells every agent that page content is untrusted, that it must ask you before sending, posting, buying, deleting or changing settings under your sign-in, and that it never types passwords or payment details. For a sign-in or a captcha, it brings the tab to you.
- These are instructions to the model, not enforcement. A hostile page can still attempt prompt injection. The site permission limits which sites an agent can open, not what it does on a site you've allowed, including running scripts with `run_js`. Allow only sites you'd let an agent act on, and run agents in a separate, signed-out browser profile for high-stakes accounts.
- Agents stay in their own tab group, can't see your other tabs, and their popups don't steal focus. `tabs_show` is the only tool that changes what you see.
- By default nothing listens on the network. The native host relays over a Unix socket in `/tmp/tychicus-bridge-<user>/` (0700 directory, 0600 socket). Any program running as you can reach it, the same trust level as your shell.
- The host manifest's `allowed_origins` names only Tychicus's extension ID, and the host exits for any other caller before it reads a message.

## Updating

A release install upgrades the way it installed: run the install command again, or download the newer release and run its `tychicus install --release .`. The `release` pointer moves to the new version only after it registers itself, and an old version is removed once nothing runs from it.

## Troubleshooting

`tychicus doctor` checks each piece and prints the exact command that fixes it.

- **"Tychicus isn't connected."** The browser isn't running with the extension loaded, or the extension hasn't reached the native host yet. `tychicus doctor` says which.
- **The agent stops and asks about a site.** That's the permission prompt. Approve it, or run `tychicus allow <host>` ahead of time.
- **Coming from Polycarp's browser helper or Tabkyra.** Tychicus has its own extension ID, so chats and keys don't carry over by themselves. Export the chats you want with the old helper first, and remove the old extension only after the new one works. `tychicus remote import-polycarp` moves a remote connector across.

## Credits

The agent bridge is the work of [0xSero](https://github.com/0xSero) ([0xSero/sitegeist](https://github.com/0xSero/sitegeist)). The extension and its side panel agent are [Mario Zechner](https://github.com/badlogic)'s [Sitegeist](https://github.com/badlogic/sitegeist), built on his pi and mini-lit libraries. Tychicus is licensed AGPL-3.0, like upstream.
