OSP logo
os://protocol

Routing

Task routing and workflow routing strategies

Overview

The routing module provides task routing and workflow routing strategies. It determines how tasks and workflows are routed to appropriate agents and resources.

Features

  • Task Routing: Route tasks to appropriate agents
  • Workflow Routing: Route workflows to appropriate resources
  • Routing Strategies: Implement various routing strategies
  • Load Balancing: Balance load through routing

Usage

Routing ensures tasks and workflows are directed to the most appropriate agents and resources, optimizing system efficiency and performance.

Integration

Routing integrates with:

  • Orchestrator: Routes tasks in orchestration
  • Registry: Uses registry for agent selection
  • Parallelization: Routes tasks for parallel execution

Workflow Orchestration

Routing is essential for workflow orchestration, ensuring tasks reach the right agents at the right time.