Expand description
Axum + HTMX + Web Components
An agentic streaming LLM application that supports tool-first interaction, streams rich typed model output, and remains HTML-first and inspectable.
§Architecture
- Server: Axum-based HTTP server with SSE streaming
- LLM Orchestration: Protocol-agnostic driver for Chat Completions and Responses APIs
- MCP Client: Dynamic tool discovery and execution via Model Context Protocol
- UI: Static HTML + HTMX + Web Components + Alpine.js
§Modules
llm: LLM driver traits and implementationsmcp: MCP client configuration and registrynormalized: Unified streaming event modelsession: Conversation and session management
Re-exports§
Modules§
- config
- config_
manager - embedded
- Transport-independent embedded UAR application kernel.
- llm
- LLM driver traits and implementations.
- mcp
- Model Context Protocol (MCP) client implementation.
- normalized
- Normalized event types for streaming LLM responses.
- sandbox
- Sandboxed code execution for MCP tools and agent-generated code.
- server
- session
- Session and conversation thread management.
- skills_
api - The embedder-facing skill API (R4).
- uar
Structs§
- AppState
- Application state shared across all handlers.