10xGaph
Building open-source infrastructure for production AI agents. Our 10xGraph framework includes a secure server, durable state, and replay-safe tools.-
Verified
We've verified that the organization 10xGraph controls the domain:
- 10xgraph.com
Write your AI logic. 10xGraph runs the infrastructure.
10xGraph by 10xScale: graph engineering for production AI agents.
Website · Docs · Quickstart · Changelog
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. Formerly Agentflow.
Unique offerings
- Isolation: tenant-based system · roles with reach
own/tenant/all· tenant columns from the verified identity · another tenant's data answers 404 - Zero trust: verified identity on every request · no route without a permission guard · ToolGuard checks every tool call against the caller (1.1) · human approval for risky tools (1.1) · tool output fenced as data (1.1) · mTLS support
- Scalable: horizontal scale with stateless API workers · shared Redis cache store for locks, caps and rate limits · job workers scaled on their own · Snowflake IDs across nodes · readiness probes and graceful shutdown · events to Kafka, Redis or RabbitMQ
- Background jobs: worker for queued tasks · scheduler for cron jobs · Redis Streams, RabbitMQ or Kafka brokers · each task runs as the user who queued it
- Durable state: one database (Postgres + pgvector) · Redis hot cache · versioned writes · tool call ledger, so a finished tool is not run again after a crash
- Operable: OTLP tracing · Prometheus metrics · audit log · Docker and Kubernetes files
- Yours: MIT · self-hosted · any model · no LangChain
The backend you would otherwise build yourself
Before an agent reaches real customers, someone writes the auth, the tenant filter in every query, the job worker, the metrics and the deploy files. With 10xGraph, that work ships in the install, and each part stays replaceable.
- Security and access on every endpoint. One
authsetting: JWT or your own auth class, roles with permissions and a reach ofown,tenantorall. The server refuses to boot if a route has no permission guard, and a thread from another user or tenant answers 404. - Tenant isolation you declare. Tenant columns on the checkpointer and store are filled from the verified identity, never from client input, and every query filters by them. Postgres row-level security is opt-in.
- Zero trust for agents. The model never gets more power than the person it acts for. From 1.1,
ToolGuardchecks every tool call against the caller's permissions, risky tools wait for a human yes, and tool output reaches the model fenced as data, not instructions. Each link (proxy, Postgres, Redis, LLM, MCP) can run over mutual TLS; see zero-trust agents. - Scales out. Add stateless API workers behind a load balancer. Postgres holds durable state, and a shared Redis cache store holds run locks, caps, rate limits and token revocation across workers. Long work goes to a job worker tier you scale on its own; see scaling and reliability.
- Durable state in one database. Threads in Postgres with Redis as a hot cache, and memory and RAG in the same Postgres with pgvector. Qdrant and SQLite are there when you need them.
- Background jobs, two kinds.
10xgraph workerruns tasks your API queues, and10xgraph schedulerruns them on cron schedules. Both are built on TaskIQ over Redis Streams, RabbitMQ or Kafka, and a task runs as the user who queued it, under the same access rules. - Observability. Tracing to Logfire, LangSmith, Phoenix or any OTLP endpoint, Prometheus or OTLP metrics for the API and the worker, and a metadata-only audit log you ship to your own sink.
- Correct under failure. A ledger of completed tool calls means a resumed run skips tools that already finished, and node and tool timeouts stop a hung tool from holding a worker. On SIGTERM, active runs finish or are stopped and saved.
- Deploy it yourself.
10xgraph buildwrites the Dockerfile, Docker Compose file and Kubernetes manifest, with liveness and readiness checks. - One stack, backend to frontend. A typed TypeScript client for invoke, streaming, threads, memory and files, plus tools that run in the user's browser.
- You own it. MIT, self-hosted, no paid tier, no LangChain dependency. Any model: OpenAI, Google Gemini (including Vertex AI), Anthropic (direct, Vertex AI and Bedrock) and OpenAI-compatible endpoints.
Built for teams going through SOC 2 and ISO 27001 audits: the control mapping shows which controls 10xGraph supports and which stay with you. Auth is off until you configure it; 10xgraph init --mode full turns it on.
Get started
pip install 10xgraph 10xgraph-api 10xgraph init # scaffold a project 10xgraph dev # run the server and open the playground
Then follow the first agent guide, or read why 10xGraph and the comparisons with LangGraph, CrewAI, Google ADK and others.
Packages
| Package | Install | Repository |
|---|---|---|
| Core engine | pip install 10xgraph |
10xGraph/10xGraph |
| API server and CLI | pip install 10xgraph-api |
10xGraph/10xgraph-api |
| TypeScript client | npm install 10xgraph-client |
10xGraph/10xgraph-client |
| Website and docs | 10xgraph.com | 10xGraph/10xgraph-docs |
All three packages share the major and minor version (1.0 today). Coming from Agentflow? The old agentflow import and CLI keep working until 2.0; see coming from Agentflow.
Get involved
Your first pull request can be small: a typed module, an example, a fixed doc. Start with the contributing guide, meet the people who build 10xGraph at 10xgraph.com/maintainers, and ask questions in Discussions. Report security issues privately through the Security tab of the affected repository.
MIT licensed. Built and run in production by 10xScale.
Popular repositories Loading
-
10xGraph
10xGraph
Public
Open-source, self-hosted infrastructure for AI applications. You write the agents, tools and tasks; 10xGraph runs them behind an API server with auth, role-based access, tenant isolation, durable s…
-
10xgraph-api
10xgraph-api
Public
API server and CLI for 10xGraph, self-hosted infrastructure for AI applications. Serves your agents and tasks with JWT or custom auth, roles with own, tenant or all reach, rate limits, a background…
-
10xgraph-client
10xgraph-client
Public
Typed TypeScript client for 10xGraph, self-hosted infrastructure for AI applications. Invoke and stream agents, manage threads, memory and files, trigger background tasks, run tools in the browser,…
-
10xgraph-docs
10xgraph-docs
Public
Docs and blog for 10xGraph, open-source, self-hosted infrastructure for AI applications. Tutorials, guides and reference for the core library, API server, TypeScript client and playground. Built wi…
-
.github
.github
Public
-
support-desk
support-desk
Public
Multi-tenant customer support agent on 10xGraph: JWT auth and roles, tenant isolation, MCP tools with per-call signed tokens, pgvector knowledge base, background jobs, Phoenix traces, Grafana metri…
HTML
Repositories
Showing 6 of 6 repositories-
10xgraph-docs
Public
Docs and blog for 10xGraph, open-source, self-hosted infrastructure for AI applications. Tutorials, guides and reference for the core library, API server, TypeScript client and playground. Built with Astro.
10xGraph/10xgraph-docs's past year of commit activity MDX 4 MIT 3 0 0 Updated Dec 3, 2026 -
10xgraph-client
Public
Typed TypeScript client for 10xGraph, self-hosted infrastructure for AI applications. Invoke and stream agents, manage threads, memory and files, trigger background tasks, run tools in the browser, and stream realtime audio. Works with any frontend framework.
10xGraph/10xgraph-client's past year of commit activity TypeScript 4 MIT 1 0 6 Updated Dec 1, 2026 -
10xGraph
Public
Open-source, self-hosted infrastructure for AI applications. You write the agents, tools and tasks; 10xGraph runs them behind an API server with auth, role-based access, tenant isolation, durable state in Postgres and Redis, background jobs, metrics and tracing, and generates Docker and Kubernetes files. MIT. Formerly Agentflow.
10xGraph/10xGraph's past year of commit activity Python 32 MIT 14 3 (2 issues need help) 12 Updated Dec 1, 2026 -
10xgraph-api
Public
API server and CLI for 10xGraph, self-hosted infrastructure for AI applications. Serves your agents and tasks with JWT or custom auth, roles with own, tenant or all reach, rate limits, a background worker and scheduler, metrics and an audit log, and generates Docker and Kubernetes files.
10xGraph/10xgraph-api's past year of commit activity Python 5 MIT 5 1 17 Updated Nov 30, 2026 - .github Public 10xGraph/.github's past year of commit activity 0 MIT 0 0 0 Updated Nov 25, 2026
-
support-desk
Public
Multi-tenant customer support agent on 10xGraph: JWT auth and roles, tenant isolation, MCP tools with per-call signed tokens, pgvector knowledge base, background jobs, Phoenix traces, Grafana metrics and evals. Full stack in Docker Compose.
10xGraph/support-desk's past year of commit activity HTML 0 MIT 0 0 0 Updated Nov 15, 2026