Together AI
The Together AI SDK is the official Python client for Together’s inference platform, providing access to open-source models like Llama, Mistral, and more. Respan gives you full observability over every Together AI call, streamed response, and tool invocation — and gateway routing through the OpenAI-compatible Respan endpoint.
Set up Respan
Create an account at platform.respan.ai and grab an API key. For gateway, also add credits or a provider key.
Run npx @respan/cli setup to set up with your coding agent.
Example projects
Tracing
Gateway
Setup
Configuration
Attributes
In Respan()
Set defaults at initialization — these apply to all spans.
With propagate_attributes
Override per-request using a context scope.
Decorators (optional)
Decorators are not required. All Together AI calls are auto-traced. Use @workflow and @task to add structure when you want to group related calls into a named workflow with nested tasks.