Free for all Claude Code users
Claude Code tool · Lab Bridge

Your Claude Code. Your Lab. Connected.

Stop alt-tabbing between terminal and browser. Run Claude Code inside Lab and see every file, every diff, every message in a rich interactive workspace.

Start setupSee How It Works
1K4 Lab · my-saas-app
Claude Code Bridge Connected
Claude Codebridge
File Activity
src/auth/session.tsdone
src/auth/middleware.tsdone
src/auth/oauth.tswriting...
Refactor the auth module to support OAuth2 with PKCE flow. Keep backward compat with existing sessions.
Claude Code
I'll start by creating the PKCE helpers in src/auth/pkce.ts, then update the session middleware. Let me read the existing session logic first.
Claude Code
Done with session.ts and middleware.ts. Now updating the OAuth provider to use the PKCE verifier.
Send a message to Claude Code...
src/auth/session.tsAcceptReject
import { verify } from "jsonwebtoken";
import { Session } from "./types";
- export function createSession(userId: string) {
+ export function createSession(userId: string, pkce?: PKCEChallenge) {
+ const verifier = pkce?.verifier;
const token = sign({ userId }, SECRET);
return { token, expiresAt: ... };
}
Filesmain
src
auth
session.tsM
middleware.tsM
oauth.tsM
pkce.tsA
utils
package.json
Visual workspace
Terminal is powerful but blind. Lab shows your files, documents, slides, and deployments as rich interactive previews.
Persistent sessions
Switch between the 1K4 agent and Claude Code in the same session. Same history, same files, no context lost.
Zero cost
The bridge is free. You use your own Claude Code subscription. Lab just gives you the UI and workspace tools on top.

One command. Done.

Connect Claude Code to Lab in seconds.

Paste it to your coding agent, or run it in your terminal.
Installs 1K4, or safely repairs an existing setup — fine to re-run.
$ curl -fsSL https://1k4.ai/install.sh | sh

No token to copy · Claude Code · Codex · Cursor

Already installed? Quick repair

No token needed for an existing install. Run it in your terminal (PowerShell or Command Prompt on Windows): it reuses the credential already on your machine and updates the bridge in place.

npx -y -p @1key4ai/cc-bridge@latest cc-bridge doctor --fix

After it finishes, fully restart Claude Code (quit and reopen, not just a new chat).

Start setup