@@ -38,31 +38,6 @@ own service or agent implementation to AG-UI.
38
38
Base class for creating custom agent connections
39
39
</Card >
40
40
41
- ## RunAgentSubscriber
42
-
43
- Event-driven subscriber system for handling agent lifecycle events and state
44
- mutations during agent execution:
45
-
46
- - [ Event Handlers] ( /sdk/js/client/subscriber#event-handlers ) - Lifecycle,
47
- message, tool call, and state events
48
- - [ State Management] ( /sdk/js/client/subscriber#state-management ) - Mutation
49
- control and propagation handling
50
- - [ Usage Examples] ( /sdk/js/client/subscriber#usage-examples ) - Logging,
51
- persistence, and error handling patterns
52
- - [ Integration] ( /sdk/js/client/subscriber#integration-with-agents ) - Registering
53
- and using subscribers with agents
54
-
55
- <Card
56
- title = " RunAgentSubscriber Reference"
57
- icon = " bolt"
58
- href = " /sdk/js/client/subscriber"
59
- color = " #3B82F6"
60
- iconType = " solid"
61
- >
62
- Comprehensive event system for reactive agent interaction and middleware-style
63
- functionality
64
- </Card >
65
-
66
41
## HttpAgent
67
42
68
43
Concrete implementation for HTTP-based agent connectivity:
@@ -85,3 +60,28 @@ Concrete implementation for HTTP-based agent connectivity:
85
60
Ready-to-use HTTP implementation for agent connectivity, using a highly
86
61
efficient event encoding format
87
62
</Card >
63
+
64
+ ## AgentSubscriber
65
+
66
+ Event-driven subscriber system for handling agent lifecycle events and state
67
+ mutations during agent execution:
68
+
69
+ - [ Event Handlers] ( /sdk/js/client/subscriber#event-handlers ) - Lifecycle,
70
+ message, tool call, and state events
71
+ - [ State Management] ( /sdk/js/client/subscriber#state-management ) - Mutation
72
+ control and propagation handling
73
+ - [ Usage Examples] ( /sdk/js/client/subscriber#usage-examples ) - Logging,
74
+ persistence, and error handling patterns
75
+ - [ Integration] ( /sdk/js/client/subscriber#integration-with-agents ) - Registering
76
+ and using subscribers with agents
77
+
78
+ <Card
79
+ title = " AgentSubscriber Reference"
80
+ icon = " bolt"
81
+ href = " /sdk/js/client/subscriber"
82
+ color = " #3B82F6"
83
+ iconType = " solid"
84
+ >
85
+ Comprehensive event system for reactive agent interaction and middleware-style
86
+ functionality
87
+ </Card >
0 commit comments