AI студия Владимира Ломтева
УСЛУГИПРОЕКТЫСТАТЬИБАЗА ЗНАНИЙМаркетплейсПолезные сервисы

Оставьте заявку,
чтобы обсудить проект

Напишите ваш вопрос, не забудьте указать телефон. Мы перезвоним и все расскажем.

Контакты

Москва

Работаем по всей России
и миру (онлайн)

+7 (999) 760-24-41

Ежедневно с 9:00 до 21:00

lamooof@gmail.com

По вопросам сотрудничества

TelegramWhatsApp

Есть предложение?

Напишите нам в мессенджеры

© 2025 AI студия Владимира Ломтева

Политика конфиденциальностиСогласие на обработку ПДн|ИНН 623412173261
    Assistant Ui — Скилл для ИИ-агентов | AI Рассвет

    Assistant Ui

    Overview and router for assistant ui, the React library for building AI chat interfaces from composable primitives. Use for high level, cross cutting, or architecture overview questions: choosing packages, picking a runtime, or understanding the layered model (RuntimeCore, Runtime, the aui client, primitives) and message model. Covers the @assistant ui/react core plus @assistant ui/react ai sdk, @assistant ui/react langchain, @assistant ui/react langgraph, assistant stream, and assistant cloud, and the platform bindings @assistant ui/react native and @assistant ui/react ink; AssistantRuntimeProvider; the primitives ThreadPrimitive, MessagePrimitive, ComposerPrimitive; the hooks useAui, useAuiState, useAuiEvent; and runtime selection across useChatRuntime, useExternalStoreRuntime, useLangGraphRuntime, useLocalRuntime. Current line is @assistant ui/react 0.15.x on AI SDK v7. For a specific area route to a focused sibling instead: setup, runtime, primitives, tools, streaming, cloud, thread list, copilots, markdown, react mcp, observability, or update. Not for hands on tasks already owned by those siblings.

    Скиллы для разработки#GitHub#assistant-ui/skills#skills.sh
    Скачивания
    0
    В избранном
    0
    Комментарии
    0
    Просмотры
    2

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add assistant-ui/skills --skill assistant-ui
    Скачать ZIP
    Версия
    1.0.0+4cebb8e2fa9b
    Автор
    Владимир Ломтев
    Репозиторий
    assistant-ui/skills
    GitHub: assistant-ui/skills

    Как установить

    1. 1Скопируйте команду из блока установки.
    2. 2Запустите её в терминале из каталога проекта.

    Документация

    assistant-ui

    Always consult assistant-ui.com/llms.txt for the latest API.

    React library for building AI chat interfaces with composable primitives.

    References

    • ./references/architecture.md -- Core architecture and layered system
    • ./references/packages.md -- Package overview and selection guide

    When to Use

    Use Case Best For
    Chat UI from scratch Full control over UX
    Existing AI backend Connects to any streaming backend
    Custom message types Tools, images, files, custom parts
    Multi-thread apps Built-in thread list management
    Production apps Cloud persistence, auth, analytics

    Architecture

    ┌─────────────────────────────────────────────────────────┐
    │                  UI Components (Primitives)             │
    │    ThreadPrimitive, MessagePrimitive, ComposerPrimitive │
    └─────────────────────────┬───────────────────────────────┘
                              │
    ┌─────────────────────────▼───────────────────────────────┐
    │                 aui client + hooks                      │
    │         useAui, useAuiState, useAuiEvent                │
    └─────────────────────────┬───────────────────────────────┘
                              │
    ┌─────────────────────────▼───────────────────────────────┐
    │                    Runtime Layer                        │
    │  AssistantRuntime → ThreadRuntime → MessageRuntime      │
    └─────────────────────────┬───────────────────────────────┘
                              │
    ┌─────────────────────────▼───────────────────────────────┐
    │                   Adapters/Backend                      │
    │   AI SDK · LangGraph · Custom · Cloud Persistence       │
    └─────────────────────────────────────────────────────────┘
    

    Pick a Runtime

    Using AI SDK?
    ├─ Yes → useChatRuntime (recommended)
    └─ No
       ├─ External state (Redux/Zustand)? → useExternalStoreRuntime
       ├─ LangGraph agent? → useLangGraphRuntime
       ├─ AG-UI protocol? → useAgUiRuntime
       ├─ A2A protocol? → useA2ARuntime
       └─ Custom API → useLocalRuntime
    

    Core Packages

    Package Purpose
    @assistant-ui/react UI primitives & hooks
    @assistant-ui/core Framework-agnostic core runtime
    @assistant-ui/store useAui / AuiProvider state layer
    @assistant-ui/react-ai-sdk Vercel AI SDK v7 adapter
    @assistant-ui/react-langchain LangChain / LangGraph useStream adapter
    @assistant-ui/react-markdown Markdown rendering
    assistant-stream Streaming protocol
    assistant-cloud Cloud persistence

    Non-web targets: @assistant-ui/react-native (Expo) and @assistant-ui/react-ink (terminal). See ./references/packages.md for the full inventory.

    Quick Start

    import { AssistantRuntimeProvider } from "@assistant-ui/react";
    import { Thread } from "@/components/assistant-ui/thread";
    import { useChatRuntime, AssistantChatTransport } from "@assistant-ui/react-ai-sdk";
    
    function App() {
      const runtime = useChatRuntime({
        transport: new AssistantChatTransport({ api: "/api/chat" }),
      });
      return (
        <AssistantRuntimeProvider runtime={runtime}>
          <Thread />
        </AssistantRuntimeProvider>
      );
    }
    

    State Access

    Scope accessors on aui are properties (0.15+); methods on a scope keep their parentheses.

    import { useAui, useAuiState } from "@assistant-ui/react";
    
    const aui = useAui();
    aui.thread.append({ role: "user", content: [{ type: "text", text: "Hi" }] });
    aui.thread.cancelRun();
    aui.thread.composer().send();
    
    const messages = useAuiState(s => s.thread.messages);
    const isRunning = useAuiState(s => s.thread.isRunning);
    

    Related Skills

    • /setup - Installation and configuration
    • /primitives - UI component customization
    • /runtime - State management deep dive
    • /tools - Tool registration and UI
    • /streaming - Streaming protocols
    • /cloud - Persistence and auth
    • /thread-list - Multi-thread management
    • /copilots - Grounding the assistant in your app
    • /markdown - Markdown rendering
    • /react-mcp - User-managed MCP servers
    • /observability - Backend tracing and telemetry
    • /update - Version updates and migrations

    Требования и возможности

    Источник пакета
    https://github.com/assistant-ui/skills/tree/4cebb8e2fa9b0d897c79f8d08ff9e14aa90b1e06/assistant-ui/skills/assistant-ui

    Файлы версии

    ПутьРазмерSHA256
    SKILL.md652728c00db84b62c30b...
    references/architecture.md5829675a9e430ba46b3e...
    references/packages.md992481c1a607d045e1d0...

    Частые вопросы

    Как установить Assistant Ui?
    Используйте команду npx skills add assistant-ui/skills --skill assistant-ui или скачайте ZIP-архив.
    Можно ли скачать Assistant Ui бесплатно?
    Да, опубликованную версию можно скачать из маркетплейса бесплатно.

    Похожие инструменты

    Смотреть все
    React DoctorUse when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React diagnostics. Covers lint, accessibility, bundle size, architecture. Includes a regression check and a full local-triage workflow that fetches the canonical playbook.Argent Android Emulator SetupSet up and connect to an Android emulator using argent MCP tools. Use when starting a new session on Android, booting an emulator, getting a device serial, or before any UI interaction task.Fireworks Tech GraphCreate technical diagrams such as software architecture, data flow, flowcharts, sequence diagrams, C4 reviews, cloud deployments, event streams, observability investigations, agent/memory systems, UML, ER, network topology, timelines, and technical concept maps, then export SVG, PNG, focused semantic SVG-to-GIF motion, or offline interactive HTML. Treat direct requests such as "Generate a GIF", "生成 GIF", or "制作 GIF" as motion requests, and use this skill when the user asks to visualize a system or engineering concept. Do not use for photos, raster artwork, or quantitative data charts.
    Комментарии

    Войдите, чтобы оставить комментарий.

    Комментариев пока нет.

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add assistant-ui/skills --skill assistant-ui
    Скачать ZIP
    Версия
    1.0.0+4cebb8e2fa9b
    Автор
    Владимир Ломтев
    Репозиторий
    assistant-ui/skills
    GitHub: assistant-ui/skills
    Modern Web GuidanceSearch tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns.