-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
What would you like to be added?
HolmesGPT currently supports CLI and Robusta UI. I’d like to propose adding support for the AG-UI protocol — an open, event-driven standard for agent–user interaction.
AG-UI streams structured JSON events (e.g. TEXT_MESSAGE_CONTENT
, TOOL_CALL_START
, STATE_DELTA
) over SSE or WebSockets, allowing agents to plug into modern UIs and frameworks like CopilotKit or LangGraph with minimal glue code.
Proposed Implementation
- Add a new output mode that streams HolmesGPT responses as AG-UI events
- Map:
- Agent output →
TEXT_MESSAGE_CONTENT
- Tool calls →
TOOL_CALL_START
/TOOL_CALL_END
- State updates →
STATE_DELTA
- Agent output →
- Default transport: SSE (with optional WebSockets)
- Config flag:
--ag-ui
(off by default for backward compatibility) or a new http server ?
Open Questions
- Should HolmesGPT start with output-only events, or support bi-directional AG-UI immediately?
- Should we design tool-specific schemas (e.g., Prometheus, K8s), or stick to generic event wrappers?
- Should this be part of core HolmesGPT or an external adapter?
Next Steps
- Prototype SSE streaming of
TEXT_MESSAGE_CONTENT
- Gather community feedback on event mappings
References
- [AG-UI Protocol Spec](https://github.com/ag-ui-protocol/ag-ui)
- [Introducing AG-UI Blog](https://webflow.copilotkit.ai/blog/introducing-ag-ui-the-protocol-where-agents-meet-users)
### Why is this needed?
- Improves interoperability with AG-UI compatible front-ends
- Makes HolmesGPT’s reasoning and tool usage visible in real-time
- Increases adoption by developers already using AG-UI in their ecosystems
pavangudiwada, angle943, joshuali925, ps48, goyamegh and 2 more
Metadata
Metadata
Assignees
Labels
No labels