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

# Overall Design Principles

OptiView follows a **layered, decoupled, event-driven architecture with online inference**.\
The system is designed to unify **multi-chain data ingestion**, **asset aggregation and risk control**, and **AI-driven market intelligence**, while maintaining a beginner-friendly experience through integrated education and task loops.

At a high level:

* **Lower layers** handle multi-chain and multi-protocol data collection
* **Middle layers** focus on portfolio aggregation and risk labeling
* **Upper layers** deliver AI analysis, personalization, and user-facing insights
* A dedicated **Swap Aggregator layer** integrates third-party APIs for optimal execution

The platform includes a built-in **Beginner Mode** (term explanations, guided steps, risk tooltips) and a **security-first design** (contract/token risk scoring and real-time alerts) to reduce learning and usage barriers.
