One TypeScript SDK. Models, agents, and swarms.
npm install @deuz-sdk/coreSet ANTHROPIC_API_KEY, then run your first agent:
import { runAgent } from '@deuz-sdk/core/agent';
import { createAnthropic } from '@deuz-sdk/core/anthropic';
const anthropic = createAnthropic({ apiKey: process.env.ANTHROPIC_API_KEY });
const result = await runAgent({
model: anthropic('claude-opus-4-8'),
prompt: 'Explain how rainbows form in three sentences.',
maxSteps: 4,
});
if (result.status === 'completed') console.log(result.output);Use Node.js 22+, or an edge runtime with Web APIs. Node integrations have separate imports.
- Models — multiple providers, streaming, structured output, and tool calls.
- Agents — typed results, verification, approvals, and resumable runs.
- Swarms — task dependencies, runtime spawning, shared blackboards, rounds, and SQLite or Postgres persistence.
- Operations — leases, drain, cross-process cancel and recovery, persistent budgets, and schedules.
- Evolve — evolutionary program search with a mandatory budget and zero-call resume.
- Context — memory, retrieval, compaction, and MCP tools.
- Control — shared execution policies, budget accounting, traces, and optional React bindings.
Core has zero required runtime dependencies; integrations use optional peers. Without a lease provider, drive each swarm run from one process; uncertain external effects require reconciliation before retry.
Agents · Swarms · React · Changelog
npx skills add Deuz-AI/Deuz-SDKAPI references and implementation guidance for your coding agent. Explore the skill →
MIT · Built by Umutcan Edizaslan
Built with Opus 4.8 / 5, Fable 5 / 5.1, and GPT-6 Astra Ultra.