Commit graph

1 commit

Author SHA1 Message Date
oho
081772387b feat: Add Phase 2 Multi-Agent Debate System
Implement a comprehensive debate framework for improved trading decisions:

- Add 6 debate personas: Optimist, Pessimist, Fundamentalist, Technician,
  Devil's Advocate, and Neutral
- Implement structured debate rounds with position-taking and rebuttals
- Add weighted consensus mechanism for aggregating agent opinions
- Add confidence calibration tracking to improve accuracy over time
- Include comprehensive test suite (38 tests)

New components:
- src/agents/debate.py - Complete debate system implementation
  - DebateAgent: Individual agent with persona-specific prompts
  - DebateOrchestrator: Coordinates multi-agent debates
  - ConfidenceCalibrator: Tracks prediction accuracy
- tests/test_debate.py - Full test coverage

The debate system helps avoid groupthink by having agents with different
analytical biases challenge each other's positions before reaching consensus.
2026-01-12 23:23:50 +01:00