# How The Hive Works

The Hive uses composable on-chain agents to turn a users’ intent into action by having specialized agents being called by an orchestrator. These specialized agents have access to multiple API’s from different platforms, which they use to obtain data necessary to achieve the users goal. Agents will then create transactions, which the user  approves, and can therefore act on-chain.

**Features**

**Network of Specialized Agents:** Manage trading and staking with tools designed for specific purposes.

**Third-Party Integration:** A standardized framework allows developers to build and extend the platform.

**Long-Term Adaptability:** Persistent memory and learning ensure improved user interactions over time.

#### The Agent Architecture

**Orchestrator Agent**: Receives your request and coordinates the response\
**Specialized Agents**: Each handles a specific task like fetching yield data, comparing protocols, or constructing transactions\
**Data Layer**: Agents pull real-time information from protocol APIs, on-chain data, and audit reports

When you ask a question or give a command, here's what happens:

1. The orchestrator interprets your intent
2. Specialized agents gather necessary data from multiple sources
3. If you're making a deposit, agents construct the required transactions
4. You review and approve with your wallet
5. Transactions execute directly between you and the underlying protocol

**Important**: The Hive never holds your funds. Agents prepare transactions, but you approve every action and your deposits go directly to the integrated protocols.


---

# 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://the-hive-docs.gitbook.io/the-hive-docs/about/publish-your-docs.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.
