SDK

SDK और लाइब्रेरी


{{ page.eyebrow }}

{{ page.h1 }}

Official SDKs for the Camile AI platform. Fully typed, thoroughly tested, and designed to get out of your way so you can focus on building great agents.

Python

The most mature SDK. Full coverage of the API with async support, streaming, and first-class type hints.

v2.8.0 Stable
pip install camile-ai

TypeScript / JavaScript

Isomorphic SDK for Node.js and browser environments. Fully typed with comprehensive generics.

v2.7.0 Stable
npm install camile-ai

Go

Native Go SDK with strong typing, context support, and idiomatic error handling.

v0.4.0 Beta
go get github.com/camileai/camile-go

Rust

Async-first Rust SDK with zero-cost abstractions and full tokio/async-std support.

v0.3.0 Beta
cargo add camile

What Every SDK Includes

  • 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

All official SDKs are open source under the Apache 2.0 license. We welcome contributions, bug reports, and feature requests.