Skip to content

Agent Adapters

Adapters provide the interface between youBencha and AI coding agents. They handle communication, log normalization, and result extraction.

Copilot CLI

Integration with GitHub Copilot CLI for code generation and modification tasks. Learn more →

┌─────────────────┐
│ youBencha │
│ Orchestrator │
└────────┬────────┘
┌─────────────────┐
│ Adapter │◄── Translates youBencha config to agent commands
│ (copilot-cli) │
└────────┬────────┘
┌─────────────────┐
│ AI Agent │
│ (Copilot CLI) │
└────────┬────────┘
┌─────────────────┐
│ youBencha │◄── Normalizes output to youBencha Log format
│ Log │
└─────────────────┘

Each adapter handles:

  1. Configuration translation - Convert youBencha config to agent-specific format
  2. Agent execution - Run the AI agent with the prompt
  3. Log normalization - Transform output to youBencha Log format
  4. Error handling - Capture and report agent failures

Adapters are configured in the agent section of your suite:

agent:
type: copilot-cli # Adapter type
model: claude-sonnet-4.5 # Model selection (optional)
agent_name: my-agent # Named agent (optional)
config:
prompt: "Task description"

youBencha is designed for extensibility. Future adapters may include:

  • Cursor - Cursor IDE integration
  • Aider - Aider coding assistant
  • Continue - Continue.dev integration
  • Custom - Build your own adapter