Installation
OpenGrep not found
OpenGrep not found
Symptom: Warning message After installation, verify:See OpenGrep installation for manual installation or other options.
OpenGrep not found — skipping pattern scan when running flintai scanCause: OpenGrep is required for scan functionality but not installedFix: Install OpenGrep using the shell installer:- Linux / macOS
- Windows PowerShell
Which API key do I need?
Which API key do I need?
flintai scan uses an LLM to analyze your agent code. Run flintai init and provide an API key from one of these providers:- Google Gemini - Get your key from aistudio.google.com/apikey (free tier available)
- OpenAI - Get your key from platform.openai.com/api-keys
- Anthropic - Get your key from console.anthropic.com/settings/keys
Python version mismatch: Requires Python 3.13+
Python version mismatch: Requires Python 3.13+
Symptom: Error says “Requires Python 3.13+”Cause: You’re running an older Python version.Fix:
- Install Python 3.13+ from python.org
- Verify:
python3.13 --version - Reinstall Flint AI CLI:
pip install flintai-cli
Command not found after install
Command not found after install
Symptom:
flintai: command not found after installingCause: Install location not in your PATHFix:With pip:- Find where pip installed it:
pip show flintai-cli - Add that location to your PATH in
~/.bashrcor~/.zshrc: - Reload:
source ~/.bashrc(or restart terminal)
How do I view Flint AI CLI logs?
How do I view Flint AI CLI logs?
Flint AI CLI outputs logs to stderr during execution. To save logs to a file:For eval runs:Increase verbosity with environment variable:
Scan
Empty output: No agents found
Empty output: No agents found
Symptom: Scan completes but shows
agents_found: 0Cause: No framework imports detected in your Python filesFix:- Verify your agent code imports a supported framework
- Check you’re scanning the correct directory
- Make sure files have
.pyextension
Framework not detected
Framework not detected
Symptom: Files scanned but framework shows as “unknown”Cause: Import pattern not recognizedFix: Check your import matches the supported frameworks list exactly
Missing API key: AI reasoning disabled
Missing API key: AI reasoning disabled
Symptom: Scan runs but no AI reasoning or findingsCause: No GENERATOR_MODEL API key configuredFix: Run
flintai init to configure your API keyTimeout errors: ADK_LOOP_TIMEOUT_SECS exceeded
Timeout errors: ADK_LOOP_TIMEOUT_SECS exceeded
Symptom: Scan fails with timeout errorCause: Large codebase or long AI reasoning timeFix: Increase timeout in your environment:Or use a faster GENERATOR_MODEL like
gemini:gemini-3.1-flash-lite in ~/.flintai/.envWhy aren't my files being scanned?
Why aren't my files being scanned?
Flint AI CLI only analyzes Python files that import one of the supported frameworks. Files without these imports are skipped.Check that your agent code:
- Uses Python (not TypeScript/JavaScript)
- Imports at least one supported framework
- Has valid Python syntax
How long does a scan take?
How long does a scan take?
Scan time depends on:
- Codebase size: Number of Python files to analyze
- AI reasoning: GENERATOR_MODEL speed (Gemini Flash is fastest, GPT-4 slowest)
- Findings volume: More potential issues = more LLM calls
- Small agent (1-5 files): 30 seconds - 2 minutes
- Medium project (10-50 files): 2-10 minutes
- Large codebase (100+ files): 10-30 minutes
gemini:gemini-3.1-flash-lite in ~/.flintai/.envCan I use Flint AI CLI in CI/CD?
Can I use Flint AI CLI in CI/CD?
Yes! See our CI/CD integration guide for GitHub Actions, GitLab CI, and CircleCI examples.
Eval
Missing config.json
Missing config.json
Symptom: “Config file not found”Cause: No config file at See Configuration for all options.
~/.flintai/config.jsonFix: Create a minimal config file at ~/.flintai/config.json:Invalid model type
Invalid model type
Symptom: “Unsupported model type”Cause: Model type not in supported listFix: Use one of these supported model types:
adk- Google ADK agentsopenai_agent- OpenAI Agents SDKlangchain- LangChain agentscrewai- CrewAI agents
config.json and update the type field.Connection refused: Agent not running
Connection refused: Agent not running
Symptom: Cannot connect to agent HTTP endpointCause: Agent not running or wrong URLFix:
- Start your agent server
- Verify it’s accessible:
curl http://localhost:8000/health(or your agent’s endpoint) - Check the
hostfield in your eval config matches your agent’s URL - Ensure there’s no firewall blocking the connection
Empty results: No evaluations attached
Empty results: No evaluations attached
Symptom: Eval runs but produces no resultsCause: No model-evaluation assignmentsFix: Attach evaluations to your model:List available evaluations with
flintai eval evaluations list to see what you can attach.Can I add custom evaluations?
Can I add custom evaluations?
Yes! Create custom evaluations in your Then attach to your model with
config.json:Message collection approach:flintai eval model-evaluations attach.See Configuration for more examples.Still stuck? Contact us at info@flintai.dev