> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

Our Tempo Agents schema contains the following tables:

| Schema | Description                                                                                  | Tables                                                                                                                                                                                                                                                          |
| ------ | -------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Agents | AI agent and autonomous service activity data, including registrations, events, and metrics. | [mpp\_charges](/historical-data/supported-blockchains/evm/tempo/agents/mpp-charges), [mpp\_servers](/historical-data/supported-blockchains/evm/tempo/agents/mpp-servers), [mpp\_sessions](/historical-data/supported-blockchains/evm/tempo/agents/mpp-sessions) |

## Data Schema

```
tempo.agents.mpp_charges
tempo.agents.mpp_servers
tempo.agents.mpp_sessions
```

## Sample Query

```sql theme={null}
SELECT
    s.name AS service_name,
    s.category,
    COUNT(*) AS charge_count,
    SUM(c.usd_amount) AS total_usd
FROM tempo.agents.mpp_charges c
JOIN tempo.agents.mpp_servers s USING (memo_server_hash)
WHERE c.block_timestamp >= CURRENT_DATE - INTERVAL '7 days'
GROUP BY s.name, s.category
ORDER BY total_usd DESC;
```
