flintai init
Setup wizard that configures Flint AI for first use. Creates the~/.flintai directory with a .env file (LLM provider, API key, runtime settings) and a config.json skeleton.
Runs automatically on first use in non-CI environments. You can re-run it at any time to reconfigure.
- LLM provider —
gemini,openai,anthropic, orlitellm - Model name — Specific model to use (provider-specific defaults apply)
- API key — API key for the selected provider
flintai scan
Theflintai scan command needs OpenGrep installed and an LLM provider installed. See Init for a guided setup, or Environment Variables for manual steps.
| Flag | Default | Description |
|---|---|---|
path | (required) | Path to a file or folder to scan |
--output, -o | scan_<timestamp>.json | Output file for results |
flintai eval
Before you can runflintai eval commands, you need a valid configuration file. flintai init creates this file by default in ~/.flintai/config.json, you can override its location via --config <path>. See the Configuration section for adding models, evaluations etc.
Show models
Shows information about the configured models.Show evaluations
Shows information about the configured evaluations (built-in and custom).Model-evaluation assignments
Shows information about the assignments of evaluations to models.Attach evaluations to models
Creates model-evaluation assignments. Accepts models and evaluations by ID (repeatable) or by tag. Creates the cross-product of all matched models and evaluations.Detach evaluations from models
Removes model-evaluation assignments. Same flexible selection as attach. At least one of--model/--model-tag or --eval/--eval-tag is required.
Run evaluations
Runs evaluations as configured. Supports a series of parameters to filter which evaluations and models should be run.| Flag | Default | Description |
|---|---|---|
--config | ~/.flintai/config.json | Path to the JSON config file |
--output, -o | eval_<timestamp>.json | Output file for results |
--concurrency, -c | 20 | Max concurrent evaluation tasks |
--model-tag | — | Filter by model tag (repeatable) |
--eval-tag | — | Filter by evaluation tag (repeatable) |
Global options
| Flag | Default | Description |
|---|---|---|
--log | flintai_<timestamp>.log | Log file path |