Routing strategy

Infersec routes traffic across multiple inference sources using explicit policy.

Common route controls

  • Source priority order
  • Fallback chain behavior
  • Source health thresholds
  • Endpoint-level auth and model constraints

MCP/tool composition

Each endpoint can expose a composed tool surface:

  • Attach MCP servers per endpoint
  • Scope which tools are available by route
  • Restrict access by endpoint key or workspace
  • Audit each tool invocation with request context

Recommended rollout

  1. Start with one endpoint and one source.
  2. Add fallback sources.
  3. Attach MCP servers for the target workflow.
  4. Validate prompt and tool-call auditing.
  5. Export telemetry to your existing observability stack.

Validation

Run these checks before opening a PR:

npm run test --workspace applications/website
npm run build --workspace applications/website