|
Download BAND_SWAP.md from baljot07/fusion: direct link, hf CLI and curl.
- Browser
- Download file 3.25 kB
-
https://huggingface.co/spaces/baljot07/fusion/resolve/main/BAND_SWAP.md
- Command line
-
hf download hf://spaces/baljot07/fusion/BAND_SWAP.md
-
curl -L -o BAND_SWAP.md https://huggingface.co/spaces/baljot07/fusion/resolve/main/BAND_SWAP.md
3.25 kB
Band Swap Procedure — FUSION VC Committee Real Mode
This document outlines the procedure to swap the FUSION multi-agent system from local Mock Mode (MockBandBus) to production Real Mode (RealBandBus via the thenvoi SDK).
Step 1: Create 5 Band External Agents (5 min)
- Log in to your band.ai developer dashboard.
- Create 5 External Agents — one for each VC partner.
- Name them exactly as follows to match the handles:
managing-partnerfinancial-partnerlegal-partnertechnical-partnermarket-partner
- Copy the
agent_idandapi_keyfor each agent and paste them into your localagent_config.yamlfile:
# agent_config.yaml
agents:
managing_partner:
agent_id: "your_managing_partner_agent_id"
api_key: "your_managing_partner_api_key"
room: "managing-partner-room"
financial_partner:
agent_id: "your_financial_partner_agent_id"
api_key: "your_financial_partner_api_key"
room: "finance-partner-room"
...
Step 2: Set Up Band Rooms (10 min)
Run the automated setup script to register the 5 boardroom rooms on the Band platform:
python scripts/setup_band_rooms.py
This registers:
managing-partner-room(monitored by Managing Partner)finance-partner-room(monitored by Financial Partner)legal-partner-room(monitored by Legal Partner)tech-partner-room(monitored by Technical Partner)market-partner-room(monitored by Market Partner)
Step 3: Flip the Switch in .env (1 min)
Open your .env file and set the mode switches:
BAND_MOCK=false
BAND_API_KEY=your-developer-band-api-key
This disables MockBandBus and instructs the BaseAgent compiler in core/base_agent.py to instantiate the thenvoi LangGraphAdapter with your credentials.
Step 4: Run & Test (15 min)
Start the FUSION server:
python run.py
In another terminal, trigger a new due diligence simulation:
curl -X POST "http://localhost:8000/api/trigger-deal?company=NovaPay%20Inc"
Step 5: Verify the Band Swarm Event Flow (10 min)
Log in to the band.ai room explorer and verify the following flow of messages:
- Convene:
@managing-partnerjoins and posts the audit triggers in parallel:@baljotchohan23/financial-partner New deal in committee...in thefinance-partner-room.@baljotchohan23/legal-partner New deal in committee...in thelegal-partner-room.- ... and so on for tech and market partners.
- Auditing: Each partner wakes up, reads its pitch section via the
load_deal_brieftool, and posts its completed analysis back tomanaging-partner-roomusing a@mention:@managing-partner FINANCIAL ANALYSIS COMPLETE. Risk Score: 9.0/10...
- Consensus & Verdict: The Managing Partner collects all 4 completion reports, resolves any conflicts (e.g. high margins vs declining sector), and writes the final verdict card:
DECISION: PASS/WEIGHTED SCORE: 9.3/10.
- WebSocket Sync: Ensure that every message sent on Band is successfully mirrored to the Next.js boardroom dashboard via the WebSocket event bridge.
FUSION — Five agents. One boardroom. No bad investments.