Karea Connect Beta
What it is
Open a real terminal from any task and work on it with Claude Code, Codex or OpenCode. They run on your own machine (laptop, PC or rented server), signed in with your own accounts. Karea shows the terminal in a floating window that stays open while you move around the app.
Karea never runs your code and never sees your AI accounts: it only connects your browser to your machine.
On every plan. It is on every plan: Free pairs 1 machine, Pro 3 machines and Max 20 machines. At your plan's machine limit, remove a machine in Settings → Karea Connect or move to a bigger plan.
Pair a machine (once)
Needs Node 20 or newer (Linux, macOS or Windows). In Settings → Karea Connect → Pair a machine, run the command shown, for example:
npx -y karea-connect@0.4.37 pair --server https://karea.app --code ABCD-EFGH --workspace ~/code
- The code works once, for 10 minutes.
- Each
--workspaceis a folder the terminal may open. Nothing outside them can be chosen from Karea. - You choose a machine passphrase. Keep it: you type it in the browser to open a terminal on that machine.
Then start it with the run command shown. It reconnects by itself after a network drop, sleep or a Karea restart. To keep it running in the background and after a reboot, install it once: npm install -g --prefer-online karea-connect@0.4.37 && karea-connect install-service (systemd on Linux, launchd on macOS, Task Scheduler on Windows).
With tmux installed (Linux, macOS), sessions also survive the agent restarting; without it they end when the agent stops. Settings → Karea Connect shows each machine's mode.
Step by step on a Mac
- Open Terminal.
node -vmust say v20 or higher; if not,brew install node(Homebrew from brew.sh). - Recommended:
brew install tmux, so sessions survive the agent restarting. - Run
claude(orcodex,opencode) once and sign in. Karea starts exactly that program. - In Karea, Settings → Karea Connect → Pair a machine: copy the first command, add one
--workspaceper folder (for example--workspace ~/code/my-app), paste it in Terminal and choose the passphrase. - Copy the second command (run) and leave that window open; your Mac now shows as Online. For daily use, install it as a service instead (third command) so it starts when you log in.
- Open any task, click Connect, pick your Mac, the tool and the folder, and type the passphrase. Claude Code opens in the floating window, already told which task to work on.
To stop it: close the Terminal window (or karea-connect uninstall-service). To remove the Mac: Settings → Karea Connect → Remove.
If something does not work
Reaching the machine
- Machine shows offline: the agent is not running or cannot reach Karea. Check its window, or its log:
~/.config/karea-agent/agent.log(service on a Mac),journalctl --user -u karea-agent(Linux). - A tool is missing from the list: the agent did not find it in its PATH.
npx -y karea-connect@0.4.37 statusin the same Terminal shows what it finds. A service keeps the PATH from when it was installed: reinstall it after adding a tool. - Wrong passphrase: nothing retries by itself, and each wrong try waits longer: 1 minute after the 2nd, 5 after the 3rd, 30 after the 4th, then 1 hour each. The box counts down and reopens when the wait ends. The machine enforces it, even after a restart, and forgets wrong tries after a day without any. Forgot it? Remove the machine and pair it again.
In the browser
- "Karea was updated since this page opened": reload the page.
- Typing does nothing: you may be scrolled back in the history; scroll down or press Esc.
Running the connector
- End a session from the machine: sessions run on the connector's own tmux socket, so plain
tmux lsdoes not list them. List:tmux -L karea ls. End one:tmux -L karea kill-session -t karea-…(Stop from terminal on the Connect page fills in the name). End all:tmux -L karea kill-server. Without tmux, sessions end when the connector stops. - Run the connector without a window: start it detached in tmux:
tmux kill-session -t karea-connector 2>/dev/null; tmux new-session -d -s karea-connector "npx -y --prefer-online karea-connect@0.4.37 run --replace". Look at it withtmux attach -t karea-connector(leave with Ctrl+B, then D); stop it withtmux kill-session -t karea-connector. - Stop the connector: Ctrl+C in its window, or
pkill -f karea-connect. A service starts again by itself: remove it withkarea-connect uninstall-service. Sessions in tmux keep running and are back when it starts. - Update the connector: Karea shows an Update button with the right command when a new version is out. It comes from npm (
karea-connect@0.4.37): with npx, starting it again gets the latest; installed with npm, runkarea-connect update. - "Karea Connect is not set up on this server": the relay is not configured on this Karea server yet.
Work on a task
Start a session
- On a task (side panel or full page), click Connect at the top, next to the deadline and activity readings, and pick the machine, tool and folder. Karea can brief the AI on the task without it starting work: with the Karea MCP, the first message asks it to read the task and wait for your instructions; with the Karea mod for Claude Code, nothing is sent and your first message carries that request; with no Karea MCP on the machine, the first message carries the task's description.
- Type the passphrase the first time. Remember in this tab skips it until the tab closes.
The floating window
- The window floats over every page: drag it by its title bar, resize it from the bottom-right corner, add tabs with +, collapse it to a pill with −. The three buttons at its top left (close, minimise, open on the Connect page) grow when you point at them, so they are easy to hit. When a tool rings the terminal bell (for example Claude Code waiting for approval) while collapsed, the pill pulses and Karea notifies you.
- The keyboard button gives Esc, Tab, Ctrl-C, arrows and Enter, handy on a phone.
- Window shortcuts: Alt+Shift+M minimises, Alt+Shift+C closes (the session keeps running), Alt+Shift+O opens the session on the Connect page (Option instead of Alt on a Mac).
- Scroll up with the wheel for earlier output; scroll down or start typing to return. Hold Shift (Option on a Mac) while dragging to select text.
Closing and resuming
- Closing a tab stops nothing: the session keeps running. Reopen it from the task (Related → AI sessions, or Connect → Open) or the Connect page, even after a reload or from another device.
- Closing the window: × asks what to do. Close, keep it running (the usual choice) hides it; End the session stops the tool on the machine: the session shows Ending, then Ended. − minimises it to a pill instead.
- Resume an ended Claude Code session: Resume restarts it with its whole conversation (
claude --resume) in the same folder or worktree. Needs the machine online. Codex and OpenCode cannot be resumed from Karea yet.
Every session shows in the task's history (start, end, time on screen), the Recap and Reporting → Time in Karea Connect.
The Connect page (Run)
Run, next to Task at the top of the sidebar, opens the Connect page: all your Karea Connect sessions.
Find and open sessions
- Filter by project (or All projects). Each row shows the task, tool, machine, worktree branch, running or ended, and last use.
- Click a session to read its conversation on the right. A running one is live: write to Claude and answer its prompts there. An ended one is read-only, with Resume at the top.
- Pop out: moves a running session into the floating window. The page then says Session running in the floating window, with Bring back here (closes the window's tab, shows the chat here again) and Show the window.
- New session starts one here, linked to a task you search for in the launcher, or unlinked.
- Search: by name, task, project, tool, folder, machine or tag. Switch on Archived to include archived ones.
Several at once
- Shared View: up to five sessions side by side, three open at a time; opening a fourth folds the oldest. Typing goes to the session you clicked last. It is saved on your account, so it follows you to other devices.
- Ctrl+Alt+1 to 9 (Ctrl+Option on a Mac; change it in Settings > Shortcuts, which only accepts a combination that reaches Karea) focuses the input of the session at that position: in the list, the visible sessions (folded groups and filtered-out ones do not count); in Shared View, the panes left to right, a folded one opening first; in the floating window, its tabs.
- Status: each session shows Working while the tool is busy, Needs you when Claude Code waits for an approval or an answer (in the chat or in the terminal), Done when it has finished, and Ending, then Ended, once you end it.
- Unread: a session that finished while you were elsewhere gets a blue Unread dot. The envelope button (Mark as unread / Mark as read) on a row, Shared View pane or floating-window tab flips it, to keep one to come back to.
Organise them
- Sessions and Tasks: the switch at the top shows sessions, or Tasks: one tile per task with sessions, in foldable project groups, pinned ones on top. New session there starts one on that task.
- The … menu on a session holds lock, mute and archive. One button flips between chat and terminal, on the page and in the floating window.
- Update AI tools: rest the cursor on a machine's name (top of the page, or a session's header) and choose Update AI tools. It shows each tool's installed and newest version, updates the ones you tick and shows progress; running sessions keep going.
- Names and archive: a session takes the title Claude Code gives the conversation (kept in this browser, like the conversation); click it to rename. Archive hides an ended session; Archived at the top lists them, with Unarchive.
- Default folder per project: the first time you start a session on a project's task, switch on Default folder for <project>; that folder is then picked for every task of the project on that machine. Change it in Projects → Karea Connect.
Task card and history
- The task card on top shows status, priority, deadline, subtasks, AI summary or description, latest note and Connect time. Fold it to one line with the arrow; click the task's name to open it in the side panel.
- History when the machine is off: conversations are read from your machine. Each one you read is copied in this browser (last 20 sessions) and shown when the machine is offline. Only this browser has the copy; Karea never stores conversations.
- Every Claude Code session can be read here, as chat or terminal. Codex, OpenCode and Claude Code sessions from a connector older than 0.3.0 have no conversation to show.
Git worktrees
A worktree is a second checkout of the same repository, on its own branch and folder, so two sessions never touch each other's files.
- In Connect, open Folder and pick New worktree in …. Karea suggests a name and branch from the task (
karea/ka123-title); From is the branch to start from (the current one if empty). - It is created in
.karea-worktrees/inside the project, hidden fromgit status. Existing worktrees are listed under their project folder. - A task usually keeps one worktree for all its sessions: the launcher picks the task's latest by default. You can create as many as you like.
- The launcher checks name and branch first (name taken, branch open in another worktree). If Git still refuses, the window says why (not a Git repository, no commits yet, unknown From branch, no write access) and offers Change the worktree (back to the launcher, filled in) or Start without a worktree.
- A task lists its worktrees under Related → AI sessions: start a session in one, or delete it. Deleting asks you to type its name (with a Copy button), after 5 seconds to read the warning: the folder and its uncommitted work are gone; the branch and commits stay. End any session still running in it first.
- Don't ask me again in that dialog (after one more warning) deletes worktrees at once from then on, uncommitted work included. Turn the warning back on in Settings → Karea Connect.
What the AI knows about the task, and what comes back
- At the start (with Brief … on the task on): Claude Code, Codex and OpenCode get the task ID, title and a short summary, and are told to read the whole task (description, notes, AI context) with the Karea MCP, keep its AI context current and add notes as they go.
- That needs the Karea MCP on the machine. Without it the AI knows only the title and summary and cannot write back. The connector checks each tool; when it is missing, Connect shows the command to add it (and the Karea skill, for Claude Code).
- Linked automatically: every Claude Code session started from a task is linked to it, so what it writes to Karea is attributed to that session.
- Summary at the end (optional, Settings → Karea Connect): when you end a Claude Code session from Karea, Claude first adds a note with what was done, the decisions and what is left. To skip it for one session, choose End without syncing instead of End the session.
- Karea records when each session ran, on which machine and for how long (task history, Recap, Reporting), never the conversation.
Chat view (Claude Code)
A Claude Code session can show as a conversation instead of the raw terminal. Pick Chat when you open it, or switch any time with Chat / Terminal in the title bar; both show the same session.
What it shows
- Your messages and Claude's replies, formatted, in your light or dark theme. Events (thinking, compaction, interruptions) are grey lines with a dot. Background-task notifications Claude Code sends itself are hidden.
- Each tool call (command, file, search) is a card that opens to show details and result: green border when it worked, red when it failed, amber while it waits for you.
Answering Claude
- Permission prompts are a card: Allow, Decline (optionally saying what to do instead) or Answer in the terminal.
- Claude's questions show their options as buttons (several when it asks more than one), plus a box for your own answer.
- Questions, prompts and menus also work from the keyboard: arrows move, Enter takes the highlighted choice, as in the terminal.
- When Claude Code waits for a key on its own screen (after signing in again: "Press Enter to continue"), the chat shows that screen with a button for the key.
- Type below to send (Shift+Enter for a new line). Stop interrupts Claude like Esc in the terminal, and stays available while commands or agents still run in the background.
Pictures and files
- Pictures and files: pictures (pasted, or a screenshot Claude read) show inline; click for full size. Each file Claude creates or edits gets a card with Preview (pictures, PDF, Markdown, text), Download and Save to Karea (adds it to Resources, linked to the session's task unless you switch that off). Files are read only inside the machine's allowed folders, up to 15 MB, end-to-end encrypted. Needs connector 0.4.10 or newer.
- When the window is collapsed and Claude waits for you, the pill pulses and Karea notifies you.
How it works
It reads the conversation file Claude Code keeps on your computer and uses Claude Code's hooks, added only to sessions Karea starts. It is end-to-end encrypted, like the terminal. While the chat is not open, Claude asks in the terminal as usual. Codex and OpenCode show as a terminal only.
Remove Karea Connect from a machine completely
Karea Connect keeps everything in one folder in your home directory (~/.config/karea-agent), plus its tmux sessions and background service. On macOS or Linux, in a terminal on that machine:
- End every session Karea started (they run in their own tmux server, separate from yours):
tmux -L karea kill-server - Stop the connector, however it was started (tmux, a window or the service):
tmux kill-session -t karea-connector 2>/dev/null; karea-connect uninstall-service 2>/dev/null; pkill -f "karea-(connect|agent)" - If you installed it with
npm install -g, uninstall it:npm uninstall -g karea-connect karea-agent - Delete its files (pairing and keys, logs, settings, chat hooks, and the dev copy if any):
rm -rf ~/.config/karea-agent ~/.config/karea-agent-dev - Remove the machine in Karea: Settings → Karea Connect → Remove. Its token stops working at once.
What stays
Worktrees Karea created stay in your projects as .karea-worktrees folders with their karea/… branches: delete them from the task (Related → AI sessions) or with git worktree remove. Claude Code's own history (~/.claude) is not touched.
On Windows
On Windows: close the connector's window, run schtasks /Delete /TN "Karea agent" /F if you installed the service, then npm uninstall -g karea-connect karea-agent, and delete %USERPROFILE%\.config\karea-agent.
On the Connect page, the power button (Stop Karea Connect on my machine → Remove it completely) gives these commands ready to copy.
Security
- End-to-end encrypted. Everything typed and shown is encrypted between your browser and your machine with a key made from the machine passphrase. Karea and its relay only pass along data they cannot read, and store none of it.
- Your Karea password alone is not enough. Someone in your Karea account still needs the machine passphrase, and each wrong try makes the machine wait longer (up to 1 hour).
- Only a signed-in browser can open a terminal or add a machine, not API keys or connected AI apps.
- Only Claude Code, Codex and OpenCode can start, in the folders you listed. A plain shell is offered only if you start the agent with
--allow-shell. - Settings → Karea Connect → Remove cuts a machine off at once.
The passphrase is typed into a Karea page, as on any website: use one you do not use anywhere else.