SDK
SDK & Libraries
{{ page.eyebrow }}
{{ page.h1 }}
SDK ufficiali per la piattaforma Camile AI. Completamente tipizzati, accuratamente testati e progettati per non intralciarti così puoi concentrarti sulla costruzione di grandi agenti.
Python
The most mature SDK. Full coverage of the API with async support, streaming, and first-class type hints.
pip install camile-ai
TypeScript / JavaScript
Isomorphic SDK for Node.js and browser environments. Fully typed with comprehensive generics.
npm install camile-ai
Go
Native Go SDK with strong typing, context support, and idiomatic error handling.
go get github.com/camileai/camile-go
Rust
Async-first Rust SDK with zero-cost abstractions and full tokio/async-std support.
cargo add camile
Cosa Include Ogni SDK
- Full API coverage — all endpoints, parameters, and response types.
- Type safety — first-class TypeScript types, Python type hints, Go generics, and Rust enums.
- Streaming support — real-time agent responses via async iterators and SSE.
- Automatic retries — configurable exponential backoff with jitter for transient failures.
- Rate limit awareness — SDK reads rate limit headers and slows down before hitting limits.
- Request ID propagation — every request carries an ID for debugging and support.
- Extensive documentation — JSDoc, docstrings, and godoc comments on every public symbol.
- Test suites — unit, integration, and end-to-end tests run against a live API sandbox.
Quick Start Comparison
Python
from camile import CamileAI
client = CamileAI()
agent = client.agents.create(name="assistant")
response = agent.run("What's the weather in London?")
print(response.text)
TypeScript
import { CamileAI } from "camile-ai";
const client = new CamileAI();
const agent = await client.agents.create({ name: "assistant" });
const response = await agent.run("What's the weather in London?");
console.log(response.text);
Open Source
Tutti gli SDK ufficiali sono open source con licenza Apache 2.0. Accogliamo contributi, segnalazioni di bug e richieste di funzionalità.