Developers quickstart
Building AI apps has never been easier
SDKs, APIs, and examples to ship your first routed AI app in minutes — then scale with guardrails.
< 5 min
Time to first request
4
SDK languages
99.99%
API uptime
< 100ms
Avg latency
5-minute setup
- 1Create a project and copy your API key.
- 2Install the SDK.
- 3Send requests to the unified `/route` endpoint.
- 4Watch traces and savings in the dashboard.
npm install @skyaiapp/sdk
import { SkyAI } from "@skyaiapp/sdk";
const sky = new SkyAI({ apiKey: process.env.SKYAIAPP_API_KEY });
const res = await sky.route({
goal: "cost",
strategy: "balanced",
messages: [{ role: "user", content: "Summarize this document..." }],
});
console.log(res.output);Routing policies
- Cost-aware vs quality-first strategies
- Fallback chains and regional rules
- Per-tenant budgets and rate limits
- Prompt versioning + eval A/B
More Examples
Agent Runtime
const agent = sky.createAgent({
tools: ["web_search", "calculator", "code_exec"],
maxSteps: 10,
sandbox: true,
});
const result = await agent.run({
task: "Research latest AI trends and summarize",
onStep: (step) => console.log(step.action),
});Streaming Response
const stream = await sky.route({
goal: "quality",
strategy: "quality-first",
messages: [{ role: "user", content: "Write a story..." }],
stream: true,
});
for await (const chunk of stream) {
process.stdout.write(chunk.delta);
}