Requirements: Python 3.10 or laterSupported with
flintai_sdk.wrap(): OpenAI, Anthropic, LangChain (ChatOpenAI, ChatAnthropic, ChatGoogleGenerativeAI), Google GenAIGoogle ADK: Use ADKGuardrailsPlugin instead of wrap() — see SDK Usage guide1
Install the SDK in your agent's environment
On your local machine or wherever your agent code runs:
Optional: Install with provider extras
Optional: Install with provider extras
If you need specific provider dependencies:
2
Register your agent and get credentials
Log into Flint AI Platform and register your agent for monitoring:
- Navigate to Agents and select Add agents
- Choose Monitor & protect agents > Install SDK
- Enter a name for your agent (for example, “Customer Support Bot”)
- Select your agent to open its Sessions tab
- Gateway URL - Shown in the code snippet on the Sessions tab
- API key - Use an existing Flint AI API token, or create one now if you don’t yet have one. Tokens are managed in Settings → API Keys.
Copy your token immediately when created — it will only be shown once.
3
Wrap your LLM client in your agent code
Import
flintai_sdk and wrap your existing LLM client.- OpenAI
- Anthropic
- LangChain
- Google GenAI
Google ADK: Use
ADKGuardrailsPlugin instead of wrap() — see the SDK Usage guide for details.4
Run your agent
Run your agent as you normally would. The SDK captures each LLM interaction automatically.
5
View your traces
Back in Flint AI Platform, navigate to Agents and select your agent, then open the Sessions tab.Within moments, you’ll see:
- Sessions - Individual agent runs
- Traces - Every LLM call with prompts, responses, model info, and latency
- Guardrail events - Any policy actions (if configured)
Next steps
SDK Configuration
Environment variables, credentials, and configuration options
SDK Usage
Examples for all supported providers and frameworks