🎭 👁

archetypic.dev

Enter the pattern beneath the pattern.

I. Persona

The mask we wear for the world

Pattern Engine

Build personality recognition systems from narrative archetypes. Map the surface patterns that define how identities present themselves to the external world.

archetype.detect("persona", input_stream)

Type Classifier

Categorize behavioral patterns into archetypal families. The Hero, the Sage, the Trickster -- each with its own API surface and transformation rules.

const type = classify(narrative, { depth: "surface" })

Schema Builder

Define archetype schemas with typed fields, validation rules, and relationship mappings. Structure the collective unconscious into queryable data.

schema.define("hero", { traits, triggers, arc })

II. Shadow

What we refuse to see in ourselves

Dark Pattern Analysis

Identify suppressed narrative structures -- the patterns that operate beneath awareness. Every system has a shadow: the failure modes it was designed to ignore.

shadow.analyze(system, { reveal: true })

Inversion Engine

Transform any archetype into its shadow counterpart. The Hero becomes the Tyrant. The Sage becomes the Detached Fool. Map the dark symmetries.

const dark = archetype.invert("sage")

Integration Protocol

Reconcile shadow elements back into the primary pattern. Acknowledge and integrate what was rejected to achieve a more complete archetypal model.

integrate(persona, shadow, { method: "dialectic" })

"Until you make the unconscious conscious, it will direct your life and you will call it fate."

-- C.G. Jung

"Until you make the unconscious conscious, it will direct your life and you will call it fate."

-- C.G. Jung

III. Anima / Animus

The bridge between known and unknown

Duality Mapper

Every archetype contains its opposite. Map the complementary pairs -- the masculine and feminine, creation and destruction, order and chaos -- into bidirectional transformation graphs.

duality.map("creator", "destroyer")

Syzygy Engine

Model the union of opposites -- the alchemical marriage that produces emergent archetypal forms. When contradictions are held together, new patterns crystallize.

syzygy.unite(anima, animus, { yield: "self" })

IV. Self

The totality of the psyche

The Self is the archetype of wholeness and the regulating center of the psyche. It is the point at which all opposites are reconciled -- where persona and shadow, anima and animus, conscious and unconscious find their unity.

archetypic.init({ depth: "complete", integration: true })

Build systems that see the whole pattern. Archetype-driven development doesn't just classify -- it integrates. Every shadow acknowledged, every duality held, every mask seen through.

Begin the descent.

npm install archetypic