- Type-safe Python interfaces to platform services
- Automatic authentication and request handling
- Streaming support for real-time updates
- Comprehensive error handling with specific exceptions
- Retry logic for resilient operations
Quick Start
Available Services
The Client SDK provides access to these platform services:Agents Service
Create and manage AI agents with custom capabilities and configurations
Client Initialization
Basic Initialization
Advanced Configuration
Using Environment Variables
Set these environment variables to avoid hardcoding credentials:Core Features
Agents Management
Create, configure, and manage AI agents:Workflow Execution
Execute workflows with real-time streaming:Integration Management
Connect and manage external services:Secrets Management
Securely store and retrieve sensitive data:Knowledge Query
Search the knowledge base with AI:Error Handling
The SDK provides specialized exceptions for different failure scenarios:Async Support
For non-blocking operations, use the async client:Best Practices
1. Always Use Error Handling
2. Use Environment Variables
3. Handle Streaming Gracefully
4. Validate Inputs
Common Patterns
Pagination
Retry Logic
Context Manager
Advanced: Control Plane Client
For advanced orchestration and infrastructure use cases, the SDK also includes a ControlPlaneClient for accessing internal services like the context graph, models, and skills.Next Steps
Agents Service
Learn how to create and manage AI agents