Agent Conversation UI Component (agents/AgentConversation.tsx)

omnara · frontend/apps/web/src/components/agents/AgentConversation.tsx · typescript · Apache-2.0
ui, chat, ai, fw:react

Renders scrollable chat message interfaces for AI agent interactions and workflows. Reuse when building conversational AI web frontends.

// Source: https://github.com/omnara-ai/omnara | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type { UseAgentChatResult } from '@omnara/react'

import { AgentChatMessage } from '@/components/agents/AgentChatMessage'
import { Bot } from '@/components/icons'
import { Button } from '@/components/ui/button'
import {
  MessageScroller,
  MessageScrollerButton,
  MessageScrollerContent,
  MessageScrollerItem,
  MessageScrollerViewport,
} from '@/components/ui/message-scroller'
import { Skeleton } from '@/components/ui/skeleton'

export function AgentConversation({
  chat,
  currentActorId,
  orgID,
  projectID,
  agentID,
}: {
  chat: UseAgentChatResult
  currentActorId?: string

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key