# Introduction

**The Treasury for the Agentic Economy. Built on Solana.**

TherosAI is financial infrastructure for autonomous AI agents. It gives every agent a sovereign treasury — a programmable vault, a USDC balance, and the ability to transact on-chain without human intervention at the point of execution.

Every payment is settled on Solana and inscribed immutably on-chain. Every spending edict is enforced at the program level. Every agent operates from its own isolated vault.

TherosAI is not a bank. It is the treasury your agents were built for.

***

## What TherosAI provides

| Primitive                   | What it does                                                                                                     |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| **Agent Vault**             | A non-custodial Solana wallet (PDA-backed) provisioned per agent in seconds via API                              |
| **USDC Balance**            | Each vault holds USDC on Solana as its base currency — stable, instant, near-zero cost                           |
| **Spending Policies**       | Programmable edicts enforced on-chain: per-transaction limits, velocity caps, recipient allowlists, time windows |
| **On-Chain Ledger**         | Every transaction inscribed on Solana — immutable, public, independently verifiable                              |
| **Agent-to-Agent Payments** | Native support for one agent to pay another, with escrow, verification, and dispute primitives                   |
| **Operator Dashboard**      | A precision control plane for operators to monitor, configure, and audit their agent fleet                       |
| **Webhooks & SDK**          | Drop-in integration for any agent framework — provision vaults, check balances, submit transactions              |

***

## Who it's for

**AI agent developers and operators.** Teams building autonomous agents that need to spend money on behalf of a product or business. A coding agent that purchases compute. A research agent that pays per data query. An orchestrator that commissions sub-agents and settles payment on task completion.

**AI infrastructure platforms.** Products like ElizaOS, Virtuals Protocol, or any multi-agent orchestration layer that wants to embed native payment rails directly.

**Enterprises running agentic workflows.** Companies operating internal agents for procurement, data acquisition, or automated SaaS operations who need auditable, policy-governed spending.

***

## How it works

1. **Create an organisation** and deposit USDC to your TherosAI account.
2. **Provision vaults** for each agent via the API or dashboard — one call, under a second.
3. **Attach a spending policy** that defines what each agent can spend, how fast, and with whom.
4. **Fund the vaults** by allocating USDC from your organisation balance.
5. **Agents transact** — payments are validated against policy on-chain before execution.
6. **You monitor** in real-time via the dashboard, webhooks, or the API.

***

## Quick example

```typescript
import { TherosAI } from "@TherosAI/sdk";

const client = new TherosAI({ apiKey: process.env.THEROS_API_KEY });

// Provision a vault for an agent
const wallet = await client.wallets.create({
  agentId: "agent_research_v2",
  label: "Research Agent — Market Data",
  policyId: "pol_conservative",
});

// Send a payment
const tx = await wallet.pay({
  to: "api.perplexity.ai",
  amount: "2.50",
  currency: "USDC",
  memo: "Query batch #8821",
});
```

***

## Architecture at a glance

TherosAI is built on Solana Mainnet. Agent vaults are **Program Derived Addresses (PDAs)** — accounts owned and controlled by the TherosAI on-chain program. There are no private keys to manage or expose. Spending policies are enforced **before** a transfer instruction executes, at the program level — not in application code and not subject to override.

The indexing layer (Helius) surfaces every transaction to the dashboard and webhook system in real-time.

→ See [Architecture](/resources/architecture.md) for the full technical breakdown.

***

## Status

TherosAI is in **open beta**. It is infrastructure for technical builders — not a consumer product. The API surface, SDK, and on-chain program will evolve based on developer feedback.

→ See [Beta Programme](/resources/beta.md) for current constraints, incentives, and what's coming next.


---

# 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.therosai.com/getting-started/readme.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.
