> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flintai.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Flint AI CLI

> Ship AI agents with confidence

## Two ways to prove agent quality

|            | **Flint AI Scan**                 | **Flint AI Eval**              |
| ---------- | --------------------------------- | ------------------------------ |
| **What**   | Catch issues in Python agent code | Test agent behavior at runtime |
| **Proof**  | Clean scan or fix list            | 0.0-1.0 reliability score      |
| **Output** | Code and configuration findings   | Runtime evaluation results     |

**Run them separately or together for full coverage.**

* **AI-powered analysis.** Understand context, not patterns. Identify real problems, not just false alarms.
* **Behavioral testing.** [LLM-as-judge](/flintai/cli/eval/how-evaluation-works) scores agent reliability.
* **100% free.** First results in minutes.

## Try it now

Install Flint AI CLI and configure your LLM provider:

<Note>
  **Requirements:**

  * Python 3.13 or later
  * [OpenGrep](https://github.com/opengrep/opengrep#installation) (required for `flintai scan`)

  **Supported frameworks:** Google ADK, Google GenAI, Anthropic, OpenAI, OpenAI Agents SDK, LangGraph, CrewAI, AutoGen, HuggingFace Transformers, HuggingFace smolagents
</Note>

<Steps>
  <Step title="Install">
    Using a virtual environment is recommended to avoid dependency conflicts:

    ```bash theme={null}
    python3.13 -m venv .venv
    source .venv/bin/activate
    ```

    Install Flint AI CLI:

    ```bash theme={null}
    pip install flintai-cli
    ```
  </Step>

  <Step title="Configure your LLM provider">
    `flintai-cli` uses AI to analyze agent code and score reliability. Run the interactive setup:

    ```bash theme={null}
    flintai init
    ```

    You'll be prompted to select a provider (Gemini, OpenAI, Anthropic, or LiteLLM), choose a model, and enter your API key.

    `flintai init` runs automatically the first time you use Flint AI CLI in a non-CI environment. You can re-run it any time to reconfigure.

    <Accordion title="Where to get API keys">
      * **Google Gemini**: [aistudio.google.com/apikey](https://aistudio.google.com/apikey) (free tier available)
      * **OpenAI**: [platform.openai.com/api-keys](https://platform.openai.com/api-keys)
      * **Anthropic**: [console.anthropic.com/settings/keys](https://console.anthropic.com/settings/keys)
      * **LiteLLM**: Supports 100+ providers. See [docs.litellm.ai](https://docs.litellm.ai/docs/)
    </Accordion>

    Run into issues? [See install troubleshooting →](/flintai/cli/troubleshooting/common-issues#installation)
  </Step>
</Steps>

**What's next?** Choose your path:

<CardGroup cols={2}>
  <Card title="Scan in less than 5 minutes" icon="magnifying-glass" href="/flintai/cli/scan/getting-started">
    Find agent code issues before deployment
  </Card>

  <Card title="Eval agent behavior at runtime" icon="flask" href="/flintai/cli/eval/getting-started">
    Get a 0.0-1.0 reliability score
  </Card>
</CardGroup>

## Why Flint AI CLI?

**Context, not patterns.** Follows data flows. Flags real issues, not every match.

**Ship with confidence.** Validate behavior, catch risks, prove readiness.

**Fast results.** Install, scan, and ship in minutes.

<Info>
  **Built for AI developers.** Ask questions, get grounded answers. No context switching. [Connect via MCP →](/flintai/cli/resources/use-these-docs)
</Info>

## Start here

<CardGroup cols={3}>
  <Card title="Install" icon="download" href="/flintai/cli/scan/getting-started#install-flintai-cli">
    Get started in minutes
  </Card>

  <Card title="Learn" icon="book" href="/flintai/cli/guides">
    Explore tutorials
  </Card>

  <Card title="Explore" icon="compass" href="/flintai/cli/reference/builtin-evaluations">
    Browse built-in tests
  </Card>
</CardGroup>
