Topics103 articles
Coding agents
Start, direct and review coding agents inside a real project.
An agent can write code, but a product change also needs a running app, a diff you can review and a decision to ship. These articles follow the whole loop: open a project, ask for one bounded change, check the result, and keep the context for next time. Canopy runs each CLI in its own terminal. Your provider account stays with the CLI.
Articles · 103
- GuideAgent 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.
- GuideAI 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.
- GuideAI-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.
- GuideAI-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.
- GuideCan 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.
- GuideCoding 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.
- GuideCoding 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.
- GuideCoding 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.
- GuideCoding-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.
- GuideDebug 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.
- GuideDid 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.
- GuideDid 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.
- GuideGit 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideHow 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.
- GuideIs 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.
- GuideKeep 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.
- GuideKeep 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.
- GuideMCP 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.
- GuideMeasure AI coding cost per accepted changeUse a repeatable worksheet to compare model choices by accepted work, review time, retries, token categories and provider charges.
- GuideMy 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.
- GuideMy 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.
- GuideResearch 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.
- GuideReview 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.
- GuideRun 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.
- GuideRun 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.
- GuideShare 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.
- GuideShare 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.
- GuideSwitch 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.
- GuideThe 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.
- GuideTrigger.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.
- GuideTurn 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.
- Guidev0 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.
- GuideWhat 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.
- GuideWhich 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.
- GuideWhich 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.
- GuideWhy 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.
- GuideWhy 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.
- GuideWhy 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.
- GuideWhy 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.
- GuideWhy 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.
- GuideWhy 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.
- GuideWhy 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.
- GuideWhy 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.
- GuideWhy 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.
- GuideWhy 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.
- GuideWork 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.
- Use caseCan Canopy work offline with a local coding agent?Test which parts of Canopy work offline, files, Git, services, Preview, and search, and what a CLI needs to reach a local model instead of a hosted one.
- Use caseCan Claude Code and Codex agents talk to each other in Canopy?Tell Canopy's cross-CLI messages apart from Claude's native agent teams, pick teammate models, and test a two-session handoff before relying on it.
- Use caseCan I use voice with a coding agent in Canopy?Choose between Canopy dictation, a CLI's own voice input and a hands-free voice agent, then turn a spoken issue into a checked task.
- Use caseCanopy Remote, Claude Code, Copilot CLI, or SSH from your phone?Choose how to drive a coding agent from your phone by host state, CLI coverage, project evidence, access rules and what you can check on screen.
- Use caseCanopy vs Claude Code Desktop: which agent workspace fits?Compare Canopy and Claude Code Desktop on parallel sessions, worktrees, preview, PR review, remote work, CLIs, accounts and platforms.
- Use caseCanopy vs cmux: terminal control or project workspace?Compare Canopy and cmux on parallel CLI sessions, agent alerts, browser preview, PR review, remote access and platforms, then run one task in both.
- Use caseCanopy vs Conductor for parallel coding agentsCompare Canopy and Conductor across isolated workspaces, local and cloud execution, preview, PR review and team sharing, then test one task in both.
- Use caseCanopy vs Cursor for coding agents: which workflow fits?Compare Canopy and Cursor on how agents run, worktrees, review, local previews, remote work, accounts and pricing, then test both on one task.
- Use caseCanopy vs Devin Desktop (formerly Windsurf) for coding agentsCompare Canopy and Devin Desktop on multi-agent work, installed CLIs versus ACP, previews, review, cloud execution and account boundaries.
- Use caseCanopy vs GitHub Copilot CLI for coding agentsCompare Copilot CLI's sessions, models, worktrees, review, voice and remote control with Canopy's multi-CLI project workflow on one real task.
- Use caseCanopy vs OpenCode: agent or project workspace?Compare OpenCode's multi-provider agent, subagents, stats and sharing with Canopy's project workspace, and decide whether you need one or both.
- Use caseCanopy vs Replit Agent for building an appCompare Replit Agent and Canopy on first setup, parallel tasks, preview, GitHub, deployment, team access and usage so you can pick where your app lives.
- Use caseCanopy vs Superset for parallel coding agentsCompare Canopy and Superset on worktrees, persistent processes, app runs, browser preview, PR review, remote access and license terms.
- Use caseCanopy vs VS Code for coding-agent workCompare Canopy and VS Code on real CLI sessions, worktrees, PR review and local previews, and see which editor features you may still need.
- Use caseCanopy vs Warp for coding agents: what changes?Compare Canopy and Warp on third-party CLI agents, worktrees, code review, cloud agents, team sharing, local data and open-source licenses.
- Use caseCanopy vs Zed for coding agents: which workflow fits?Compare Zed Agent, ACP external agents, terminal threads, worktrees and live collaboration with Canopy's project workflow, then test one task in each.
- Use caseFind the old agent session, then resume the right projectRecover a past decision from search, check the branch and PR, restart local services, and resume only the session that still helps.
- Use caseFrom GitHub issue to agent draft PR: a reviewable handoffRead the whole ticket, give one agent a scoped branch, test the running change, and close the loop with evidence in the pull request.
- Use caseHow do I start my website, API, and worker with one click?Run a three-process demo: save its commands, watch a worker change the API count, check the preview, and verify an agent's edit.
- Use caseHow do I stop two agent worktrees from using the same port?Keep each branch's local preview on its own port, identify the process behind a URL, and compare the right running app with the right diff.
- Use caseResume a local coding agent from your phoneUse Canopy Remote to check a running project from your phone, reconnect after a drop and steer the right agent without sending a task twice.
- Use caseReview an agent-written PR, address comments, and fix CIReview an agent-written PR from intended behavior to final diff: vet draft findings, address comments, resolve conflicts, and fix CI.
- Use caseRun Claude Code and Codex side by side without losing the workRun Claude Code and Codex at once with separate worktrees, clear ownership, shared project context and one final review of the combined work.
- Use caseShare agent work with a team without sharing AI accountsRun a host, implementer and reviewer handoff in Canopy Team with chat, files and review requests while each person keeps their own AI account.
- Use caseTerminal, tmux, or Canopy for coding agents?Decide between a plain terminal, tmux and Canopy by the jobs you need: running a CLI, keeping sessions alive, isolating edits, reviewing work.
- Use caseTurn a screenshot or rough idea into a coding-agent taskCapture the evidence, investigate before editing, write a bounded acceptance check, and review the draft PR the agent hands back.
- Use caseWhat do file claims solve when coding agents share a repository?Use visible file claims to catch overlapping agent plans early, then check checkout isolation, actual edits, and the final integrated diff.
- Use caseWhat happens to a coding agent when you close Canopy?Learn what a closed tab, hidden project, hibernation, app exit and CLI resume each do to your agent before you leave a session overnight.
- Use caseWhat leaves your machine when you use Canopy?See which Canopy data stays local and what coding CLIs, GitHub, Team, Remote tunnels, cloud workspaces and dictation send elsewhere.
- Use caseWhich coding agent needs me? Triage several live sessionsStop replying in the wrong terminal: check project, checkout, branch, waiting question and next decision before you steer an agent.
- Use caseWho can control your coding agent through Canopy Remote?Learn how Remote's PIN, running-host requirement, tunnels and command limits work, and why steering a terminal from your phone still needs care.
- BlogA workspace for people who direct AI agentsDirect a coding agent as a founder: define one outcome, run the product, inspect the evidence, and hand risky technical decisions to a reviewer.
- BlogCanopy 0.3.4: test tab recovery, OpenCode usage, and RemoteTest three v0.3.4 changes in your installed build: closed-tab restore, OpenCode usage in Statistics, and Remote continuity on the same host.
- BlogUnderstanding AI coding agent usage and estimated costRead Canopy's CLI, model, session, plan-limit, and cost views without mistaking a token estimate or stale quota snapshot for a provider charge.
- BlogWhy an AI coding workspace still needs a real terminalSee what a real terminal (PTY) preserves for interactive coding CLIs, what Canopy adds around it, and a quick test for comparing agent workspaces.
- BlogWhy cheaper AI tokens can make a coding task more expensiveCompare coding models by cost per accepted change, counting retries, cache categories and review time, not just the price per input token.
- BlogYour AI coding cost dashboard is not your billTell apart the three ledgers behind a coding-agent dashboard, model consumption, plan capacity, and provider charges, and check each in the right place.