Skip to content

Serving Extensions

An extension is a small HTTP service that Agent Studio calls: lifecycle gates, conversation processors and custom routes. It runs in its own pod, next to the agents.

Extensions live in agent-studio, which releases them in lockstep with Studio. latent 6.0.0 no longer writes, serves or checks them:

  • Write a Python extension with studio_extension (pip install agent-studio-extension) and serve it with studio-extension serve.
  • Build, check and register it with studio extension publish, and inspect it with studio extensions … (npx --yes @agent-studio/cli).
  • Run the contract suite against a pod with studio-conformance, which agent-studio-contracts installs with latent.

agent-studio's docs/extensions.md documents the whole path.

latent still provides what an extension server is built on: the Studio contract (latent.contracts), the request signer (latent.serve.auth), the registration client (latent.serve.registration) and the pod's HTTP helpers (latent.serve.server).