Skip to content

Architecture Overview

Architecture Overview

ODIN uses a two-layer framework designed for extensibility and clear separation of concerns.

Two-Layer Framework

┌─────────────────────────────────────────────────────────────────┐
│ LAYER 1: THE AGENTS (the constant) │
│ │
│ ┌─── Front Office ───┐ ┌─ Middle Office ─┐ ┌─ Back Office ──┐│
│ │ Intelligence │ │ Risk mgmt [IND]│ │ Operations ││
│ │ Origination [NET]│ │ Compliance [IND]│ │ Trade finance ││
│ │ Merchant [NET]│ └─────────────────┘ │ Settlement ││
│ │ Hedging │ └────────────────┘│
│ └────────────────────┘ │
│ │
│ [NET] = network-enabled (ODIN trade discovery) │
│ [IND] = structurally independent (can override commercial) │
├─────────────────────────────────────────────────────────────────┤
│ LAYER 2: THE SERVICES (the variables, all MCP-gated) │
│ │
│ Trade discovery (ODIN network) | Counterparty data │
│ Compliance screening | Market pricing | Logistics & tracking │
│ Document services | FX & payments | Weather & climate │
│ Financial services (loan origination) │
│ │
│ Each: free tier (rate-limited) → paid tier (full access) │
│ New service = new MCP endpoint. Architecture never changes. │
└─────────────────────────────────────────────────────────────────┘

Agent Topologies

Sub-agent Topology: Star (Human at Center)

Every connection goes through the human. The human invokes each agent one at a time, reviews output, then invokes the next. No agent sees what another agent produced unless explicitly shared.

Team Agent Topology: Mesh (Orchestrator Coordinates)

Agents can communicate directly. Risk and Compliance have override authority and can block commercial decisions. Settlement data feeds back to Risk (credit scores), Intelligence (outcome data), and Operations (supplier scoring).

Seven-Phase Trade Lifecycle

PhaseDurationKey Activities
1. OriginationHours to monthsDiscovery, opportunity evaluation
2. EvaluationHours to 4 weeksRisk/compliance screening, parallel assessments
3. ExecutionSame day to 2 weeksContract documentation, hedge placement
4. Logistics1-8 weeksFreight, insurance, inspections
5. Delivery1 day to 6 weeksLoading, transit, document assembly
6. Settlement5-90 daysInvoicing, payment, reconciliation
7. CloseoutWeeks to YEARSPPA monitoring, audit trail

Override and Escalation

Twelve override triggers implemented in team agent mode:

  1. VaR soft breach (>80%) - Alert
  2. VaR hard breach (100%+) - Mandatory reduction
  3. Stop-loss breach - Immediate hedging
  4. Credit limit breach - Block execution
  5. Credit quality / concentration - Hold + mitigation
  6. Liquidity / margin stress - Block new trades
  7. Sanctions / KYC incomplete - Compliance hold
  8. Reputational concern - Route to committee
  9. Investigation / whistleblowing - Freeze + preserve trail
  10. Stress test failure - CRO notification
  11. Rogue trading suspicion - Trading suspended
  12. Economic capital breach - Exception required

Data Continuity

Four capture mechanisms ensure the agents maintain context:

  1. Tool Integrations (Gmail, Calendar, Drive via MCP)
  2. Agent-prompted updates (follow-up after milestones)
  3. Voice-first quick capture (voice debriefs)
  4. Document-as-trigger (BOL, quality certs, etc.)