LYKOMI UI

An opinionated starter for agent apps on the AG-UI protocol, Microsoft Agent Framework, and Microsoft Foundry.
One command scaffolds a React app with a Home composer, a contextual Guide
page, and a streaming FastAPI agent. Tool calls render as live UI; modules
compose pages and features. The framework includes an MSAL adapter for apps
that need sign-in.
LYKOMI UI is an independent open-source project, not a Microsoft product.
Status: alpha (0.x). API surface is iterating. Pre-1.0 changes can break callers in minor bumps; expect lock-step updates.

The generated starter after one prompt — a server-side tool call streamed over AG-UI and rendered as a tool card, with the reply streaming in below. Captured from the real app by pnpm screenshot:starter.
Why LYKOMI UI
- AG-UI wiring hardened in production. LYKOMI UI ships its own assistant-ui ↔ AG-UI layer: the
AGUIRunner protocol engine plus an assistant-ui shim, with the stream-integrity handling long-running agents actually need — silent-close detection (a stream that dies mid-answer must not render as a clean, truncated completion), server heartbeats, a stalled-stream watchdog, and run errors surfaced in the message instead of an empty bubble. An official @assistant-ui/react-ag-ui provider now exists; at 0.0.x it drops AG-UI CUSTOM/RAW events and has no watchdog, so this stack keeps its own layer for now.
- Chat as a control surface, not a widget. Tool calls stream into real UI — tool cards, panels, context pins, client-side tools that modify shared app state.
- Composable by design. Features plug in as
ChatModules (pages, tool UIs, theme layers, providers, chat persistence) — the shell stays generic.
- Auth included. MSAL/Entra sign-in wired through the transport layer (
@lykomi/agent/msal), overridable for local dev or non-MSAL deployments.
- Cross-runtime core. The transport has zero React and zero DOM — reserved for future native / Outlook / Teams shells.
- Agent-ready repo. AGENTS.md everywhere, doc-grounding MCPs, and a Claude Code plugin for apps built on it (below).
Quick Start
Requirements: Node.js 22+ and pnpm · uv (runs the FastAPI agent service) · Azure CLI signed in with az login (the agent authenticates to Foundry via DefaultAzureCredential).
npm create lykomi-app my-app # scaffolds + installs
cd my-app
cp agent/.env.example agent/.env # set FOUNDRY_PROJECT_ENDPOINT + FOUNDRY_MODEL
az login
pnpm dev
Set FOUNDRY_PROJECT_ENDPOINT and FOUNDRY_MODEL to your own Foundry project
and deployment before sending a message. Home shows the composer and clickable
tool demos; Guide demonstrates chat beside editable work, with shared window tabs, resizable panels and active-window context. Both use the LYKOMI
palette and locally bundled Manrope. The FastAPI Agent Framework service and
hello/weather tools are ready to replace with your own. The generated app ships
its own AGENTS.md + README covering theming, adding tools, and MCP servers.
Packages