ONCUE / GUIDE
Connections
Each person brings a GitHub installation, a model key, and a Modal token. Whoever deploys OnCue brings Cloudflare, Clerk, and the GitHub App.
GitHub
OnCue reaches repositories through a GitHub App that you install on the ones it may work in. The App reads and writes contents and pull requests and reads metadata, and nothing else.
Each session’s work goes to one branch, pushed with a short-lived token narrowed to one repository. The App is not granted the Workflows permission, so GitHub refuses a push that touches .github/workflows. That limit is intended.
Model keys
Add your own Anthropic or OpenAI key in the app. It is checked against the provider before it is stored, sealed in the control plane, and never enters a sandbox: model traffic goes through a broker.
The models you can choose are a fixed list, and a session’s model is fixed when its first run starts. OnCue is open source, so you can add another model or provider to that list yourself.
Modal
Connect a Modal token pair in the app. The pair is tested before it is stored, and the sandbox image then builds in your Modal workspace, which can take several minutes the first time.
Sandboxes run in, and bill to, the Modal account you connect. An idle sandbox checkpoints its work to the session’s branch and stops after about 20 minutes. Your next message resumes it.
Coding agents
The coding agent is the program that does the work inside the sandbox: it reads the repository, edits files, and runs commands. It sits behind an adapter, so the rest of OnCue works the same whichever agent is running.
OpenCode is the only agent available today, with Anthropic and OpenAI models. Codex, Claude Code, and Pi will be added soon. OnCue is open source, so you are welcome to add an agent yourself; the roadmap has what is planned.
What the operator runs
Cloudflare runs the Worker, its Durable Objects, a D1 database, and an R2 bucket. The free plan is enough for one person. Move to Workers Paid before letting anyone else in, because a daily limit on the free plan blocks the whole account until the next day. R2 has to be enabled, which asks for a payment method.
Clerk handles sign-in, and a development application is free. An allowlist the operator manages decides who gets in.
Modal also runs the sandbox controller, which keeps one small container warm for a few dollars a month. Modal has a generous free tier, and its monthly credits more than cover that.