Controller configuration
Configure the Controller to manage instance lifecycle, runtime, and execution mode.
Controller configuration
The Controller manages the lifecycle of app instances. It spawns, monitors, and tears down instances based on the execution mode and configuration.
Configuration fields
| Field | Description |
|---|---|
appId | Canonical app ID |
appVersion | App version (semver) |
runtime | Runtime adapter (see Runtime adapters) |
mode | Execution mode: standalone, cluster, or on-demand |
openTimeoutMs | Timeout for opening an instance (default: 60000) |
maxInflightPerSession | Max concurrent tool calls per session (default: 32) |
idleTimeoutMs | Idle timeout before teardown (on-demand mode) |
maxInstances | Maximum number of concurrent instances (default: 10) |
Next steps
- Execution modes — standalone, cluster, on-demand
- Runtime adapters — InProcess, LocalProcess, Docker, etc.
- Backpressure — capacity limits and error handling