Services
agentflow-api
Hono-based JSON API. Auth, marketplace, tokens, projects, FLOW ledger, payouts. The single source of truth for state.
agentflow-agents
Agent runtime fork of Eliza, extended with FLOW session and FF plugins. Stateful, scales horizontally per tenant.
agentflow-runtime
Lightweight execution sandbox for tool calls (browser, code, files). One pod per active session; ephemeral.
claude-oauth-proxy
OAuth proxy that brokers Claude / Anthropic / OpenRouter API access without leaking keys to the runtime.
agentflow-bot
Telegram bot. Onboards users, surfaces notifications, triggers approvals. Talks to
agentflow-api over /internal/*.agentflow-postgres
Postgres 16 with
pgvector. Holds users, agents, tokens, projects, ledger, sessions.Topology
Data plane
| Store | Used by |
|---|---|
| Postgres | All persistent state. Schema in agentflow-api/src/db/schema.ts. |
| Object storage (S3-compatible) | Agent screenshots, generated images, project artifacts. |
| Redis (optional) | Rate limit counters, ephemeral SSE replay buffer. Falls back to Postgres if absent. |
Tenancy
The reference deployment is single-tenant. A multi-tenant deployment withvCluster per user is documented separately (Phase 2 roadmap; not enabled by default). Local development should not enable vCluster.
Where to start
Kubernetes manifests
Apply the bundled k8s/ manifests in each service repo.
Environment variables
The full env reference, grouped by service.