Assay
GitHub Action

Verify Every PR

Drop Assay into your CI/CD pipeline. Catches hallucinated bugs before they merge.

2 minutes to set upRuns on every PR
1

Quick Start

Create .github/workflows/assay.yml in your repository. That is it — Assay will verify every pull request automatically.

.github/workflows/assay.yml
name: Assay Verification
on: [pull_request]

jobs:
  verify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: gtsbahamas/hallucination-reversing-system/github-action@main
        with:
          assay_api_key: ${{ secrets.ASSAY_API_KEY }}
2

BYOK Mode (Bring Your Own Key)

Two modes. Use your Assay API key (recommended) or bring your own Anthropic key.

Assay API Key (recommended)

  • Managed verification pipeline
  • Dashboard with history
  • Free tier: 50 verifications/month

Anthropic Key (BYOK)

  • Use your own Anthropic credits
  • No Assay account required
  • No dashboard or history

To use BYOK mode, swap the key in your workflow:

BYOK step
      - uses: gtsbahamas/hallucination-reversing-system/github-action@main
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3

Configuration Options

InputDescriptionDefault
assay_api_keyYour Assay API key. Get one at Dashboard → API Keys
anthropic_api_keyAlternative: use your own Anthropic key instead
target_dirDirectory to verify.
fail_onWhen to fail the check: critical | high | anycritical

Full example with all options:

.github/workflows/assay.yml
name: Assay Verification
on: [pull_request]

jobs:
  verify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: gtsbahamas/hallucination-reversing-system/github-action@main
        with:
          assay_api_key: ${{ secrets.ASSAY_API_KEY }}
          target_dir: ./src
          fail_on: high
4

What It Reports

On every pull request, Assay posts a comment with the verification results and sets a check status based on your fail_on threshold.

assay-botcommented just now

Assay Verification Report

12
Claims
10
Passed
1
Failed
1
Partial
CLAIM-042security

SQL injection in user search endpoint

CLAIM-108edge-case

Empty cart checkout not handled

PR Comment

Claims extracted, pass/fail verdicts, and remediation suggestions posted directly on the pull request.

Check Status

The GitHub check passes or fails based on your fail_on threshold. Critical-only by default.

Remediation

Each failed claim includes a specific fix suggestion so your team knows exactly what to change.

5

Getting Your API Key

  1. 1Sign up at tryassay.ai
  2. 2Go to Dashboard → API Keys
  3. 3Copy your key
  4. 4
    Add to your GitHub repo:

    Settings → Secrets and variables → Actions → New repository secret

    Name: ASSAY_API_KEY — Value: your key

Free for open source repositories. 50 verifications/month on the free tier.

Prefer the CLI or your editor?

Assay also runs as a CLI tool and an MCP server for Claude Code, Cursor, and Windsurf.