vendor.lock)Agent.decide() interface (agents/base.py)decisions.jsonl, events.jsonl and summary.jsonuv tool install / pipx → ygo-arena starts the server and opens the browserlibocgcore for macOS / Windows / Linux| Backend | Covers | Auth |
|---|---|---|
ClaudeCodeAgent (exists) |
Claude Pro/Max | Player's local claude login |
CodexAgent |
ChatGPT Plus/Pro | Player's local Codex CLI (Sign in with ChatGPT) |
OpenAICompatibleAgent |
OpenRouter, OpenAI API, Gemini, DeepSeek, Mistral, … | API key + base URL |
OpenAICompatibleAgent |
Ollama, LM Studio (local models) | None, free, offline |
AnthropicAPIAgent (optional) |
Anthropic API | API key |
ScriptedBotAgent |
No AI – free fallback | None |
LocalPolicyAgent (future) |
Own trained model | None, runs on CPU |
<aside> ⚠️
Check current subscription terms: Anthropic and OpenAI restrict third-party apps from offering subscription login. Players using their own installed CLI is the most defensible setup – API key / OpenRouter remain the officially supported routes.
</aside>
EFFECT_INDESTRUCTABLE_*, EFFECT_IMMUNE_EFFECT, EFFECT_CANNOT_BE_EFFECT_TARGET)Effect.SetCost while the original script initializes; some cards need manual fixesOCG_LoadScript