Robota SDK A powerful TypeScript library for building AI agents with multi-provider support, function calling, tool integration, and multi-agent team collaboration.
๐ Why Choose Robota SDK? ๐ฏ Zero-Configuration Intelligence Pre-built Agent Templates : 6 specialized agents ready to use out-of-the-boxAutomatic Provider Selection : Intelligently chooses the best AI model for each taskSmart Defaults : Optimized settings for immediate productivity๐ Enterprise-Grade Type Safety 100% TypeScript : Complete type coverage with zero any
typesCompile-time Validation : Catch errors before they reach productionIntelliSense Everything : Full IDE support for all APIsToken Optimization : Automatic context management to minimize costsStreaming First : Real-time responses for better user experienceBuilt-in Analytics : Monitor performance, costs, and usage patterns๐ True Multi-Provider Freedom Provider Agnostic : Switch between OpenAI, Anthropic, and Google seamlesslyUnified Interface : Same code works with all providersCross-Provider Teams : Mix different AI models in one teamFeatures Multi-Provider Support : OpenAI, Anthropic, Google AI with seamless switchingMulti-Agent Teams : Create collaborative AI teams with specialized rolesBuilt-in Agent Templates : 6 pre-configured templates for common use casesType-Safe Function Calling : Zod schemas and tool integrationStreaming Support : Real-time responses from all providersConversation Management : Built-in history and context managementTeam Workflow Analysis : Generate flowcharts and relationship diagramsModular Architecture : Clean separation of concernsQuick Start Single Agent typescript import { Robota } from '@robota-sdk/agents' ;
import { OpenAIProvider } from '@robota-sdk/openai' ;
const openaiProvider = new OpenAIProvider ({ apiKey: process.env. OPENAI_API_KEY });
const robota = new Robota ({
name: 'MyAssistant' ,
aiProviders: [openaiProvider],
defaultModel: {
provider: 'openai' ,
model: 'gpt-4' ,
systemMessage: 'You are a helpful AI assistant.'
}
});
const response = await robota. run ( 'Hello! How can I help you today?' );
console. log (response);
Multi-Agent Team typescript import { createTeam } from '@robota-sdk/team' ;
import { OpenAIProvider } from '@robota-sdk/openai' ;
import { AnthropicProvider } from '@robota-sdk/anthropic' ;
const openaiProvider = new OpenAIProvider ({ apiKey: process.env. OPENAI_API_KEY });
const anthropicProvider = new AnthropicProvider ({ apiKey: process.env. ANTHROPIC_API_KEY });
const team = await createTeam ({
aiProviders: [openaiProvider, anthropicProvider]
});
const result = await team. execute (
"Develop a marketing strategy for a new AI-powered fitness app"
);
console. log (result);
Installation bash # Core package
npm install @robota-sdk/agents
# AI Providers (choose one or more)
npm install @robota-sdk/openai openai
npm install @robota-sdk/anthropic @anthropic-ai/sdk
npm install @robota-sdk/google @google/generative-ai
# Team collaboration
npm install @robota-sdk/team
๐ฆ Package Ecosystem @robota-sdk/agents The Core Intelligence Hub
๐ง Complete agent implementation with plugin system ๐ Extensible architecture for custom functionality ๐ Built-in performance monitoring and analytics ๐ ๏ธ Type-safe tool integration framework @robota-sdk/openai OpenAI Integration Excellence
โจ Full GPT-4, GPT-3.5 model support ๐ Automatic retry with exponential backoff ๐ Token usage tracking and optimization ๐ผ๏ธ Vision model support (GPT-4V) @robota-sdk/anthropic Claude AI Mastery
๐ญ Claude 3.5 Sonnet & Claude 3 family support ๐ 100K+ token context window handling ๐งช Advanced reasoning capabilities ๐ Privacy-focused AI interactions @robota-sdk/google Google AI Innovation
๐ Gemini 1.5 Pro & Flash models ๐จ Native multimodal support ๐ 1M+ token context capability ๐ Fastest response times @robota-sdk/team Collaborative AI Orchestration
๐ฅ Automatic task delegation to specialized agents ๐ฏ Role-based agent selection ๐ Team performance analytics ๐ Cross-provider collaboration Built-in Agent Templates Robota comes with 6 pre-configured agent templates:
Task Coordinator - Analyzes and delegates complex tasksDomain Researcher - Deep research and analysis specialistCreative Ideator - Brainstorming and creative solutionsEthical Reviewer - Evaluates ethical implicationsFast Executor - Quick task execution and implementationSummarizer - Content summarization and synthesisDocumentation For Users For Developers Development - Development guidelines and setupProject - Project roadmap and informationPackages - Individual package documentationSupported Providers Provider Models Features Best For OpenAI GPT-4, GPT-3.5 Function calling, streaming, vision General purpose, code generation Anthropic Claude 3.5 Sonnet, Claude 3 Large context, advanced reasoning Complex analysis, ethical considerations Google Gemini 1.5 Pro, Gemini Flash Multimodal, long context Speed, multimedia processing
Team Collaboration Features Automatic Agent Selection - Natural language task assignmentTemplate-based Configuration - Pre-optimized settings for each roleWorkflow Visualization - Generate Mermaid diagrams of team processesPerformance Analytics - Track team efficiency and token usageCross-Provider Teams - Mix different AI providers in one team๐ Success Stories 10x Faster Development : Build AI agents in minutes, not days90% Less Boilerplate : Focus on business logic, not infrastructure100% Type Safety : Eliminate runtime errors with complete TypeScript coverage3x Cost Reduction : Automatic provider selection optimizes for cost/performanceLicense MIT License - see LICENSE file for details.