AI Features
AI-powered description generation and category suggestions.
Overview
DirectoryKit includes optional AI features powered by the Vercel AI SDK with support for OpenAI and Anthropic providers.
AI features are disabled by default. Enable them in config/features.config.ts by setting ai: true.
Features
Description generation
When submitting a project, users can generate a description automatically from the project URL and name.
Category suggestions
AI can suggest relevant categories based on the project's content and description.
Configuration
See AI Config for setup instructions.
API endpoint
AI features are served from app/api/ai/generate/route.ts, which is guarded by the ai feature flag.