Repository navigation
Deuz SDK v2.1.0 - Native agents and durable swarms
Native agents and durable swarms
Deuz SDK 2.1 adds an optional native agent engine and a persistent swarm scheduler while retaining the existing generation, streaming, and createAgent APIs.
- Native agent runs:
runAgent,streamAgent, and resume APIs expose explicit outcomes, validated accepted outputs, draft streams, scoped tool context, andverified/rejected/inconclusiveverification. - Persistent task graphs:
createSwarmexecutes fixed DAGs with bounded concurrency, dependency-aware agent tasks, reducers, and resumable control-event journals. In-memory and SQLite stores share the same contract. - Shared execution controls: nested agents inherit mandatory policies and share persisted request reservations, token/USD accounting, deadlines, and approval requirements.
- Strict recovery: native checkpoints preserve tool receipts and signed approvals. Uncertain external effects require application reconciliation before retry; completed results are reused on resume.
- Documentation: updated READMEs, installation and upgrade guidance, native-agent and swarm examples, localized homepage release links, and the shipped agent skill.
npm install @deuz-sdk/core@2.1.0
# Optional React bindings
npm install @deuz-sdk/react@2.1.0The 2.1 scheduler supports one executor per run. Distributed workers and leases are outside this release. Budget reservations are estimates, and missing usage or pricing remains explicitly unknown. The new native and swarm entries add no required runtime dependencies; SQLite is a Node-only import.
Release validation covers 2,050 runtime tests and 7 type tests, package and API contracts, browser compatibility, bundle-size budgets, and the 870-page documentation build. One runtime test is skipped. CI runs on Linux with Node 22/24 and Windows with Node 22.
Read the 2.1 release guide, native agent guide, and swarm guide.