fn agents_by_account(state: &AppState) -> BTreeMap<String, BTreeSet<String>>
The open agents on each account, by the links their spawn resolves through (their own, or the seeded template’s an agent inherits).