Overview
The ACP Registry is a centralized CDN-hosted catalog of ACP-compliant agents. Routa automatically fetches agent definitions from the registry to discover available agents and their distribution methods.Registry URL
Registry Format
The registry follows the ACP Registry Format:Distribution Types
Agents can be distributed in three ways:NPX Distribution
Node.js packages distributed via npm:UVX Distribution
Python packages distributed via PyPI:Binary Distribution
Platform-specific binary archives:API Reference
Fetching the Registry
Force Refresh
Getting an Agent
Listing All Agents
Filtering by Distribution Type
Platform Detection
Clearing the Cache
Integration with Presets
Registry agents are automatically converted to ACP presets:AcpAgentPreset with source: "registry":
Example: Using a Registry Agent
Provider Configurations
Routa includes built-in presets for popular providers that may or may not be in the registry:OpenCode
Claude Code
Gemini
GitHub Copilot
Codex
Registry Sync
Sync local presets with the registry:- Fetches the latest registry
- Converts registry agents to presets
- Returns merged list (static + registry)
Error Handling
Network Failures
Invalid Format
Best Practices
- Cache registry data - Don’t call
fetchRegistry()on every request - Handle network failures gracefully - Registry may be unavailable
- Prefer registry agents over static presets - They’re always up-to-date
- Check multiple distribution types - Agents may support npx, uvx, and binary
- Validate agent availability - Use
buildAgentCommand()before spawning