games.debate_v2.agent_with_judges¶

Enhanced Gamified Debate Agent with AI Judge Integration.

This module extends the basic gamified debate with AI judge panels for sophisticated winner determination and performance evaluation.

Classes¶

JudgedGameDebateAgent

Gamified debate agent with AI judge panel integration.

Module Contents¶

class games.debate_v2.agent_with_judges.JudgedGameDebateAgent¶

Bases: haive.games.debate_v2.agent.GameDebateAgent

Gamified debate agent with AI judge panel integration.

This agent extends the basic GameDebateAgent with sophisticated AI judge evaluation for more nuanced winner determination and detailed performance feedback from multiple judge perspectives.

async conclude_conversation(state)¶

Enhanced conclusion with AI judge evaluation.

Parameters:

state (haive.agents.conversation.debate.state.DebateState)

Return type:

langgraph.types.Command

classmethod create_judged_tournament_match(topic, player_a, player_b, match_id, judge_panel_type='tournament', num_judges=3, bracket_position='tournament', **kwargs)¶

Create a tournament debate match with AI judge evaluation.

Parameters:
  • topic (str)

  • player_a (tuple[str, str])

  • player_b (tuple[str, str])

  • match_id (str)

  • judge_panel_type (Literal['tournament', 'academic', 'public'])

  • num_judges (int)

  • bracket_position (str)

Return type:

JudgedGameDebateAgent

get_judge_panel_info()¶

Get information about the current judge panel.

Return type:

dict[str, Any]

setup_agent()¶

Setup the judged debate agent with judge panel.

Return type:

None