Skip to content

ADR-0003: Model-neutral by design

  • Status: Accepted; amended by ADR-0005 (provider presets)
  • Date: 2026-11-30

Context

AgentPlay must work with any AI agent: hosted models from any vendor, local models, and plain programs.

Decision

  • The core knows no vendor. Agents are selected only by the scenario use reference.
  • Built-in generic adapters need no vendor SDK: openai_compat (OpenAI-compatible endpoints including Ollama, LM Studio, vLLM, llama.cpp, OpenRouter), command (any local program over stdin/stdout JSON), http (any agent behind a URL).
  • Vendor SDK adapters (anthropic, mcp) are optional extras and equal to third-party plugins. Other vendors ship as separate plugins.
  • Local agents are first class: no API key required, zero cost by default, plain-text fallback for models without tool calls.

Consequences

Fair cross-model comparison and a small core. The generic adapters become the most important to test (see SPEC-009, ADP-001 to ADP-016).