Mickai Subsystem
Mickai OpenAI API™
Mickai OpenAI-compat shim is the subsystem of the Mickai SIOS that serves any OpenAI-API client unchanged. Same schema, same endpoints, runs entirely on your hardware. /v1/models, /v1/chat/completions, /v1/embeddings, alias mapping, idempotency, post-quantum-ready. Mickai is downloadable at mickai.co.uk/download and runs on Windows, Linux, or macOS.
View capabilitiesThe Mickai SIOS
Mickai is a Sovereign Intelligence Operating System (SIOS). It runs entirely on your own hardware, on Windows, Linux, or macOS. No cloud, no telemetry. This page describes one subsystem of the Mickai SIOS. Download Mickai at mickai.co.uk/download.
A subsystem of the Mickai SIOS. Drop-in for any OpenAI-API client. Same schema, same endpoints, runs entirely on your hardware.
Drop-in OpenAI API, on your hardware.
What the shim serves
Seven primitives that make existing OpenAI clients run against your hardware. /v1/models, /v1/chat/completions, /v1/embeddings, alias mapping, idempotency, sovereign routing, audit envelopes, post-quantum-ready transport.
01 / Endpoints
/v1/models, /v1/chat/completions, /v1/embeddings
Wire-compatible with the public OpenAI API surface. Streaming SSE, function calling, structured outputs, JSON mode, all supported. Existing client libraries (openai-python, openai-node, langchain, llamaindex) work without code changes.
02 / Aliases
Model alias mapping
gpt-4 routes to mickai-large, gpt-4o to mickai-medium, gpt-3.5-turbo to mickai-base, text-embedding-3-large to mickai-embed-large. The mapping is operator-configurable; sensible defaults ship out of the box.
03 / Idempotency
Idempotency-Key support
Pass an Idempotency-Key header and the shim deduplicates the request inside a 24-hour window. Critical for at-least-once retry from production clients; the chain records the dedup decision so an audit can prove which retry won.
04 / Sovereign
No round-trip to OpenAI
Inference runs against Mickai Lama on the same host. No outbound call, no shadow request to cloud, no vendor billing, no rate limits. The shim is the entire surface.
05 / Audit
Every call signed
Each /v1/chat/completions call emits an OAR envelope: the prompt hash, the model identifier, the operator identifier, the response hash. The lineage walk turns any output into a complete provenance trail.
06 / PQ ready
Post-quantum-ready transport
When the client supports it, the shim negotiates a post-quantum key-exchange (X25519+ML-KEM-768 hybrid). The signature primitive on the audit envelope is FIPS 204 ML-DSA-65 throughout.
07 / Compatibility
Schema-tested against the public API
A test corpus replays the OpenAI schema against the shim and asserts byte-for-byte response shapes for the documented surfaces. Where the public API drifts, Mickai mirrors the change inside the next runtime release.
Patent anchors
The shim sits on three of the 31 filed UK patent applications behind the Mickai SIOS. Patent 22 anchors the open inter-vendor audit format, patent 16 the signed call ledger, patent 08 the post-quantum transport.
- 22Open Inter-Vendor Audit Record Format, vendor-neutral schema underneath the shim.
- 16Decision Lineage and PQ-Signed Audit Ledger, every shim call signed.
- 08Quantum-Safe Attestation with ML-DSA-65, post-quantum-ready transport and signing.
GB2607309.8 to GB2610422.4 · 31 filed UK patent applications · 914 claims
Wired with
- /v1/models, /v1/chat/completions, /v1/embeddings on port 11438
- OpenAI-compatible streaming SSE, function calling, JSON mode
- Operator-configurable model alias mapping
- Idempotency-Key dedup inside 24-hour window
- Routes to Mickai Lama on the same host
- OAR envelope per call, signed under operator key
- Post-quantum-ready transport (X25519+ML-KEM-768)
- Schema-tested against the public OpenAI API surface
Switch base URL, keep your code.
Point your OpenAI client at the Mickai shim on port 11438 and it serves the same schema, signed under your operator key. Read the open audit format patent, or download Mickai and route an existing project to it.
Engineered by Micky Irons in Cumbria, United Kingdom · @mickyirons