feat(agent-runtime): add typed agent lifecycle - #350
Merged
Conversation
nvddr
force-pushed
the
agent/relay-simple-vlm-native-vision
branch
from
August 11, 2026 22:09
0abbb52 to
ad1d15c
Compare
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 11, 2026 22:13
0fdb44f to
40c11d5
Compare
nvddr
force-pushed
the
agent/relay-simple-vlm-native-vision
branch
from
August 11, 2026 22:16
ad1d15c to
05c2619
Compare
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 11, 2026 22:17
40c11d5 to
64ead4c
Compare
nvddr
force-pushed
the
agent/relay-simple-vlm-native-vision
branch
from
August 11, 2026 22:43
05c2619 to
3dc056e
Compare
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 12, 2026 00:40
64ead4c to
2da244a
Compare
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 12, 2026 00:57
2da244a to
89aec18
Compare
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 12, 2026 01:05
89aec18 to
51131e5
Compare
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 12, 2026 01:33
51131e5 to
2107dd8
Compare
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 12, 2026 01:41
2107dd8 to
a11fcb4
Compare
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 12, 2026 20:39
2b6808d to
cea8f26
Compare
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 12, 2026 20:45
cea8f26 to
1264a59
Compare
Collaborator
Blocker
|
Collaborator
Author
|
@wenxind-nvidia Addressed in 182a4fc. Subscriber exceptions now propagate from publish() only after every fan-out delivery has settled. A failed runtime-owned background task now transitions the runtime to failed, sets running false, cancels remaining owned work, causes later operations to raise RuntimeFailedError from the original exception, and surfaces that original failure again during shutdown. Added regression coverage for both cases. The 28 focused runtime/tool tests pass on Python 3.11 and 3.12; Ruff and Pyright also pass. |
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 12, 2026 21:42
182a4fc to
337b2d0
Compare
wenxind-nvidia
approved these changes
Aug 12, 2026
Signed-off-by: Devdeep Ray <devdeepr@nvidia.com>
Signed-off-by: Devdeep Ray <devdeepr@nvidia.com>
Signed-off-by: Devdeep Ray <devdeepr@nvidia.com>
Signed-off-by: Devdeep Ray <devdeepr@nvidia.com>
nvddr
force-pushed
the
agent/native-tool-dispatcher
branch
from
August 12, 2026 22:43
d299ef8 to
7dbd9b4
Compare
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
xr-ai-agent-runtimepackage with one addressableAgentlifecyclecall(ref, message)for bounded request/response andpublish(topic, event)for typed fan-outsimple-vlm-examplefinite vision requests to an addressableSimpleVlmAgentArchitecture
Raw media stays on XR-Media-Hub. The runtime carries typed semantic messages with participant, correlation, source, and parent metadata. The dispatcher stays private; model loops, tools, planning, and memory remain agent implementation details. Relay remains the execution and telemetry boundary around model and tool calls inside agents. A future Fabric adapter can host or bridge this lifecycle without changing application-level
callandpublishtopology.The simple VLM worker now registers
LiveVisionToolbehind the runtime. Its bounded agent returns one completeVisionResponse; streaming voice behavior is intentionally layered in #351.Review feedback addressed
Validation
Rebased onto
mainafter #349 merged. #351 is stacked on this PR.