Simulacrum

AI features

Vercel AI SDK setup, streaming chat, model providers, and template-specific assistants.

Configuration

AI is optional and toggled in simulacrum.config.ts. Provider keys (OpenAI, Anthropic, and others) live in environment variables.

Chat component

The generated chat UI stores message history per user or session, streams tokens with the AI SDK, and handles errors gracefully.

Template-specific tools

  • E-commerce — product description generator from bullet points
  • Blog — drafting assistant with outline mode
  • Corporate — career description writer from hiring manager notes

Safety

Apply rate limits, log model calls without sensitive payloads, and surface disclosure when content is AI-assisted.

Do not send secrets or PII in prompts. Redact customer data before calling external models.