Build your platform on Open Agent Fabric, not beside it
If you are building a platform that runs on NVIDIA DGX Spark, you will soon need the same things every private AI platform needs: a way to serve models, one endpoint for your apps, keys per app, routing between a fast model and a large one, guardrails, traces, and metrics for the boxes. You can build that yourself. We did, and then open-sourced it as Open Agent Fabric (OAF).
This article explains what OAF gives your app, the two surfaces you use, and how to start. It is written for the team building the platform, and for the coding agent that will help them.
What your app does not have to run
OAF installs and runs, on your boxes, as pinned and unmodified upstream images:
- vLLM for the models, on one box or on a cabled pair for models that need two boxes.
- agentgateway, one OpenAI-compatible endpoint with a key per app.
- vLLM Semantic Router, so
model: autosends simple requests to a fast model and hard ones to a large one. - Langfuse for traces, and Prometheus, Loki and Grafana for metrics and logs.
Your app installs none of this and holds none of its configuration. One file, cluster.yaml, describes the whole
cluster, and OAF reconciles the boxes to it. Run any change again and nothing is redone.
Two surfaces, and nothing else
1. The gateway, for inference. Every model call your app makes goes to one OpenAI-compatible URL with an app key. Any OpenAI SDK works. Every call is traced with latency, tokens and the model that served it.
2. The management API, for everything else. oafd is an HTTPS API over cluster.yaml. Your backend uses it to
list and deploy models, add external providers, set guardrails and routing, issue keys, and join new boxes. It is never
on the request path of your users.
The rule that keeps this safe: your app does not call vLLM, agentgateway’s admin port or Prometheus to change anything. Control goes through the API, inference goes through the gateway. OAF owns the configuration and will overwrite anything done around it.
Get started in three steps
An OAF admin runs one command on the control node:
sudo oaf keys issue myapp --admin --host oaf.example.internal
It prints the settings your app needs: the gateway URL and key, a URL the app can use to rotate its own key, the
Langfuse keys for tracing, and, because of --admin, the management API address, token and certificate fingerprint.
Keep them in your server’s secret store.
Call a model like any OpenAI-compatible service:
curl "$AGENT_GATEWAY_URL/chat/completions" \
-H "Authorization: Bearer $AGENT_GATEWAY_API_KEY" -H 'Content-Type: application/json' \
-d '{"model":"auto","messages":[{"role":"user","content":"Hello"}]}'
Change the platform through the management API. Here the app proposes a new model:
curl -sS -X POST "$OAF_API_URL/api/v1/models" -H "Authorization: Bearer $OAF_API_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"name":"med-fast","catalog_ref":"qwen3-30b-a3b-instruct-2507-fp8","placement":{"node":"spark-1"}}'
Every change is a plan, then an approval
That POST changes nothing yet. The reply is a plan: a diff of cluster.yaml, warnings, errors and a plan_id.
Your backend shows it to a person with authority. Only when they approve does it call:
curl -sS -X POST "$OAF_API_URL/api/v1/plans/$PLAN_ID/apply" -H "Authorization: Bearer $OAF_API_TOKEN"
If someone else changed the cluster in the meantime the apply answers 409, and you make a new plan. Progress streams
from GET /api/v1/events. This is the same model we use in our own console: propose, review, approve, apply, verify.
Models and engine images that carry a licence need a person to accept it first, and the plan says so with
needs_acceptance. Your code should show the terms to a human and never accept on their behalf.
Sensitive data
If your platform handles private records, a few defaults help and a few need your attention:
- Prompts and responses stay on your boxes. Langfuse records prompt and response text only when
captureContentis set to true, so decide that on purpose. - External providers (a hosted model) are off by default, each needs
allowEgress: true, and a provider without guardrails is valid but warned in every plan. Keep sensitive traffic on local models, or attach guardrail policies first. - The management token can change routing and add providers. It belongs to your backend, never to a browser.
OAF gives you the controls. Whether a deployment meets a regulation is something you still assess.
Let your coding agent do the wiring
The repository ships a skill, skills/oaf-consumer/SKILL.md, written for Claude Code and other coding agents. It
explains the two surfaces, the credentials, the plan-then-apply flow and the rules above, and points to the full
reference. Copy it into your project, or tell your agent to read it from this site. With it, the agent writes
integration code against the real API instead of guessing.
What is still early
OAF is at an early milestone. The API is v1 and the reference lists what is not implemented yet, such as revoking a key and high-availability topologies. Pin your integration to what the reference documents, and tell us what you need.