Saltar a contenido

apogee-ai-ui

React widgets for AI applications — also published as @apogee/ai-ui-react on npm.

This page is being expanded

The tables below are generated from the package source, so they are accurate. Narrative guides and worked examples are being written module by module.

Public API

Everything below is exported from the package root, so from apogee_ai_ui import X works for each name.

Layer Symbols
Application · DTOs BenchDTO, RenderDTO, StreamDTO
Application · Use cases BenchRenderUseCase, BuildDemoUseCase, ListComponentsUseCase, RenderUseCase, StreamTokensUseCase
Domain UiComponent, UiEvent, UiSession, UiUpdate
Domain · Enums ComponentKind, RendererKind, UiEventKind
Domain · Exceptions RendererError, SessionNotFoundException, UiError
Domain · Protocols (ports) IRenderer, ISessionStore, IStream
Infrastructure Card, ChatMessage, Code, Container, Heading, HtmlRenderer, InMemorySessionStore, JsonRenderer, List, Markdown, Panel, PlainTextRenderer, ProgressBar, ProgressStream, Spinner, Table, TerminalRenderer, Text, TokenStream

Install

Bash
pip install apogee-ai-ui

The base install has no required third-party dependency. Each extra unlocks one adapter.

Extra Pulls in
rich rich>=13.7
markdown markdown>=3.5

CLI

Installed as a console script, and registered as an apogee plugin so the same subcommands work under the global binary.

Bash
apogee-ui --help