# Architecture Overview

**cSigma** **Institutional** is the **core onchain infrastructure** of the cSigma Protocol, built using the **Diamond Standard (ERC-2535)** for modularity, upgradeability, and scalability. It acts as the unified backend connecting **Edge Pools**, **csUSD Vaults**, and **csLYD Vaults** with **institutional borrowers** and **onchain asset managers**, facilitating the secure deployment and management of capital across real-world and DeFi strategies.

At its core, Institution is composed of multiple **facets** (modules) that handle specific functions such as fund routing, vault accounting, borrower management, payments, and credit evaluation — all operating under a single onchain diamond proxy.

***

#### How It Works

1. **Liquidity Aggregation**\
   Funds from Edge Pools (single-asset), csUSD and csLYD Vaults (multi-asset) flow into the **Institution Diamond**, where they are routed via the **Fund Manager** module.
2. **Child Pool Deployment**\
   For every approved borrower or asset manager, the **Institution Factory** creates a dedicated **Child Pool** within the diamond. Each Child Pool represents an isolated credit facility with its own configuration — credit limits, repayment terms, and collateral rules.
3. **AI-Driven Credit Rating**\
   Borrowers and asset managers are continuously monitored by the **AI Credit Engine**, which evaluates financial and onchain performance to assign dynamic credit ratings.&#x20;
4. **Fund Deployment & Strategy Execution**

   **Institutional Borrowers** access liquidity from their Child Pools to fund **real-world asset (RWA)** or **onchain yield** strategie&#x73;**.**
5. **Monitoring, Repayment & Yield Reflection**\
   Borrowers and asset managers repay principal and yield directly into their Child Pools. The Fund Manager aggregates repayments and redistributes them to the originating vaults (Edge, csUSD, csLYD). Vaults automatically update share values, reflecting user yield in real time.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://csigma-edge.gitbook.io/csigma-protocol/about-institutional/architecture-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
