Skip to content

Integration Services

Problem

Most AI products end up running many small integration services — thin adapters that translate between an internal contract and an external API (LLM vendors, SaaS, or internal gateways). Each one:

  • holds credentials or tokens,
  • has its own rate limits and outages,
  • needs careful version control of "which model" or "which API version" it's pinned to,
  • is too small to deserve its own admin panel.

Operators end up with 10–50 of them and no good way to answer "which one is up, what is it pinned to, who rotated its key, when".

How Capsule helps

Make each integration service a Capsule Service:

  • Embed the Node Agent.
  • Report version + pinned model + upstream URL via config reporting.
  • Expose a rotateKey action with a confirmation gate.
  • Expose a runHealthCheck action that calls the upstream.

Typical Architecture

text
[ Internal client ] → [ Integration Service ] → [ External API ]

                       Agent (embedded)


                       Opstage Backend ← Opstage UI

What Opstage can show

  • All integration services in one list, with effectiveStatus.
  • Per-service: which model, which upstream, last health, last key rotation.
  • Audit trail of every key rotation and every action invocation.

What Opstage can do

  • Trigger rotateKey from the console (with confirmation).
  • Disable an agent (and therefore the integration adapter) when a credential is suspected leaked.
  • Show recent commands and their results inline.

CE scope

In CE today you get:

  • live inventory of every integration adapter and its effectiveStatus,
  • health probes per service,
  • audited operator actions (rotateKey, runHealthCheck, etc.),
  • audited config drift between reports.

Future EE / Cloud enhancements

  • Secret Vault integration so credentials can be fetched on demand instead of pinned in env.
  • Cross-team RBAC on which services an operator can rotate.
  • Aggregated quota / cost views across services.
  • Hosted Cloud Opstage so multiple environments (dev/stage/prod) share one console.

Next steps

Code and docs released under Apache-2.0. "Xtrape", "Xtrape Capsule", and "Opstage" are trademarks of their respective owners.