qik-bridge
v0.4.7
Published
Connect your computer to Qik Office: your Qik room agent works in a folder you choose (files, Word, Excel, PowerPoint, PDF, commands — originals kept safe), and your own agents (Claude Code, Codex CLI; Gemini CLI and OpenCode next) run from any room. One
Maintainers
Readme
qik-bridge — Qik Office bridge
Connects your computer to your Qik Office rooms, two ways:
- My computer — your own Qik room agent (AI Assistant, AI Project Manager …) works in a folder you choose:
reads, searches and edits files, Word, Excel, PowerPoint and PDF, and runs commands — privately for you.
Your originals stay safe. Nothing else to install:
npx qik-office connect. - External room agents — your own coding agent (Claude Code, Codex CLI; Gemini CLI and OpenCode next) runs from a room, in a folder on your computer.
From a room you type a command (or hand it one of your tasks). It runs here, as if you had started
Claude Code yourself. The room shows the steps live, asks you on approval cards before edits, and
keeps the answer. Replies continue the same Claude session, and you can pick a session up in your
own terminal later with claude --resume.
Requirements
- Node.js 18 or newer
- For My computer: nothing else. For external room agents: a coding agent installed and signed in on this computer — Claude Code or Codex CLI
- A Qik Office account where your company has My computer / External room agents turned on
Quick start
npx qik-office connect # same bridge as npx qik-bridge / qik-agent / qik-claude / qik-codexIt shows a code. In Qik open Settings › Connected apps › External room agents and enter it. Then, in a room's agent menu, switch on your personal agent and pick the folder it should work in.
It runs in the background
npx qik-bridge connectPairs the same way, then installs the bridge as a background service and exits: it starts by itself when
you sign in, restarts if it stops, and updates itself once a day (only while no run is going). No terminal
to keep open. It runs as you, never as administrator, with the PATH you had when you set it up (so it finds
claude installed through nvm or Homebrew).
| Computer | How it runs |
|---|---|
| macOS | LaunchAgent ~/Library/LaunchAgents/mt.qik.bridge.plist |
| Linux | systemd --user unit qik-bridge.service (no systemd: an autostart entry). Signed-out too: loginctl enable-linger $USER |
| Windows | Qik Bridge.vbs in your Startup folder (hidden window; no admin rights needed) |
Files: a fixed copy in ~/.qik/runtime (the npx cache gets cleared), the log in ~/.qik/logs/bridge.log
(5 MB, then .1 and .2). Only one bridge runs per computer (~/.qik/bridge.pid): a terminal connect
and the desktop app both stand aside while the background one runs.
The Qik desktop app has the same bridge built in ("Connect this computer"), so you only need this package when you use Qik in a browser.
Commands
| Command | What it does |
|---|---|
| npx qik-bridge connect | Pair this computer with your Qik office; the bridge then runs in the background and starts by itself when you sign in |
| npx qik-bridge install | The same as connect |
| npx qik-bridge connect --foreground | Run it in this terminal instead (also --here or --background=off); Ctrl+C stops it |
| npx qik-bridge upgrade (or update) | Update to the newest bridge. Running in the background? It is updated and restarted there. Otherwise it runs here on the newest version. No new code needed |
| npx qik-bridge logs | What the background bridge is doing: the last 50 lines, then new ones until Ctrl+C (--all for the whole file) |
| npx qik-bridge stop / start / restart | Stop it for now (it starts again when you sign in) / start / restart it (also service stop …) |
| npx qik-bridge uninstall | Remove the background bridge (logout removes it too) |
| npx qik-bridge status | Everything at a glance: the office it is paired with, running in the background / a terminal / stopped, version and updates (and a newer bridge on npm), the agents and whether the background bridge finds them, My computer folders |
| npx qik-bridge folders | The folders Qik would suggest for your rooms |
| npx qik-bridge add-folder <path> | Add a folder to the ones Qik can suggest |
| npx qik-bridge install-plugin | Add the Qik plugin to Claude Code (/qik:task, /qik:tasks: work a Qik task from your terminal) |
| npx qik-bridge logout | Disconnect this computer (remove it in Qik too). With several accounts: --account <email> for one, --all for all |
| npx qik-bridge --version | The bridge version |
Install it once with npm install -g qik-bridge to use qik-bridge … without npx.
More than one Qik account
Run connect again on a connected computer and it asks: keep it (Enter), add another Qik account, or
replace (--add / --replace / --keep answer in advance). The same background bridge then serves every
account, each over its own connection; status lists them. This is for one person with several Qik accounts —
the accounts share the computer's folders and agent sign-ins. Two people use two logins of the computer.
One bridge, every agent — and an alias for each
A computer needs only one bridge: one pairing, one connection to Qik and one folder map, and every
agent installed on it works through it. For convenience each agent also has an alias package that runs
the same bridge with that agent in focus (it checks that agent on connect and names it in messages):
| Alias | Same as |
|---|---|
| npx qik-claude connect | npx qik-bridge connect --agent claude_code |
| npx qik-codex connect | npx qik-bridge connect --agent codex |
| npx qik-gemini connect | npx qik-bridge connect --agent gemini |
| npx qik-opencode connect | npx qik-bridge connect --agent opencode |
The aliases live in aliases/ and depend on qik-bridge.
My computer
In a room, open the agent (prompt-bar agent chip, or room settings › Agent) › My computer › Choose a folder. From then on, the commands you send in that room can work in that folder; nobody else's do.
- Tools (
lib/computer/tools.js): list, search (ripgrep), read (pictures shown to the model), write, exact edit,apply_patch(the patch format OpenAI's coding models are trained on),run_command(your login shell, time limit, output cut in the middle), the run's changes, and room ↔ folder file copies. - Documents (
lib/computer/docs/): an address map (p12,t2.r3.c1,Sheet1!B7,s3.sh2, PDF fields), then surgical edits on the file's own XML — formatting, styles, charts and comments stay; Word edits are tracked changes by default; Excel is recalculated and new formula errors are reported; decks are extended with the deck's own slides.doc_previewdraws pages (Quick Look on a Mac; every page with the free document pack:npx qik-office doc-pack= LibreOffice + Poppler),doc_checkchecks the file reopens cleanly. - Your originals stay safe (
lib/computer/workspace.js): a code project is worked on in a safe copy (a hidden git worktree with your uncommitted changes, or a folder copy) until you press Apply, Keep as branch or Discard; a changed document becomes "Name - v1.docx" beside it (several: aQik edits/<date> …folder); "Edit my files directly" (per folder, off by default) edits in place with Undo. - Rules live on this computer (
lib/computer/policy.js,~/.qik/bridge.json›computer): the folder's mode (Ask first · Edits · Auto), direct edits, and "always allowed" commands. They are changed only from your own app, never by the agent.sudo, disk wiping,curl … | sh, force-push and the like never run; internet, deploy, push, package installs and database commands always ask (also in Auto). - The jail (
lib/computer/jail.js): every path is resolved here and must stay inside the linked folder (symlinks too);.env, keys and credential files are never listed, read or written. npx qik-office statuslists your linked folders and their rules.
Privacy and security
- One outbound connection. The bridge opens no ports to the internet. It holds one socket to Qik, plus a local-only (127.0.0.1) endpoint for approval prompts.
- Your folders stay yours. Qik only ever sees a folder's name. Full paths, the pairing token
and the folder map live in
~/.qik/bridge.json(mode 600). - Scoped access to Qik. Each run gets a short-lived token that works only in that room and only for that run.
- Your Claude Code, your rules. Your Claude Code permission mode, settings and
CLAUDE.mdapply. Qik never changes the mode. When Claude Code asks permission, the question shows up as an approval card in the room. - Session files stay on your computer. Session titles and recent messages are read locally and shown only to you. Qik does not store your Claude transcripts.
- My computer stores no file content in Qik. File text goes to the AI model for the step that reads it; Qik keeps only a one-line summary per step ("Edited src/cart.js +3 −1"). Diffs are shown live from this computer.
How it works
- A room command starts Claude Code (
claude -p) in the room's folder. A reply resumes the same session (--resume). A new command starts a new session unless you pick one to continue. - Qik's room tools are given to Claude Code through
--mcp-config(mcp.qik.mt/connect/run). - One run per folder at a time, and at most 2 runs per computer. Commands sent while this computer is offline wait (up to a day) and start when it is back.
Agents
Claude Code is supported. Adapters for Codex CLI, Gemini CLI and OpenCode are included
(lib/agents/) and are shown as "Next" in Qik until each passes the same end-to-end test.
Development
npm install
npm test # adapters, arguments, titles, folder safety
node bin/qik-bridge.js connect --server local # against local Qik services--server prod|test|local (default prod). QIK_API_URL, QIK_AI_URL and QIK_SOCKET_URL override
single endpoints, and QIK_BRIDGE_HOME moves ~/.qik.
End to end against local services:
node test/e2e-app.js <app_token> <room_id> [allow|deny] (needs a paired bridge:
QIK_BRIDGE_TEST_PERMISSION_MODE=default node bin/qik-bridge.js connect --server local).
Plugin
plugin/ is a Claude Code marketplace (qik) holding the qik plugin: the Qik connector, /qik:task,
/qik:tasks and a skill. install-plugin runs claude plugin marketplace add and
claude plugin install qik@qik.
Releasing
Publish qik-bridge first, then each alias (they depend on it), all at the same version:
npm publish
for a in aliases/*; do (cd "$a" && npm publish); doneLicense
Apache License 2.0 · © 2026 Qik Company. "Qik" and "Qik Office" are trademarks of Qik Company and are not covered by the license (see NOTICE).
