Skip to content

AI Features

This section documents the implemented feature surfaces inside the AI module, including the gaps that still block production activation.

Available Features

  • Agent Management - Agent CRUD, public listing behavior, config defaults, and delete semantics.
  • Chat and Message Streaming - Chat lifecycle, streamed assistant responses, guardrails, title generation, pagination, and token-limit enforcement.
  • Message Actions - Copy, Regenerate, Like, Dislike, and Speaker action bar — tail-delete regenerate semantics, server-side feedback toggle, and ElevenLabs TTS streaming.
  • Knowledge Base and RAG - Knowledge document lifecycle, indexing pipeline, Qdrant-backed retrieval, and current file-integration gaps.
  • Model Catalog Sync - Vercel AI Gateway model discovery, background refresh workflow, sync statuses, and concurrency caveats.
  • MCP OAuth Authentication - OAuth 2.0 Authorization Code + PKCE, Client Credentials, and Dynamic Client Registration for MCP server connections.
  • Internal Tools - Per-agent opt-in registry exposing Operations CRUD (tasks, projects, calendar events) as AI tool calls. Includes enable/disable API and security model.
  • Gateway Generation Logging - Post-inference enrichment of TokenUsageLog with Vercel AI Gateway generation metadata (latency, accurate cost, BYOK cost rule) and the IGatewayGenerationInfoClient port contract.