The CLI powers Flightline's Readiness and Rulebook. Most teams interact with the results in the dashboard.
The command line for AI safety
For teams that want full control. The CLI powers everything, from local testing to CI/CD integration.
Up and running in 5 minutes
Install the CLI, point it at your codebase, and see what Flightline discovers. No configuration required to get started.
- 1Install with pip
- 2Discover AI operations in your code
- 3Generate test scenarios
- 4Run your first eval
# Install
pip install flightline
# Discover AI ops in your code
flightline discover
# Generate 100 test scenarios
flightline gen -n 100
# Run evaluation
flightline eval --scenarios scenarios.jsonCore Commands
Six commands that give you complete control over AI testing and evaluation.
discoverScan your codebase for AI operations
learnCreate profiles from example data
generateCreate synthetic test scenarios
fltraceCapture execution traces
evalRun evaluations against scenarios
checkShip gate for CI integration
Integrate with your pipeline
Add Flightline to GitHub Actions, GitLab CI, or any CI system. Block bad merges automatically.
name: Flightline Check
on: [pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Flightline
run: pip install flightline
- name: Run Check
run: flightline check
env:
FLIGHTLINE_API_KEY: ${{ secrets.FL_KEY }}flightline:
stage: test
image: python:3.11
script:
- pip install flightline
- flightline check
variables:
FLIGHTLINE_API_KEY: $FL_KEY
rules:
- if: $CI_MERGE_REQUEST_IDThe CLI feeds the assessment
Every command you run contributes to your Readiness score and populates your Rulebook. The CLI is the engine, but the insight lives in the platform.
Ready to get started?
Install the CLI and see what Flightline discovers in your codebase.
