traits.dev
Profile-driven personality infrastructure for production AI systems.
Show, Then Explain
You should not need to read a schema before seeing the value.
Start with the Interactive Showcase: one prompt, three profiles, side by side.
haven: healthcare-safe, high-empathy communicationresolve: customer-resolution language with ownership framingarchitect: terse, code-first technical execution voice
What traits.dev does
- Defines personality as versioned YAML rather than ad hoc prompt strings
- Validates safety and structure before compile (
S001toS007) - Compiles model-aware prompt blocks for Claude and GPT placement
- Evaluates response adherence with reproducible tiered scoring
Build Workflow
bash
pnpm exec traits init --template resolve my-profile.yaml
pnpm exec traits validate my-profile.yaml --strict
pnpm exec traits compile my-profile.yaml --model gpt-4o
pnpm exec traits eval my-profile.yaml --tier 1