DEV Community

Colate
Colate

Posted on

Now Developers Can Build AI Agents Faster with the New Cana SDK | Read Now

Colate is excited to announce the release of the Cana SDK, a powerful OpenAI-compatible toolkit designed to help developers build, deploy, and scale AI-native applications faster than ever.

Whether you’re building autonomous agents, AI-powered workflows, or integrating external tools through MCP, the Cana SDK provides everything needed to create production-ready AI experiences with minimal setup.

What’s New?

The Cana SDK introduces a unified developer experience with:

Prebuilt AI Agents

Create intelligent agents in minutes using CanaAgent.

  • One-shot agent execution
  • Multi-turn memory support
  • Built-in tool orchestration
  • Streaming responses
  • Automatic error handling

No complex chat loops. No manual tool dispatching. Just define your tools and start building.

OpenAI-Compatible Client

Use CanaClient as a drop-in OpenAI-compatible client.

Developers can:

  • Run chat completions
  • Stream responses
  • Execute structured outputs
  • Integrate function calling
  • Connect with existing OpenAI workflows

Hybrid Tool Execution

Combine local tools and server-hosted MCP tools seamlessly.

The SDK automatically routes requests between:

  • Local application tools
  • MCP-powered connectors
  • External services

This allows developers to build richer AI workflows without additional orchestration layers.

Structured Output Support

Generate predictable and validated outputs using:

  • JSON Schema
  • Zod schemas
  • Type-safe responses

Perfect for production applications where reliability matters.

Built for Modern Runtimes

The Cana SDK runs out of the box on:

  • Node.js 18+
  • Bun
  • Deno
  • Cloudflare Workers
  • Vercel Edge
  • Modern browsers Powered entirely by Web Crypto, with zero node: crypto dependencies.

Simplified Authentication

Version 1.0 introduces a new Bearer Authentication model.

Developers can authenticate using:

  • App API Keys for server-to-server applications
  • Short-lived JWTs for browser applications
  • Managed bearer tokens

The SDK automatically refreshes browser tokens, making secure client-side experiences easier to build.

MCP Federation Built In

The Cana SDK includes native support for Model Context Protocol (MCP), allowing applications to access external tools and systems through a unified interface.

Capabilities include:

  • Automatic MCP tool discovery
  • Server-hosted MCP execution
  • Hybrid local + MCP workflows
  • Simplified connector management

Developers can integrate services like GitHub, Slack, Search, and other MCP-compatible systems with minimal effort.
Production-Ready Features

The SDK includes enterprise-grade capabilities such as:

  • Streaming support
  • Usage and cost tracking
  • Error handling and recovery
  • Custom fetch support
  • Structured outputs
  • Multi-provider model support
  • Session management
  • Browser embedding support

Why It Matters

Building AI applications often requires stitching together multiple frameworks, authentication systems, tool integrations, and orchestration layers.

The Cana SDK removes this complexity by providing a single, developer-friendly interface for creating AI agents, integrating tools, managing conversations, and deploying across modern environments.

The result: faster development, fewer moving parts, and a smoother path from prototype to production.

PS:

The Cana SDK is available today via npm.

The future of software development is agentic. Start building it today.

Visit cana.build and download the Cana Desktop App now.

Top comments (0)