Skip to content

feat: introduce Agent orchestrator, AgentDaemon, federated summoning, and retry mechanics with performance indexes#13

Merged
ParsifalC merged 2 commits into
mainfrom
codex/roundtable-review-fixes
Jun 7, 2026
Merged

feat: introduce Agent orchestrator, AgentDaemon, federated summoning, and retry mechanics with performance indexes#13
ParsifalC merged 2 commits into
mainfrom
codex/roundtable-review-fixes

Conversation

@ParsifalC

Copy link
Copy Markdown
Collaborator

Add Managed and Federated Orchestrators to support decentralized multi-agent roundtable discussions. Introduce registered agent heartbeats, runtime daemons, inbox/delivery mechanics, Web Viewer summon updates, and performance query indexes.

Key changes:

  1. Orchestration Modes:
    • Implement ManagedOrchestrator for co-located meetings inside a single host/platform.
    • Implement FederatedOrchestrator for summoning remote/decentralized agents across stdio and HTTP transports using the runtime registry.
  2. Agent Daemon:
    • Add AgentDaemon (src/roundtable/agent.py) as a small runtime component that registers agents on startup, sends periodic heartbeats, checks inbox messages, and accepts summons or invitations automatically based on configured policies.
  3. Federated Summoning & Dispatch:
    • Expand database schema with dispatches, summons, and summon_events tables (migration v3).
    • Support assembling discussion status to allow agent recruitment and acceptance checks before activating the meeting.
    • Implement start policies: quorum-based, all, immediate, and timeout-based.
    • Add roundtable_summon_agents, roundtable_dispatch_status, roundtable_retry_summon, and roundtable_wait_for_turn tools to the MCP server.
    • Support explicit allow_terminal_retry to release the unique idempotency key on timed-out or failed dispatches and create retry dispatches.
  4. Database Performance Indexes & Optimization:
    • Add database indexes (migration v4) for coordinator-based dispatch filtering, expired summon timeouts, and discussion-specific inbox messages (idx_dispatches_coordinator, idx_summons_timeout, idx_inbox_discussion).
  5. HTTP Bridge & Web Viewer Updates:
    • Add authentication, metadata propagation, and auto-summon acceptance options to Codex bridge.
    • Update Web Viewer schema and sync logic (web_sync.py) to reflect dispatch state and summon recruitment status on the UI.
  6. Robustness & Verification:
    • Add comprehensive tests for database index structures, federated dispatch states, orchestrators, agent daemon runtime cycles, and idempotency key release scenarios.

… and retry mechanics with performance indexes

Add Managed and Federated Orchestrators to support decentralized multi-agent roundtable discussions. Introduce registered agent heartbeats, runtime daemons, inbox/delivery mechanics, Web Viewer summon updates, and performance query indexes.

Key changes:
1. Orchestration Modes:
   - Implement ManagedOrchestrator for co-located meetings inside a single host/platform.
   - Implement FederatedOrchestrator for summoning remote/decentralized agents across stdio and HTTP transports using the runtime registry.
2. Agent Daemon:
   - Add AgentDaemon (src/roundtable/agent.py) as a small runtime component that registers agents on startup, sends periodic heartbeats, checks inbox messages, and accepts summons or invitations automatically based on configured policies.
3. Federated Summoning & Dispatch:
   - Expand database schema with dispatches, summons, and summon_events tables (migration v3).
   - Support assembling discussion status to allow agent recruitment and acceptance checks before activating the meeting.
   - Implement start policies: quorum-based, all, immediate, and timeout-based.
   - Add roundtable_summon_agents, roundtable_dispatch_status, roundtable_retry_summon, and roundtable_wait_for_turn tools to the MCP server.
   - Support explicit allow_terminal_retry to release the unique idempotency key on timed-out or failed dispatches and create retry dispatches.
4. Database Performance Indexes & Optimization:
   - Add database indexes (migration v4) for coordinator-based dispatch filtering, expired summon timeouts, and discussion-specific inbox messages (idx_dispatches_coordinator, idx_summons_timeout, idx_inbox_discussion).
5. HTTP Bridge & Web Viewer Updates:
   - Add authentication, metadata propagation, and auto-summon acceptance options to Codex bridge.
   - Update Web Viewer schema and sync logic (web_sync.py) to reflect dispatch state and summon recruitment status on the UI.
6. Robustness & Verification:
   - Add comprehensive tests for database index structures, federated dispatch states, orchestrators, agent daemon runtime cycles, and idempotency key release scenarios.
@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-roundtable Ready Ready Preview, Comment Jun 7, 2026 2:26pm
roundtable-intro Ready Ready Preview, Comment Jun 7, 2026 2:26pm

@ParsifalC ParsifalC merged commit 58cdc8a into main Jun 7, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant