AI Chat Overview

AI Chat is a complete, modular AI application delivered as a single ServiceStack plugin. Registering ChatFeature mounts a full multi-provider Chat UI at /chat that runs inside your App's existing security boundary - using your App's users, your App's database and your App's file system.

What you get

Two plugins

AI Chat ships as two independent plugins in the ServiceStack.AI.Chat package:

See Rendering PDFs to deploy production rendering on its own.

Architecture

Everything in AI Chat above the hosting layer is an extension. The Chat UI is assembled at runtime from the Vue components each installed extension registers, and the server half of each extension owns its own routes, tools, tables and background workers.

services.AddPlugin(new ChatFeature {
    RequireAuth = true,
    DisableExtensions = ["computer"],   // remove a capability from server + UI together
    Tools = {
        EnableApiTools = true,          // on by default
        EnableFilesystemTools = false,  // off by default
        EnableCodeExecution = false,    // off by default
    },
});

A disabled extension registers no routes, no tools and no UI components. See Extensions for the full list and Custom Extensions for adding your own.

Where state lives

Nothing is stored outside your application. See Data & Storage.

Security posture

See Integrated Auth.

Next steps