Overview
This example demonstrates switching between different AI coding agents at runtime using the same AgentCtrl API. The same prompt is sent to multiple agents to compare their responses and performance.Example
Key Features
- Multiple Agent Support: Switch between OpenCode, Claude Code, and Codex
- Unified API: Same interface regardless of the underlying agent
- Performance Comparison: Measure response times and token usage
- Flexible Configuration: Agent-specific settings (turn limits, parameters)
- Error Handling: Graceful handling of agent-specific failures
- Response Analysis: Compare quality and characteristics of different agents