Build Powerful AI Crews
A comprehensive TypeScript framework for building sophisticated AI crew orchestration systems. Create specialized agents that work together to solve complex problems.
Explore Different Orchestration Patterns
Single Shinobi
Experience a single AI agent with multiple specialized skills working together to solve complex tasks.
Clan Collaboration
See multiple AI specialists collaborate simultaneously, each bringing their unique expertise to the analysis.
Dojo Workflows
Explore structured sequential workflows where agents execute in a defined order for comprehensive analysis.
Modular Architecture
Build with Shurikens (tools), Katas (skills), and Shinobi (agents) for maximum reusability and clarity.
Persona-Driven
Create AI agents with rich personalities, backstories, and specialized expertise for more engaging interactions.
Multi-Agent Orchestration
Coordinate multiple AI agents to work together, combining their expertise for comprehensive solutions.
import { Shinobi, Shuriken, KataRuntime } from 'ninja-agents'; // Create a research assistant const researcher = new Shinobi(runtime, { role: 'Research Director', description: 'Expert researcher and analyst', backstory: '20+ years in academic research...', katas: [{ model: 'gpt-4o-mini', title: 'Research Analyst', description: 'Conduct comprehensive research' }] }); // Execute complex research tasks const result = await researcher.execute( 'Analyze the latest trends in AI and their business impact' );