Skip to content

MIG provides a stable contract between model clients and providers with explicit reliability semantics, transport bindings, and conformance profiles.

Product

Model Interface Gateway product surface

MIG is a contract runtime. It is not another prompt library, model host, or UI framework. The product exists to keep interface semantics stable while model backends, transports, and deployment topologies evolve.

What MIG is / is not

MIG is

  • A formal capability contract between clients and model execution planes.
  • A transport binding layer for gRPC, HTTP, and NATS with consistent semantics.
  • An operations boundary for policy, tracing, and conformance verification.

MIG is not

  • A replacement for model providers or orchestration engines.
  • A monolithic control plane that requires lock-in to one deployment pattern.
  • A vague abstraction over SDK calls without explicit reliability guarantees.

Reliability semantics in production

SemanticOperator intentRuntime behavior
At-most-oncePrefer duplicate suppression and bounded retries.Single delivery attempt envelope with idempotency guardrails.
At-least-oncePrefer completion guarantees over duplicate risk.Retry policy attached to correlation and dedupe metadata.
Exactly-once (profiled)Require profile-scoped deterministic replay controls.Conformance profile validates preconditions before enablement.

Binding model

gRPC

Typed service contracts for low-latency platform control planes and service-to-service paths.

View mapping

HTTP

API gateway and browser-friendly integration path with explicit schema versions and auth envelopes.

View mapping

NATS

Message-oriented subject model for durable event streams and asynchronous capability execution.

View mapping