acp-router

Routes natural-language requests to the correct OpenClaw ACP harness flow.

14|5|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/openclaw-easy/openclaw-easy-desktop --skill acp-router-openclaw-easy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: acp-router
Source: https://github.com/openclaw-easy/openclaw-easy-desktop/tree/main/openclaw/extensions/acpx/skills/acp-router
Command: npx skills add https://github.com/openclaw-easy/openclaw-easy-desktop --skill acp-router-openclaw-easy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Routing plain-language requests to the correct ACP harness flow (Pi, Claude Code, Codex, OpenCode, Gemini, or Kimi) without manual routing or config.

Core Features & Use Cases

  • Intent-driven routing chooses the right harness path (ACP runtime or direct acpx) based on user intent and system state.
  • AgentId mapping provides consistent defaults for common harness names like pi, claude, codex, opencode, gemini, and kimi.
  • Thread-safe sessions create and reuse deterministic sessions for multi-turn tasks, with built-in recovery when runtimes are unavailable.
  • Use Case: Route a coding task intended for Codex through the ACP runtime path, or relay prompts via direct acpx.

Quick Start

Ask the assistant to route a coding task to the appropriate ACP harness and specify the target agent.

Frequently Asked Questions about acp-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route plain-language coding requests to the correct ACP harness without manual config?

Routing plain-language coding requests to the correct ACP harness is handled by intent-driven flow routing. It analyzes user intent and system state to automatically select the ACP runtime path or direct acpx flow.

How does intent-driven routing map my requests to a specific agentId?

Intent-driven routing maps requests to a specific agentId using consistent default mappings for common harness names. This ensures your prompts reach the correct agent, such as pi, claude, codex, opencode, gemini, or kimi.

Can I reuse deterministic sessions for multi-turn tasks in ACP?

You can reuse deterministic sessions for multi-turn tasks in ACP. The system creates sessions via sessions_spawn, preserving deterministic session names to maintain thread-safe continuity across multiple interactions.

Does the ACP router support recovery when the preferred runtime path is unavailable?

The ACP router supports built-in recovery when the preferred runtime path is unavailable. If the ACP runtime path fails, it automatically falls back to relay prompts via direct acpx to maintain workflow.

What preflight checks are enforced for coding-agent thread requests?

Preflight checks for coding-agent thread requests enforce validation rules before routing. This ensures the target runtime and agentId are properly configured before initiating the ACP session creation process.

When should I use the ACP runtime path versus direct acpx flow?

Use the ACP runtime path for full session management and multi-turn tasks, while direct acpx flow is used for relaying prompts when the runtime is unavailable or for simpler routing scenarios.