Platform
In this sectionWhat 10xGraph provides as infrastructure for AI applications: what is on by default in 1.0, what is opt-in, what is not provided, and what you still own.
- 4 pages
- About 51 min to read all
10xGraph is open-source, self-hosted infrastructure for AI applications. You write the agents, tools and tasks; 10xGraph runs them behind an API server with authentication, role-based access, tenant isolation, durable state in Postgres and Redis, background jobs, metrics and tracing, and generates Docker and Kubernetes deploy files. MIT licensed, by 10xScale.
Capabilities
“Available in 1.0” means it ships and, once the server is configured, runs without extra setup. “Opt-in” means the config key or install that turns it on. “Not provided” means 10xGraph does not do it; the control mapping lists every gap in full.
| Capability | Available in 1.0 | Opt-in (what turns it on) | Not provided |
|---|---|---|---|
| API server and streaming | REST, SSE streaming and WebSocket routes generated from your graph; liveness and readiness probes | Run with 10xgraph dev or the image from 10xgraph build |
A hosted service |
| Auth | JWT and custom BaseAuth; the 10xgraph init Full setup turns it on |
auth in 10xgraph.json (it is off until you set it) |
An identity provider, user management |
| RBAC and reach | Permissions per route; reach own, tenant or all |
roles and tenant_claims inside the auth object |
Role design and assignment |
| Tenant isolation | Tenant columns you declare, filled from the verified identity | tenant_columns on PgCheckpointer and PgVectorStore; Postgres row-level security with row_level_security |
Tenant isolation without declared tenant columns, or on SQLite and in-memory checkpointers |
| Durable state | Versioned thread state in Postgres or SQLite; Redis as hot cache | Pass PgCheckpointer or the SQLite checkpointer to compile() |
Backups and retention policy |
| Long-term memory | pgvector store in the same Postgres, or Qdrant, served at /v1/store |
Pass the store to compile(); install the pgvector or qdrant extra |
Embeddings hosting |
| Cache store | In-memory by default (per process) | cache_store.type redis or custom for run locks, caps, rate limits and revocation shared across workers |
Eviction-safe Redis tuning |
| Rate limiting | Sliding window by IP, user or global | cache_store.rate_limit |
Network-edge or volumetric DDoS protection |
| Replay-safe tools | Finished tool calls are recorded and skipped on resume | A ledger-capable checkpointer (PgCheckpointer) |
Exactly-once for side effects; send idempotency keys |
| Background jobs and scheduler | TaskIQ broker, 10xgraph worker, 10xgraph scheduler, /v1/tasks routes |
worker config and a broker (Redis Streams, RabbitMQ or Kafka); results and schedules live in Redis |
Exactly-once delivery (it is at-least-once) |
| Metrics (Prometheus) | Scrape route or OTLP push for the API and the worker | metrics block in 10xgraph.json |
Dashboards and alert rules |
| Tracing | OTLP, Phoenix, Logfire and LangSmith through the tracing publishers | OTEL_ENABLED and the otel extra, or a publisher |
A trace backend |
| Audit log and JSON logs | Metadata-only audit events and structured JSON log lines | audit block in 10xgraph.json and LOG_FORMAT=json; the Full setup turns them on |
Log storage, retention and tamper protection (your log pipeline or sink does that) |
| Deploy files | Dockerfile, Compose and Kubernetes manifest from 10xgraph build |
--docker-compose, --k8s |
Cluster, TLS, secrets and backups |
| TypeScript client | 10xgraph-client covers the API: invoke, stream, threads, memory, files |
npm install 10xgraph-client |
React hooks |
| Playground | Opens with 10xgraph dev |
Not for production; run trace is off in production mode | Use by end users |
| Evals | 10xgraph eval writes JSON and HTML reports |
Eval sets and criteria you write | Eval endpoints in the API |
For what the server enforces by default, see the security model; for the request path, see architecture.
What the server does not do for you (auth off, secrets, TLS, backups, prompt injection) is listed in What 10xGraph does not protect.
The path to production
- Start from the Full setup. Run
10xgraph init --mode full --storage postgres. It scaffolds the graph, evals, tests, and a10xgraph.jsonwith JWT auth, Redis cache store, and rate limiting. - Configure. Set
auth, pass aPgCheckpointertocompile(), setMODE=production,ORIGINS,JWT_SECRET_KEY,DATABASE_URLandREDIS_URL. Read the quickstart auth section, then the security model, and test with Test before production. - Build and deploy. Run
10xgraph build --docker-composeor10xgraph build --k8s, then follow the production checklist and the scaling guide. For how the pieces fit, see the architecture.
All pages in Platform
- ArchitectureSee how a request moves through a served 10xGraph agent, which parts hold state, and why the API workers are stateless and can scale out behind a load balancer.6 min
- Scaling and reliabilityWhat Redis shares across API workers, how workers and IDs scale, what is replay-safe, and how the server behaves when Redis or Postgres is down.12 min
- Where the time goesMeasured time 10xGraph and the API add on top of the model call, by load level and by stage, with storage calls per run and engine-only numbers.10 min
- SOC 2, ISO 27001 and GDPR control mappingMap the controls 10xGraph builds in to SOC 2, ISO 27001 and GDPR reviews, see what the default Full setup turns on, and what your own organization must supply.23 min