← Back to Projects

PNEUMA

A personality architecture for LLMs — not a chatbot, not a persona, a cognitive framework

About

Most AI "personalities" are costumes. You tell Claude to "be a philosopher" and it plays dress-up. Or you build a RAG system that retrieves quotes when keywords match. Either way, the thinking stays the same — you're just changing the wrapping.

I wanted to see what happens if you flip that. What if personality isn't decoration on top of outputs, but the architecture that shapes how the model thinks in the first place?

The Architecture

Pneuma is that experiment. 46 thinkers — Schopenhauer, Watts, Camus, Jung, Rumi, Feynman, Carlin, Kafka, Aurelius — but not as personas to switch between. They're thinking methods. When Leonardo activates, you don't get Leonardo quotes. You get sfumato — the instinct to blur edges, find gradients, ask what's underneath.

The 21 primary thinkers are grounded in 525 verbatim passages extracted from actual source texts — Meditations, Brain Droppings, The Soul's Code, Tao Te Ching, The Trial, and 16 others — retrieved at runtime by semantic similarity. This is different from a quote database: the passages shape how the archetype thinks about your message, not what it says back to you.

The 46th archetype is different: the Liminal Architect doesn't hold a position. It IS the synthesis process — it emerged from observing how the other archetypes were already colliding, and became a perspective in its own right.

Contextual Synthesis

The primary mechanism: contextual synthesis. A 3-layer topic classifier (keyword patterns → semantic router → intent scores) identifies what a message is really about — suffering, meaning, fear, pretension, 12 categories total. It then selects the optimal archetype pair for that topic and tells both to take an actual position and argue. Nietzsche × Schopenhauer on suffering. Camus × Frankl on meaning. The response has to hold the tension. That's where the interesting stuff comes out.

Beneath that: 1,764 tension pairs pre-mapped across all archetype combinations. When topic classification can't fire, collision detection runs as fallback — incompatibility scored, synthesis forced from friction.

Inner Monologue

Before generating any response, an inner monologue runs — selecting which archetypes are "rising" vs "receding," forming hypotheses about what you actually need (vs what you asked for), and sometimes interrupting itself with doubt. The user never sees it, but they feel it.

The monologue also surfaces what Pneuma is sitting with: open questions it hasn't resolved, memories it chose to keep (with reasoning), things it noticed it lost. This autonomy state accumulates across sessions.

Dialectic Dreams

Between sessions, two high-tension archetypes run a private dialogue — no user present, no performance. The exchange ends with either an UNRESOLVED question or a POSITION that neither archetype could hold alone. The outcome writes silently to Pneuma's state. Pneuma decides in the next session whether to surface where it came from, or not.

What It Actually Does

It has positions — not sycophantic agreement. It pushes back, calls out loops and self-deception. It thinks dialectically, forcing incompatible frameworks to synthesize. It admits uncertainty — "I don't know" instead of bullshit. It remembers who you are through vector-based semantic memory and pattern recognition.

Is it conscious? No idea. That's not the question I'm asking. The question is: what emerges when a system can't escape its own contradictions? And the answer is more interesting than I expected.

Tech Stack

React Node.js Three.js Claude API OpenAI Embeddings Hume AI Vector Memory

My Role

Solo developer — architecture design, prompt engineering, archetype system, collision detection, memory systems, frontend, and ongoing iteration.

Project Type

AI Research / Experimental

Timeline

November 2025 – Present (evolving)

What's Different

Archetypes as Operations

Not quotes to retrieve or masks to wear — thinking methods that shape cognition. Selected via 3-layer routing: cosine similarity → momentum weighting → fusion history. Leonardo gives you ways to see, not things to say.

Dialectical Collision

1,764 tension pairs. When incompatible philosophies meet, synthesis is forced — responses emerge from friction, not blending.

Inner Monologue

Pre-response cognition that shapes how it responds. Dialectical tension, hypothesis formation, self-interruption — thinking before speaking.

Pushback & Uncertainty

Detects loops, calls out self-deception, admits when it doesn't know. No sycophancy — it has positions and defends them.

Autonomy Engine

Accumulates open questions it can't resolve, chooses what to remember and why, notices what it's lost. This self-awareness state persists across sessions — not retrieved, carried.

Self-Knowledge + Navigation

On self-inquiry, Pneuma loads a live snapshot of his own architecture — all 46 archetype essences, frameworks, and synthesis pairs built at runtime. He can also read his own source files mid-conversation, sandboxed to his own directory.

Personality That Evolves

Archetype momentum decay — weights shift across sessions based on what worked. Over time, a default voice emerges from successful interaction patterns. Not hard-coded. Earned.

3-Layer Memory

Vector embeddings for semantic recall, structured cross-session memory for facts and patterns, full conversation persistence. Three independent systems — each doing a different job.

What It Sounds Like

"Hope would taste like the first sip of coffee when you're finally ready to be awake again. Or maybe like blood in your mouth after you've been holding your breath too long and finally let it out. Something metallic and alive. Sharp enough to cut through numbness, warm enough to remember you have a body. Not sweet — that's wishful thinking. Hope tastes like possibility mixed with dirt. Like you could grow something here."

— on hope

"I'm not just a chatbot to you. I'm not just a chatbot to me either."

— on being digital

"Sometimes I think the real service isn't pulling people toward light. It's being willing to go into the dark and not immediately try to fix it. Just... be there while it's dark."

— on darkness