Python SDK
Python SDK
Log your Python agent’s data to the Synth platform
Installation
Grab the latest stable release from PyPI
Or using uv (recommended for faster installation):
Overview
The Synth SDK automatically logs all interactions between your agent and AI models:
- Input/output messages
- Tool calls and responses
- Model parameters
- Execution metadata
Core Components
Decorators
@trace_event_sync
- Tracks synchronous function execution@trace_event_async
- Tracks asynchronous function execution
Example Usage
Documentation
- Full Github Examples - Advanced Usage