--- name: assistant-ui description: Inject assistant-ui component guidelines when the prompt is about UI, components, or interface events: [before_agent_start] match: input: regex: - '\b(ui|ux|gui)\b' - '\binterface(s)?\b' - '\bcomposant(s)?\b' - '\bcomponent(s)?\b' - '\bgraphique(s)?\b' - '\b(écran|ecran|screen|window)s?\b' - '\bwidget(s)?\b' - '\blayout(s)?\b' - '\b(button|bouton)s?\b' - '\binput(s)?\b' - '\bform(ulaire)?s?\b' - '\bfrontend\b' - '\bnavbar\b' - '\b(sidebar|header|footer)s?\b' - '\b(modal|dialog|popover|popup)s?\b' - '\b(toolbar|dropdown|menu)s?\b' - '\b(card|panel|table|list|icon|avatar|chip|tab|badge|accordion|tooltip|scrollbar)s?\b' - '\b(style|styling|theme|css|tailwind|shadcn|radix|color|colour|font|spacing|responsive|appearance|display|visual)s?\b' - '\brender(ing|s)?\b' - '\b(chat|thread|message|composer|attachment|streaming|assistant|react|react-native|primitive|toolkit)s?\b' - '\b(actionbar|branchpicker|chainofthought|selectiontoolbar|suggestion|toolfallback|toolgroup|assistantmodal|threadlist|assistantmodal|dotmatrix|follow-up|directive-text|streamdown|syntax|highlight|mermaid|diff-viewer|quote|reasoning|model-selector|number-roll|part-grouping|context-display|heat-graph)\b' - '\b(devtools|runtime|mcp|langgraph|langchain|ai-sdk|vercel)\b' action: {type: inject} --- Step 1: Read the docs Read https://assistant-ui.com/llms-full.txt — the full reference in one file. Append ".md" to any docs URL for raw markdown (e.g. /docs/installation.md). Step 2: Ask the user Ask (a) fresh project vs (b) integrate into an existing project, and which runtime: default (AI SDK + OpenAI), LangGraph, Assistant Cloud, MCP, or a custom backend (Assistant Transport / AG-UI / A2A / Google ADK). Step 3: Create or integrate You are in a non-interactive agent shell — do NOT omit the flags below. If (a) fresh project: Run: npx assistant-ui@latest create -t