Skip to the content.

Hosting an SDM on a 4 GB GPU — AgentFS Usability Validation

Verdict: a 4 GB GPU cannot host a structured decision model (SDM) that AgentFS can use. Small models pass generic decision benchmarks but fail on AgentFS evidence. Use a 14B-class self-hosted model or a managed decision API, and gate any candidate with ~/.agents/scripts/sdm-validate.sh first.

1. Context Requirement (per question, not per request)

SystemOne runs each question as its own sequence (evidence + one question). input_tokens grows exactly N× with question count (1q = 2,573; 3q = 7,719), but the context window only has to fit evidence + ONE question.

AgentFS evidence Tokens
Largest skill (hermes-desktop-fixes gather-skill-state) ~2,800
readme-alignment comparison 2,542
Median skill evidence ~450

2. Results on RTX A500 (4096 MiB, ~3.7 GiB usable)

CPU offload was rejected (latency + not a dedicated SDM). Only full-GPU candidates were tried.

Candidate Server Fit Generic suite (20q) AgentFS agreement vs 14B Ground truth (trace_instrumentation)
Qwen3-14B-FP8 (baseline, rhel-ai) vLLM L4 20/20 — 56/61
Qwen3-1.7B-FP8 (generic) vLLM nightly 3,511 MiB @8K 16/20 (confident errors) not run —
d3-mini 4B Q4_K_S (decision-only) llama.cpp 3,655 MiB @8K 19/20 69.7% (603/865) 9/61

d3-mini per-schema agreement: quality 81.6%, readme 76.5%, agents-md 83.3%, operable 69.3%, observable 52.0%. On evidence that literally contains Trace instrumentation: true, d3-mini leaned no in 14/20 cases (noul 0.06–0.67) — this is comprehension failure, not a threshold artifact. Latency was also worse (quality 9.5 s vs 5.1 s per skill).

Lesson: Decision Index / generic suites do not predict AgentFS usability. Validate with real AgentFS evidence and verbatim-fact ground truth.

3. Deployment Gotchas Found

vLLM nightly (0.34.0rc1.dev571) on Fedora

llama.cpp (server-cuda) for decision GGUFs

Response shape difference (fixed in sdm-evaluate.sh)

Field vLLM /v1/systemone llama.cpp /v1/systemone
noul answer noul, probabilities{yes,no}, confidence noul only
choice probabilities + confidence probabilities + confidence
diagnostics (label_mass, argmax_is_label) present absent

Before the fix, negative-polarity booleans read .probabilities.no // 0 and every noul-only answer became fail (readme-alignment 0/17). Now: no = 1 - noul, confidence = max(noul, 1-noul), and a warning is logged when diagnostics are missing.

4. Calibration vs the 0.7 Threshold

AgentFS boolean thresholds (pass ≥ 0.7, uncertain 0.3–0.7, fail < 0.3) were tuned on near-0/1 outputs from Qwen3-14B. Calibrated/softened decision models (D3, Jev) drift into the uncertain band (score 50). Compare ground-truth accuracy, not just agreement, before concluding a calibrated model is worse.

5. Alternatives (System One ecosystem, Nov 2026)

Decision Index 0.4 (benchlm.ai): d3 27B 67.2 · Jev 1.14 60.2 · KnowLine-4B 56.0 (SGLang FP8 custom server) · Perplexity Decider Flash 55.1 · Cloudflare clef 54.9 · d3-flash 54.3 · d3-mini 50.0 · clef-flash 44.4 · d3-nano 34.3 · generic Qwen3-4B 31.3.

Managed API Price Notes
TypeSafe Jev $0.042/1M in, output free SystemOne reference
Microsoft-Decision-1 Azure Foundry preview SystemOne body, 32K ctx
Cloudflare Workers AI Clef / Clef-Flash $0.038/1M 24K ctx
Liquid AI d1 hosted free tier d1:free /decisions/v1/systemone
OpenAI Decisions API $0.10/1M own /v1/decisions format (adapter needed)
GCP Vertex AI — no decision model

6. Validation Procedure

# candidate must pass before changing SDM_ENDPOINT
~/.agents/scripts/sdm-validate.sh --candidate http://<host>:<port> \
  [--baseline http://localhost:9000] [--sample N] [--gate 0.90]