Repository navigation
feat(orchestrator): run the full infer daemon with optional channels and the AG-UI binding - #300
Merged
Merged
Conversation
…and the AG-UI binding An Orchestrator no longer needs a Telegram bot, a gateway or a model. channels, channels.telegram, gateway and agent are optional, and their env vars are only set when they are configured. spec.daemon.binding turns on the daemon's AG-UI binding, the WebSocket devices and other daemons sync sessions over. It listens on every interface and serves TLS from a Secret mounted at /etc/infer/tls, reads its token from a Secret, and verifies client certificates against ca.crt when clientAuth is on. A CEL rule rejects a binding that authenticates no client. The controller adds a <name>-binding Service and a readiness probe on the binding port. A spec that gives the daemon nothing to run gets Ready=False with reason InvalidSpec and no Deployment. spec.env switches for the heartbeat and the A2A server count, so such Orchestrators stay valid. Existing Orchestrators render the same Deployment as before. Closes #297
3 of 4 tasks
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Oct 31, 2026
## [0.28.0](v0.27.1...v0.28.0) (2026-10-31) ### ✨ Features * **orchestrator:** run the daemon in an agent-sandbox Sandbox with runtime: Sandbox ([#301](#301)) ([63386e2](63386e2)), closes [#298](#298) * **orchestrator:** run the full infer daemon with optional channels and the AG-UI binding ([#300](#300)) ([fa7d927](fa7d927)), closes [#297](#297) ### 🐛 Bug Fixes * **orchestrator:** run infer daemon instead of the removed channels-manager ([#299](#299)) ([62a6af7](62a6af7)), closes [#296](#296), references [inference-gateway/cli#1051](inference-gateway/cli#1051) ### 👷 CI * **deps:** bump actions/setup-node ([#288](#288)) ([d98dcb2](d98dcb2)) * **deps:** bump docker/login-action ([#293](#293)) ([5f0cef1](5f0cef1)) * **deps:** bump github.com/onsi/ginkgo/v2 ([#289](#289)) ([03684df](03684df)) * **deps:** bump rancher/k3s ([#283](#283)) ([d58b0db](d58b0db)) * **deps:** bump sigs.k8s.io/controller-runtime ([#284](#284)) ([4dc8bc9](4dc8bc9)) * **deps:** bump sigs.k8s.io/gateway-api ([#287](#287)) ([262ff14](262ff14)) * **deps:** bump the github-actions group with 2 updates ([#290](#290)) ([cf4c07b](cf4c07b)) * **release:** label issues and PRs shipped in an rc with rc ([#295](#295)) ([25cac50](25cac50)) ### 🔧 Miscellaneous * **deps:** bump claude-code 2.1.285 -> 2.1.289 ([#285](#285)) ([5e36bc7](5e36bc7)) * **deps:** bump claude-code 2.1.289 -> 2.1.296 ([#291](#291)) ([eb53de2](eb53de2)) * **deps:** bump claude-code 2.1.296 -> 2.1.308 ([#294](#294)) ([025a54a](025a54a)) * **deps:** bump infer CLI v0.221.1 -> v0.226.0 ([#286](#286)) ([505d489](505d489)) * **deps:** bump infer CLI v0.226.0 -> v0.231.1 ([#292](#292)) ([490b5af](490b5af))
Contributor
|
🎉 This PR is included in version 0.28.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
An Orchestrator can now deploy
infer daemonwithout a Telegram bot, a gateway or a model, and can expose the daemon's AG-UI binding. That binding is the WebSocket the chat TUI, the browser extension and other daemons sync sessions over.Closes #297
Changes
channels,channels.telegram,gatewayandagentare optional, so the CRD requires onlyimage. Their env vars are only set when configured.spec.daemon.binding, mirroring the CLI'sdaemon.binding:port(default52789),tokenSecretRef, andtls.secretNameplustls.clientAuth.tlsis required because the binding listens on every interface. A CEL rule rejects a binding that has neither a token nor client-certificate auth.INFER_DAEMON_BINDING_*env vars and mounts the TLS Secret read-only at/etc/infer/tls.<name>-bindingService. The Service shares the receiver Service's create, update and delete logic, which is now one helper.tools.schedule) getsReady=Falsewith reasonInvalidSpec, and no Deployment is created. Heartbeat and A2A-server switches inspec.envcount, so those Orchestrators stay valid.examples/daemon/orchestrator.yaml, which the examples test strict-decodes.config/samples.manifests/crds.yamlandmanifests/install.yamlare regenerated withtask generateandtask manifests.Test plan
task test(envtest). New specs cover:clientAuthand the token<name>-bindingService on the default portInvalidSpecrejection, which creates no DeploymentdaemonHasWork, including thespec.envswitchesspec.daemon.bindingis unsettask fmtandtask vetmain, started with exactly the env vars the controller sets and no channels:binding listeningon:52789task test:e2e(CI)task lintreports one finding thatmainhas too: the deprecatedRequeueatinternal/controller/gpu_controller.go:109.