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.

Two ways to integrate

  • Use the SDK directly — write Python or TypeScript code against the Credo AI API yourself. Full control, best when your integration doesn't match an existing recipe. Start with SDK Comparison or jump straight to the Quickstart.
  • Start from a Cookbook — ready-made, step-by-step integration guides for common systems (JIRA, ServiceNow, and growing). Each one explains why you'd want it and links to runnable code you can clone. Best when someone's already solved your exact problem. Browse Cookbooks.

The two aren't mutually exclusive — cookbooks are built on top of the same SDK and API this section documents, so reading both pays off even if you start from a cookbook.

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