← back

Trezo AI

The onchain CFO for modern SaaS companies.

Rust · Anchor · Solana · Token-2022 · Supabase/pgvector · Express.js · Next.js

Problem

SaaS companies holding treasury on-chain have no programmable way to enforce spend policy, track yield exposure, or reason about their positions without manual ops.

Architecture

Anchor program handling treasury logic with Token-2022 transfer hooks for programmable compliance. RAG pipeline over Supabase/pgvector lets the agent reason about positions and policy in natural language. Pyth and Kamino integrations feed live pricing and yield data. Backend and AI agent pipeline deployed on Render.

Key Decisions

Built the full stack solo — on-chain program, backend, and agent pipeline — to keep the treasury logic and the reasoning layer tightly coupled rather than bolting AI on top of a generic vault.