Skip to main content
Overview
DraftLast reviewed 2026-06-23

Architecture

OpenTRMS is a modular Spring application. Each Maven module owns one slice of the trade lifecycle and depends only on the contracts it needs.

ModuleResponsibility
trms-apiREST surface, Swagger UI, request validation
trms-domainDeal model, lifecycle state machine
trms-event-storeAppend-only, hash-chained event log
trms-settlementNetting, settlement instructions
trms-closeoutEnd-of-day cut-off, curves, accruals
trms-creditCounterparty lines and exposure
trms-authScopes, entitlements, approval chains
trms-aiSpring AI ChatClient agents and the MCP server
note

A deeper architecture walkthrough is in progress.