The AI Agent SDK is a TypeScript framework built at Covalent for the Zero-Employee Enterprise (ZEE): a paradigm where autonomous AI agents replace traditional human-staffed workflows, particularly in the Web3 and blockchain data space. The SDK fills a real gap for on-chain developers who need to build AI pipelines that can reason over blockchain data, call external APIs, and chain decisions across multiple models without wiring together fragile bespoke integrations from scratch.

The SDK is organized around four composable primitives: LLMs (a unified provider interface supporting OpenAI, Google, and Anthropic), Agents (single model instances with system prompts and attached toolkits), Tools (external capability extensions), and ZEE Workflows (the orchestration layer that routes goals through a hierarchy of Planner and Router agents down to specialized task agents). The multi-agent coordination model is declarative: you define agents and a goal, and the workflow handles turn-taking, context passing, and tool invocation. This architecture scales from a single inference call up to deeply nested agent graphs without changing the composition API.

I built the core SDK package and led several major architectural milestones. I shipped multimodal support, integrating Gemini for image analysis alongside text reasoning. I drove the migration to the Vercel AI SDK as the underlying model-calling layer, which unified streaming, tool-calling, and provider abstraction under a single interface and resolved a persistent tool-calling bug across providers. I also refactored the ZEE agent assignment model in v0.3.0 and built the cza CLI scaffolding tool for bootstrapping new agent projects.

The SDK shipped as open-source MIT on npm under @covalenthq/ai-agent-sdk, accumulating 119 GitHub stars, 56 forks, and over 2,000 total downloads since its December 2024 launch.

Built using: