This SDK is designed for low-change, low-touch customer integration.
- Stable API surface for v1.
- Explicit timeout and retry controls.
- Streaming chat support (
text/event-stream).
- 429 / 5xx automatic retries apply only to GET and HEAD. POST / PUT / PATCH are not retried on those status codes to avoid duplicate side effects.
- Network errors (
requests.RequestException) may still be retried for all methods, up tomax_retries. - Retry delay uses exponential backoff with a capped wait time.
pip install ai-sandbox-sdk-python
- Configure
base_urlandapi_keyonAiSandboxClient. - Call
create_agent(...). - Create a chat channel with
create_chat_channel(...)and send the first message withsend_chat(...)orsend_chat_stream(...).