Developer & API overview

Build Foo Guard into your workflows with the REST API, CLI, and CI/CD integration.

Foo Guard exposes a deterministic analysis engine through a REST API and CLI. Both paths return the same safe AnalysisResult payload as the web analyzer.

Foo Guard is also a CI enforcement tool: the CLI exits 1 when security policy fails, and Team workspaces publish Foo Guard Security GitHub Checks on pull requests.

Choose your integration path

  • CLI — local scans and CI enforcement in any pipeline (exit code 0/1/2)
  • GitHub Action — fail GitHub Actions workflows on policy violations
  • REST API — programmatic analysis from applications and services
  • Team GitHub App — native GitHub Checks on PRs and pushes (see GitHub Integration docs)

Quick links

Plan requirements

| Capability | Plan |

|------------|------|

| CLI, GitHub Action, API | **Pro** (personal API key `agt_live_...`) |

| Team service keys | **Team** (organization service key `agt_team_...`) |

| Native GitHub Checks | **Team** GitHub App |

Free and Individual plans do not include CLI, API, or CI access.

Related pages