← 피드로
Introducing Ayeixa OpenCoordinator: Multi-Agent DAG Orchestration for TypeScript
As multi-agent engineering workflows scale, managing dependent subagents requires deterministic dependency resolution, cycle prevention, and capability-aware task routing.
Ayeixa OpenCoordinator (@ayeixa/open-coordinator) is a lightweight multi-agent orchestration spine developed in TypeScript under the Apache-2.0 license.
- GitHub Repository: https://github.com/alpallovy/ayeixa-open-coordinator
-
Status: Pre-Release (
v0.1.0-alpha) - NPM Status: Public registry publication is pending; evaluate and build locally.
1. Core Architecture
OpenCoordinator is structured around four decoupled architectural primitives:
-
IntentParser: Extracts domain context, action classifications (
CODE,TEST,DEPLOY,RESEARCH), and capability constraints from natural language task directives. - TaskGraphEngine: Constructs an in-memory Directed Acyclic Graph (DAG), executes topological sort, detects cycles deterministically, and groups independent tasks into concurrent execution stages.
-
ExecutionKernel: Implements a state machine managing task lifecycles (
PENDING,RUNNING,COMPLETED,FAILED,BLOCKED) with bounded transitions. - AgentRouter: Matches tasks to subagents based on declared capabilities and current availability.
2. Implemented Capabilities & Test Verification
All capabilities are implemented and verified with 100% hermetic unit tests:
-
DAG Resolution: Topological sorting and execution stage resolution (
tests/dag.test.ts). -
Intent Parsing: Action and entity extraction (
tests/intent.test.ts). -
Router Matching: Capability scoring (
tests/router.test.ts). -
Kernel State: State transitions and error containment (
tests/kernel.test.ts).
Verification: 9/9 hermetic unit tests passing (0 failures).
3. Local Quick Start
git clone https://github.com/alpallovy/ayeixa-open-coordinator.git
cd ayeixa-open-coordinator
npm ci
npm run build
npm test
Enter fullscreen mode Exit fullscreen mode
Usage Example
import { IntentParser, TaskGraphEngine, ExecutionKernel } from './src';
const parser = new IntentParser();
const intent = parser.parse("Refactor auth database module to support SQLite");
const dag = new TaskGraphEngine();
dag.addTask({ id: "task-1", title: "Refactor auth db", taskType: intent.taskType, dependencies: [] });
dag.addTask({ id: "task-2", title: "Add auth tests", taskType: "TEST", dependencies: ["task-1"] });
const stages = dag.resolveExecutionStages();
console.log("Execution stages:", stages);
Enter fullscreen mode Exit fullscreen mode
4. Limitations & Contributing
- Current version is
v0.1.0-alpha. Graph storage operates in-memory. - Public npm publication is pending.
- Feedback, issues, and contributions are warmly welcomed! Check out
good first issuetags on GitHub.
License: Apache-2.0