Ai
AIAgents
AI agent management list for creating, editing, and toggling agents in the admin panel.
AIAgents
Renders a list of configured AI agents with name, model, status (active/inactive), and actions to create a new agent, edit, enable/disable, or delete existing agents.
Components
<XAdminAIAgents />
Displays all AI agents with their model and status, plus a create button and row-level edit and delete actions.
<XAdminAIAgents />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
endpoint | string | '/api/admin/ai/agents' | API endpoint for agent list |
loading | boolean | false | Show loading skeleton |
searchable | boolean | true | Show search input |
allowCreate | boolean | true | Show create new agent button |
allowDelete | boolean | true | Show delete action per agent |
AI Context
component: XAdminAIAgents
package: "@xenterprises/nuxt-x-app-admin"
category: AI
use-when: Listing and managing AI agents (create, edit, enable/disable, delete) in an admin AI section
