Skip to content

Task Complexity Analyzer

タスクをスコアし、推奨トポロジを返します。審議(deliberation)の中核です。

概念

typescript
import { TaskComplexityAnalyzer } from '@commander/core';

const analyzer = new TaskComplexityAnalyzer();
const complexity = analyzer.analyze({
  id: 'task-1',
  description: 'Build distributed logging system',
  riskLevel: 'high',
});

// complexity.score, complexity.recommendedTopology, …

スコア帯の目安(自動選択):

スコアトポロジ
0–20SINGLE
20–40CHAIN
40–60DISPATCH
60–80ORCHESTRATOR
80–100REVIEW

CLI で見る

bash
npx tsx packages/core/src/cliEntry.ts plan "your task"

関連

MIT — マルチエージェント編成のために。