feat: roundtable discussion — multi-agent structured debate with consensus tracking#28826
Open
ParsifalC wants to merge 4 commits into
Open
feat: roundtable discussion — multi-agent structured debate with consensus tracking#28826ParsifalC wants to merge 4 commits into
ParsifalC wants to merge 4 commits into
Conversation
Add Roundtable Discussion feature for structured multi-agent debates: - hermes_cli/roundtable_db.py: SQLite data layer (5 tables: discussions, participants, speeches, findings, convergence_history) with WAL mode, auto-init, and full CRUD operations - tools/roundtable_tools.py: 7 tools registered via tools/registry.py (init, speak, read, status, summarize, end, list) - toolsets.py: Add 'roundtable' toolset with check_fn gating - skills/software-development/roundtable/SKILL.md: Usage guide, coordinator flow, participant prompt templates, convergence docs - tests/hermes_cli/test_roundtable_db.py: 28 unit tests for DB layer - tests/tools/test_roundtable_tools.py: 16 unit tests for tool handlers Architecture: Independent SQLite DB (~/.hermes/roundtable.db), coordinator- driven communication via delegate_task, LLM-based convergence detection. Zero invasive changes to existing kanban or agent code.
Author
|
Hi team! Just updated the PR description with a clearer summary. This PR adds a complete roundtable discussion feature (7 tools + SQLite storage + 44 tests). Would love to get some eyes on it when you have a chance. Happy to address any feedback! 🙏 |
- Add task_checkpoints table to kanban DB schema - Add Checkpoint dataclass and save/get_latest/get_by_step/clear functions - Add kanban_checkpoint tool (save progress after each step) - Add kanban_get_checkpoint tool (retrieve checkpoints on retry) - Inject checkpoints into build_worker_context (retrying workers see prior progress) - Auto-clear checkpoints on successful task completion - 82/82 existing kanban_db tests pass Part of OPC Phase 1 stability fixes (Worker fault tolerance)
Root cause: roundtable tools were not properly available to delegate_task subagents. Refactored roundtable_tools.py (+249/-622) to fix tool registration and calling behavior in subagent context. Task: t_46ec11f8 Verified: Boss confirmed fix works end-to-end
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a complete roundtable discussion feature to Hermes Agent — enabling multiple AI agents to engage in structured, multi-round debates on any topic with automatic consensus tracking.
Why this matters
Hermes already supports task delegation and kanban-based workflows, but there's no way for multiple agents to discuss and debate a topic together. This fills that gap — agents can now have back-and-forth conversations, challenge each other's ideas, and converge on a shared conclusion.
What's included
Key design decisions
Testing
44 tests, all passing. Run with:
Closes #28825