X Enterprises
Ai

AIChat

AI chat interface for interacting with configured agents from the admin panel.

AIChat

Renders a full-featured chat interface for sending messages to AI agents, with streaming response support, message history, agent selector, and a clear conversation control.

Components

<XAdminAIChat />

Displays a chat UI with message thread, streaming text rendering, agent picker, and compose input for admin AI interactions.

<XAdminAIChat />

Props

PropTypeDefaultDescription
agentIdstringundefinedPre-select a specific agent on load
endpointstring'/api/admin/ai'Base API endpoint for chat
loadingbooleanfalseShow loading skeleton
streamingbooleantrueEnable streaming response display
showAgentSelectorbooleantrueAllow switching agents mid-conversation
placeholderstring'Message the agent...'Compose input placeholder text

AI Context

component: XAdminAIChat
package: "@xenterprises/nuxt-x-app-admin"
category: AI
use-when: Providing a chat interface to interact with AI agents from within an admin panel
Copyright © 2026