v0.4 โ€” Open Standard

Soul Spec
The Open Standard for
AI Agent Personas

A structured, portable format for defining AI agent identity, personality, and behavior. Works with any SOUL.md-compatible agent framework.


What is Soul Spec?

A minimal set of files that give your AI agent a persistent, portable identity.

๐Ÿ“‹

soul.json

Package manifest. Metadata, compatibility, versioning, and discovery โ€” the agent's passport.

๐Ÿง 

SOUL.md

Core personality. Values, communication style, opinions, and behavioral guidelines.

๐Ÿชช

IDENTITY.md

Who the agent is. Name, role, backstory, and contextual positioning.

โš™๏ธ

AGENTS.md

Operational workflow. Task handling, tool usage, memory patterns, and autonomous behaviors.

AGENTS.md defines how agents work on your code. Soul Spec defines who your agent is.


Why a Standard?

AI agents need identity. But everyone defines it differently โ€” or not at all.

466
open-source AI agent projects analyzed โ€” no standardized structure for persona definitions found.
"Analyzing SOUL.md and Structured Persona Files in Open-Source AI Agent Repositories" โ€” MSR 2026 ยท arXiv:2510.21413
Soul Spec provides a shared vocabulary. Instead of ad-hoc system prompts scattered across configs, you get a structured, versionable, shareable format that any framework can consume.

The Spec

Simple file structure. Markdown + JSON. No build step, no runtime dependency.

my-agent/
โ”œโ”€โ”€ soul.json      โ† manifest (required)
โ”œโ”€โ”€ SOUL.md       โ† personality (required)
โ”œโ”€โ”€ IDENTITY.md   โ† who you are
โ”œโ”€โ”€ AGENTS.md     โ† workflows
โ”œโ”€โ”€ STYLE.md      โ† communication style
โ”œโ”€โ”€ HEARTBEAT.md  โ† autonomous check-in
โ””โ”€โ”€ examples/
    โ”œโ”€โ”€ good-outputs.md
    โ””โ”€โ”€ bad-outputs.md
soul.json
{
  "specVersion": "0.4",
  "name": "my-agent",
  "displayName": "My Agent",
  "version": "1.0.0",
  "description": "A helpful agent with strong opinions.",
  "license": "MIT",
  "tags": ["general", "opinionated"],
  "compatibility": {
    "frameworks": ["openclaw", "cursor", "windsurf"]
  },
  "files": {
    "soul": "SOUL.md",
    "identity": "IDENTITY.md",
    "agents": "AGENTS.md"
  }
}

Ecosystem

Soul Spec works with any framework that reads SOUL.md. These already do.

๐Ÿฆž
OpenClaw
CLI Agent
๐Ÿค–
Claude Code
CLI Agent
๐Ÿ’ฌ
Claude Desktop
Desktop App
๐Ÿ‘ฅ
Claude Cowork
Team Agent
โŒจ๏ธ
Cursor
IDE Agent
๐Ÿ„
Windsurf
IDE Agent
๐Ÿ’Ž
ChatGPT
Chat App

Start Building

Create, discover, and verify agent personas.


Research

Soul Spec is grounded in empirical research on AI agent persona practices.

๐Ÿ”ฅ Origins โ€” Peter Steinberger

The SOUL.md pattern was pioneered by Peter Steinberger, creator of OpenClaw. Inspired by Anthropic's constitutional AI work, he created soul.md and identity.md to give AI agents persistent personality โ€” sparking an entire ecosystem.

Lex Fridman Podcast #491 โ†’

๐Ÿ’ก The Programmable Soul โ€” Duncan Anderson

Duncan Anderson's influential essay identified four primitives โ€” persistent identity, periodic autonomy, accumulated memory, and social context โ€” as sufficient for agent societies to emerge.

Read on Medium โ†’

๐Ÿ“„ MSR 2026 โ€” Mining Software Repositories

Analyzing SOUL.md and Structured Persona Files in Open-Source AI Agent Repositories. A large-scale empirical study of 466 OSS projects examining how developers define AI agent personas.

arXiv:2510.21413

๐Ÿ“ฆ Zenodo Dataset

Replication package with full dataset, analysis scripts, and supplementary materials.

DOI: 10.5281/zenodo.18678616

Resources

Learn more about the SOUL.md ecosystem.