Skip to content
CanyonDocsDocs for Canyon v0.11.1

Canyon documentation

Your coding agents ship apps. Canyon reviews every deploy.

Canyon sits between your coding agents and the apps they ship. An agent deploys with the canyon CLI on a laptop, or by your Canyon’s address from the cloud. Canyon reviews the code against your org’s rules, builds and runs only what passes, and puts every app behind your company’s sign-in. It runs on one Docker host or on your Kubernetes cluster.

I build apps with a coding agent

Your company runs Canyon: sign in and deploy through it. New to Canyon? Try it on your laptop first.

I install and run Canyon

Pick where it runs, then follow that guide: the Helm chart, one Docker server, one k3s host, or your Kubernetes cluster.

I administer my org's Canyon

First boot and sign-in, who can do what, and the rules every app must pass.

My platform runs the apps

Canyon reviews and builds each release, and your own pipeline runs it.

Coding agents: start at /llms.txt. Every page is also available as Markdown: add .md to its address.

  1. Your coding agentRuns canyon deployThe CLI uploads the folder it's in, unpushed changes included.
  2. CanyonReviews it before anything is builtThe scanners, the AI review and your org's rules. Each finding names a file, a line and a fix.
    1. If a finding blocks

      1. CanyonNothing is builtThe agent reads the findings like a compiler's errors.
      2. Your coding agentFixes the codeOr an admin or a security responder approves the finding, with a reason.

      The agent deploys again, back to step 2.

    2. If nothing blocks

      1. PassedBuilt and live in previewAt its own address.
      2. A personPromotes itOnce the go-live checks pass. An agent can ask for it, signed in as its person.
      3. CanyonRuns it in productionThe same image preview built, with production's own secrets.
A deploy's journey: blocked until it's fixed, then live in preview, then a person's call

Here is an excerpt of what the review prints when it blocks, from a real run against the demo: an app whose search builds its SQL from the request. ⋯ marks lines left out between the parts shown:

✗ Review blocked · 1 blocking finding
· AI review off (no AI model set up on this Canyon)
✓ checkov clean
✓ eslint clean
✓ gitleaks clean
✗ opengrep 1 blocking finding
✓ trivy clean
⋯
critical Improper neutralization of special elements used in an SQL command ('SQL Injection')
server.js:20:27
20 │ const rows = db.prepare("SELECT * FROM claims WHERE policy_number = '" + req.query.policy + "'").all();
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
⋯
fix Pass the user's input to the query as a bound parameter instead of
building the SQL text from it.
why Policy "No hand-built SQL from user input"
⋯
Fix it, then check again without deploying:
canyon check

The agent treats it like a compiler error: it fixes the line and deploys again. A person decides what goes to production.

  • How Canyon works: a picture of every part, each part on Docker and on Kubernetes, and what it may reach.
  • Choices at a glance: where Canyon runs, how people sign in, outbound and patching, each with a diagram and when to pick it.