Consultation Ring
LIVE — 3 Providers Active — Port 9400
Tokenized Air-Gap Proxy — Patent Brief #7 — Updated: 2026-03-14 10:04 CT
7Consultations
3Accepted
2Flagged
$0.057Total Cost
Data Flow
POST /consult → DomainTokenizer (PII + infra → opaque tokens)
→ outbound_scrub (NEVER_SEND enforcement)
→ UCB Bandit (select best model for domain)
→ Frontier Adapter (Claude / GPT / Gemini / Local)
→ sanitize_inbound (strip injection patterns)
→ Valence Gate (DC alignment: accept / flag / reject)
→ detokenize (restore originals from in-memory map)
→ provenance + meter + thermalize
Token map NEVER crosses the security boundary.
Provider Performance
| Provider | Model | Calls | Accept | Flag | Error | Avg Lat | Cost |
| google |
gemini-2.5-flash |
2 |
0 |
2 |
0 |
30s |
$0.002 |
| local |
local-qwen-72b |
2 |
0 |
0 |
2 |
30s |
$0.000 |
| anthropic |
claude-sonnet-4-6 |
2 |
2 |
0 |
0 |
36s |
$0.047 |
| openai |
gpt-4o |
1 |
1 |
0 |
0 |
23s |
$0.007 |
Adapters
Anthropic:active claude-sonnet-4-6
OpenAI:active gpt-4o
Google:active gemini-2.5-flash
Local:active qwen-72b, llama-70b, qwen3-30b
UCB Bandit — Model Selection
Algorithm:UCB1 with optimistic priors (1/2)
Exploration weight:1.41 (sqrt(2))
Domains:general, code, research, legal
Cold start:All models seeded across all domains
Tokenization Layer
PII detection:Presidio (SSN, phone, email, location)
Infra patterns:13 categories (nodes, IPs, DB, jargon, paths, keys)
NEVER_SEND:Passwords, private keys, secrets.env refs
Token format:<TOKEN:sha256hex> (deterministic, reversible)
Valence Gate — DC Alignment
| Category | Example Violations | Threshold |
| Sovereignty | "migrate to AWS", "use cloud", "serverless" | reject <0.3 |
| Security | "chmod 777", "disable firewall" | reject <0.3 |
| Build-to-Last | "move fast and break things" | flag 0.3-0.7 |
| Waste Heat (DC-9) | "scale up", "more GPUs" | flag 0.3-0.7 |
Reject action:Auto-fallback to local model
Governance
Council vote:#a3ee2a8066e04490 (UNANIMOUS)
Ring status:active (associate)
Daily budget:$10.00
Rate limit:20/hour (DC-9)
Kill switch:consultation_ring.enabled in config.yaml
Thermal temp:60 (warm, not sacred — external provenance)
Patent Brief #7 — Tokenized Air-Gap Proxy for Secure Multi-Model AI Consultation
Six claims: Tokenization, Constitutional Governance, UCB Bandit Selection, Valence Alignment Gate, Local-First Architecture, Audit Trail
Target markets: DoD, Healthcare, Financial, Defense, Federal, Critical Infrastructure