Canny / Coding utilityCanny Agents
Guide

Docs

Everything Canny does, one feature at a time.

What Canny is

Canny is a local supervisor for Claude Code and Codex. It hooks into the agent, records every edit and command into a session ledger, and refuses to let the agent claim “done” until a passing check has run after the last code edit.

This site is a local-first companion to it. Nothing is uploaded: imported files stay in this browser on this device, and there are no accounts. The site shows no made-up data — every screen is empty until you import a ledger or connect your own companion.

Overview

Open /

The home page summarises the sessions you have loaded: how many are verified, how many claims were blocked, recent activity and the latest sessions. With nothing loaded it shows how to import or connect.

Importing ledgers

Use Import (top bar) to pick or drop native ledgers from ~/.canny/sessions/*.jsonl, or raw hook payload files (.json/.jsonl) for inspection. Files are parsed in the browser and stored in this device's local storage. Remove them any time from the session list.

Lists every loaded session with its agent (Claude Code or Codex), source, project folder and gate state: “check passed after last edit”, “no passing check since last edit”, or “no code edited”.

Open a session to see its full timeline of events and verdicts — allow, block, deny, ask, warn, note or rewrite — with the message Canny gave the agent.

Replay re-runs Canny's real decision logic (the same upstream code, pinned to v0.3.0) over a recorded ledger and compares each recomputed verdict with what was recorded. Use it to confirm a verdict was correct, or to see how a different configuration would have changed the outcome.

A playground that runs Canny's own checks in your browser. Paste a command, file path or file content and see whether Canny would allow it, ask first, or deny it — for example skipped or focused tests, secrets written into files, or risky shell commands.

Some native rules depend on your filesystem (such as whether git ignores an env file). The browser cannot prove those, so they are shown as unverified and never applied here.

Configuration

Open /config

Edit a .canny.json with live validation. You can see which fields take effect, which are ignored, and which weaken protection and therefore need the file to be trusted.

The trust switch only previews trust for this exact text; it never trusts a file on your machine. Export downloads the file for you to place in your project.

Local companion

Open /connect

The companion is a small Node script you run on your own computer. It serves your ledgers read-only to this page on 127.0.0.1 with a one-time token. The token is held in memory only and forgotten when you close the tab.

Source & attribution

Open /source

Shows exactly which upstream Canny files are vendored, the pinned commit, and what was adapted for the browser. Decision logic is kept byte-for-byte with upstream and checked by parity tests.

Canny Agents

Open /agents

A separate workspace for an automatic Meteora Dynamic Bonding Curve trader. It runs only in a local helper on your computer: your wallet key and RPC (for example a Helius URL in ~/canny-agent.json) never reach this site.

Every trade is simulated by the network before sending, and the exact simulated transaction is what gets submitted. Hard per-trade, daily and total SOL caps, an allowlist of tokens, a practice run before live trading, and pause, stop and kill switches are enforced in code. Trading uses real money and can lose it; no returns are guaranteed.

Control room & trades

Open /agent

The control room connects to your local helper, shows its status, network, limits and RPC hostname (never the key), and lets you start, pause, stop or kill it. The Trades page lists every attempt with practice result, live result, SOL balance change and explorer links.

Project launches

Open /launches

Pair something you built with Claude Code or Codex with a new Meteora DBC token. Enter the name, symbol, public project link and metadata URL, choose a curve config you have approved locally, and set a cost cap.

The helper builds, signs and simulates the launch locally and shows the real cost. On mainnet you must type the confirmation phrase before anything is sent. Afterwards you can explicitly add the token to the trader's allowlist. The pairing is your own statement; it does not prove authorship.