Everything you need to integrate ZephyrCode's AI coding agent into your apps — streaming API, SDKs in 4 languages, voice cloning, and team collaboration.
What ZephyrCode can do out of the box.
Generate production code from natural language prompts across 40+ languages.
Watch the agent plan, reason, call tools, and verify its own work in real time.
Run commands and inspect output without leaving your browser.
500+ AI voices in 200+ languages, plus voice cloning with personality profiles.
Collaborate with up to 10 members per guild with Owner/Manager/Editor/Viewer roles.
Z Code Ultra (frontier), Z Code Pro (balanced), Z Code Local (on-device).
All API requests require a valid API key. Create one in API Key Management.
Authorization: Bearer zc_live_xxxxxxxxxxxxxxxxxxxx
Content-Type: application/jsonSign in with Google or email. JWT-based sessions, 30-day expiry.
Create scoped keys with rate limits. Masked after creation for security.
ZephyrCode uses Server-Sent Events (SSE) for real-time streaming of agent responses. The stream emits 7 event types:
event: meta
data: {"model":"z-code-ultra","mode":"code","ts":1700000000}
event: plan
data: {"goal":"Build a React login form","steps":[...]}
event: reasoning
data: {"text":"Let me think about the form structure..."}
event: tool_call
data: {"name":"read_file","args":{"path":"src/App.tsx"}}
event: tool_result
data: {"summary":"File read successfully"}
event: content
data: {"delta":"Here's a clean React login form..."}
event: done
data: {"model":"z-code-ultra","tools_used":2,"fallback_used":false}Official SDKs for Python, JavaScript, Go, and raw cURL. All SDKs support streaming.
from zephyrcode import ZephyrCode
client = ZephyrCode(api_key="zephyr-yourname-xxx")
# Stream a response
for chunk in client.chat.stream(
message="Build a React login form with Tailwind",
model="z-code-ultra",
mode="code",
):
print(chunk.delta, end="", flush=True)import ZephyrCode from "zephyrcode";
const client = new ZephyrCode({ apiKey: "zephyr-yourname-xxx" });
// Stream a response
for await (const chunk of client.chat.stream({
message: "Build a React login form with Tailwind",
model: "z-code-ultra",
mode: "code",
})) {
if (chunk.type === "content") process.stdout.write(chunk.delta);
}package main
import (
"fmt"
"github.com/zephyrcode/zephyrcode-go"
)
func main() {
client := zephyrcode.New("zephyr-yourname-xxx")
err := client.Chat.Stream("Build a React login form", "z-code-ultra", "code",
func(chunk zephyrcode.Chunk) {
fmt.Print(chunk.Content)
})
if err != nil {
panic(err)
}
}curl -N https://zephyrcode.space-z.ai/api/agent \
-H "Authorization: Bearer zephyr-yourname-xxx" \
-H "Content-Type: application/json" \
-d '{
"messages": [{"role": "user", "content": "Build a React login form"}],
"model": "z-code-ultra",
"mode": "code"
}'Choose the right model for your workload.
| Model | Best for |
|---|---|
| Z Code Ultra | Frontier reasoning, multi-file refactors |
| Z Code Pro | Everyday coding, quick fixes |
| Z Code Local | On-device, privacy-first |
Check the API key page or reach out — we're happy to help you integrate.