Saltar al contenido principal

alphaswarm-kb-federation

Catalog date: 2026-06-24.

alphaswarm-kb-federation is a standalone cross-silo marketplace federation reverse-proxy. It allows tenants to securely share and subscribe to knowledge corpora across the AlphaSwarm platform.

Role

  • Knowledge Marketplace: Facilitates the discovery and recall of shared knowledge from other silos.
  • Secure Proxying: Brokers zero-copy dataset sharing without exposing subscriber bearers upstream.
  • Access Control: Integrates with OpenFGA to confirm visibility and subscription rights before minting signed share tokens.
  • Bitemporal Merging: Merges federated results into the subscriber's local context while preserving bitemporal metadata.

Flow

subscriber silo                    federation gateway                source silo
───────────────── ────────────────── ───────────
POST /federation/recall ─────▶
1. OpenFGA `check` (visible?)
2. mint signed share token
3. POST /kb/corpora/.../recall ──▶
verify share token
return hits
4. BitemporalMerger.merge_layers
◀───────── ComposedResult

Hard Boundaries

  1. Read-only by Design: The federation gateway never modifies upstream data.
  2. No Monolith Imports: Decoupled from alphaswarm.*; uses alphaswarm_core and HTTP.

Repository