anythic/ui
An open-source React component library designed for AI chat interfaces. It addresses flickering issues in streaming output through streaming-safe Markdown rendering and provides a complete set of components required for building agent interfaces.
Timeline (last 90 days)
anythic/ui is an open-source React component library for building AI chat and agent interfaces.
The core approach of anythic/ui is to complete incomplete prefix text before parsing, rather than modifying the parser.
The prefix-repair operations of anythic/ui include closing open code fences, completing unmatched **, _, and backticks, and temporarily hiding a link when its URL is incomplete.
Compared with waiting for the complete text before rendering, the prefix-repair strategy preserves the real-time character-by-character experience while also avoiding visual clutter.
The prefix-repair logic of anythic/ui is encapsulated inside the Markdown component, so developers only need to pass the streaming text directly into it.
anythic/ui provides components including ReasoningBlock, ToolCall, ToolApproval, Plan, CodeDiff, Terminal, Citation, Sources, PromptInput, Conversation, and Message.
The ToolApproval component of anythic/ui requests user confirmation before an agent executes a dangerous action.
All components of anythic/ui are model-agnostic, accept only plain props, and can be used with the Vercel AI SDK, OpenAI, Anthropic, Gemini, or a self-built backend.
anythic/ui styles use Tailwind v4, employ design tokens compatible with shadcn, and support dark mode out of the box.
anythic/ui can be installed via the command npm i @anythic/ui and is open-sourced under the MIT license.
1 more timeline events
All Facts (11)
anythic/ui is an open-source React component library for building AI chat and agent interfaces.
50%UnverifiedThe core approach of anythic/ui is to complete incomplete prefix text before parsing, rather than modifying the parser.
50%UnverifiedThe prefix-repair operations of anythic/ui include closing open code fences, completing unmatched **, _, and backticks, and temporarily hiding a link when its URL is incomplete.
50%UnverifiedCompared with waiting for the complete text before rendering, the prefix-repair strategy preserves the real-time character-by-character experience while also avoiding visual clutter.
50%UnverifiedThe prefix-repair logic of anythic/ui is encapsulated inside the Markdown component, so developers only need to pass the streaming text directly into it.
50%Unverifiedanythic/ui provides components including ReasoningBlock, ToolCall, ToolApproval, Plan, CodeDiff, Terminal, Citation, Sources, PromptInput, Conversation, and Message.
50%UnverifiedThe ToolApproval component of anythic/ui requests user confirmation before an agent executes a dangerous action.
50%UnverifiedAll components of anythic/ui are model-agnostic, accept only plain props, and can be used with the Vercel AI SDK, OpenAI, Anthropic, Gemini, or a self-built backend.
50%Unverifiedanythic/ui styles use Tailwind v4, employ design tokens compatible with shadcn, and support dark mode out of the box.
50%Unverifiedanythic/ui can be installed via the command npm i @anythic/ui and is open-sourced under the MIT license.
50%UnverifiedThe anythic/ui project repository includes screenshots of each component as well as a demo application that can be run locally with one's own Gemini key.
50%