Agent Apps Docs

Runtime adapters

Choose the right runtime adapter for your deployment: InProcess, LocalProcess, Docker, HTTP, Remote, or ShardRouter.

Runtime adapters

Runtime adapters determine how app instances are spawned and managed.

Available adapters

AdapterUse case
InProcessRuntimeDevelopment — runs the app in the same process
LocalProcessRuntimeProduction single machine — spawns a child process via stdio
DockerRuntimeIsolation — runs the app in a Docker container
HttpDockerRuntimeIsolation with HTTP transport
RemoteRuntimeDistributed — connects to a remote Execution Host
ShardRouterRuntimeHorizontal scaling — routes requests across multiple hosts

Choosing an adapter

  • Local dev: InProcessRuntime — fastest, hot reload
  • Single machine prod: LocalProcessRuntime — process isolation, simple
  • Multi-tenant prod: DockerRuntime — full container isolation
  • Distributed prod: RemoteRuntime + ShardRouterRuntime — scale across machines

Next steps