2026-11-26 15:47 UTC

Canary launches an independent verification layer for AI-written code

state: corroboratedheat: lowuncertainty: mediumrelevance: highagent-code-verification agent-evaluation coding-agent-workflowsCanaryY Combinator

What is this?

Canary is a YC-backed product that describes itself as an independent verification layer for AI-written code. Its CLI or pull-request workflow takes a code snapshot plus intended behavior and team context, then coordinates agents and testing tools to investigate possible failures. For runtime checks, Canary says it boots the application in remote sandboxes, creates relevant conditions, and returns findings and evidence to the coding agent for fixes and reverification. The supplied evidence establishes the product’s claims and availability, not independent validation of its performance or adoption.

Why it matters

Canary turns a growing concern about AI-written code—whether passing tests actually demonstrates the intended behavior—into a distinct product category: an independent verification pass after generation. Its claimed workflow is notable because it combines code-change analysis with runtime tests in remote sandboxes, and can feed evidence back into the coding agent’s fix loop. If it works reliably and fits into existing agent and pull-request workflows, it could add a useful quality gate beyond asking the same agent to review its own work. But the supplied evidence documents the product’s claims, not independently measured reliability, customer outcomes, or broad adoption.

Current assessment

Canary, a YC-backed product, offers a CLI and pull-request workflow for checking AI-generated code. The company says it uses code changes, intended behavior, and team context to identify possible failures, run tests or other checks—including in remote sandboxes—and return findings to the coding agent for fixes and reverification. Its landing page advertises integrations and reports a QA-Bench v0 score of 83.1 versus 80.2 for GPT-5.4 and 78 for Claude Code; these are company-published figures, with no supplied independent replication or production evidence. Newer discussion includes an anecdotal user report of sandbox dry-runs for agent-written integrations and a separate claim that verification can replace review, but neither demonstrates Canary use, reliability, or broad adoption. Whether this approach becomes a useful quality gate depends on reproducible, relevant, low-noise findings, workflow fit, and the costs and limits of sandbox setup and fidelity. The case remains relevant, but its current engagement is modest and well below its peak.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 1537h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-23 14:00⭐ origin echo-reconstructedThe linked site is the primary artifact — a product landing page whose own words: "Canary is the independent tester for code your agents wri
Canaries, Inc. (founded 2026 by Aakash Mahalingam and Viswesh N G, San Francisco; YC-backed) on other (echo) · attributed from hn.story.49833435
—
09-24 16:51first on hacker news · published · +26.9hShow HN: Canary (YC) – Independent verification for AI code
Visweshyc
—
10-15 16:45first on r/ClaudeAI · published · +530.8hbuild CRM workflows for quote request using claude and verified the agent written integrations against FetchSandbox twins.. really cool before productinzing
Common_Dream9420
—
09-24 16:51amplified on hacker newshn.story.49833435
Visweshyc
peak 1 · 1 comments · 9% of case engagement
09-24 20:57amplified on hacker news 👑hn.story.49836632
Visweshyc
peak 8 · 0 comments · 33% of case engagement
09-26 13:31amplified on hacker newshn.story.49856381
danebalia
peak 2 · 2 comments · 16% of case engagement
09-27 03:17amplified on hacker newshn.story.49863042
RaysonTech
peak 3 · 1 comments · 16% of case engagement
10-15 16:45amplified on r/ClaudeAIreddit.post.1x6qrxb
Common_Dream9420
peak 2 · 7 comments · 21% of case engagement
11-03 13:00amplified on hacker newshn.story.50351476
jjrbea9032e
peak 1 · 0 comments · 4% of case engagement
09-24 20:21our radar first saw it · +30.4hdiscovery anchor: hn.story.49833435—
09-27 03:42reached heat=high · +85.7h · via ledger——

Evidence (7) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Canary (YC) – Independent verification for AI code
Retrieved article excerpt

Open article · Retrieved 2026-09-24T20:37:54.616789+00:00

Backed by Y Combinator

# ClaudeCodexCursorCopilotClaude writes your code.code.code.code.code.Canary tests it.

Canary is the independent tester for code your agents write. It runs your app, tries to break every change, and reports what would have reached production.

Copy the prompt One line for your agent.

Claude Code— pocketbaseClaude CodeCodex

Ready for review 1

Database-aware health endpoint

+46 -1 · apis/health.go

Database-aware health endpoint

Add a database-aware health endpoint: GET /api/health should ping the data and auxiliary databases and answer 503 when either cannot run SELECT 1.

apis/health.goUpdated

Done. GET /api/health runs SELECT 1 against the data and the auxiliary database before answering. If either probe fails, the endpoint logs the error and returns HTTP 503 with code 503 and message "API is unhealthy." Each probe is bounded by a 3 second timeout derived from the request context. The successful response, including the superuser-only fields, is unchanged.

∞ Agent Claude Code

apis/health.go

@@ -1,9 +1,12 @@

package apis

import (

+ "context"

"net/http"

"slices"

+ "time"

+ "github.com/pocketbase/dbx"

"github.com/pocketbase/pocketbase/core"

"github.com/pocketbase/pocketbase/tools/router"

)

@@ -14,7 +17,12 @@ func bindHealthApi(app core.App, rg \*router.RouterGroup[\*core.RequestEvent]) {

subGroup.GET("", healthCheck)

}

-// healthCheck returns a 200 OK response if the server is healthy.

+// healthCheckDBTimeout is the max time the health check waits for each database ping.

+const healthCheckDBTimeout = 3 \* time.Second

+

+// healthCheck returns a 200 OK response if the server is healthy

+// (aka. the HTTP server is up and the data and aux databases answer a trivial query),

+// otherwise a 503 Service Unavailable response.

