# Tally architecture

{% embed url="<https://www.youtube.com/watch?v=NiCd7D5bhZk>" %}

Tally is built on top of the [Governor standard](https://docs.openzeppelin.com/contracts/4.x/governance). Tally indexes the on-chain data from and enables users to make calls to Governor smart contracts running autonomously on the blockchain.

To be compatible with the Tally app, we recommend you use OpenZeppelin's [Governor contract](https://docs.openzeppelin.com/contracts/4.x/api/governance). This modular, battle-tested system of organization smart contracts gives token holders control of their organization on-chain.

A typical Governor organization uses three contracts: a token contract, a Governor contract, and a timelock contract.

<figure><img src="/files/SVbYMIy9wNhG8a9WWG4V" alt=""><figcaption></figcaption></figure>


---

# 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://docs.tally.xyz/set-up-and-technical-documentation/tally-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.
