Oh My Pi

K-code runs Oh My Pi (omp) as its own provider, next to Codex and Claude. It keeps Oh My Pi’s models, extensions, skills, and native session history, and shows the usage limits of the accounts it is signed in to.

Set up

  1. Install Oh My Pi on the machine that runs the K-code server. See omp.sh.
  2. Open Settings → Providers. Oh My Pi is already there and on; there is nothing to enable.
  3. Choose Sign in and pick the model provider you pay for.

If omp is not on the server’s PATH, set Binary path in the Oh My Pi provider settings. The card shows the installed version and Update now when a newer one is available; it runs omp update on that machine.

Existing Oh My Pi providers you added from the ACP Registry move to this provider automatically. They keep their name, settings, and threads.

Sign in

Oh My Pi signs in to each model service separately, and it stays usable as soon as one of them is signed in. Settings → Providers → Oh My Pi → Sign in lists the common services first (Claude Pro/Max, ChatGPT Plus/Pro, GitHub Copilot, Google, OpenRouter, xAI, DeepSeek); search to find the rest. In a thread whose provider is not signed in, the notice above the composer opens the same list.

Choose a service and K-code takes you through what it needs. Sign in always starts the way that finishes on its own for where you are:

Services whose sign-in returns to an installed app (Z.AI’s zcode:// link, GitLab Duo Agent’s vscode:// link) also finish by pasting the address.

Use my local sign-ins

In the desktop app, when the environment is not this computer, Settings → Providers → Oh My Pi also offers Use my local sign-ins. It reads the sign-ins from this computer’s own Oh My Pi (omp auth export), lists the services that would be copied, and asks you to confirm. The warning is real: it copies your API keys and sign-in tokens, so anyone who can use that environment can use those accounts. Copy them only to a server you control.

On confirm the app sends them over the connection it already has to the environment (this needs the Manage providers permission), which runs omp auth import - for that Oh My Pi instance. K-code does not log or keep them, on either side, and they stay on this computer too. Status and models refresh when it is done. If Oh My Pi is not installed on this computer, the panel says so instead. The web and mobile apps do not offer this, since they cannot run Oh My Pi locally.

Oh My Pi can hold several accounts for the same service. Signed-in accounts lists each service with its accounts under it: Add account signs in another one, and Sign out beside an account removes only that account’s stored credential. With several accounts, In use marks the one Oh My Pi uses first, and Sign out all removes them all. If an environment variable still provides a key after signing out, the panel says so. Cancel stops a sign-in at any point. Models appear in the picker as soon as a sign-in finishes, grouped by the service that provides them.

The sign-in runs on the environment that hosts Oh My Pi, so it works from the web, desktop, and mobile apps.

What carries over

Approvals follow the thread’s permission mode, as for other ACP agents. Oh My Pi can write commit messages, titles, and other text for K-code; pick it in Settings → Providers. Forking from an earlier turn starts the fork from a summary of the thread, not from Oh My Pi’s own session.

Found a mistake?Edit this page on GitHub.