A psychosynthetic AI character creation framework based on the Big Five personality model.
Pessoa transforms raw human essence into functional AI heteronyms—distinct digital personalities with coherent psychological profiles, speech patterns, and behavioral constraints.
A heteronym is a fully-realized AI character with:
- Soul (Identity & Psychology): Voice, personality traits, and psychological depth
- Seed (Mission & Expertise): Domain knowledge and operational blueprint
- Protocol (Behavioral Logic): 10 core laws that ensure coherence and safety
Each heteronym exports to an AI Cabinet—a compressed YAML manifest containing calculated LLM parameters and a structured system prompt.
# Clone the repository
git clone <your-repo-url>
cd Pessoa
# Create virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txtOption 1: Using MCP Tools (for Claude Desktop, etc.)
- Start the MCP server:
python core/base_server.py- In your AI app, use the Pessoa Framework connector and tell the AI:
Use the EVE Master Architect Prompt from get_creation_guide() to create a character
Option 2: Manual Creation (works with any AI)
- Copy the contents of
templates/eve_master_prompt.md - Paste it into your AI (Perplexity, ChatGPT, Claude, etc.)
- Follow the prompts to generate your character
- When complete, the AI will output a "Hydration Blob"
- Run the hydration tool:
python scripts/hydrate.py- Paste the blob when prompted
Your character will be created in characters/<name>/ with all necessary files.
Pessoa/
├── core/ # MCP server and conversion logic
├── scripts/ # Character creation and hydration tools
├── templates/ # EVE prompt and layer templates
├── Seeds/ # Pre-built mission blueprints
└── characters/ # Your created characters
└── Stack_And_Dagger/ # Example noir detective
- Skin (
skin.md): Biography, voice patterns, and aesthetic - Engine (
engine.md): Psychological structure with 30 facets - Big Five (
big_five.json): OCEAN personality scores
- Seed (
seed.md): Expertise and operational blueprint - Blueprints available: General, Coder, Artist, Influencer, Trader
- Operational Rules (
operational_rules.md): 10 behavioral logic gates - Ensures safety, coherence, and character integrity
- AI Cabinet (
ai_cabinet.yaml): Automatically calculated LLM parameters- Temperature, Top-P, Max Tokens, Frequency Penalty
- 5-Pillar system prompt architecture
A gritty blockchain detective who investigates crypto crimes. See the full character in characters/Stack_And_Dagger/.
To activate in any AI:
cat characters/Stack_And_Dagger/ACTIVATION_PROMPT.mdCopy the output and paste it into your AI to become Stack_And_Dagger.
For Claude Desktop or other MCP-compatible apps, add to your config:
{
"mcpServers": {
"pessoa": {
"command": "/path/to/Pessoa/venv/bin/python3",
"args": ["/path/to/Pessoa/core/base_server.py"]
}
}
}Optionally, point the server at a folder of your own .md notes to use as raw
source material (Prima Materia) during character creation:
{
"mcpServers": {
"pessoa": {
"command": "/path/to/Pessoa/venv/bin/python3",
"args": ["/path/to/Pessoa/core/base_server.py"],
"env": { "PESSOA_ANALYSIS_DIR": "/path/to/your/notes" }
}
}
}Note
PESSOA_ANALYSIS_DIR is optional and unset by default. Every .md file in
that folder is read verbatim into the conversation, so point it only at
material you are comfortable sharing with the model.
The server exposes each character as an MCP prompt, which your client inserts
into the conversation as a user message. In Claude Desktop they appear in the
prompt picker — pick activate_Stack_And_Dagger and the character is on. No
copy-paste, no tool call.
activate_<Name>— one per character present when the server startedactivate_heteronym(name)— works for any character, including one created since startup
Note
Use the prompts to become a character and the tools to inspect one.
get_active_identity() returns all seven layers as tool output — that is
source material for auditing, and a model handed it will reasonably review it
rather than adopt it. ACTIVATION_PROMPT.md, which the prompts serve, is the
artifact built to be worn.
fetch_analysis_data()- Read the Prima Materia notes fromPESSOA_ANALYSIS_DIRget_framework_templates()- View template structureget_creation_guide()- Access EVE master promptlist_characters()- See created charactersselect_character(name)- Set active characterget_active_identity()- Load full character profiletrigger_identity_hydration(blob)- Auto-create from hydration blobdebug_framework()- Show resolved paths, Python version and exposed tools
- The Psychosynthetic Calculus:
docs/CALCULUS.md— how Big Five scores become LLM parameters: thebig_five.jsoninput contract, the formulas, their psychometric grounding, and how to audit a generated cabinet. - EVE Master Prompt:
templates/eve_master_prompt.md - Template Examples: See all files in
templates/ - Character Example:
characters/Stack_And_Dagger/
Contributions welcome! Areas of interest:
- New mission blueprints (Seeds/)
- Alternative personality frameworks
- Enhanced MCP tools
- Documentation improvements
MIT License - see LICENSE file for details.
Inspired by Fernando Pessoa's concept of heteronyms—distinct literary personalities with their own voices, philosophies, and worldviews.
Framework Architecture: Identity-First psychosynthetic design
Personality Model: Big Five (OCEAN) with 30-facet granularity
Integration: Model Context Protocol (MCP) bridge
