On this page
Sommatic Docs
Open portal

Components

React components of the SDK - the Command Center panel, chat, the workflow canvas and its live console, task views, task notifications and knowledge resource editors.

View as Markdown
Open in

These are the same components the Sommatic AI portal uses. Mount them inside the providers your app already has (AuthProvider from Veripass and, for the Command Center pieces, CommandCenterProvider), and they read and write through the SDK’s services.

Command Center and chat

ComponentWhat it shows
CommandCenterSidebarThe right-side panel. Props: topOffset (pixels below your top bar) and renderAppEmbed. It opens and closes on the sommatic:open-command-center event.
CommandCenterTriggerA button that opens and closes the panel. Props: isOpen, toggleSidebar, footerSelector.
CommandCenterChatThe conversation inside the panel: header, messages and input.
AppEmbedCard, AppEscalatedCardAn App Engine app shown inside the conversation, compact or enlarged.
CognitiveEntryManager, CognitiveEntry, ChatBubble, SystemResponse, ThoughtProcess, AppOutputCardThe building blocks of the conversation: the input, messages, answers, the model’s reasoning and app output.

See Add the Command Center to your app for the full wiring.

Workflows

ComponentWhat it shows
FlowsManagerThe workflow canvas for one flow definition. Prop: flowId.
FlowsToolbar, FlowsNodeConfigModalThe canvas toolbar and the node configuration dialog.
FlowsSseConsoleThe live console of a test run: every event of the run stream, filterable, with a prompt to inspect them. Props: open, maximized, onToggleMaximize, onClose, controller.

FlowsSseConsole takes its controller from the useSseConsole hook:

JavaScript
import { FlowsSseConsole, useSseConsole } from '@sommatic/react-sdk';

function RunConsole({ open, onClose }) {
  const controller = useSseConsole();
  return <FlowsSseConsole open={open} onClose={onClose} controller={controller} />;
}

Tasks

ComponentWhat it shows
TasksSidebarThe person’s inbox grouped by urgency (overdue, due soon, critical). Props: basePath, isCondensed, pollIntervalMs, pageSize.
TaskDetailWorkspaceA task in full: header and the overview, evidence, output and activity tabs. Receives the task and callbacks such as onTransition, onComplete, onOpenApp and onClose.
TaskDetailHeader, TaskOverviewTab, TaskEvidenceTab, TaskOutputTab, TaskActivityTabThe parts of that view, to compose your own.
TaskOutputFormThe form generated from the task’s required output schema.
TaskManagerQuickCreate, TaskManagerEdit, SchemaFieldBuilder, EvidenceBlockBuilderCreate and edit tasks, their output fields and evidence blocks.
HitlApprovalGate, HitlDynamicFieldsThe approval view of a task that carries an approval gate, and its dynamic fields.

Notifications

ComponentWhat it shows
TaskNotificationToastA toast for each sommatic::task-notification event, rate-limited and filtered by the person’s notification preferences. Prop: onNavigate({ taskId }).
TaskQuickViewOverlayA quick view of a task, opened with the sommatic::open-task event.

The task notifications come from useEventStream (real-time assignments) and useTaskSLAMonitor (deadlines about to pass or passed). Mount the toast once in your layout:

JavaScript
<TaskNotificationToast onNavigate={({ taskId }) => navigate(`/tasks?selected=${taskId}`)} />
<TaskQuickViewOverlay />

Knowledge resources and shared pieces

ComponentWhat it shows
CognitiveResourceEditorThe editor of a knowledge resource, with its header, context, preview and validation panels and its overview, content, governance, usage and bindings tabs (each exported on its own).
RichTextResourceEditor, ListResourceEditor, TaxonomyResourceEditor, DocumentResourceEditor, ReferenceResourceEditor, DatasetResourceEditorThe content editor for each kind of knowledge resource.
CognitiveResourceDetail, CognitiveResourceQuickCreateThe read view and the quick creation form, with their cards.
KnowledgeResourceTypeBadge, KnowledgeResourceStatusBadgeBadges for the type and status of a resource.
ProjectPickerA project selector. Props: organizationId, identity, value, valueSnapshot, onChange, disabled.

Next steps

Install agent tools

Give your coding agent the official Sommatic AI docs: skills, the docs MCP server and Markdown pages, so it never has to scrape the site.

Skills only. They do not update by themselves; run it again to refresh.

npx skills add https://docs.sommatic.ai
How agents read these docs