ONCUE / GUIDE
Getting started
OnCue is a background coding agent you run yourself. Try it locally first: it needs no accounts and costs nothing.
Where the project stands
OnCue is open source under the Apache License 2.0. There is no hosted OnCue to sign up for. You deploy your own copy on your own accounts, and every bill, for compute and model usage, goes to accounts you control.
It is a work in progress and is actively getting new features. The roadmap lists what is planned.
Try it locally
This runs the whole application on your machine, with stand-ins for GitHub, the model provider, and the sandbox provider. It needs no accounts and no Clerk application. Sessions run the real bridge and a real OpenCode in a local process, as your own user with no sandbox around them, against a scripted stand-in model.
You need macOS or Linux, git, Node 24, corepack (it ships with Node), and OpenCode:
curl -fsSL https://opencode.ai/install | VERSION=1.18.30 bashThen clone the repository and start it:
git clone https://github.com/ry4nrodriguez/oncue.git oncue
cd oncue
corepack enable
pnpm install
pnpm devThe first run asks to apply the local database migrations; answer yes. Open the address it prints, http://localhost:5173/dev/sign-in. You land in a workspace with everything already connected. pnpm dev:fresh starts from an empty account instead, so you can walk the setup steps.
Deploy your own
A deployment needs a Cloudflare account, a Clerk application, a GitHub App, and a Modal account. On your machine you need git, Node 24 with corepack, uv, and openssl. Clone the repository, install, and run pnpm check. The order after that matters, because later steps need the Worker’s address.
- Cloudflare resources and
deployment.json. Create a D1 database and an R2 bucket, then name them inapps/web/deployment.json, which holds public values only. - Clerk. Create an application, add its publishable key, and fetch its public key with
pnpm clerk:jwt-key --write. No Clerk secret key is used. - Migrate and deploy the Worker. Apply the database migrations, then deploy. This gives you the Worker’s address.
- The Modal controller. Deploy the sandbox controller to Modal with a shared token and the Worker’s address.
- The GitHub App. Point its callback and webhook at the Worker. Grant contents and pull requests (read and write) and metadata (read-only), and nothing else.
- Worker secrets. The keyring that seals stored credentials, the controller’s address and token, and the GitHub App’s values. Back the keyring up.
- The allowlist. Add your Clerk user ID.
Nobody can sign in until the allowlist is set. Model keys are not part of the deployment: each person enters their own in the app. The sandbox image builds automatically in a person’s Modal workspace when they connect Modal, which can take several minutes the first time.
The commands in the guide are tested. The whole sequence has not yet been walked from start to finish on brand-new accounts.
Finish in the app
The app walks each person through three steps:
- Connect GitHub. Install the App on the repositories OnCue may work in.
- Add a model provider key. Anthropic or OpenAI. The key is checked against the provider before it is stored. Without one, sessions run a scripted stand-in model.
- Connect Modal. Paste a token’s ID and secret. The pair is tested before it is stored.
Then start a session on a small repository and ask for a small change. You should see the sandbox start, the agent work, a change card, and an offer to push and open a draft pull request.