Official client libraries

Official SDKs

Client libraries for integrating ServoAgent into production applications, jobs, and internal tools.

Language coverage

Node.js, Python, Go, Ruby

Official SDKs align with the API Explorer and published OpenAPI schema.

Reliability

Retries + streaming

Every official client includes production-oriented request handling primitives.

Fallback path

Direct REST API

Use the REST and OpenAPI reference directly if your language is not yet covered.

SDK catalog

Every SDK page includes installation guidance, quick starts, and production use cases.

Python

Built for FastAPI, background workers, and data-heavy automations.

v1.0.0

Install

pip install servoagent

Features

Async/await supportType hintsAuto-retryStreaming
from servoagent import ServoAgentClient

client = ServoAgentClient(api_key="sk_live_...")
runs = client.runs.list(limit=20)
print([run.id for run in runs.data])

Node.js

TypeScript-first client for Next.js, Express, jobs, and edge runtimes.

v1.0.0

Install

npm install servoagent

Features

TypeScript supportESM + CJSAuto-retryStreaming
import { ServoAgentClient } from 'servoagent'

const client = new ServoAgentClient({ apiKey: 'sk_live_...' })
const runs = await client.runs.list({ limit: 20 })
console.log(runs.data.map((run) => run.id))

Go

Good fit for high-throughput services, CLIs, and strongly typed backends.

v1.0.0

Install

go get github.com/servoagent/servoagent-go

Features

Context supportTyped responsesAuto-retryStreaming
client := servoagent.NewClient(servoagent.Config{APIKey: "sk_live_..."})

runs, err := client.Runs.List(ctx, servoagent.ListRunsParams{Limit: 20})
if err != nil {
  log.Fatal(err)
}
fmt.Println(len(runs.Data))

Ruby

Rails-friendly client for background jobs, CRM automation, and operational scripts.

v1.0.0

Install

gem install servoagent

Features

Idiomatic RubyThread-safeAuto-retryStreaming
client = ServoAgent::Client.new(api_key: 'sk_live_...')

runs = client.runs.list(limit: 20)
puts runs['data'].map { |run| run['id'] }

Direct API fallback

If you need a language we do not publish yet, use the REST API directly and generate request snippets from the Explorer.

curl https://api.servoagent.com/v1/agents \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json"

Community SDKs

We publish an SDK template so partners can add community-maintained clients without diverging from the official API contract.

View SDK template