Introduction
The Credo AI SDK provides a Python client for interacting with the Credo AI platform. It enables you to programmatically manage AI governance workflows, including use cases, models, vendors, and their relationships.
What You Can Do
With the SDK, you can:
- Manage Use Cases - Create, update, and organize AI/ML applications for governance tracking
- Register Models - Track AI/ML models and their metadata across your organization
- Track Vendors - Monitor third-party AI providers and tools in your ecosystem
- Define Relationships - Link models and vendors to use cases for comprehensive governance
Key Features
| Feature | Description |
|---|---|
| Sync & Async Clients | Choose between synchronous CredoAI or asynchronous AsyncCredoAI clients |
| Type Safety | Full Pydantic models for request/response validation |
| Pagination | Built-in pagination support with list_all() generators |
| Error Handling | Structured error types for API, validation, and auth errors |
Resources
The SDK provides access to these resources:
| Resource | Description |
|---|---|
use_cases | AI/ML use case management |
models | Model registry |
vendors | Third-party vendor tracking |
use_case_models | Use case to model relationships |
use_case_vendors | Use case to vendor relationships |
model_vendors | Model to vendor relationships |
system | Health checks and metrics |