Inspiration

Every single year, billions of dollars are delayed or completely lost during corporate Mergers and Acquisitions (M&A) asset evaluations because traditional due diligence cycles take weeks or months. Investment analysts are forced to waste hundreds of billable hours manually cross-referencing public legal disclosures against isolated internal ledger infrastructure, leaving companies exposed to hidden financial liabilities.

We built NexusFlow to eliminate this friction entirely. NexusFlow transforms Slack into an elite, automated command center for corporate transaction intelligence, turning a grueling multi-month data extraction cycle into a continuous execution stream that takes under 5 seconds.

What it Does

NexusFlow allows team members to run exhaustive asset due diligence from their primary collaboration environment inside Slack.

  1. An analyst initializes the system using the custom interactive slash command vector: /nexus-analyze stripe.com.
  2. The application acts as a high-performance network layer, immediately returning a telemetry processing card to the channel feed.
  3. In the background, an autonomous multi-agent swarm navigates both private database environments and the live public web.
  4. The system aggregates, audits, and presents a comprehensive transaction intelligence dashboard card using structured Slack Block Kit UI components—complete with an absolute security clearance pass verified by an automated critic model layer.

How We Built It

Our system architecture relies on an advanced, decoupled Python stack optimized for asynchronous high-load execution loops:

  • Slack SDK & Block Kit UI: Operates as our native enterprise conversational layer, displaying stateful, real-time message updates directly inside active workflow channel loops.
  • FastAPI Web Framework: Serves as our front-line ingress gateway engine, using specialized task configurations to ingest event webhooks.
  • Stateful LangGraph Swarm Core: Coordinates a multi-agent network (Planner → Researcher → Financial → Critic) to direct structured state transitions safely.
  • Model Context Protocol (MCP): Connects our backend agents directly to private data architectures, securely reading ledger data, gross transaction volumes, and balances from our active Stripe Sandbox Dashboard using local proxy authentication keys.
  • Tavily Real-Time Search API: Powers our web scanning research node to pull up-to-the-minute litigation records, external market headwinds, and corporate anomalies.

Challenges We Overcame: Bypassing the 3-Second Timeout Limit

Slack’s remote infrastructure enforces a strict 3000ms response constraint window on interactive command hooks. Because deep multi-agent logic loops naturally take longer to fully analyze live webs and data tiers, a standard synchronous pipeline crashes instantly.

We solved this by engineering a custom Asynchronous Gateway Ingress Pattern. When the webhook registers, our FastAPI layer immediately captures the execution arguments, logs the background worker loop, and returns an instant response packet back to Slack within a blazing-fast ~23ms–28ms. The heavy graph workflow is executed entirely in the background via non-blocking asynchronous routines, updating the user's view in real time once analysis completes.

Accomplishments We're Proud Of

  • Flawless MCP Infrastructure Sync: Programmatically fetching data from an isolated Stripe developer instance straight into an AI context window without exposing open database credentials to the public cloud.
  • Deterministic Self-Auditing: Building a strict Critic Node Layer inside our graph that systematically evaluates internal private accounting sheets against public web search matrices to eliminate AI hallucinations before a human analyst ever sees the report.

What We Learned

We proved that complex, security-sensitive enterprise tasks don't require slow, separate web browsers. Building native ChatOps platforms with deep multi-agent coordination transforms how data flows across organizations.

What's Next for NexusFlow

We plan to scale NexusFlow to support multi-ledger cross-reconciliation (matching Stripe data against QuickBooks, SAP, and Salesforce instances) and implement predictive vector financial analysis models to flag hidden tax vulnerabilities automatically.

Built With

  • docker
  • docker-compose
  • fastapi
  • langgraph
  • model-context-protocol
  • ngrok
  • postgresql
  • python
  • slack-bolt
  • slack-sdk
  • tavily-api
  • uvicorn
Share this project:

Updates