Quick Start
How It Works
| Component | Purpose | Usage |
|---|---|---|
create_app() | FastAPI factory | Server deployment |
PlatformClient | HTTP client | API integration |
__version__ | Package version | Version checking |
API Exports
The package exports three main components:- create_app
- PlatformClient
- Version Info
Client Features
Authentication
Register, login, and manage JWT tokens
Workspaces
Multi-tenant workspace management
Issues
Issue tracking and project management
Agents
AI agent lifecycle management
Common Patterns
Server Deployment
SDK Integration
Version Checking
Best Practices
Use Context Managers
Use Context Managers
Always use async context managers for HTTP clients to ensure proper cleanup:
Handle Authentication
Handle Authentication
Store and reuse JWT tokens for multiple requests:
Error Handling
Error Handling
Wrap API calls in try-catch for HTTP errors:
Environment Configuration
Environment Configuration
Use environment variables for configuration:
Related
Platform Architecture
Complete Platform SDK reference
Authentication Guide
JWT token management

