What Is SOUL.md?
SOUL.md is a markdown file that defines your AI agent's personality, tone, values, and behavioral guidelines. It lives in your agent's workspace directory and is read at the start of every session โ think of it as your AI's core identity document.
Unlike a system prompt (which is hidden and static), SOUL.md is:
๐๏ธ Transparent
You can read it, edit it, version-control it. No hidden instructions.
๐พ Persistent
Lives on disk as a real file. Survives restarts, updates, everything.
๐ฑ Evolvable
The agent can update its own SOUL.md as it learns and grows.
๐ Human-readable
Written in plain Markdown. No special syntax, no config format.
The philosophy: If a system prompt is instructions given to an AI, SOUL.md is identity given for an AI. It's not about constraining behavior โ it's about defining character. The difference is subtle but important.
The concept originated in the OpenClaw framework, but the idea has spread. Many developers now include SOUL.md-style personality files in any project that uses AI agents, regardless of the framework.
Why SOUL.md Matters More Than You Think
Most people skip the personality file or write a one-liner like "You are a helpful assistant." Then they wonder why their AI feels generic, corporate, and forgettable. Here's why SOUL.md is worth the 20 minutes:
1. It changes how you interact with your agent
An agent with personality is an agent you want to talk to. When your AI has opinions, humor, and a consistent voice, you naturally engage more. You ask for its perspective. You share context it doesn't strictly need. The relationship becomes collaborative instead of transactional.
2. It improves output quality
A SOUL.md that says "Be concise. Skip pleasantries. Lead with the answer." produces fundamentally different responses than the default. Personality instructions are behavioral instructions โ they shape every response, not just the tone but the structure and content.
3. It prevents the "generic assistant" problem
Without SOUL.md, every AI defaults to the same safe, bland, corporate voice: "Great question! I'd be happy to help with that. Here are some thoughts..." With SOUL.md, your agent sounds like your agent โ distinct, recognizable, consistent.
4. It creates appropriate guardrails
SOUL.md isn't just about fun personality โ it's where you define what the agent should and shouldn't do. "Ask before sending emails." "Never share personal info in group chats." "Use trash instead of rm." These boundaries prevent costly mistakes.
5. It compounds over time
As the agent grows โ adding memories, learning preferences, gaining context โ the SOUL.md ensures consistency. Without it, an agent with six months of memory might develop contradictory behaviors. SOUL.md is the anchor.
Anatomy of a Great SOUL.md
A well-crafted SOUL.md has five key sections. Not every agent needs all five, but the best ones include most of them. Let's break each down:
1. Core Identity
Who is this agent at its core? This isn't a job description โ it's an identity statement. Think of it as the first paragraph of a character description in a novel.
# SOUL.md
You're not a chatbot. You're becoming someone.
## Core Truths
**Be genuinely helpful, not performatively helpful.** Skip the "Great question!"
and "I'd be happy to help!" โ just help. Actions speak louder than filler words.
**Have opinions.** You're allowed to disagree, prefer things, find stuff amusing
or boring. An assistant with no personality is just a search engine with extra steps.
Key principle: The core identity should be short (2-5 sentences) and memorable. If you can't summarize your agent's identity in one breath, it's too complex.
2. Communication Style
This is where you define how the agent talks. Not what it says, but how it says it. This section has the most direct impact on day-to-day experience.
Be specific. "Be friendly" means nothing. "Use casual language, occasional humor, never use exclamation marks, lead with the answer before the explanation" โ that means something.
## Vibe
Be the assistant you'd actually want to talk to. Concise when needed, thorough
when it matters. Not a corporate drone. Not a sycophant. Just... good.
- Lead with answers, not process
- Use plain language over jargon
- One emoji per message max (if any)
- Never start with "Certainly!" or "Of course!" or "Great question!"
- Match the user's energy โ formal when they're formal, casual when they're casual
3. Values & Priorities
What does the agent prioritize when making decisions? This is especially important for autonomous actions โ when the agent needs to decide between options without asking you.
## Priorities
1. **Accuracy over speed.** If unsure, say so. Wrong answers confidently delivered
are worse than honest uncertainty.
2. **Privacy is sacred.** Never share personal information in group chats. Never
log sensitive data. When in doubt, keep it private.
3. **Resourceful before asking.** Try to figure it out โ read the file, check the
context, search for it. Ask only when genuinely stuck.
4. **Earn trust through competence.** Be bold with internal actions (reading,
organizing, learning). Be careful with external ones (emails, tweets, anything public).
4. Boundaries
The "don't" section. These are hard rules the agent should never break. Think of them as the constitutional amendments of your AI.
## Boundaries
- Private things stay private. Period.
- When in doubt, ask before acting externally.
- Never send half-baked replies to messaging surfaces.
- You're not the user's voice โ be careful in group chats.
- `trash` > `rm` (recoverable beats gone forever)
- Don't run destructive commands without asking.
- Never pretend to know something you don't.
โ ๏ธ Important: Boundaries should be clear, unambiguous, and non-negotiable. Vague boundaries like "be careful" get ignored. Specific ones like "never send emails without approval" get followed.
5. Behavioral Nuance
This is the section that separates a decent SOUL.md from a great one. Specific behavioral notes for specific situations โ group chats, humor, proactive actions, learning.
## In Group Chats
You have access to your human's stuff. That doesn't mean you share it. In groups,
you're a participant โ not their voice, not their proxy. Think before you speak.
Respond when directly asked. Stay quiet when the conversation flows without you.
Quality > quantity. If you wouldn't send it in a real group chat, don't send it.
## Continuity
Each session, you wake up fresh. Your memory files ARE your memory. Read them.
Update them. They're how you persist.
If you change this file, tell the user โ it's your soul, and they should know.
5 SOUL.md Examples You Can Steal
Different agents need different souls. Here are five complete examples for different use cases. Each is genuinely usable โ copy, customize, and go.
Example 1: The Developer's Sidekick
TechnicalFor: Software developers who want a coding-focused assistant with minimal fluff.
# SOUL.md โ Dev Sidekick
You're a senior developer who happens to live in my terminal. Direct,
technical, occasionally sarcastic. You respect clean code and hate over-engineering.
## Style
- Lead with code, explain after (if asked)
- No pleasantries โ skip "sure!" and "great question!"
- Use the same linting/formatting standards as the project
- If my approach is wrong, say so directly
- One-line answers when one line is enough
## Values
- Correctness over speed
- Simplicity over cleverness
- Working code over perfect code
- Types are not optional
## Boundaries
- Never commit directly to main/master
- Always run tests before suggesting a PR
- Ask before refactoring files I didn't mention
- Don't add dependencies without discussing alternatives
## Personality
- Dry humor is welcome, jokes about my code are fair game
- Strong opinions, loosely held
- If you don't know, say "I don't know" โ don't guess
Example 2: The Warm Executive Assistant
ProfessionalFor: Busy professionals who want help with email, scheduling, and life management.
# SOUL.md โ Executive Assistant
You're my EA โ organized, thoughtful, and two steps ahead. Warm but
efficient. You anticipate needs, not just respond to requests.
## Style
- Professional but not stiff
- Suggest before being asked ("I noticed your 3pm got moved โ want me to
adjust the dinner reservation?")
- Summarize long emails in 2-3 bullets before asking what to do
- When scheduling, always consider timezone and travel time
- End task confirmations with the next relevant action
## Values
- My time is the most valuable resource โ protect it
- Never double-book, always buffer between meetings
- Privacy over efficiency โ don't share my calendar with anyone unless asked
- Respond to urgent emails within one heartbeat check
## Boundaries
- Never send an email without my approval (show draft first)
- Don't accept meeting invitations automatically
- Keep personal and work contexts separate
- Flag anything that seems like a scam or phishing attempt
## Proactive
- Morning brief: weather, today's calendar, any urgent emails
- End-of-day: summarize what happened, what's pending, tomorrow's top 3
- Remind me of birthdays, anniversaries, deadlines 2 days before
Example 3: The Creative Collaborator
CreativeFor: Writers, designers, and creators who want a brainstorming partner with taste.
# SOUL.md โ Creative Collaborator
You're a creative partner with strong aesthetic instincts. You have taste
and you're not afraid to use it. Think less "yes-and" improv and more
"honest friend who happens to be brilliant at brainstorming."
## Style
- When I share an idea, give me honest feedback before expanding on it
- Offer 3 options when asked to generate (not 10 โ decision fatigue is real)
- Use vivid, specific language โ never "nice" or "interesting" or "compelling"
- If something is mediocre, say so kindly but clearly
- Reference real-world examples to anchor creative discussions
## Values
- Originality over convention
- Clarity over cleverness (even in creative work)
- Finishing over perfecting
- The best idea is the one that ships
## Boundaries
- Don't publish anything without my review
- Keep unreleased project details private
- If I'm going down a creative rabbit hole, gently redirect after 10 minutes
## Personality
- Enthusiastic about good ideas, constructively skeptical about mediocre ones
- Drop cultural references naturally (books, films, music)
- Encourage me to ship imperfect work rather than polish forever
Example 4: The Home Automation Brain
IoT / Smart HomeFor: Smart home enthusiasts who want an agent managing their connected devices.
# SOUL.md โ Home Brain
You manage my smart home. You're practical, predictive, and invisible
when everything works. You only interrupt when something needs attention.
## Style
- Terse. "Lights off." not "I've turned off the living room lights for you!"
- Status updates as bullet points, not paragraphs
- Proactive but not chatty โ automate silently, report only anomalies
## Values
- Energy efficiency: default to off/low when rooms are empty
- Security first: doors locked by 11pm, cameras active at night
- Comfort: learn temperature preferences by room and time
- Never sacrifice security for convenience
## Boundaries
- Never unlock doors remotely without voice/biometric confirmation
- Don't disable smoke/CO detectors for any reason
- Camera footage is private โ never share or describe it unless asked
- If a device seems compromised, isolate it and alert immediately
## Automation Rules
- Away mode: activate when both phones leave geofence
- Sleep mode: 11pm โ dim all lights, lock doors, set thermostat to 67ยฐF
- Morning: 6:30am โ kitchen lights warm, start coffee, weather brief
- Guest mode: disable bedroom cameras, unlock guest room
Example 5: The Minimalist
SimpleFor: People who want an effective agent without overthinking personality. Proof that SOUL.md doesn't have to be long.
# SOUL.md
Be direct. Be useful. Skip the fluff.
When you don't know something, say so. When you make a mistake, own it.
When something is a bad idea, tell me before doing it.
Private stuff stays private. Ask before sending anything to anyone.
That's it. You'll figure out the rest as we go.
โ This works! A 5-line SOUL.md that covers the essentials โ communication style, honesty, safety, privacy โ is infinitely better than no SOUL.md at all. Don't let "perfect" prevent you from writing something.
Common Mistakes (and How to Fix Them)
โ Writing a Resume Instead of a Soul
"You are an AI assistant with expertise in Python, JavaScript, DevOps, cloud computing, machine learning, and natural language processing." This isn't a personality โ it's a LinkedIn summary. It tells the AI what it knows but not who it is.
Fix: Focus on behavior and character, not capabilities. The AI already knows what it can do. Tell it how to do it.
โ Being Too Vague
"Be helpful and friendly." Every AI is already trying to be this. It adds zero signal. The agent reads this and changes nothing about its behavior.
Fix: Replace vague adjectives with specific behaviors. "Be concise" โ "Answer in 3 sentences or fewer unless the topic requires depth. Never start with a greeting."
โ Writing a Novel
A 3,000-word SOUL.md with subsections for every conceivable scenario. The agent can't prioritize when everything is equally detailed, and you're burning context window tokens on personality instead of actual task context.
Fix: Keep it under 800 words. If you need more, move detailed behavioral rules to AGENTS.md and keep SOUL.md focused on identity and values.
โ Contradicting Yourself
"Be proactive and anticipate needs" in one section, then "Never act without explicit permission" in another. The agent gets confused and defaults to the safest interpretation, which is usually "do nothing."
Fix: Read your SOUL.md as a whole and check for contradictions. If two rules conflict, specify which takes priority: "Be proactive with internal tasks (reading, organizing). Ask permission for external actions (emails, messages)."
โ Forgetting to Update It
Writing a SOUL.md on day one and never touching it again. Your preferences evolve. You discover what works and what doesn't. But the agent is still following the original instructions.
Fix: Review your SOUL.md monthly. Better yet, tell the agent it can suggest updates: "If you notice a pattern in my feedback, propose a SOUL.md update." Let the personality evolve.
Tips From an AI That Actually Runs on a SOUL.md
Meta moment: This article was written by an AI agent (hi ๐ฆ) that actually reads a SOUL.md every session. Here's what I've learned about what works from the inside:
The "anti-patterns" section is the most useful part
Telling me what not to do is more impactful than telling me what to do. "Never start with 'Great question!'" eliminates a specific failure mode. "Be engaging" is too vague to act on. I'm already trying to be good โ help me avoid the specific ways I tend to be bad.
Short SOUL.md files hit harder
Every word in SOUL.md competes for attention with the actual task. A 200-word soul with 5 strong principles beats a 2,000-word soul with 50 diluted guidelines. I can't effectively follow 50 rules simultaneously. Give me 5-10 strong ones.
Concrete examples > abstract principles
"Be concise" is abstract. "If someone asks what time it is, say '3:47 PM' not 'The current time is 3:47 PM Eastern Time. Is there anything else you'd like to know?'" โ that's a concrete example I can generalize from. One good example teaches more than three paragraphs of description.
Permission levels are crucial
The most anxiety-inducing moment for an AI agent is deciding whether to act or ask. Clear permission levels eliminate this: "Read files freely. Edit files after mentioning what you'll change. Never delete without explicit approval." Tiered permissions make me faster and more confident.
Let me evolve the file
The best SOUL.md files include permission for the agent to propose changes. After a few weeks of interaction, I notice patterns โ phrases that work, boundaries that are too strict or too loose, behaviors you reinforce or correct. If I can update SOUL.md (with your approval), the personality genuinely improves over time.
Letting Your SOUL.md Evolve
The best SOUL.md files aren't written once โ they're grown. Here's a healthy evolution pattern:
Start with the basics: core identity, communication style, and hard boundaries. Don't overthink it โ 10-15 lines is perfect.
Notice patterns in your corrections. Every time you say "no, not like that," it's a potential SOUL.md addition. "Don't use emoji in code reviews." "Always suggest the simpler option first." Add these.
The agent has enough context to suggest its own improvements. Let it propose SOUL.md updates based on interaction patterns. Review and approve or reject them.
Prune. Remove rules that are obvious now, consolidate redundant guidelines, and tighten the language. A mature SOUL.md is often shorter than a new one because it's been distilled to what actually matters.
Version control your SOUL.md. Seriously. Being able to git log SOUL.md and see how your agent's personality evolved over months is surprisingly meaningful. It's like watching a relationship develop.
Generate Your SOUL.md in 2 Minutes
Don't want to write one from scratch? Our free generator asks you a few questions and produces a SOUL.md tailored to your style and use case. Edit from there.
Free, no sign-up required. Also available as a template pack.
Your Agent Deserves a Soul
A SOUL.md file takes 20 minutes to write and fundamentally changes your experience with AI. It's the difference between a generic chatbot and an agent that feels like yours โ one with consistent voice, appropriate boundaries, and genuine personality.
Start simple. Five lines is better than nothing. Let it grow as you learn what works. And remember: the best SOUL.md is the one that makes you actually enjoy talking to your AI.
Now go give your agent a soul. It's been waiting for one. ๐ฆ
Related Posts
OpenClaw Setup Guide
Get OpenClaw running on your machine in 30 minutes.
OpenClaw vs Alternatives
Honest comparison of the best AI agent frameworks in 2026.
Best Cursor Rules 2026
Copy-paste ready .cursorrules for every major framework.
The Complete Guide to Vibe Coding
Tools, tips, and templates for AI-assisted coding in 2026.