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

# Architecture

**Agents can trade. They can never steal.**

Your money stays in a vault you control. Agents get scoped permissions to execute strategy within boundaries you define. If an agent is compromised, the damage is capped. Your vault remains untouched.

***

### The Security Model

Traditional crypto has an all-or-nothing problem. Either you give an agent your private key (and it can drain everything), or you give it nothing (and it can't help you).

XIO uses **session keys** to solve this. Think of it like giving your assistant a corporate card instead of your bank login.

| Agents CAN                         | Agents CAN'T                  |
| ---------------------------------- | ----------------------------- |
| Execute trades you've approved     | Withdraw funds                |
| Operate within size limits you set | Exceed your spending cap      |
| Trade on venues you've whitelisted | Access other wallets          |
| Act during time windows you define | Operate after session expires |

You define the sandbox. The agent operates inside it. The rules are enforced on-chain, not by trust.

***

### Speed

Traditional bridging takes 10-30 minutes. You see an opportunity, start the bridge, and watch it disappear.

XIO uses solver-based bridging. You get funds on the destination chain in **under 10 seconds**. The settlement happens in the background.

Trade execution hits Hyperliquid's matching engine directly via API. Sub-second finality. No wallet popups.

***

### The Tech Behind It

For the MVP, we don't build infrastructure from scratch. We assemble the best production-proven components:

**Biconomy Nexus** (Your Vault)

* 4 independent security audits
* 92% DeFi Safety score
* Native session key support

**Privy** (Your Login)

* 75M+ accounts created
* Powers Jupiter, Zora, Farcaster
* Acquired by Stripe

**Relay Protocol** (Your Bridge)

* 85+ chains supported
* Used by OpenSea and Phantom
* Sub-10 second settlement

**Hyperliquid** (Your Exchange)

* 62% of all perp DEX volume
* 200,000 orders per second
* Deepest on-chain liquidity

***

### What This Means For You

**Today:** One-click trading. No bridges to manage. No gas tokens to hold. No seed phrases to lose.

**Tomorrow:** AI agents running strategies 24/7 while you sleep. Grid bots, delta-neutral plays, yield optimization. All within boundaries you control.

The architecture exists to make one thing possible: **you supervise, agents execute, and your funds stay yours.**

***

### Technical Deep Dive

For developers and technical partners, we maintain detailed documentation on our implementation of ERC-7579 smart accounts, session key policies, and execution infrastructure.

[Tech Specs](/xio-docs/appendix/tech-specs.md)
