Guides
Build with agents. Stay in control.
Step-by-step guides for getting a project running, directing agents and checking their work before it ships.
Start here
- Start a first projectInstall an agent CLI, open a real repo and check one small result.
- Get the app runningFind the project's run command, its local URL and the first real error.
- Run several agentsGive each agent one outcome, its own checkout and a reviewer.
- Review a pull requestTrace the requested behavior through the diff, the running app and the checks.
- Decide whether to launchPut access, data, payments, recovery and ownership into one release call.
- Read token usageSeparate repeated context from cache reads and writes before you switch models.
All guides · 72
- Agent session vs terminal tab vs branch vs worktreeLearn what a tab, agent session, branch and worktree each isolate, set up a safe two-agent task, and check which checkout each agent is in.
- AI coding agent task brief template you can copyCopy a task brief for Claude Code, Codex or any coding CLI with context, acceptance checks, constraints and the handoff the agent reports back.
- AI-built app works locally but fails on Vercel PreviewFind where a working Canopy run and a broken Vercel Preview first differ: commit, build, environment variables, runtime request or backend target.
- AI-generated pull request review checklist and reviewer promptReview an AI-written PR step by step: intent, changed files, risky paths, tests, reviewer findings and the final diff, with a reviewer prompt.
- Can a noncoder build software with AI coding agents?Pick a small first project, run what the agent built, check its visible behavior, and know when a developer has to review the change.
- Can I launch my AI-built app? A founder's decision sheetDecide go or hold on an AI-built web app by checking running behavior, access, data, payments, recovery and the exact release version.
- Can two coding agents use the same development database?Find which database each agent worktree uses, choose shared or isolated state on purpose, and review competing migrations before you integrate.
- Coding agent changed the code but the browser shows the old appTrace a stale local preview through checkout, running server, port, hot reload, browser cache and data request before asking the agent to edit again.
- Coding agent hit a usage limit mid-task? Save the work firstIdentify which limit stopped your coding agent, save the checkout and partial work, then wait, continue or hand off without repeating work.
- Coding agent stuck or waiting for input? Check the live sessionTell a pending decision, running tool, dev server, finished turn and failed agent apart before you interrupt or restart a coding agent.
- Coding-agent session suddenly burning through usage? Diagnose itPause the session, tell context growth from repeated work or a stale estimate, then restart it with a smaller, verified scope.
- Debug an agent-built page with the browser console and networkCollect the failing action, console error, request status, server log and checkout before you ask an agent to fix a broken preview.
- Did your coding agent weaken a test to make CI pass?Review changed assertions, skips, mocks and test setup against the original behavior before you accept an agent's green CI check.
- Did your coding-agent skill load? A five-minute testCheck whether a coding-agent skill was discovered, invoked, and followed, using an explicit prompt, a natural-language prompt, and one negative control.
- Git worktrees for parallel coding agents: commands and cleanupGive each coding agent its own branch and directory with git worktree, check status, merge reviewed work and remove worktrees safely.
- How do I ask a coding agent for a demo I can inspect?Use a request and acceptance checklist that turns an agent's “done” into a running page, behavior you can test and a diff you can review.
- How do I find the command that runs an AI-built app?Find the folder, runtime, run script and local URL for an AI-built app, and read the first error before you ask an agent to fix setup.
- How do I keep a coding agent in the right app in a monorepo?Identify the owning package, shared dependencies, checkout and run command before an agent edits one feature in a multi-app repository.
- How do I resolve a merge conflict between two coding agents?Find the conflicting branches, compare what each agent intended, make one integration decision, and test the combined behavior before review.
- How do I run a Trigger.dev worker beside my app in Canopy?Set up Trigger.dev once, save its dev command next to your website and API in Canopy, run a dashboard test and debug the right process.
- How do I run Supabase locally with my AI-built app?Start the local Supabase stack, point your app at its URL and keys, and prove a test record lands locally instead of in production.
- How do I stop a coding agent rebuilding an existing feature?Have the agent find the existing implementation and its callers before editing, then review the smallest change against the running app.
- How do I test an AI-built page with keyboard and screen reader?Check an agent-built form and dialog with keyboard, accessible-name, error and screen-reader tests before you accept the pull request.
- How do I test an AI-built UI before merging it?Check the running page across viewports, interaction states, console and network errors, keyboard use and the latest PR diff before merge.
- How many coding agents should you run at once?Size parallel agent work by how many tasks are truly independent, how much you can review, and your worktrees, machine resources and usage.
- How to evaluate an AI coding workspace on a real projectRun a repeatable trial of any AI coding workspace that follows one real change from setup through running app, review, resume and accepted result.
- How to give a coding agent useful visual feedbackTurn a vague 'this looks wrong' into a page, viewport, element, expected behavior and screenshot that a coding agent can act on.
- How to hand an AI-built app to a developer for reviewHand a developer an AI-built app they can run and judge: the exact change, run steps, what you tested, what you didn't, and the decisions you need.
- How to inspect an open-source AI IDE before installing itCheck a Canopy installer before you trust it: match it to a release tag, verify its SHA-256 digest, read the licenses and test what goes online.
- How to reduce coding-agent token usage without losing the resultCut coding-agent token use by scoping tasks, resetting context, picking models per job and comparing accepted work, not raw token counts.
- How to review an AI-generated access-control PRUse a permission matrix and cross-user tests to review an agent-written authentication or authorization change before you merge it.
- How to review an AI-generated pull requestReview agent-written code step by step: inspect the diff and running app, vet a second agent's findings, address comments, fix CI, and decide to merge.
- How to run multiple coding agents without losing trackSplit one task between two coding agents with clear ownership, separate worktrees and ports, attention checks, and a single final review decision.
- How to set a practical budget for parallel coding agentsDecide how many coding agents to run, give each an outcome and stop point, and track plan usage, estimates, review load and accepted work.
- How to set up Canopy and run your first AI coding agentInstall an agent CLI, open a project in Canopy, run the app, and review your first change, with a downloadable practice project to start from.
- How to stop an endless AI code review loopWhen every review pass finds a new issue, triage findings against fixed acceptance checks, verify the latest commit and decide what blocks the PR.
- How to test a Trigger.dev email task without emailing real usersSend one local signup through the Development worker to a test email address, so an agent can run a side-effecting task without reaching customers.
- Is my local AI-built app using the production database?Trace the browser, API, worker and database targets of your locally running app before an agent tests writes or migrations against it.
- Keep building a Bolt app with local coding agents in CanopyConnect Bolt to GitHub, isolate an agent change, check the backend and run commands, merge in GitHub, and confirm Bolt and the live site update.
- Keep coding-agent context useful between sessionsWrite a session handoff that keeps the task, decisions, branch and evidence, so the next agent can pick up without a whole chat transcript.
- MCP server configured but unavailable to your coding agent?Find why an MCP server isn't reaching your coding agent by checking scope, connection, login and tool use, with a read-only docs server as a test.
- Measure AI coding cost per accepted changeUse a repeatable worksheet to compare model choices by accepted work, review time, retries, token categories and provider charges.
- My coding agent committed an API key. What now?Respond to an agent-committed secret: stop the spread, revoke the key, restore services, check for misuse, then decide whether to rewrite Git history.
- My coding agent edited the wrong branch or worktree. What now?Find the checkout your agent really edited, keep every change, move the intended work safely and confirm the right branch before restarting.
- Research a codebase question without changing codeChoose between a quick answer, a source-backed investigation or a code task, then keep the findings ready for the next decision.
- Review a coding-agent skill before your team shares itInspect a borrowed SKILL.md, its scripts, tool access, and trial behavior before you make the workflow available to every agent on your team.
- Review an AI-built Stripe Checkout before taking paymentsTest an AI-built Stripe Checkout in test mode: signed webhooks, declined and delayed payments, duplicate events and one correct fulfillment.
- Review an AI-generated Supabase migration before deploymentCheck the target project, schema diff, existing data, RLS, staging result and restore option before an agent-written migration reaches production.
- Run a website, API, and background worker in one workspaceSave each local process as a project command once, then start, check, and restart your website, API, and worker from one Canopy workspace.
- Run OpenCode with a local Ollama model in CanopySet up OpenCode with a local Ollama model, handle V1 and V2 config differences, check context and tool use, then test an offline task in Canopy.
- Share agent work with a team without sharing model accountsLearn what you can share in Canopy (project context, Team sessions, CLI profiles) and what stays with each person: model access and billing.
- Share project instructions across Claude Code and CodexPut durable project facts, CLI-specific instructions, reusable skills and MCP connections where Claude Code and Codex can each use them.
- Switch from Claude Code to Codex without losing the taskHand a task from Claude Code to Codex or another CLI by carrying over the goal, branch, evidence and next step instead of hours of chat.
- The coding agent says done, but the app is still brokenRecover when an agent claims a fix that doesn't work: reproduce the failure, check services and logs, send evidence and check the new diff.
- Trigger.dev runs stuck in dev? Check for a second agent workerTrace a queued local task across the app, Trigger.dev project, dashboard and worker processes when two agent worktrees are open at once.
- Turn a Figma design into a running page with a coding agentHand a coding agent one Figma frame with its states, assets and components, then run the page in Canopy and review its behavior and the final diff.
- v0 not showing your local agent's GitHub changes? Check the branchesTrace a local agent's change through GitHub, v0's base and working branches, Pull Changes, previews and production to find where it stopped.
- Vercel 'Git author must be a team member': what to checkFix a Vercel PR preview blocked before its build by checking the commit author, their linked Git account, the project's team and the access request.
- What to do when an AI agent opens a 40-file pull requestInventory an oversized agent diff, separate independent work from dependencies, and rebuild reviewable PRs without losing the original change.
- Which coding-agent CLIs work in Canopy, and what differs?See how seven coding CLIs differ in Canopy on launch, resume, session signals, shared context and file attribution, then test the one you use.
- Which coding-agent session introduced this regression?Trace a reproducible bug through the running build, Git history, pull request and agent session, then assign a bounded fix to the right agent.
- Why a new agent worktree can't build: env files and dependenciesDiagnose missing .env files, local packages, Python environments, ports and shared services before you blame the coding agent.
- Why did Claude Code forget my task after compaction?Recover a Claude Code task after /compact: check the branch, diff, tests and lost instructions, then give the agent one verified next step.
- Why did my coding agent change the lockfile for a small fix?Trace an unexpected package-lock or pnpm-lock diff to the command and dependency decision behind it, then review and reproduce the PR safely.
- Why did my Trigger.dev task send two emails?Trace a duplicate email through Trigger.dev run IDs, retry attempts, app triggers and provider sends before you replay a run or change idempotency.
- Why do my agent tests pass locally but fail in GitHub Actions?Compare the PR commit, first failing CI step, runner, install, environment and test command before you change code or rerun a GitHub Actions job.
- Why does my AI-built app lose data when I refresh?Find out whether Save writes to UI state, browser storage or a real backend, then test the kind of persistence your product promises.
- Why does my coding agent keep asking for permission?Find out why a coding agent keeps asking for approval by checking the action, CLI rules, working directory and session before you change permissions.
- Why does my coding agent show so many sent tokens?Understand large sent-token totals: growing context, cache reads and writes, output tokens, and what to check before you switch models.
- Why won’t my dev server start in Canopy?Trace a failed website, API or worker launch through its checkout, command, first error, port and dependencies, then hand the agent a clear fix.
- Why won’t my phone open my local dev site?Open your local dev site on a phone with the computer's LAN address, then fix the bind host, port, API calls and HTTPS-only browser features.
- Work on a Lovable app locally in Canopy without losing Git syncUse local coding agents on a GitHub-connected Lovable project with a safe branch, environment, preview and publishing checklist that keeps sync intact.