Complete integration of Langroid with the AG-UI protocol, providing Python and TypeScript implementations.
- Install dependencies:
cd python
pip install -e .
cd examples
pip install -e .- Create a
.envfile inpython/examples/:
OPENAI_API_KEY=your-openai-api-key-here
Run the server from the python/examples/ directory:
cd python/examples
poetry run python -m serverThe server will start on http://0.0.0.0:8003
The server includes several examples:
- agentic_chat: Basic conversational agent with frontend tools
- backend_tool_rendering: Backend-executed tools (weather, charts)
- shared_state: Collaborative recipe editor with state synchronization
- agentic_generative_ui: Multi-step workflows with state management
See ARCHITECTURE.md for detailed implementation documentation.