Quick Start

Install Longhouse, open it, and find one of your own sessions. That is the first proof it is already useful on this machine.

0. Get a Longhouse address

Connecting a machine needs a Longhouse to connect to. A hosted one is invite-only for now; to run your own on this machine (Linux or macOS):

terminal
curl -LsSf https://astral.sh/uv/install.sh | sh   # skip if you have uv
uv tool install longhouse
longhouse-server onboard

That starts a Runtime Host at http://127.0.0.1:8080, installs the Machine Agent, and imports your sessions in one step, so you can skip to step 3. It stops when the machine does; to keep one running, see Configuration.

1. Connect a machine

Run this on the machine where you use Claude Code, Codex, or another coding agent (macOS, Linux, or WSL), with your Longhouse address in place of the example. An empty timeline shows this line with its own address filled in.

terminal
curl -fsSL https://get.longhouse.ai/install.sh | LONGHOUSE_URL=https://you.longhouse.ai bash

It installs Longhouse (on a Mac, also Longhouse.app), opens your Longhouse in the browser to approve the machine, and starts its Machine Agent. No Python runtime and no sudo needed.

No browser on that machine, such as a server over SSH? In Settings → Devices, create a token; the page gives you one line that connects the server without a browser.

2. Finish later

If you skipped the approval or installed without an address, open Longhouse.app on a Mac and choose Sign in to connect this Mac. Anywhere else:

terminal
longhouse auth --url https://you.longhouse.ai
longhouse machine repair --repair-service

This laptop setup is the fast proof path. When you want Longhouse to stay reachable while the laptop sleeps, move the Runtime Host to a machine that stays on and keep the Machine Agent on the dev machine where work happens.

3. Choose what history to import

Setup asks what to do with sessions your agents already saved on this computer. Old transcripts can hold code and secrets from any project you ever ran an agent in, so the default imports nothing old: only sessions you start from now on. Import history when you want it, for one project or for everything:

terminal
longhouse machine scope                        # what is imported, what is left out
longhouse machine scope --project ~/git/app    # add one project's full history
longhouse machine scope --since all            # import everything on this computer

Changing the scope backfills what became eligible; nothing older than your choice is uploaded until then. To remove Longhouse from a computer (and revoke its token), run longhouse uninstall.

4. Find a session

Start a session in Claude Code, Codex, Cursor Agent, OpenCode, or Antigravity, then look for it in the timeline or search. A session you start after setup appears within seconds.

No sessions yet? Use the hosted Runtime Host or runuv tool install longhouse && longhouse-server serve --demo for a safe preview.

Imported runs are unmanaged. Longhouse still shows them in the timeline, but there is no live control path open. Treat bare CLI history as observe-only, then restart the work through Longhouse when you want to keep it steerable.

5. Launch a managed session

Bare provider CLIs are useful for compatibility import, but they are not the default path once Longhouse is installed. Start through Longhouse when you want a managed session to stay reachable later:

terminal
longhouse claude       # Claude Code, steerable mid-turn
longhouse codex        # Codex CLI, steerable mid-turn
longhouse cursor       # Cursor Agent, send and interrupt
longhouse opencode     # OpenCode, send and interrupt
longhouse pi --prompt "..."   # Pi Agent, one-shot turn
longhouse antigravity  # Antigravity CLI, send only

When Longhouse launches the session, it owns the session record and local observation path. All six providers ship today; what they can do after launch differs. Claude and Codex can be steered mid-turn. Cursor Agent takes send and interrupt but not mid-turn steer. OpenCode Helm supports managed send, interrupt, terminate, pause-answer, and active-turn steer that lands at the next step boundary. Pi runs one-shot Console turns: you can start a turn and interrupt it, but there is no live session to send into. Antigravity takes send alone, and refuses to start if its Longhouse hook is not installed. The Integrations page carries the full provider detail, generated from the managed-provider declarations.

Managed vs unmanaged. Both show up in the timeline, but managed sessions keep Longhouse ownership of the launch and observation path. Use longhouse claude or longhouse codex when you want to redirect a turn that is already running; the rest still land as managed sessions the browser and the API can reach.

5. Troubleshooting

Most people should not need this on the first run. If the timeline or menu bar says something is wrong:

terminal
longhouse local-health --json
longhouse machine repair
longhouse machine repair --repair-service

On macOS, Longhouse.app and the menu bar show the same local health information in ambient form.