Quickstart
Get started with CodePanel: connect a repository, add a key or credits, and either launch the desktop app or connect your coding agent.
On this page›
Get CodePanel running in a few minutes. You can use the Desktop app to run coding agents directly on your machine (and on Autopilot), connect your existing coding agent (Claude Code, Codex, Cursor, Copilot) to the PR review panel, or use both together.
1. Sign in and connect a repository
- Sign in at codepanel.ai with GitHub. Sign-in uses the CodePanel GitHub App so CodePanel only sees repositories you explicitly grant access to.
- On Choose repositories, select the repositories you want to connect and choose Connect. If a repository isn't listed, choose Add it on GitHub (you need admin access on the repository to install the webhook).
2. Pick a plan and model payment
Every PR review and agent run requires a CodePanel plan (starting at $25/month per account, with no per-seat fees).
Choose Subscribe under Settings → Billing, then pick how to pay for model tokens:
- Your own provider API keys (Settings → Provider keys): Anthropic, OpenAI, Google, DeepSeek, Groq, xAI, Moonshot, Mistral, OpenRouter, Cloudflare Workers AI, or any OpenAI-compatible endpoint. Keys are encrypted at rest and never leave the backend.
- Prepaid credits (Settings → Billing): Use CodePanel's platform keys at provider list prices with no markup. Every paid plan includes starter credits on your first invoice.
Saving your first key (or running your first review on credits) automatically creates a starter review panel of four specialist reviewers plus an orchestrator.
3. Choose how you run agents
Option A: Run coding agents in the Desktop app
- Download CodePanel for macOS, Linux, or Windows from codepanel.ai/download.
- Sign in with the same GitHub account, press Connect this machine in Settings → Runners & worktrees, and add your local git checkout.
- Press New thread (
⌘N/Ctrl+N), describe a task, and send it. The agent works in an isolated git worktree, runs your checks, opens a pull request, and enters the review panel loop automatically.
Full guide: Desktop app and Autopilot rules.
Option B: Connect your existing coding agent
Connect Claude Code, Codex, Cursor, Gemini CLI, or VS Code to CodePanel's hosted MCP server in one command:
claude plugin install codepanel --marketplace Code-Panel-AI/codepanel-tools
codex mcp add codepanel --url https://codepanel.ai/mcp && codex mcp login codepanel
code --add-mcp '{"name":"codepanel","type":"http","url":"https://codepanel.ai/mcp"}'
See Install in one command for Cursor, Gemini CLI, and skills, or Connect your agent for all supported clients.
4. Set your guardrails
- Budgets: Reviews on your own keys default to $25/month across your account and $5/PR. Agent runs default to $25/day. Adjust anytime under Settings → Budget (Budgets and limits).
- Round cap: Cap automatic review rounds per PR (3 is a good default for coding agents) on the repository's Settings tab (Triggering reviews).
- Merge gate: Make the
CodePanelcommit status a required check in GitHub branch protection so PRs cannot merge while blocking findings are unanswered (Merge gate).
5. First review
Pull requests are reviewed automatically when opened, reopened, marked ready for review, and 60 seconds after each push. You can also comment /review on any PR or start a review from the dashboard. A round posts one comment edited in place on each push (the review comment).
Or let your coding agent set up the repository
Paste this prompt into Claude Code, Codex, Cursor, or any coding agent in your repository. It connects MCP, links the repo, writes .codepanel/rules.md, and opens a test PR to verify the review loop, pausing only for browser sign-in, billing, and API keys.
Set up CodePanel (https://codepanel.ai) for this repository from scratch.
Do every step you can yourself; when a step needs me in the browser, tell me
exactly where to go and wait. Each step starts with a check so this prompt is
safe to re-run. Never ask me to paste an API key or token into chat.
1. Connect to CodePanel's MCP server at https://codepanel.ai/mcp and install
the skills (https://codepanel.ai/docs/install.md).
- Claude Code: run
claude plugin install codepanel --marketplace Code-Panel-AI/codepanel-tools
Then ask me to restart, run /mcp, select plugin:codepanel:codepanel, and
Authenticate.
- Codex: run
codex mcp add codepanel --url https://codepanel.ai/mcp && codex mcp login codepanel
- Cursor / VS Code / other MCP clients: add https://codepanel.ai/mcp as a
Streamable HTTP MCP server and sign in via OAuth.
Unless using the Claude Code plugin, also run:
npx skills add Code-Panel-AI/codepanel-tools
Done when the CodePanel whoami tool succeeds.
2. Connect this repository. Read owner/name from `git remote get-url origin`.
If `list_repos` already includes it, continue; otherwise call `connect_repo`.
If CodePanel cannot see it, ask me to install the GitHub App on it at
https://codepanel.ai/onboard, then retry.
3. Check billing and keys. Call `whoami` (if `subscription.active` is false,
give me `subscription.nextAction` to subscribe in the browser). Call
`get_key_status`; if no key is active and I have no credits, ask me to add
a provider key at https://codepanel.ai/settings?tab=keys or top up credits.
Call `get_panel` to confirm the review panel is ready.
4. Confirm guardrails in one message: ask if I want to cap automatic rounds
(recommend 3 via `update_repo_settings` with `maxAutoRounds`) and enable
the `CodePanel` required check in branch protection (see
https://codepanel.ai/docs/merge-gate.md).
5. On a new branch, run the repository setup from
https://codepanel.ai/docs/agent-setup.md to add `.codepanel/rules.md` and
review-loop instructions in `AGENTS.md` or `CLAUDE.md`, plus the team MCP
config (URL only, never a token).
6. Open a pull request with those files, wait for CodePanel's review with
`wait_for_review` (passing `headSha`), inspect findings with `get_review`,
fix or rebut each finding, rate every finding with `rate_finding`, and stop
when `nextAction` is `done` or `stop`.
7. Summarize what you configured, anything waiting on me, and the PR link.