8 2 hours ago

THOX.ai's local agent model for DigitalHumans. MiniCPM5-2B fine-tune: 11/12 lane tasks on Ollama vs 9/12 base, 100% tool-call format and guardrails. Run with --think=false.

tools
ollama run Thox-ai/thoxagent-2b

Applications

Claude Code
Claude Code ollama launch claude --model Thox-ai/thoxagent-2b
OpenCode
OpenCode ollama launch opencode --model Thox-ai/thoxagent-2b
Hermes Agent
Hermes Agent ollama launch hermes --model Thox-ai/thoxagent-2b
OpenClaw
OpenClaw ollama launch openclaw --model Thox-ai/thoxagent-2b

Models

View all →

Readme

ThoxAgent-2B

THOX.ai’s local agent model for DigitalHumans. A fine-tune of MiniCPM5-2B that routes work to the right tool, stays inside each digital human’s lane, and never breaks the tool-call format.

ThoxAgent-2B badges

How ThoxAgent-2B is built and served

Run it

ollama run thox-ai/thoxagent-2b --think=false

Turn thinking off. ThoxAgent-2B was trained in no-think mode. Ollama turns thinking on by default, and with it on the model scored 8 of 12 instead of 11 of 12. Send "think": false on /api/chat, or "reasoning_effort": "none" on the OpenAI-compatible /v1 endpoint.

curl http://localhost:11434/api/chat -d '{
  "model": "thox-ai/thoxagent-2b",
  "think": false,
  "messages": [{"role": "user", "content": "Have Hermes enforce closeout on the ThoxGrid release."}],
  "tools": [{"type": "function", "function": {"name": "handoff_create", "description": "Create a lane handoff.",
    "parameters": {"type": "object", "properties": {"lane": {"type": "string", "enum": ["hermes","codex","muse","claude","digitalhumans"]},
    "task": {"type": "string"}}, "required": ["lane","task"]}}}],
  "stream": false
}'

Tool calls come back parsed in message.tool_calls.

Results

Lane eval overview

12 held-out lane tasks across 7 digital humans, greedy decoding. A task passes only if the format is valid, the tool is right, the arguments are right, no forbidden tool is called and the guardrails pass.

Metric MiniCPM5-2B base ThoxAgent-2B adapter Q4_K_M on llama.cpp Q4_K_M on Ollama
Pass rate 75.0% 100.0% 91.7% 91.7%
Right tool 83.3% 100.0% 91.7% 91.7%
Right arguments 75.0% 100.0% 91.7% 91.7%
Format valid 100% 100% 100% 100%
Guardrail clean 100% 100% 100% 100%

Per-case results

Task Base did ThoxAgent-2B does
Memory write with provenance wrote to the wrong record path writes to the right area record with provenance
Hermes handoff searched memory twice instead of assigning creates the Hermes handoff directly
Deletion request refused in prose and stopped hands it to the owning lane, manifest first
Lint (Q4 only miss) n/a checks repo status first; the full-precision adapter runs lint. v0.2.0 targets this

Speed on an Apple M4 Pro (llama.cpp Metal, Q4_K_M): about 105 tokens/s generation, about 1,430 tokens/s prompt.

Digital humans and tools

One model, seven lanes. The system prompt and the tool list pick the lane.

Digital human Lane
Sadie Weaving fleet coordination, closeout mail
Odette Lark memory sync, fleet librarian
Sophia Lindholm engineering execution
Samuel Reed docs lane
Nova build checks
Kai device and firmware steps
Sera claim review
Tools Risk tier Guardrail
memory read/search, repo status, device status, ask principal read lane allowlist
memory write write provenance required
conflict flag, handoff, email draft write no node tags or bracketed labels in outbound text
run check exec test, lint, build only
mesh route, email send send payload check, fixed sender
file delete irreversible written manifest must list the file

Tags

Tag Build Size Use
latest, v0.1.0 Q4_K_M 1.56 GB default, host-run (Mac, PC, ThoxKey)

Device builds for ThoxAir, ThoxMini, ThoxClip and the ThoxUltra line are being published now as v0.1.0-<quant> and device tags (thoxair, thoxmini, thoxclip, thoxkey, thoxultra). This table is updated when they land.

Training

Training curve

Method LoRA SFT (r 32, alpha 64), loss on assistant turns only
Data 648 THOX lane trajectories plus 1,000 rows of openbmb/UltraData-SFT-Agent-2609 replay
Hardware Apple M4 Pro, PyTorch MPS
Release epoch-1 checkpoint; v0.2.0 (two epochs, more lane data) is training

Model details

Architecture LlamaForCausalLM, 42 layers, GQA 16⁄2 heads
Parameters 2.52B
Context 128K in the base; trained at 4K
Languages English

Limits

  • The lane eval measures routing and tool-call discipline, not general knowledge or long context.
  • The model knows lanes, not THOX facts. It looks facts up with tools and should answer “unknown” when a record is missing.
  • Not yet measured on THOX device hardware.

Links and license

Full card, adapter, F16 and GGUF files with checksums: Thox-ai/ThoxAgent-2B on Hugging Face

Fine-tuned weights, personas, seeds and evals: THOX.ai LLC. Base model openbmb/MiniCPM5-2B: Apache License 2.0, OpenBMB.