Skip to content
KCG Code

Your agent asked. Answer from anywhere.

KCG Code is a mobile remote control for Claude Code and OpenCode. Follow the session on your laptop live and answer its permission prompts from your phone while you’re away from the desk.

bun i -g kcg-code
Answer the prompt
On your laptopFix deploy timeout~/sandbox/deploy-serviceClaude Code · SonnetDemo

Find out why the deploy job keeps timing out.

02:07:11 PM

Thought process

  1. read .github/workflows/deploy.yml
  2. grep timeout-minutes
  3. Done

The timeout starts after the cache restore step. Two checks remain; I’m tracing the failed typecheck now.

Run a shell command

The agent is asking for permissionbashReview carefully

bun run typecheck

Everything the session needs, in one hand.

It’s the same app you use at your desk, laid out for your phone and installable on its home screen. These are real screens, with demo projects.

  1. The KCG Code sidebar listing four projects and their sessions, three of them running.The KCG Code sidebar listing four projects and their sessions, three of them running.

    Every session, by project.

    The sidebar groups sessions by project folder, with a live dot on the ones still running and a quick search across all of them.

  2. A card from the agent with three questions, on question two: which statuses an invoice can have.A card from the agent with three questions, on question two: which statuses an invoice can have.

    Answer its questions.

    When the agent needs decisions, its questions arrive as one card you step through, with room for an answer of your own.

  3. The composer with an attached log image and an @src/db/dead-letter.ts file mention.The composer with an attached log image and an @src/db/dead-letter.ts file mention.

    Send real context.

    Mention files with @, attach a screenshot or a log, and set custom instructions for each project.

  4. Installing the neon-postgres skill, with its security audit expanded: five of five checks passed.Installing the neon-postgres skill, with its security audit expanded: five of five checks passed.

    Add skills, audit first.

    Search skills.sh and read the security audit before you install. Installs run in the background, and the agent picks up new skills on its own.

  5. The Agent and Model sheet with Claude Code selected and its model list.The Agent and Model sheet with Claude Code selected and its model list.

    Pick the agent and the model.

    Start a session with OpenCode or Claude Code, and choose the model it runs on.

  6. The KCG Code lock screen: a clock, a profile, and a PIN pad.The KCG Code lock screen: a clock, a profile, and a PIN pad.

    Locked when you’re not looking.

    A PIN or password guards the app, with auto-lock after inactivity, a list of signed-in devices, and brute-force protection.

Connect once, with a code.

Remote access is built into KCG Code. There’s no ngrok or Cloudflare Tunnel to set up, no DNS, and no certificates.

Remote access

  • Sign in to finish

    1. Scan the code with your phone camera, or open the sign-in page.
    2. Sign in with your Google account.
    3. Make sure the page shows the same code as below, then tap Approve.

    BCDF-GHJK

    Waiting for you to approve · 9:41 left

On your laptop. Open Settings → Remote access and click Connect. KCG Code shows a code, a link and a QR code.

Connect this device?

Make sure the code matches the one shown in KCG Code.

Device code

  • BCDF-GHJK

Request

  • KCG Code on dev-laptopDevice
  • https://you.code.kcgapp.techPublishes KCG Code at
In any browser. Open the link on your phone or another computer, sign in with Google, check that the code matches, and approve. The first time, you pick your name.

https://you.code.kcgapp.tech

That’s your KCG Code from anywhere. The hosted tunnel is free, the certificate is issued on the first visit, and the tunnel reconnects on its own after a restart.

Locked before it’s reachable.

Anyone who reaches KCG Code can run commands on your machine, so remote access starts from the strict side.

  1. Your phone

    you.code.kcgapp.tech

    Over HTTPS, from anywhere.

  2. Tunnel service

    Google sign-in happens here.

    Your machine never sees your Google credentials.

  3. Your machine

    Only the KCG Code port is exposed.

    Agent servers stay local.

    Its token and secret never reach the browser.

  4. The lock

    PIN or password required.

    Remove it and remote access turns off.

    argon2id hashes, rate-limited attempts, server-side auto-lock.

New devices need your approval.

A device connects only after you match its code and approve it. Never enter a code someone else sent you.

Access stops in one step.

Disconnect a device and its token stops working right away. Rotate the tunnel secret to drop a tunnel that’s still running.

Manage your devices

Install it where your agent runs.

You need Bun 1.1 or newer, and OpenCode or Claude Code on the same machine. Then set a lock in Settings → Security and turn on Settings → Remote access.

  1. bun i -g kcg-code

    Install KCG Code globally.

  2. kcgcode init

    Create ~/.kcgcode with its config, sandbox and data.

  3. kcgcode

    Start the server and the terminal dashboard.