Developer Kit • Developer Preview

The unified developer kit for agentic infrastructure.

Zero-dependency client libraries, end-to-end type safety, native SSE streaming, and first-class telemetry for Context, Memory, and Skills across TypeScript, Python, and Go.

npm, pip & go pkg releases • OpenTelemetry instrumentation • Zero external runtime dependencies

3 Runtimes
TypeScript • Python • Go
< 12KB
Zero-Dep Core Size
OTel Ready
Native Distributed Traces
100%
Strict Static Typing
Developer Ergonomics

Built for engineers shipping agent infrastructure

Stop wrestling with fragmented REST endpoints and brittle JSON schemas. Our SDK unifies context compression, persistent memory, and sandboxed skill calls into one typed interface.

Unified Multi-Domain Client

Configure context window pruning, semantic memory retrieval, and sandboxed skill toolchains through one idiomatic client object. Zero cognitive overhead switching between domains.

Context • Memory • Skills

Native Bi-Directional SSE Streams

Stream token chunks, tool execution telemetry, and memory recall status in real time with automatic connection recovery, backpressure handling, and typed event listeners.

Zero-Buffer SSE Streaming

OpenTelemetry Instrumentation

Automatic distributed tracing spans injected for every LLM roundtrip, token savings metric, cache hit, and skill execution. Seamless export to Datadog, Honeycomb, or Grafana Tempo.

OpenTelemetry • W3C Spec

Deterministic Local Mock Harness

Test your autonomous multi-turn loops in CI pipelines without paying provider API fees or risking flaky external network calls. Record, replay, and snapshot agent behavior.

CI-Ready Mocking
Quickstart

Zero setup. Pure developer joy.

A unified TypeScript client that wires up context pruning, persistent recall, and skill execution in minutes.

// npm install @ai-id/sdk
import { AiIdClient } from '@ai-id/sdk';

const ai = new AiIdClient({
  apiKey: process.env.AI_ID_API_KEY,
  telemetry: { serviceName: 'billing-agent' }
});

// Run complete agent turn with context compression + memory recall
const stream = await ai.agents.runStream({
  entityId: 'cust_8829',
  prompt: 'Summarize invoice disputes from last quarter and generate refund draft',
  context: {
    pruneTokens: true,
    targetCompression: 0.4
  },
  memory: {
    recallScope: 'hybrid',
    threshold: 0.82
  },
  skills: ['stripe.disputes', 'zendesk.tickets']
});

for await (const event of stream) {
  if (event.type === 'token') process.stdout.write(event.delta);
  if (event.type === 'skill:complete') console.log(`[Tool Executed: ${event.skill}]`);
}
Zero Dependency Core
Built purely with standard fetch and Web Streams APIs. No bulky transitive dependencies polluting your production node_modules.
Automatic Exponential Retries
Configurable jitter, circuit breaker logic, and model provider failover built right into the HTTP connection layer.
Complete Type Invariants
Generated TypeScript types and Pydantic models synchronized with protocol buffer schemas for guaranteed compile-time safety.
Target Environments

Engineered for mission-critical agent loops

From microservices to edge runtimes, the AI.ID SDK runs anywhere your code does.

Enterprise SaaS

High-Throughput Backends

Connection pooling, memory-efficient streams, and concurrency controls designed for services processing millions of agent requests daily.

Bundle Footprint < 12KB Gzipped
Edge & Serverless

Cloudflare Workers & Vercel

Sub-millisecond cold starts and native Web Streams support tailored specifically for edge runtimes and Lambda functions.

Cold-Start Delay 0.0ms (Zero JIT)
CLI & Local Tools

Desktop & Terminal Apps

Seamless integration into Go and Python command-line utilities with built-in spinner, terminal streaming, and auth credential helpers.

Ecosystem Go • PyPI • NPM
Developer Preview Access

Start building with the AI.ID developer platform

We are inviting select engineering teams into our private developer preview. Receive developer API tokens, private npm/PyPI registry invites, and direct access to SDK core maintainers.