TS v1.22.0 · Python v0.25.0

Build AI systems
that stay portable.

TypeScript 1.22.0 availablePython 0.25.0 available

One developer experience for agents, tools, streaming, structured output, and provider-aware routing—without locking your application to one model vendor.

Server-firstBun · Node.js · Python 3.11+
Provider-flexiblePortable core · Native control
quickstart.ts Ready
01import { generateText } from "@zhivex-ai/sdk";
02import { createOpenAI } from "@zhivex-ai/openai";
03
04const model = createOpenAI()("gpt-6-astra");
05
06const result = await generateText({
07  model,
08  prompt: "Ship something remarkable."
09});
10
11console.log(result.text);
TOOLStyped
STATEdurable
ROUTINGportable

Built for a multi-provider world

OpenAIAnthropicAzure OpenAIGeminiVertex AIQwenKimixAIDeepSeekBedrockOpenRouterOllamaMetaZ.AI
Why Zhivex

Your app should outlive
today’s model choice.

Provider APIs move fast. Zhivex gives your product a stable application layer while keeping advanced provider features within reach.

Your product
Application logicOne integration surface
Zhivex layer
Portable coreAgents · tools · streams · state
Model ecosystem
OpenAI ↗
Anthropic ↗
Gemini ↗
Qwen ↗
+ native providers
Choose your runtime

Two SDKs. One design language.

Use the ecosystem your team already knows. Both SDKs are designed around portable AI foundations and deliberate provider-specific control.

TS
v1.22.0Released

@zhivex-ai/sdk

Built for Bun and modern Node.js.

A unified, ESM-first toolkit for generation, agents, durable workflows, artifacts, observability, provider routing, and production controls.

bun add @zhivex-ai/sdk
  • ✓ Stable agents, workflows, artifacts, and CLI
  • ✓ Stable model catalog and OpenTelemetry adapters
  • ✓ Opt-in provider packages
PY
v0.25.0Beta

zhivex-ai-sdk

Agent-first for Python 3.11+.

Build orchestrated AI systems with agents, handoffs, approvals, durable run state, tools, traces, and portable provider foundations.

pip install zhivex-ai-sdk
  • ✓ Async-first agent runtime
  • ✓ Stable local run stores and catalog contracts
  • ✓ Python 3.11 through 3.14
Release updates

The latest releases.
Ready to explore.

New multimodal inputs, more resilient agents, and a richer React chat experience. Follow each SDK’s release status before upgrading.

Provider spotlight · Qwen

Qwen3.8-Omni-Flash is here.

Understand text, images, audio, and video in one request. Available in @zhivex-ai/qwen 0.13.0 for TypeScript, with streaming, hybrid reasoning, callable tools, and hosted web search through Responses.

HTTP Chat Completions and Responses return text only. Structured output uses prompted generation with local schema validation. Python support is available in 0.25.0.

bun add @zhivex-ai/sdk @zhivex-ai/qwen
Explore Qwen Omni support
Published on npm

TypeScript 1.22.0

The latest patch adds Qwen3.8-Omni-Flash support; the 1.21 series also expands agent recovery and native provider APIs.

  • Multimodal Qwen: image, audio, and video inputs through Chat and Responses, with text output and model-specific tool validation.
  • Agent recovery: persisted task outcomes and Beta external-effect reconciliation with audit history and restart recovery.
  • DeepSeek: V4.1 Flash image input and updated legacy aliases.
  • Gemini: 3.8 Live catalog entries and background-thinking protocol handling.
  • OpenAI & Anthropic: native Beta managed-agent APIs, plus signed Anthropic compaction and billed-iteration usage.
Read TypeScript release notes
Published on PyPI · Beta

Python 0.25.0

Version 0.25.0 adds multimodal provider updates and new native APIs. The Python distribution remains Beta.

  • Multimodal Qwen: mixed image, audio, and video input through Responses, streaming, callable tools, and web search.
  • Native APIs: Beta OpenAI managed sessions and Anthropic compaction, plus Experimental GPT-Live sessions.
  • Model updates: DeepSeek V4.1, Meta Spark 1.3, Gemini 3.8 Live, and refreshed image and audio catalog contracts.
Read Python release notes

Also released: React 0.6.0

Opt-in cursor replay and reconnects, attachment uploads with progress and retries, optional Markdown and virtualized messages, and draft recovery after failed sends. Connect the UI to your server-side runtime.

React release notes

Features vary by provider and API. Catalog entries and release availability do not imply live certification for every model.

Shared foundations

Useful from prototype
to production.

Adopt one layer at a time. The shared contract stays small while operational capabilities remain available when your system needs them.

01

Portable contracts

Keep messages, tools, streaming events, usage, and structured output consistent as models change.

02

Agent-ready runtimes

Build tool-using agents with sessions, handoffs, approvals, durable state, replay, and governed control-plane primitives.

03

Production controls

Add safety policies, evaluation gates, bounded artifacts, OpenTelemetry, model catalogs, and provider-aware routing.

04

Native escape hatches

Start portable, then reach provider-specific capabilities without leaking them through your whole app.

05

Multimodal foundations

Use text, tools, structured output, embeddings, audio, files, and realtime features where supported.

06

Server-first by design

Keep credentials, tools, databases, and policy on trusted server runtimes—not inside browser clients.

Quickstart

From install to first response in minutes.

Pick your language, copy the command, and follow the focused quickstart for your runtime.

quickstart.ts
# Install the SDK and a provider
bun add @zhivex-ai/sdk @zhivex-ai/openai

import { generateText } from "@zhivex-ai/sdk";
import { createOpenAI } from "@zhivex-ai/openai";

const openai = createOpenAI();
const result = await generateText({
  model: openai("gpt-6-astra"),
  prompt: "What should we build next?"
});

console.log(result.text);
A production path

Adopt only what you need.
Add rigor when it matters.

01
Start small

Choose the stable surface

Begin with generation or the agent runtime and install only the provider adapters your app needs.

02
Scale safely

Move state to durable stores

Add shared SQL state, approval queues, artifacts, privacy-aware telemetry, and regression gates before real users arrive.

03
Stay flexible

Route without rewriting

Use the shared contract for portable behavior and native namespaces only for deliberate provider features.

Ready when you are

Build the AI layer
your product can grow on.

Copied to clipboard