Multi-agent AI debate engine. Get AI-powered verdicts on any question.
AskVerdict AI is a multi-agent debate engine that pits multiple AI personas against each other to analyze questions from different perspectives. Instead of getting a single biased answer, you get a structured debate with evidence, cross-examination, and a synthesized verdict.
npx askverdict "Should I use PostgreSQL or MongoDB for my SaaS?"Uses your own API keys (OpenAI, Anthropic, or Gemini). See packages/verdict for details.
npx askverdict "Should I use PostgreSQL or MongoDB for my SaaS?"pnpm add @askverdict/sdkimport { AskVerdictClient } from '@askverdict/sdk';
const client = new AskVerdictClient({ apiKey: 'your-api-key' });
const { verdict } = await client.createVerdict({
question: 'Should I use PostgreSQL or MongoDB for my SaaS?',
mode: 'balanced',
});
console.log(verdict.verdict.recommendation);| Package | Description | Version |
|---|---|---|
verdict |
BYOK debate CLI (zero signup) | |
@askverdict/sdk |
TypeScript API client | |
@askverdict/cli |
Command-line interface | |
@askverdict/types |
Shared TypeScript types |
- Ask a question - Any decision, comparison, or open-ended question
- AI agents debate - Multiple specialized personas argue different sides with evidence
- Cross-examination - Agents challenge each other's claims
- Verdict - A synthesized recommendation with confidence scores and dissenting views
| Mode | Agents | Rounds | Best For |
|---|---|---|---|
fast |
2 | 1 | Quick opinions, simple comparisons |
balanced |
3 | 2 | Most questions (default) |
thorough |
4 | 3 | Important decisions, complex topics |
analytical |
5 | 4 | Deep analysis, research questions |
Get your API key at askverdict.ai/settings/api.
# CLI
export ASKVERDICT_TOKEN=your-api-key// SDK
const client = new AskVerdictClient({ apiKey: 'your-api-key' });See the examples/ directory for working code samples.
We welcome contributions! Please see our contributing guidelines (coming soon).
MIT - see LICENSE for details.