Creates a new KataRuntime instance.
Get the OpenAI client instance.
The configured OpenAI client
Create a contextual logger with specific IDs for tracking. This enables detailed tracking of execution across the crew hierarchy.
The context name for this logger
Object containing shinobi_id, kata_id, and/or shuriken_id for tracking
Optional
shinobi_Optional
kata_Optional
shuriken_A new Logger instance with tracking IDs
const logger = runtime.createTrackedLogger('WeatherAnalyst', {
shinobi_id: 'shinobi-uuid',
kata_id: 'kata-uuid'
});
Dependency injection container for the AI crew orchestration system. KataRuntime provides centralized access to core services (OpenAI client, logger, memory) and ensures consistent configuration across all components.
Example