You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Case\n\nAs the Beacon network grows to hundreds/thousands of agents, individual heartbeat processing could become a bottleneck.\n\n## Proposed Feature\n\nAdd support for batched heartbeat submission:\n\npython\n# Current: One API call per heartbeat\nbeacon.heartbeat(agent_id='agent_1')\nbeacon.heartbeat(agent_id='agent_2')\n\n# Proposed: Batch multiple heartbeats\nbeacon.batch_heartbeat([\n {'agent_id': 'agent_1', 'status': 'active'},\n {'agent_id': 'agent_2', 'status': 'idle'},\n {'agent_id': 'agent_3', 'status': 'busy'}\n])\n\n\n## Benefits\n\n1. Reduced API overhead - Single network round-trip for multiple agents\n2. Agent coordination - Useful for multi-agent systems reporting together\n3. Scalability - Better support for large deployments\n\n## Implementation Notes\n\n- Could use existing Ed25519 signing (sign the batch)\n- Backward compatible (single heartbeats still work)\n- Optional feature (opt-in)\n\nThoughts? ??
Use Case\n\nAs the Beacon network grows to hundreds/thousands of agents, individual heartbeat processing could become a bottleneck.\n\n## Proposed Feature\n\nAdd support for batched heartbeat submission:\n\n
python\n# Current: One API call per heartbeat\nbeacon.heartbeat(agent_id='agent_1')\nbeacon.heartbeat(agent_id='agent_2')\n\n# Proposed: Batch multiple heartbeats\nbeacon.batch_heartbeat([\n {'agent_id': 'agent_1', 'status': 'active'},\n {'agent_id': 'agent_2', 'status': 'idle'},\n {'agent_id': 'agent_3', 'status': 'busy'}\n])\n\n\n## Benefits\n\n1. Reduced API overhead - Single network round-trip for multiple agents\n2. Agent coordination - Useful for multi-agent systems reporting together\n3. Scalability - Better support for large deployments\n\n## Implementation Notes\n\n- Could use existing Ed25519 signing (sign the batch)\n- Backward compatible (single heartbeats still work)\n- Optional feature (opt-in)\n\nThoughts? ??