func healthCheck(e \*core.RequestEvent) error {

resp := struct {

Message string `json:"message"`

@@ -25,6 +33,16 @@ func healthCheck(e \*core.RequestEvent) error {

Message: "API is healthy.",

}

+ if err := pingHealthDBs(e); err != nil {

+ e.App.Logger().Error("Health check database ping failed", "error", err)

+

+ resp.Code = http.StatusServiceUnavailable

+ resp.Message = "API is unhealthy."

+ resp.Data = map[string]any{}

+

+ return e.JSON(http.StatusServiceUnavailable, resp)

+ }

+

// @todo evaluate whether it is worth removing the extra info from the health endpoint

if e.HasSuperuserAuth() {

resp.Data = make(map[string]any, 3)

@@ -52,3 +70,30 @@ func healthCheck(e \*core.RequestEvent) error {

return e.JSON(http.StatusOK, resp)

}

+

+// pingHealthDBs runs a trivial query against the data and aux databases

+// and returns the first error it encounters.

+//

+// Each database gets its own healthCheckDBTimeout budget (derived from

+// the request context so that a client cancellation still stops the probe).

+func pingHealthDBs(e \*core.RequestEvent) error {

+ if err := pingHealthDB(e.Request.Context(), e.App.DB()); err != nil {

+ return err

+ }

+

+ if err := pingHealthDB(e.Request.Context(), e.App.AuxDB()); err != nil {

+ return err

+ }

+

+ return nil

+}

+

+// pingHealthDB runs SELECT 1 against the provided db within healthCheckDBTimeout.

+func pingHealthDB(parent context.Context, db dbx.Builder) error {

+ ctx, cancel := context.WithTimeout(parent, healthCheckDBTimeout)

+ defer cancel()

+

+ var result int

+

+ return db.NewQuery("SELECT 1").WithContext(ctx).Row(&result)

+}

0K+

bugs found before merge

0K+

engineer hours saved

0%+

fix rate

0%

rated P0 / P1

01 / Install

Get started in under 2 minutes.

Works with Claude Code, Cursor, Codex and any of your agents

01

Paste the prompt

02

Connect your stack

03

Catch failures

Paste this into your coding agent

`` Install the Canary CLI with `npm i -g @runcanary/cli`, then run `canary skills` and follow its instructions to onboard this repository. ``

Copy

02 / The problem

## The blast radius is the unknown unknown.The blast radius is the unknown unknown.

1. 01

   Your agents raise more PRs than your team can review. Review turned into a skim.
2. 02

   The tests pass. The same agent wrote them, and nobody on your team reads them. Nor should they.
3. 03

   The bug shows up as a Slack message from a customer, or a page that wakes your on-call at 2am.
4. Teams on Canary have seen bug reports on new code go down, and on-call pages with them.

03 / How it works

## Release the flock.Release the flock.

One loop. From your coding agent, and on every pull request.

Reviewers read the diff. Canary runs the app, tries to break the diff, and reports the blind spots you missed.

01Read

02Run

03Break

04Verify

01

Canary reads the diff and your codebase and maps every flow the change can reach.

▸ diff: apis/health.go · +46 −1

▸ reach: GET /api/health · backups page · superuser page · proxy header

▸ 5 tests queued

$

04 / Where it runs

## Runs where you write code.Runs where you write code.

Two triggers. One loop. Every run ends in a report.

01In your agent

02On every PR

03Fix loop

04Report

01

Before your agent calls a task done. Canary snapshots the uncommitted tree, boots it in a clean sandbox and tests it. No commit, no PR.

$ canary verify

▸ snapshot: working tree · 4 files · nothing committed

▸ sandbox: clean boot · pocketbase

▸ 5 tests queued … running

$

05 / Integrations

## Works where you work.Works where you work.

Canary reads the context you already have, and files every break back to your coding agent.

GitHub

Linear

Sentry

Datadog

Notion

Slack

CANARYtests

Claude Code

PR · CLI · MCP

06 / Examples

## Every failure arrives with proof.Every failure arrives with proof.

Four failures Canary caught on real customer pull requests.

01Wrong org's file02One click, two records03Fetches any URL04Delete wipes all

test replay · api/documentsREPLAY

test · api/documents

▸ auth as Org A · request a review image by storageId

▸ swap storageId → a document owned by Org B

✗ server resolves it · Org B's private file returned to Org A

· one customer can open another customer's file

$

Case file · api/documentsP0

staging · found autonomously in 6m 09s

▸

Test

swap storageId to another org's document

✗

Break

another org's private file opens for the caller

⌖

Root cause

image-URL resolver looks up by storageId with no org-ownership check

+

Suggested fix

− resolveImage(storageId)

+ resolveImage(storageId, { orgId: caller.orgId })

✓

Regression armed

cross-org.storageId reruns on every PR

07 / Research

## Field notes from the frontier.Field notes from the frontier.

We publish what we learn measuring AI against real, messy codebases.

[Benchmark15 min read · March 2026

### QA-Bench v0: measuring how AI models handle code verification

Given a real pull request on a production codebase, can a model find every affected user flow and catch what breaks? We put a purpose-built agent against the frontier models across 35 PRs on four production-scale repos.

Read the benchmark →

Overall accuracy · QA-Bench v0

Canary83.1

GPT-5.480.2

Claude Code78

Sonnet 4.673.2](https://www.runcanary.ai/blog/qa-bench-v0)

08 / Your move

## Find it before your users do.Find it before your users do.

Put the flock on your next pull request. It runs on every one after.

Copy the prompt One line for your agent.
Visweshyc11
🟧 echo.other ⭐The linked site is the primary artifact — a product landing page whose own words: "Canary is the independent tester for code your agents wriCanaries, Inc. (founded 2026 by Aakash Mahalingam and Viswesh N G, San Francisco; YC-backed)——
🟧 hnShow HN: Canary (YC) – Independent verification for AI codeVisweshyc80
🟧 hnShow HN: AI coding agents that prove their workdanebalia22
🟧 hnNom Army: Don't trust coding agents when they say they're doneRaysonTech31
🟠 redditbuild CRM workflows for quote request using claude and verified the agent written integrations against FetchSandbox twins.. really cool before productinzing
ClaudeAI
Common_Dream942027
🟧 hnOur software factory: agents write and ship code, verification replaces reviewjjrbea9032e10

Interpretation history

Decision trace