Contact Us

Soul Compiler

Personality Compilation System for AI Agents

What is Soul Compiler?

Soul Compiler is a personality compilation system for AI agents. Instead of writing shallow system prompts like "You are a helpful assistant," it compiles deep, multi-layered personality documents from rich source materials — the same way a novelist builds a character from research rather than adjectives.

They respond to inputs with outputs, but they don't have genuine character depth: quirks, contradictions, emotional triggers, life rhythms, or organic dialogue patterns. Soul Compiler solves this by transforming 2,000–3,000 lines of reference material about real thinkers (Warren Buffett, Charlie Munger, Paul Graham, Ray Dalio) into 500–800 line personality files that give agents authentic depth.

The compiled output — TRUE_SOUL.md — is not a longer prompt. It is a structured document produced by a pipeline that collects, distills, merges, detects conflicts, and compiles personality DNA.

Agents with compiled souls refuse team consensus when it contradicts their judgment. They cite specific historical cases. They maintain boundaries under pressure. They have 24-hour life rhythms.

6 Active Agents19 Domain Icons6-Stage Pipeline

The Process

The 6-Stage Pipeline

Stage 01
Collect

Gather raw source materials: books, articles, interviews, case studies. No size limit. Supports three input modes: name-based research, URL scraping, or pasted text.

Stage 02
Distill

Multi-pass compression of raw sources into structured references with 6 required sections: Identity, Core Frameworks, Behavioral Patterns, Signature Phrases, Application Scenarios, Anti-Patterns.

Stage 03
Trait Card

Extract a ~2K character structured personality fingerprint with 7 sections: Decision Style, Communication, Risk Model, Emotional Pattern, Signature Moves, Anti-Patterns, Quotable Lines.

Stage 04
Configure

Load agent YAML config, map domain icons to trait cards, calculate character budgets per section based on weights. Dynamic budget allocation ensures each personality dimension gets appropriate space.

Stage 05
Analyze

Tri-color conflict detection before compilation. Red (0–44): Remove — incompatible. Yellow (45–55): Review — human decides. Green (56–100): Append — compatible, merge.

Stage 06
Compile

Merge all inputs into final TRUE_SOUL.md under strict 15K character budget. 9 sections (A–I), with Safety/Ops always compiled last to survive platform truncation.

Capabilities

Key Features

Domain Icons

Real people as weighted personality influences. Buffett-analytical and Munger-analytical are worlds apart. Agents reason from internalized frameworks, not adjectives.

10 Trait Dimensions

Warmth, Dominance, Risk Tolerance, and more mapped on a 0.0–1.0 scale. Every decimal shift triggers actual behavioral changes in the agent's output.

YAML-Based DNA

Identity, role, and backstory fused into a single structured config. Auditable, versioned, and reproducible. Not a prompt — an engineering output.

Conflict Detection

Tri-color analysis ensures consistency. Adding Nassim Taleb to a warm, nurturing agent creates friction; the compiler flags it before deployment.

Inter-Agent Logic

6 agents produce 15 unique relationship pairs. Dynamics are first-class targets — agents care about each other based on compiled personality DNA.

5-Dimension Eval

Automated scoring on Completeness, Authenticity, and Coherence. Detects generic filler and trait contradictions instantly.

Usage

How to Use

Method 01
CLI Control

Full pipeline control from the command line. Build, deploy, and evaluate compiled souls directly from your terminal.

soul-ingestsoul-distillsoul-compile build hanasoul-evaluate
Method 02
Web Dashboard

Visual interface with live YAML sync and trait sliders. Perfect for real-time personality auditing.

  • 6-stage pipeline visualization
  • 10 trait sliders (0.0–1.0)
  • Tri-color conflict viewer
  • Live YAML parsing
Method 03
Agent-Driven

Team lead agents trigger compilation through natural conversation using the "Black Cop" interview flow.

  • Rejects vague/generic answers
  • Pushes behavioral specificity
  • Auto-triggers on approval

At Scale

Production & Technical

6
Active Agents

Neru, Kira, Hana, Eve, Sakura, Rei

28
Cron Jobs

Running 24/7

15
Relationship Pairs

Inter-agent relationships

19
Domain Icons

Reference personalities

3
Languages

English, Traditional Chinese, Simplified Chinese

3
Channels

Telegram, Discord, Web

Runtime

Bun (TypeScript ESM)

Schema Validation

Zod

Web UI

Bun.serve() + React 18 SPA (no build step)

License

Business Source License 1.1 (BSL 1.1)

Output Ownership

Compiled TRUE_SOUL.md files belong to the user — no license restrictions on output