Run: objection-ai.exe --room-id <id> --gemini-key <key> --player-username <name>
Objection.ai is a solo-ready AI client for objection.lol that runs full Ace Attorney-style trials without a human Game Master. Powered by @google/genai, it generates the case, testimony, evidence, and courtroom twists in real time so every session feels like a fresh episode.
Skip the scripts and scheduling. Objection.ai spins up a complete Ace Attorney-style case on demand so you can jump straight into cross-examination.
You play as the lone Defense Attorney against an AI that hides the truth. Hit start and a brand-new episode unfolds every time.
- 📺 Solo-first content: Jump in instantly without scheduling. Boot, record, and crack a case live.
- 🔄 New case every run: New victims, weapons, witnesses, and twists powered by
@google/genai. - 🎭 Reactive testimony: Press statements, present evidence, and watch the AI improvise under pressure.
- ⚡ Fast setup: Minimal install time so you can start playing sooner.
- Download a build from the releases page (or build locally with Bun).
- Create a room in objection.lol
- Run:
Interactive mode (recommended for first-time users):
./objection-aiThe program will guide you through setup step by step.
CLI mode with all parameters:
./objection-ai \
--player-username <name> \
--room-id <id> \
--room-pass [optional-password] \
--gemini-key <key> \
--prompt "Turnabout Wet: The defendant named 'Walter, the Water' is being accused of not being wet by the prosecution."Phoenix Wright: Ace Attorney And All Respective Names are Trademark & © of Capcom. This is a fan project and is not affiliated with Capcom.
If you enjoyed crushing the AI prosecutor and uncovering the truth on camera, give this project a star on GitHub. If you have a feature idea, consider contributing to this project. This code needs refactoring.
Active contributors will appear here:
The court is now in session!
