> For the complete documentation index, see [llms.txt](https://docs.zircofi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zircofi.com/architecture/overview.md).

# System overview

ZircoFi is a small set of immutable contracts on Robinhood Chain, surrounded by stateless services that make them convenient. The rule that shapes everything: **the chain enforces, services only assist.** Every service can disappear and every guarantee still holds; what is lost is convenience, never funds or fairness.

## The pieces

```
          Traders, LPs, Makers, Integrators
                        │
        ┌───────────────┼────────────────────┐
        │               │                    │
   Platform UI     Quote service        Maker gateways
   (Next.js)       (stateless)          (RFQ streaming)
        │               │                    │
        └───────────────┼────────────────────┘
                        │  signed transactions only
   ┌────────────────────▼─────────────────────────┐
   │              Robinhood Chain                  │
   │                                               │
   │  SwapRouter ── AnchorVaults ── RfqSettlement  │
   │       │              │               │        │
   │  EligibilityRegistry │        FeeCollector    │
   │       │         OracleRouter                  │
   │  ParamController (timelock)                   │
   └───────────────────────────────────────────────┘
                        │
        Indexer (Ponder / Envio) ── Trade explorer,
        execution-quality dashboards, keeper service
```

## On-chain

The contract set and each contract's single job are documented in [Smart contracts](/architecture/smart-contracts.md). The design properties that hold across all of them:

* **Immutable logic, timelocked parameters.** Vault and settlement logic does not upgrade; behaviour changes only through `ParamController` values behind the timelock, each with a published rationale.
* **One oracle door.** No contract reads a price except through `OracleRouter` and its guards.
* **One eligibility door.** No contract decides who may act except through the `EligibilityRegistry`.
* **Pause can only stop.** The guardian can halt quoting and settlement; nothing can block withdrawals or move funds.

## Off-chain

Three services, all stateless with respect to funds:

* **Quote service**: simulates router pricing and aggregates maker quotes for the UI and API. It cannot alter a fill; the router re-derives or re-verifies everything on-chain. See [Off-chain services](/architecture/off-chain-services.md).
* **Keeper service**: pokes regime transitions and halt conditions. Anyone can run one; the functions are permissionless and the reference implementation is open source.
* **Indexer**: builds the trade explorer and execution-quality datasets from chain events. Wrong indexing can misdisplay, never mis-settle.

## Trust map

| Party                     | Must be trusted for                                      | Cannot do                                                       |
| ------------------------- | -------------------------------------------------------- | --------------------------------------------------------------- |
| Chainlink                 | Correct prices and market status, within the guard stack | Move funds; a bad price is bounded by the band and halts        |
| Robinhood (sequencer)     | Liveness and ordering                                    | Steal funds; censorship is bounded by forced inclusion          |
| Robinhood Assets (issuer) | Stock Token backing and terms                            | Touch the venue's contracts; see [Issuer risk](/risk/issuer.md) |
| Attestation issuer        | Correct eligibility decisions                            | Price, settle or hold anything                                  |
| ZircoFi Labs (services)   | Convenience and uptime                                   | Misprice a fill, take custody, or block a withdrawal            |
| Timelock multisig         | Parameter changes, after the delay, in public            | Move funds, block withdrawals, or act instantly                 |

## Failure stance

Every component has a designed failure response: oracles halt, the sequencer has a grace path, services degrade to direct contract interaction, parameters are bounded by the band. The complete enumeration is the [Risk framework](/risk/framework.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.zircofi.com/architecture/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
