Skip to main content

Generate a persona

Use the CLI to generate a new persona:

Persona schema

A persona YAML file contains:
my-persona.yaml

Field reference

Use a custom persona

Point sundew.yaml at your persona file:
sundew.yaml
Or pass it via CLI:

Pre-built persona packs

Sundew ships with persona packs that work without an LLM. These are JSON files in src/sundew/persona/packs/ containing pre-generated response templates.

Pack structure

Requirements for a good pack

  • Realistic company name and industry context
  • At least 5 REST endpoints with varied response structures
  • MCP tools that match the industry theme
  • Realistic fake data (valid UUIDs, plausible emails, real-looking timestamps)
  • Error responses that match the persona’s error style
  • No overlap with existing packs in field names or response patterns