Other agents
Any coding agent that can run commands can deploy with Canyon: it runs the same canyon CLI you
do. It needs Canyon’s instructions where it reads its own, and canyon installed and signed in where
it runs, as Try it on your laptop or
Deploy on your company’s Canyon shows.
None of these agents has a session hook Canyon uses, so nothing hands them your org’s rules when a session starts. Canyon’s instructions ask for them instead:
Before you build, run `canyon manifest` and follow what it prints, unless itsoutput is already in this session.The agent runs canyon manifest itself, and the Canyon you signed in to answers with your org’s
current rules.
Agents that read AGENTS.md
Section titled “Agents that read AGENTS.md”From the project’s root:
canyon skill install --harness agents-md Looking for coding agents in this environment…
✓ AGENTS.md ./AGENTS.md written
Your agent can now deploy. Try asking it: "deploy this app"It writes Canyon’s instructions between two marker lines in the project’s AGENTS.md, creating the
file if there is none. When the file already exists, they go at its end and everything else in it
stays as it was:
# Our project
Run the tests with make test.<!-- canyon:skill v:1 hash:44d567a26175 --># Canyon
Canyon deploys this app, but runs a review first. The review can block. When itblocks, it tells you exactly what to fix and how.and the block ends with <!-- /canyon:skill -->. Running the command again replaces only what is
between the markers, or reports the file unchanged. To undo it, run
canyon skill uninstall --harness agents-md: it removes the block, markers included, and the file too
if nothing else is in it. Commit AGENTS.md and everyone who works on the project gets the same
instructions.
GitHub Copilot
Section titled “GitHub Copilot”Copilot’s cloud agent, Copilot CLI and Copilot Chat in VS Code read AGENTS.md; the nearest one
to the files Copilot works on wins. Only a Copilot running where canyon is installed and signed in
can deploy: Copilot CLI, or Copilot in your editor, on your machine. Copilot’s cloud agent works in
its own environment on GitHub, which has neither unless you set it up there.
Aider reads AGENTS.md when you tell it to:
aider --read AGENTS.mdor once for the project, in .aider.conf.yml:
read: AGENTS.mdGemini CLI
Section titled “Gemini CLI”Gemini CLI reads GEMINI.md unless you name other files. Name AGENTS.md beside it in the
project’s .gemini/settings.json, or in ~/.gemini/settings.json for every project:
{ "context": { "fileName": ["AGENTS.md", "GEMINI.md"] }}Any other agent
Section titled “Any other agent”canyon skill --print --harness agents-md prints the same instructions, with nothing above them for
any one agent, and writes no file:
canyon skill --print --harness agents-md | head -7<!-- canyon:skill v:1 hash:44d567a26175 --># Canyon
Canyon deploys this app, but runs a review first. The review can block. When itblocks, it tells you exactly what to fix and how.
## DeployingPut them wherever your agent reads its instructions, for example
canyon skill --print --harness agents-md > CONVENTIONS.md. Run it again after you upgrade
canyon, so the agent reads the instructions this CLI ships.
The Codex page shows the same instructions at work in AGENTS.md:
a session from a blocked deploy to a fixed one.