agent-orchestrator

v0.1.0

Cross-catalog agent discovery and intelligent prompt-to-command routing

Community extension β€” Independently maintained. Use at your own discretion. Learn more

Intelligent Agent Orchestrator β€” Spec Kit Extension

Cross-catalog agent discovery and intelligent prompt-to-command routing for Spec Kit.

What It Does

CapabilityDescription
RouteMatch natural-language prompts to the best-fit Spec Kit command
IndexBuild a unified capability index across core commands, extensions, workflows, and presets
DiscoverScan linked repositories for agent definitions (.agent.md, SKILL.md, etc.)

Quick Start

# Install the extension
specify extension add orchestrator

# Build the capability index
> /speckit.agent-orchestrator.index

# Route a prompt to the best command
> /speckit.agent-orchestrator.route "I want to create a spec for user authentication"

Commands

/speckit.agent-orchestrator.route

Match a user prompt to the most relevant command:

> /speckit.agent-orchestrator.route "set up git branching"

🎯 Routing Results:
  1  0.91  /speckit.git.feature     extension:git
  2  0.72  /speckit.git.initialize  extension:git

/speckit.agent-orchestrator.index

Index all available capabilities:

> /speckit.agent-orchestrator.index

βœ… Capability index built!
πŸ“Š Total: 15 capabilities indexed

/speckit.agent-orchestrator.discover

Find agents across linked repositories:

> /speckit.agent-orchestrator.discover --all

🌐 Discovered 8 agents across 4 repositories

Configuration

Edit .specify/extensions/orchestrator/orchestrator-config.yml:

matching_strategy: "keyword"     # "keyword" or "weighted"
confidence_threshold: 0.5        # 0.0 - 1.0
cross_repo_scan: true

linked_repos:
  - path: "../frontend-app"
    name: "Frontend"
  - path: "../backend-api"
    name: "Backend API"

How Routing Works

  1. Index β€” Aggregates all capabilities from core commands, installed extensions, workflows, and presets into a single JSON index
  2. Score β€” For each capability, computes relevance against the user prompt using keyword matching, description similarity, and name matching
  3. Rank β€” Sorts by score, filters by confidence threshold
  4. Suggest β€” Presents top matches with scores and offers to execute the best match

Roadmap

  • Semantic matching (beyond keyword-based)
  • Integration as a native workflow route step type
  • Catalog-level search aggregation
  • Learning from user selections to improve future routing

Author

Pragya Chaurasia β€” pragya247

License

MIT

Stats

0 stars

Version

0.1.0
Updated 16 days ago

Install

Using the Specify CLI

specify extension add agent-orchestrator --from https://github.com/pragya247/spec-kit-orchestrator/archive/refs/tags/v0.1.0.zip

Owners

License

MIT