Agent API — run any agent stack behind one API — AgentSky

Agent API

Pick any agent stack. One simple API.

Claude Code, Codex, Hermes, and every other supported harness behind a single stateful API. Choose the harness when you create a spec; keep the same session, message, and event interfaces in your integration.

Agent sessions

Every session is a persistent cloud computer. State, workspace, and recovery are included on the same API call.

POST /v1/sessions

Models

Claude, GPT, DeepSeek, Kimi, GLM — choose the model that fits the job. Choose a compatible model when creating your agent spec.

POST /v1/agents · llm

Channels

Slack, Telegram, Discord, the web, and a direct API. Every session is addressable from the channel your users prefer.

POST /v1/channels/bindings

Connectors

Attach skills and tool APIs, then authorize the connected apps your agent needs.

POST /v1/agents · capabilities

Send a message. Stream the reply.

Replace the example session ID with the ID returned at creation. Open the SSE stream, POST the message, then read events. These steps work for every supported harness.

POST /v1/sessions/{id}/events— send a turn: text, images and files

GET /v1/sessions/{id}/stream— SSE stream of events

GET /v1/sessions/{id}/events— paginated catch-up

Supported agents

Every harness. One contract.

Choose a harness and compatible model when creating an agent spec. To try another harness, create a different spec and start a session from its returned ID.

Agent / Harness Compatible models Context Model billing
Claude Code Claude Opus 5 · Claude Fable 5.1 · Claude Sonnet 5 · Claude Haiku 4.5 Varies by model per token or eligible BYO subscription
Codex GPT-5.6 Sol · GPT-5.6 Terra · GPT-5.6 Luna · GPT-6 Astra · DeepSeek V4 Pro · DeepSeek V4.1 Flash Varies by model per token or eligible BYO subscription
Hermes DeepSeek V4 Pro · DeepSeek V4.1 Flash · GPT-5.6 Sol · GPT-5.6 Terra · GPT-5.6 Luna · GPT-6 Astra · Gemini 3.8 Flash · GLM-5.3 · GLM-5.3-Flash · Kimi K3 · Kimi K2.7 Code · Grok 4.6 · Claude Opus 5 · Claude Fable 5.1 · Claude Sonnet 5 · Claude Haiku 4.5 Varies by model per token
OpenClaw GPT-5.6 Sol · GPT-5.6 Terra · GPT-5.6 Luna · GPT-6 Astra · DeepSeek V4 Pro · DeepSeek V4.1 Flash · Gemini 3.8 Flash · GLM-5.3 · GLM-5.3-Flash · Kimi K3 · Kimi K2.7 Code · Grok 4.6 · Claude Opus 5 · Claude Fable 5.1 · Claude Sonnet 5 · Claude Haiku 4.5 Varies by model per token
π [pi] GPT-5.6 Sol · GPT-5.6 Terra · GPT-5.6 Luna · GPT-6 Astra · DeepSeek V4 Pro · DeepSeek V4.1 Flash · GLM-5.3 · GLM-5.3-Flash · Kimi K3 · Kimi K2.7 Code · Grok 4.6 · Claude Opus 5 · Claude Fable 5.1 · Claude Sonnet 5 · Claude Haiku 4.5 Varies by model per token
DeepSeek Harness DeepSeek V4 Pro · DeepSeek V4.1 Flash · Kimi K3 · Kimi K2.7 Code · GLM-5.3 · GLM-5.3-Flash · Grok 4.6 Varies by model per token
Kimi Code Kimi K3 · Kimi K2.7 Code · DeepSeek V4 Pro · DeepSeek V4.1 Flash · GPT-5.6 Sol · GPT-5.6 Terra · GPT-5.6 Luna · GPT-6 Astra · GLM-5.3 · GLM-5.3-Flash · Grok 4.6 · Claude Opus 5 · Claude Fable 5.1 · Claude Sonnet 5 · Claude Haiku 4.5 Varies by model per token
[OpenCode] GPT-5.6 Sol · GPT-5.6 Terra · GPT-5.6 Luna · GPT-6 Astra · DeepSeek V4 Pro · DeepSeek V4.1 Flash · GLM-5.3 · GLM-5.3-Flash · Kimi K3 · Kimi K2.7 Code · Grok 4.6 · Claude Opus 5 · Claude Fable 5.1 · Claude Sonnet 5 · Claude Haiku 4.5 Varies by model per token

Active compute is billed separately from model tokens or your eligible subscription.

Multi-agent flows

One task, many agents working in sequence.

Create a spec for each role, then start its session. Your orchestrator reads the planning session's events and sends the selected plan to the coding session; it passes the resulting code or repository reference to the testing session. The same message and event contract connects every step.

Your own product

Give your users an agent, not a chat window.

Create a reusable spec with your product's instructions and tools. Save the returned agent ID, then create a separate session for each user. Your backend keeps each session ID and sends subsequent messages to that same session.

Built with the API

Real software factories running in production.