v2.5.8
March 6, 2026
Simplify container deployments with environment variable support in serve()
serve() now reads AGENT_OS_HOST and AGENT_OS_PORT environment variables as fallbacks when explicit values are not passed. This removes the need to hardcode host and port configuration at the call site, making containerized and orchestrated deployments cleaner to manage.
Details:
- Set
AGENT_OS_HOSTandAGENT_OS_PORTin your environment to configureserve()without code changes - Explicit arguments passed to
serve()continue to take precedence - No changes required for existing deployments that pass host and port directly
See environmental fallback docs for more.
