@maestroai/core
v0.1.2
Published
Core orchestration logic for Maestro multi-agent system
Maintainers
Readme
@maestroai/core
Core orchestration logic for Maestro multi-agent system
This package contains the shared logic for coordinating multiple Claude Code agents working together on software projects.
Features
- Task Management - Parse, write, and track tasks in markdown format
- Agent Lifecycle - Spawn, monitor, and coordinate agent processes
- Messaging - File-based message passing between agents
- Configuration - YAML-based project and agent configuration
- Planning - AI-powered task decomposition using Claude
- File Watching - Monitor files for changes and agent activity
Usage
import {
Planner,
TaskParser,
TaskWriter,
Orchestrator,
Config,
} from '@maestroai/core';
// Parse tasks from markdown
const parser = new TaskParser();
const { tasks } = parser.parse(markdownContent);
// Plan tasks from a goal
const planner = new Planner({
model: 'sonnet',
workingDirectory: process.cwd(),
});
const plannedTasks = await planner.decompose('Build a REST API');
// Orchestrate agents
const config = Config.fromFile('maestro.yaml');
const orchestrator = new Orchestrator(config);
await orchestrator.start();License
MIT
