FinOps Agent architecture

Question to report: API, workers, read-only SQL, optional model provider

FinOps Agent architecture Question to report: API, workers, read-only SQL, optional model provider Analyst · Browser · Architecture component Analyst Browser Web UI · Next.js, nginx · Docker Compose stack Web UI Next.js, nginx API · FastAPI, roles, budgets · Docker Compose stack API FastAPI, roles, budgets Redis · live events, rate limits · Docker Compose stack Redis live events, rate limits Workers · agent loop, leases · Docker Compose stack · scale with N Workers agent loop, leases scale with N PgBouncer · transaction pooling · Docker Compose stack PgBouncer transaction pooling PostgreSQL 16 · row-level security · Docker Compose stack PostgreSQL 16 row-level security Model provider · optional, tool calling · Architecture component Model provider optional, tool calling HTTP, cookie /api wake, limits publish events runs, sessions steps, leases SQL tool calls Docker Compose stack Legend Frontend Backend Database Cloud Message bus External