Developer docs

Add MargIQ without changing your AI product surface.

MargIQ wraps your server-side OpenAI-compatible client, keeps your provider setup intact, and learns which recurring workflows can use which available models before routing changes are enabled.

Setup principle

Provider-agnostic by default.

MargIQ should not own your model-provider credentials. It should observe and route inside the available model list your application already provides.

  • Install margiq beside the server-side AI client you already use.
  • Add only MARGIQ_API_KEY for MargIQ.
  • Preserve your existing provider key, base URL, and available model list.
  • Start with report-only evidence before enabling Automatic workflow routing.