Skip to content
Foo GuardDocs
DOCUMENTATION

Developer & API overview

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

Page text and source link for your AI assistant. Nothing is sent automatically.

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)

Plan requirements

CapabilityPlan
CLI, GitHub Action, APIPro (personal API key agt_live_...)
Team service keysTeam (organization service key agt_team_...)
Native GitHub ChecksTeam GitHub App

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

Related pages

Build confidently. Keep your agents accountable.Get help ↗
Search Foo Guard Docs