Skip to content

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-box
  • Automatic Provider Selection: Intelligently chooses the best AI model for each task
  • Smart Defaults: Optimized settings for immediate productivity

๐Ÿ”’ Enterprise-Grade Type Safety โ€‹

  • 100% TypeScript: Complete type coverage with zero any types
  • Compile-time Validation: Catch errors before they reach production
  • IntelliSense Everything: Full IDE support for all APIs

โšก Performance & Efficiency โ€‹

  • Token Optimization: Automatic context management to minimize costs
  • Streaming First: Real-time responses for better user experience
  • Built-in Analytics: Monitor performance, costs, and usage patterns

๐ŸŒ True Multi-Provider Freedom โ€‹

  • Provider Agnostic: Switch between OpenAI, Anthropic, and Google seamlessly
  • Unified Interface: Same code works with all providers
  • Cross-Provider Teams: Mix different AI models in one team

Features โ€‹

  • Multi-Provider Support: OpenAI, Anthropic, Google AI with seamless switching
  • Multi-Agent Teams: Create collaborative AI teams with specialized roles
  • Built-in Agent Templates: 6 pre-configured templates for common use cases
  • Type-Safe Function Calling: Zod schemas and tool integration
  • Streaming Support: Real-time responses from all providers
  • Conversation Management: Built-in history and context management
  • Team Workflow Analysis: Generate flowcharts and relationship diagrams
  • Modular Architecture: Clean separation of concerns

Quick 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 tasks
  • Domain Researcher - Deep research and analysis specialist
  • Creative Ideator - Brainstorming and creative solutions
  • Ethical Reviewer - Evaluates ethical implications
  • Fast Executor - Quick task execution and implementation
  • Summarizer - Content summarization and synthesis

Documentation โ€‹

For Users โ€‹

For Developers โ€‹

  • Development - Development guidelines and setup
  • Project - Project roadmap and information
  • Packages - Individual package documentation

Supported Providers โ€‹

ProviderModelsFeaturesBest For
OpenAIGPT-4, GPT-3.5Function calling, streaming, visionGeneral purpose, code generation
AnthropicClaude 3.5 Sonnet, Claude 3Large context, advanced reasoningComplex analysis, ethical considerations
GoogleGemini 1.5 Pro, Gemini FlashMultimodal, long contextSpeed, multimedia processing

Team Collaboration Features โ€‹

  • Automatic Agent Selection - Natural language task assignment
  • Template-based Configuration - Pre-optimized settings for each role
  • Workflow Visualization - Generate Mermaid diagrams of team processes
  • Performance Analytics - Track team efficiency and token usage
  • Cross-Provider Teams - Mix different AI providers in one team

๐Ÿ† Success Stories โ€‹

  • 10x Faster Development: Build AI agents in minutes, not days
  • 90% Less Boilerplate: Focus on business logic, not infrastructure
  • 100% Type Safety: Eliminate runtime errors with complete TypeScript coverage
  • 3x Cost Reduction: Automatic provider selection optimizes for cost/performance

License โ€‹

MIT License - see LICENSE file for details.

Released under the MIT License.