This library provides integration for the Agent Framework with the AG-UI protocol, enabling agents to communicate with AG-UI compliant frontends. It's currently in beta (1.0.0b260409) and offers components to bridge `agent-framework` agents to the AG-UI ecosystem. The project aims to facilitate the development of interactive AI agents with standardized UI interfaces.
pip install agent-framework-ag-uiVerified import paths — ran on the pinned version, not inferred.
Sets up an `AgUiServer` to expose a basic `agent-framework` agent via the AG-UI WebSocket protocol. This allows AG-UI compatible frontends to connect and interact with the agent. The example includes a simple `agent-framework` agent that replies to received messages.
Monitor project releases closely. Expect potential breaking changes in minor/patch versions during beta. Pin exact beta versions for stability using `pip install agent-framework-ag-ui==1.0.0b260409`.
Ensure `agent-framework` is installed (`pip install agent-framework`) and review its documentation for core agent concepts (e.g., `Agent`, `Storage`, `Message`) before using `agent-framework-ag-ui`.
Always run the server and agent logic within an `asyncio` event loop (e.g., `asyncio.run(main())`). All functions interacting with the library typically need to be `async def` and calls to library methods require `await`.
Consult the AG-UI protocol specification or example UI implementations to understand how to interact with the exposed WebSocket endpoint and what messages to send/expect.
No resource links recorded.