Skip to main content

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

FeatureDescription
Sync & Async ClientsChoose between synchronous CredoAI or asynchronous AsyncCredoAI clients
Type SafetyFull Pydantic models for request/response validation
PaginationBuilt-in pagination support with list_all() generators
Error HandlingStructured error types for API, validation, and auth errors

Resources

The SDK provides access to these resources:

ResourceDescription
use_casesAI/ML use case management
modelsModel registry
vendorsThird-party vendor tracking
use_case_modelsUse case to model relationships
use_case_vendorsUse case to vendor relationships
model_vendorsModel to vendor relationships
systemHealth checks and metrics

Next Steps