Ship reliable AI agents in minutes, not months.
Deterministic edge routing, typed tool traces, and zero-downtime model failover for production AI engineering teams.
Security Audit Summary (Diff #418)
**1. High — Non-constant-time HMAC check (line 44)**
Using `===` on session signatures leaks byte prefix timing. Replace with `crypto.timingSafeEqual`.
**2. Medium — Missing `algorithms` pin on JWT verify (line 71)**
Pin `algorithms: ["EdDSA"]` to block `alg: none` downgrade vectors.
import { timingSafeEqual } from "node:crypto";
export function verifySig(expected: Buffer, actual: Buffer): boolean {
if (expected.length !== actual.length) return false;
return timingSafeEqual(expected, actual);
}Trusted by engineering teams shipping production AI agents
Everything between prompt and production.
Interactive primitives out of the box—inspect edge telemetry, test failover, verify diffs, and copy typed SDKs directly inside the UI.
Sub-120ms Edge Latency
Hover any POP below to inspect live p50 vs p99 TLS-resumed routing times.
Deterministic Tool Traces
Zero-Downtime Failover
Click any provider to set primary edge priority.
Prompt Diff & Evals
Enterprise Guardrails
Drop-In SDK for TypeScript, Python & cURL
Keep your existing tool signatures and Zod schemas. Swap one base URL or install our 14.8 KB SDK to unlock instant streaming, automatic retries, and trace telemetry.
import { Kestrel } from "@kestrel/sdk";
const kestrel = new Kestrel({ apiKey: process.env.KESTREL_API_KEY });
const res = await kestrel.agents.execute({
model: "kestrel-4.5-fast",
schema: SecurityAuditSchema,
prompt: "Audit diff #418 for timing leaks",
});Workflow
From local script to global edge in 3 steps.
export const tools = defineTools({
fetchDiff: { input: z.object({ pr: z.number() }), timeoutMs: 900 },
sqlRead: { input: z.object({ sql: z.string() }), readOnly: true },
escalate: { input: z.object({ tenantId: z.string() }) },
});Production Proof
Trusted where latency and reliability matter.
Agent tool calls routed cleanly
Average LLM spend reduction
Global p95 time-to-first-token
“We replaced 900 lines of fragile retry middleware with Kestrel in one afternoon. Failover during last week's provider outage took 47ms and zero users noticed.”
“The deterministic trace replay turned debugging agent loops from guesswork into a 30-second inspection. Worth every dollar for our code review bot.”
“Prompt diff evals blocked two silent regressions before merge this month alone. Our support triage accuracy jumped from 87% to 96.8%.”
“Being able to lock strict JSON schemas across Claude, GPT, and our self-hosted vLLM cluster saved our backend team weeks of parser maintenance.”
“Zero data retention out of the box got us past enterprise security review in four days instead of four months.”
“The TypeScript SDK feels like someone finally designed an AI runtime with the same care as Stripe or Linear.”
Pricing
Predictable pricing that scales with usage.
Start free with BYOK keys, upgrade for edge failover and 90-day trace replay.
Slide to match your monthly agent runs and preview exact estimated spend.
Starter
For solo builders prototyping agents, evals, and local tool traces.
- 25,000 agent runs / month
- All core models + BYOK keys
- 7-day tool trace retention
- TypeScript & Python SDKs
- Community Discord support
Pro
Most PopularFor shipping teams needing deterministic failover, evals, and edge routing.
- 250,000 agent runs / month included
- Automatic 3-provider failover (<80ms)
- 90-day immutable trace replay
- JSON schema lock & prompt diff evals
- PII redaction & zero data retention
- Priority Slack & email engineering support
Enterprise
Dedicated VPC edge nodes, custom compliance SLAs, and volume pricing.
- 1M+ monthly agent runs & custom volume tiers
- Dedicated AWS/GCP VPC deployment
- SOC 2 Type II, HIPAA BAA & SAML SSO
- Custom fine-tuned model endpoints
- 99.99% uptime SLA with 15-min pager
FAQ
Questions from engineering teams
Usually under 10 minutes. Kestrel exposes both a drop-in OpenAI-compatible base URL and a zero-dependency TypeScript/Python SDK with typed tool schemas and streaming helpers.
Get Started Today
Ready to ship agents your users can trust?
Spin up your sandbox workspace in 60 seconds with 25,000 free monthly agent runs—no credit card required.