# Tagomi Host

The Tagomi Host Contract is a central element of the Tagomi Protocol, acting as a hub connecting Super Tokens, Super Agreements, and Super Apps

![Tagomi Host Contract](https://docs.superfluid.finance/assets/images/image_\(68\)_\(1\)-c445e0ae775f9000fb04b40cd9c63a94.png)

Tagomi *Host Contract*

Let's explore how the Host Contract interacts with different components of the Tagomi Protocol.

### Super Agreements 🔗 Host Contract[​](https://docs.superfluid.finance/docs/concepts/advanced-topics/superfluid-host#super-agreements--host-contract) <a href="#super-agreements--host-contract" id="super-agreements--host-contract"></a>

Super Agreements, each with their unique contracts, interface with the Host Contract. Interaction with a Super Agreement is typically done by calling `callAgreement()` on the Host Contract, specifying the agreement and parameters.

#### Key Points[​](https://docs.superfluid.finance/docs/concepts/advanced-topics/superfluid-host#key-points) <a href="#key-points" id="key-points"></a>

* **Upgradeability and Expansion**: Super Agreements can be updated or new ones can be added and registered with the Host Contract.

info

**NOTE**: Direct interactions with Super Token contracts are not required for invoking Super Agreements. Instead, these agreements are accessed via the Host Contract, which then manages the Super Token balances involved.

### Super Tokens 🔗 Host Contract[​](https://docs.superfluid.finance/docs/concepts/advanced-topics/superfluid-host#super-tokens--host-contract) <a href="#super-tokens--host-contract" id="super-tokens--host-contract"></a>

Super Tokens form the foundational layer of the Tagomi Protocol, where all Super Agreement data for an account is compiled.

#### Functionality[​](https://docs.superfluid.finance/docs/concepts/advanced-topics/superfluid-host#functionality) <a href="#functionality" id="functionality"></a>

* **Aggregated Balance Calculation**: The impact of each Super Agreement on an account's balance is cumulatively calculated to determine the Super Token balance.
* **Data Sourcing**: Super Token contracts obtain necessary data through the Host Contract by iterating over the registered Super Agreements.

### Super Apps 🔗 Host Contract[​](https://docs.superfluid.finance/docs/concepts/advanced-topics/superfluid-host#super-apps--host-contract) <a href="#super-apps--host-contract" id="super-apps--host-contract"></a>

Registration of Super Apps with the Tagomi Host is essential to enable their callback functionalities.

#### Interaction Mechanics[​](https://docs.superfluid.finance/docs/concepts/advanced-topics/superfluid-host#interaction-mechanics) <a href="#interaction-mechanics" id="interaction-mechanics"></a>

* **Registration Requirement**: Super Apps must be registered with the Host to function correctly.
* **Callback Activation**: When a Super Agreement is engaged with a Super App, the Host Contract triggers the Super App's callbacks.

![Super Apps and Host Contract](https://docs.superfluid.finance/assets/images/image_\(58\)-cf6b7bba9bac1bb211064d9eb59c9287.png)

*Super Apps and Host Contract*

In summary, the Tagomi Host Contract is integral to the Tagomi Protocol, facilitating seamless interactions and integrations among Super Tokens, Super Agreements, and Super Apps.


---

# 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://tagomisystems.gitbook.io/tagomi-docs/advanced-topics/tagomi-host.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.
