Skip to main content

Introduction

The Credo AI SDK provides client libraries for interacting with the Credo AI platform. Available for Python and TypeScript, 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

FeaturePythonTypeScript
ClientSync CredoAI and async AsyncCredoAISingle async client via createCredoAIClient()
Type SafetyPydantic models for request/response validationFull TypeScript types for all resources
PaginationBuilt-in list_all() generatorsCursor-based manual pagination
Error HandlingException-based (ApiError, AuthenticationError)Result-based { data, error } pattern

Resources

The SDK provides access to these resources:

ResourcePythonTypeScript
Use case managementclient.use_casesclient.useCases
Model registryclient.modelsclient.models
Vendor trackingclient.vendorsclient.vendors
Use case → model relationshipsclient.use_case_modelsclient.useCases.models
Use case → vendor relationshipsclient.use_case_vendorsclient.useCases.vendors
Model → vendor relationshipsclient.model_vendorsclient.models.vendors
Health checks and metricsclient.systemclient.system

Next Steps