Assay
GitHub Action

Verify Every PR

Drop Assay into CI/CD. Catches hallucinated bugs before they merge. 2 minutes to set up.

1

Quick Start

Create .github/workflows/assay.yml — Assay verifies every PR 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

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

Assay API Key

  • Managed pipeline + dashboard
  • Free: 50 verifications/month

Anthropic Key (BYOK)

  • Your own Anthropic credits
  • No Assay account needed
BYOK step
      - uses: gtsbahamas/hallucination-reversing-system/github-action@main
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3

Configuration

InputDescriptionDefault
assay_api_keyYour Assay API key
anthropic_api_keyAlternative: your own Anthropic key
target_dirDirectory to verify.
fail_oncritical | high | anycritical
.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

Posts a PR comment with 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 CommentClaims, verdicts, and fix suggestions posted on the PR.
Check StatusPass/fail based on your fail_on threshold. Critical-only by default.
RemediationEach failed claim includes a specific fix suggestion.
5

Getting Your API Key

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

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