🚀 Beta: All Pro and Team features are free. Install on GitHub →

Compliance Certification for AI Agents

CodeRifts Compliant

Prove your API is safe for AI agents. The CodeRifts Compliant badge certifies that your API has had zero breaking changes in the last 30 days — making it safe for autonomous agent consumption.

CodeRifts AGENT-SAFE

Compliance Grades

Your badge grade is determined by your API's breaking change history over the last 30 days.

CodeRifts AGENT-SAFE

AGENT-SAFE

Zero BLOCK decisions in the last 30 days. Your API is safe for autonomous AI agent consumption. Agents can trust your endpoints.

CodeRifts WARN

WARN

One or more WARN decisions but no BLOCKs. Your API has minor changes that agents should be aware of. Proceed with caution.

CodeRifts BREAKING

BREAKING

One or more BLOCK decisions detected. Your API has breaking changes that could cause agent failures. Agents should avoid these endpoints.

How to Get the Badge

Add the CodeRifts Compliant badge to your README in three simple steps.

1. Install CodeRifts on your repository

Install the CodeRifts GitHub App on your repository. It will automatically analyze API changes in your pull requests.

Install on GitHub

2. Add the badge to your README

Copy the Markdown snippet below and add it to your README.md. Replace owner/repo with your GitHub repository.

[![CodeRifts Compliant](https://app.coderifts.com/api/v1/badge/compliant?repo=owner/repo)](https://coderifts.com/compliant/)

3. Verify your compliance status

Check your repo's compliance status programmatically with the verification API:

curl https://app.coderifts.com/api/v1/verify/compliant?repo=owner/repo

API Reference

Two public endpoints power the compliance system. No authentication required.

GET /api/v1/badge/compliant?repo={owner/repo}

Returns an SVG badge image. Use this in your README or documentation.

Content-Type: image/svg+xml
GET /api/v1/verify/compliant?repo={owner/repo}

Returns a JSON object with full compliance details following the Decision Spec v1.0 format.

{
  "repo": "owner/repo",
  "compliant": true,
  "grade": "AGENT-SAFE",
  "last_checked": "2026-03-19T...",
  "checks_last_30_days": 12,
  "block_decisions": 0,
  "warn_decisions": 2,
  "badge_url": "https://app.coderifts.com/api/v1/badge/compliant?repo=owner/repo"
}

Why Compliance Matters for AI Agents

AI agents autonomously consume APIs. A breaking change can cascade through agent workflows, causing silent failures, hallucinations, and data corruption.

Trust Signal

The AGENT-SAFE badge tells AI agent developers that your API is stable and safe to integrate. It's a trust signal that reduces integration risk.

Automated Verification

Agents can programmatically verify compliance before making API calls. The verification endpoint returns machine-readable Decision Spec v1.0 responses.

Cascade Prevention

When an API is marked BREAKING, agent frameworks can automatically halt execution before the breaking change cascades through dependent workflows.

Continuous Monitoring

The badge updates automatically as CodeRifts analyzes your pull requests. No manual certification process — just keep shipping safe APIs.

Add the Agent-Safe badge to your repo

Show the world your API is safe for AI agents. Copy the embed code below and paste it into your README.

Markdown

[![Agent-Safe](https://app.coderifts.com/api/v1/badge/compliant?repo=OWNER/REPO)](https://coderifts.com/compliant/)

HTML

<a href="https://coderifts.com/compliant/">
  <img src="https://app.coderifts.com/api/v1/badge/compliant?repo=OWNER/REPO" alt="Agent-Safe">
</a>

Replace OWNER/REPO with your GitHub repository (e.g., acme/payments-api).

Get your AGENT-SAFE badge today

Install CodeRifts, merge a few PRs, and your compliance badge will automatically reflect your API's stability.