Introducing Ayeixa OpenCoordinator: Multi-Agent DAG Orchestration for TypeScript

작성자

카테고리:

← 피드로
DEV Community · Alp Allovi · 2026-08-18 개발(SW)

Alp Allovi

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.

1. Core Architecture

OpenCoordinator is structured around four decoupled architectural primitives:

  1. IntentParser: Extracts domain context, action classifications (CODE, TEST, DEPLOY, RESEARCH), and capability constraints from natural language task directives.
  2. TaskGraphEngine: Constructs an in-memory Directed Acyclic Graph (DAG), executes topological sort, detects cycles deterministically, and groups independent tasks into concurrent execution stages.
  3. ExecutionKernel: Implements a state machine managing task lifecycles (PENDING, RUNNING, COMPLETED, FAILED, BLOCKED) with bounded transitions.
  4. 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 issue tags on GitHub.

License: Apache-2.0

원문에서 계속 ↗