# Architecture

#### **Data Integration and Execution Layer**

* **Data Sources:** Inputs from various sources, such as social accounts, blockchain, analytics tools, newsfeeds, and crypto aggregators, provide a comprehensive market overview.
* **Dynamic Data Usage:** Agents dynamically decide how to utilize available data, enabling continuous improvement in insights and decision-making. Strict requirements can be imposed when necessary.
* **Execution Autonomy:** Aggregated data is analyzed for actionable insights:
  * **Aggregators:** Provide a holistic view of market trends.
  * **DeFi Protocols:** Unlock liquidity opportunities and execute swaps securely.
  * **On-Chain Data:** Deliver real-time updates on blockchain transactions and holdings.
  * Agents autonomously adjust strategies, safeguarding against manipulation or fraud.

#### **Vault Infrastructure**

Aspis vaults serve as modular components for asset management and strategy execution, offering transparency and security:

* **Vault Deployment:** Users or managers can set up new vaults with defined parameters, such as asset types, risk levels, and operational rules.
* **Vault Components:**
  * **Treasury Management:** Safeguards user funds and tracks overall balance.
  * **Shareholder Registry:** Tracks user stakes (via smartcoins), calculates performance fees, and facilitates revenue distribution.
  * **Operating Rules:** Enforces compliance with investment parameters and ensures secure trade execution.
  * **AI Agents:** Drive decision-making by automating asset allocation, rebalancing, and strategy execution.

#### **Vault Lifecycle**

1. **Creation:** Users or managers define vault parameters and deploy the smart contract.
2. **Funding:** Investors deposit assets and receive smartcoins as proof of their stake.
3. **Execution:** AI agents autonomously manage trades, swaps, and rebalancing in accordance with the vault's predefined strategy.
4. **Monitoring:** Real-time updates are available through the Aspis platform or text-based commands.
5. **Exit:** Investors can redeem their smartcoins and withdraw assets at any time, ensuring flexibility and control.

#### **Text-to-Manage Interface**

Aspis introduces a **text-to-manage interface** for simplified vault operations:

* **Vault Exploration:** Users can request the system to find suitable vaults based on criteria like risk tolerance or yield expectations.
* **Real-Time Updates:** Performance metrics, trading notifications, and market updates are delivered via an integrated Telegram chat.
* **Investment Actions:** Users can invest, rebalance, or withdraw funds directly through conversational commands, making DeFi interactions more intuitive.

#### **Security and Risk Management**

* **Smart Contract Guardians:** Prevent unauthorized transactions and enforce operational rules.
* **Predefined Compliance Checks:** Automated checks ensure that all transactions align with user-defined parameters, mitigating risks effectively.


---

# 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://info.aspis.finance/whitepaper/aspis/architecture.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.
