Skip to main content
AI-powered analysis finds misconfigurations, risky tool access, missing guardrails, and other issues. Automatically triages false positives so you see real problems, not noise.
Install our MCP server in Claude Code or your AI code assistant, then ask: “Help me set up Flint AI Scan” to get live guidance, troubleshoot issues, and work through these steps together. Learn how →

Scan your Python agent code

1

Verify requirements

Check that Flint AI CLI and OpenGrep are installed:
flintai --version
opengrep --version
# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/opengrep/opengrep/main/install.sh | bash

# Windows PowerShell
irm https://raw.githubusercontent.com/opengrep/opengrep/main/install.ps1 | iex
See OpenGrep installation for more options.
pip install flintai-cli
flintai init
Full installation guide →
2

Scan your agent

Point to your agent directory and launch the scan:
flintai scan /path/to/your_agent
Flint AI Scan only analyzes Python files with supported framework imports. See supported frameworks →
Results are saved to scan_<timestamp>.json. See Scan results for details on understanding findings and severity scores.
Integrate with CI/CD. Save scan results as build artifacts to prove validation before deployment. See CI/CD integration guide →

Clean scan

Clean scan output The scan detected an OpenAI Agents SDK agent, analyzed 1 Python file, and found no security issues. Tools ran in sequence: static analyzers (bandit, opengrep, detect-secrets, pip-audit) followed by AI reasoning to validate results.

Scan with findings

Scan with findings output The scan detected an OpenAI Agents SDK agent and found 2 security issues:
  • High severity (CVSS 9.0): Missing authentication on agent endpoint
  • Medium severity (CVSS 6.9): Unbounded agent execution loop
After static analysis, the AI reasoning layer identified these issues, and triage confirmed them as real findings.

Next steps

Issues found?

Understand severity scores and what needs fixing before deployment

How scanning works

Learn how AI reasoning finds real issues and filters noise

Eval agent behavior

Get a 0.0-1.0 reliability score for runtime behavior