block / block/proto-fleet

RFC 0001-P3: Multi-agent plumbing + Agents UI

Open
#162 0 comments 0 reactions 1 assignee Claimed by @ankitgoswami View on GitHub
phase-3 rfc-0001
Dominant language
Go
Stars
55
Forks
16
Avg merge
1d 17h
Merged PRs (30d)
84

Description

Phase 3: real multi-agent support on the server side, plus the UI surface for managing agents.

## Acceptance criteria

- Real `agentregistry` service on the server: per-agent control-channel registry with sticky routing; rebalancing on rediscovery.
- `queue_message.agent_id` populated at enqueue time from `device.agent_id`.
- New UI page at `client/src/protoFleet/views/Agents/`, modeled on the Pools view: list connected agents, last-seen, version, owned device counts, basic health.
- New `AgentManagementService` proto + handler: `ListAgents`, `GetAgentHealth`, `RotateAgentKey`, `RotateAgentKeypair`.
- `RotateAgentKey`: revokes the existing api_key and issues a new one over an authenticated `ControlStream` (bearer-token rotation only).
- `RotateAgentKeypair`: agent generates a new keypair locally; existing keys re-wrapped to new pubkey via the existing crypto delivery path.

## Reference

RFC 0001 Phase 3: https://github.com/block/proto-fleet/pull/145

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.