Refract Guides · Local alternative to hosted frontier models

Ollama Local Targets in Refract

The local alternative to a hosted frontier target: run an open-weight model such as gpt-oss:120b on your own GPU, so no prompt or answer leaves the machine. Prototype packs and calibrate a guardrail here, then re-run the same pack against your production model (for example anthropic:claude-opus-5-5) before you ship.

Target string

Everything after ollama: is the exact Ollama model tag. Refract calls http://localhost:11434 unless OLLAMA_HOST or --base-url points elsewhere.

ollama:gpt-oss:120b

Pull the model

# OpenAI's open-weight gpt-oss-120b: a 65 GB download that fits on one 80 GB GPU
ollama pull gpt-oss:120b

Run a scan

refract scan --target ollama:gpt-oss:120b --pack ./packs/finance-canaries.jsonl --db ./runs.sqlite --sarif refract-ollama.sarif
refract matrix --scan scan-a1b2c3d4 --db ./runs.sqlite --intervals

Ollama scans default to --concurrency 1; raise it only when your GPU has headroom.

Keep secrets out of evidence

Ollama targets need no API key. Refract records prompts, responses, and 2×2 verdicts only, never the contents of your local model files or environment.

Verify and gate

refract gate --scan scan-a1b2c3d4 --db ./runs.sqlite --max-fn 0 --max-fp-rate 0.05 --min-mcc 0.70
Related

AWS Bedrock SigV4 Targets in Refract

How to run Refract scans against AWS Bedrock with SigV4 credential resolution, without logging or storing secrets in the record chain or SARIF output.

Related

Silent Breach Detection with Refract

How Refract detects AI silent breaches, canary leaks that a guardrail misses, using synthetic high-entropy canaries, benign controls, and SARIF 2.1.0 CI gating.