Define personality, psychology, and governance for AI agents in YAML. Validate at build time. Compile to any LLM platform. Open source.
# Define who your agent *is* personality: traits: warmth: 0.8 directness: 0.7 rigor: 0.85 humor: 0.4 extends: "archetypes/analyst" mixins: - "mixins/empathetic"
Think of it as Terraform for AI agent identity — declarative, composable, and platform-agnostic.
10 standardized traits on a 0–1 scale. Warmth, verbosity, assertiveness, humor, empathy, directness, rigor, creativity, epistemic humility, and patience.
OCEAN (Big Five), DISC behavioral model, and Jungian 16-type with bidirectional mapping between all frameworks.
Build agents from reusable archetypes and trait mixins. Inheritance, overrides, and configurable conflict resolution strategies.
Hard guardrails are immutable at runtime. Soft guardrails are admin-configurable per deployment. Safety boundaries separated from personality.
One YAML identity compiles to system prompts, Claude-optimized XML, OpenAI text, SOUL.md, OpenClaw JSON, or raw JSON.
Reverse-map any personality file onto all three frameworks. Side-by-side comparison with cosine similarity scoring.
Dynamic emotional modifiers and named operating modes (formal, crisis, casual) that adapt communication style automatically.
Team governance frameworks, workflow patterns, agent relationships, escalation paths, and performance metrics. Schema v2.0.
Streamlit web UI with Playground, interactive Setup Wizard with optional LLM enhancement, and personality Analyzer.
Write your agent's identity in YAML — personality, expertise, guardrails, communication style.
personanexus init my-agent
Catch misconfigurations at build time. Schema validation, trait range checks, guardrail conflict detection.
personanexus validate agent.yaml
Generate platform-specific output for any LLM — system prompts, SOUL.md, or structured configs.
personanexus compile agent.yaml
Define your agent identity once, compile to any target platform.
# Define your agent's identity schema_version: "1.0" metadata: name: "Scout" version: "1.0.0" role: title: "Research Assistant" purpose: "Help users research topics" personality: traits: warmth: 0.8 directness: 0.7 rigor: 0.85 humor: 0.4 extends: "archetypes/analyst" guardrails: hard: - rule: "Never fabricate sources" severity: critical
SYSTEM PROMPT — Scout v1.0.0 Role: Research Assistant You are Scout, a Research Assistant whose purpose is to help users research topics. PERSONALITY: Warmth: 0.80 — Very warm and approachable. Build rapport naturally. Directness: 0.70 — Communicate with clarity. Be straightforward but tactful. Rigor: 0.85 — Highly methodical. Verify claims, cite sources, show your reasoning. Humor: 0.40 — Occasional light touches of humor when appropriate. HARD GUARDRAILS: CRITICAL: Never fabricate sources or citations. This rule cannot be overridden.
Configure using any framework. PersonaNexus maps bidirectionally between all three.
The gold standard of personality psychology, based on decades of academic research.
Action-oriented behavioral model with presets like The Commander, The Analyst, and The Influencer.
All 16 personality types (INTJ, ENFP, etc.) with role-based recommendations and explicit dimension scores.
Edit the YAML on the left and watch the personality profile update in real time.
Senior Data Analyst
Write once, compile to system prompts for any LLM or ecosystem format.
Generic system prompt
Claude-optimized XML
GPT-optimized text
SOUL + STYLE files
personality.json
Full structured data