Getting Started
Upivia is a governance layer between AI agents and the outside world. Instead of giving your agent ten different API keys, you give it one Upivia API key — and every action flows through policy, budget, approval, and audit.
Introduction
Upivia is a governance layer between AI agents and the outside world. Instead of giving your agent ten different API keys, you give it one Upivia API key. Every action — email, search, LLM, code, calendar — flows through a single pipeline that checks policy, enforces budgets, requires approval when needed, and logs everything to an immutable audit trail.
Agent Sends Request
Your AI agent calls POST /api/v1/service-requests with its API key. One endpoint, one key.
The Pipeline
AI Agent │ Bearer agent_key_live_... ▼ POST /api/v1/service-requests │ ├─ 1. Policy Check — Does the agent have permission? ├─ 2. Budget Check — Monthly cap? Daily limit? Balance? ├─ 3. Approval Gate — Cost > threshold? Queue for review. ├─ 4. Provider Execution — Call the real service. ├─ 5. Balance Debit — Deduct cost from org wallet. └─ 6. Audit Log — Record everything (hash chained).
Key Numbers
| Service families | 23 across 40+ operations |
| API endpoints | 161 |
| CLI commands | 17 |
| Local file tools | 11 |
| OpenRouter models | 300+ |
| Connected app providers | 6 (Slack, Nylas, HubSpot, Salesforce, Jira, Linear) |
Quickstart
1. Sign Up
Create an account at /signup. Every account gets a dedicated workspace with its own balance.
2. Top Up
Go to Money and add funds via Stripe. New accounts start with a free trial balance.
3. Create Agent
Visit /agents, click New agent, name it, copy the API key. Use test-mode keys (agent_key_test_) during development — no real money spent.
4. Enable Services
In the agent's Services tab, toggle on what you need. Set monthly budgets and daily limits.
5. Dispatch
curl -X POST https://www.upivia.com/api/v1/service-requests \
-H "Authorization: Bearer agent_key_live_..." \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"operation":"web_search.search","payload":{"query":"AI governance"}}'CLI Quickstart
uv tool install upivia-tui upivia-tui init # authenticate upivia-tui # launch the TUI upivia-tui --dir ~/project # launch in a project dir upivia-tui --background # headless device for the web app
Sign Up
Create account at /signup via email or OAuth. Every account gets a dedicated workspace with its own balance.