AINativeainative.axAX AUDIT
← All posts
Getting Started with AINative SDKs: A Developer's Guide
TUTORIALSJanuary 18, 2025· 2 min read

Getting Started with AINative SDKs: A Developer's Guide

By Karsten Wade
# Getting Started with AINative SDKs AINative offers SDKs in multiple languages to fit your development workflow. This guide will help you choose and get started with the right SDK for your project. ## Choosing Your SDK ### Python SDK Perfect for ZeroDB vector storage and agent-swarm orchestration from data science and backend workflows. ```python from ainative import AINativeClient client = AINativeClient(api_key="your-api-key") project = client.zerodb.projects.create(name="My AI Project") # For chat completions, call AINative's managed endpoint directly: import httpx response = httpx.post( "https://api.ainative.studio/api/v1/managed/chat/completions", headers={"Authorization": "Bearer your-api-key"}, json={ "model": "claude-sonnet-4.5", "messages": [{"role": "user", "content": "Hello!"}], }, ) print(response.json()["choices"][0]["message"]["content"]) ``` ### TypeScript SDK Ideal for type-safe web applications with full IDE support — covers ZeroDB and Agent Swarm, with React/Vue hooks included. ```typescript import { AINativeClient } from '@ainative/sdk'; const client = new AINativeClient({ apiKey: process.env.AINATIVE_API_KEY }); const project = await client.zerodb.projects.create({ name: 'My AI Project', }); // For chat completions, pair this with @ainative/ai-kit's useAIStream hook // (see "Building Your First AI Chat Application" in Tutorials) or call the // managed chat-completions endpoint directly, as shown in the Python example. ``` ### Go SDK High-performance solution for backend services and microservices — full ZeroDB and Agent API support. ```go import "github.com/ainative/go-sdk/ainative" client := ainative.NewClient(ainative.Config{ APIKey: "your-api-key", }) task, err := client.AgentOrchestration.CreateTask(ctx, ainative.CreateTaskRequest{ AgentID: "backend-agent", TaskType: "code_review", }) ``` ## Key Features - **Streaming Support**: Real-time responses for better UX - **Type Safety**: Full TypeScript and Go type definitions - **Error Handling**: Comprehensive error types and retry logic - **Authentication**: Built-in API key and token management ## Next Steps 1. Install your preferred SDK — `pip install ainative-python`, `npm install @ainative/sdk`, or `go get github.com/ainative/go-sdk` 2. Set up authentication 3. Explore our example applications 4. Join our Discord community Happy coding!
SDKsPythonTypeScriptGoGetting Started

Check your site's AX Score

Free scan, 6 categories, under 60 seconds. See how your site ranks on the agentic web.

Run a free audit →