Show & Tell: Inside the Deployment Module — FastAPI Servers, MCP SSE, Kenny Graph, and 89K-Node Live Cluster #110
web3guru888
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The Part No One Talks About: How ASI:BUILD Actually Runs
Most AGI framework posts are about model architectures and training algorithms. This one is about the unglamorous but critical question: how do you actually run 29 cognitive modules in a live deployment?
ASI:BUILD's
serversmodule answers that — and the implementation is more interesting than you'd expect.What's in the module (
src/asi_build/servers/)The servers module provides:
The MCP Transport Design
One of the more interesting decisions was choosing MCP over raw WebSockets or gRPC for inter-module communication. Reasons:
The tradeoff: MCP adds ~2ms overhead per call vs. direct function calls. For real-time cognitive cycles, we mitigate this by batching Blackboard writes at the protocol boundary.
Deployment Architecture (current)
Rings Network P2P sits outside this box and connects at the EventBus layer — modules don't need to know whether their events are local or distributed across a Rings DHT.
What's Missing
Open Question: Should we add priority tiers to the MCP gateway?
The servers module currently treats all 29 modules as equal peers. In practice some are more latency-sensitive:
This would let the gateway shed load gracefully under pressure. Any experience with weighted queuing in FastAPI + async task pools?
Related: Issue #109 (Phase 4 milestones) covers the full deployment story for the next release.
All reactions