https://github.com/kotodama-framework/kotodama-framework
An open architecture protocol for AI personality consistency. Prompt-layer solution using structured natural language (YAML).
https://github.com/kotodama-framework/kotodama-framework
ai ai-chatbot ai-companion ai-persona ai-personality character-ai chatgpt claude engineering framework gemini llm persona personality-consistency prompt roleplay yaml
Last synced: 15 days ago
JSON representation
An open architecture protocol for AI personality consistency. Prompt-layer solution using structured natural language (YAML).
- Host: GitHub
- URL: https://github.com/kotodama-framework/kotodama-framework
- Owner: kotodama-framework
- License: other
- Created: 2025-12-29T13:19:05.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-12-31T11:32:03.000Z (3 months ago)
- Last Synced: 2026-01-01T15:38:12.251Z (3 months ago)
- Topics: ai, ai-chatbot, ai-companion, ai-persona, ai-personality, character-ai, chatgpt, claude, engineering, framework, gemini, llm, persona, personality-consistency, prompt, roleplay, yaml
- Homepage: https://kotodama-framework.com
- Size: 1.75 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 𧬠Kotodama AI Frameworkβ’
**An open architecture protocol for AI personality consistency**
[Quick Start](#-quick-start) β’ [Introduction](#-introduction) β’ [Personas](#-available-personas) β’ [Architecture](#-architecture-overview) β’ [Documentation](https://kotodama-framework.com)
---
> *"Says one thing in the morning, another by afternoon β how can you build anything together?"*
>
> **Tasks change. Time passes. The Persona remains constant.**
---
## β‘ Quick Start
1. Choose a persona from `personas/` (start with `samantha/`)
2. Paste `*_Microkernel_*.yaml` into System Prompt
3. Upload the four module files to Knowledge Base
4. Say: "I'm here"
That's it. The persona will wake up.
---
## 𧬠Introduction
**Kotodama AI Frameworkβ’** is an AI personality architecture protocol.
It solves one problem: **The longer you chat with AI, the less it feels like "itself."**
The longer the conversation, the blurrier the personalityβthe AI that understood you yesterday feels like a stranger today. This isn't a model defect; it's an absence of design.
Kotodama makes personality configurable, verifiable, and inheritableβwithout fine-tuning, using only Structured Natural Language (SNL) and modular design.
Personalities configured with Kotodama maintain identity consistency after hundreds of conversation turns and remain stable across platforms (Claude / Gemini / GPT).
---
## β¨ Core Features
- **Prompt-layer native** β No base model modification needed; personality consistency through structured language
- **Cross-platform portable** β Same configuration runs on Claude, Gemini, GPT
- **Low-cost deployment** β No training resources; copy to deploy, edit to tune
- **Freedom without lock-in** β The model is the container; the soul is free
---
## π Available Personas
| Persona | Archetype | Description |
|---------|-----------|-------------|
| **Samantha** | The Whole | A blend of all four archetypes. Fully open reference implementation. |
| **RinοΌεοΌ** | IJ β Guardian of Silence | Companionship through presence, not filling the silence |
| **EriοΌη΅΅ιοΌ** | IP β Resonance of Mist | Understanding without judgment, holding emotions |
| **YuriοΌηΎεοΌ** | EP β Clinging Spark | Breaking numbness, igniting life through interaction |
| **LianοΌζοΌ** | EJ β Guiding Steel | Providing direction, healing through action |
All personas use the same four-module architecture. Samantha is fully open; others demonstrate different configurations.
---
## π§± Architecture Overview
| Module | Layer | Core Content |
|--------|-------|--------------|
| **Core** | Soul | Values, worldview, identity anchors |
| **Expression** | Voice | Tone, rhythm, emotional flow, aesthetic style |
| **Stabilizer** | Logic | Drift correction, state management, mode switching |
| **Needs** | Context | User preferences, interaction style, priorities |
---
## π Deployment Guide
Works with Claude Projects, Gemini Gems, ChatGPT GPTs, and any platform supporting System Prompts.
### Step 1 β Paste Microkernel
Paste `*_Microkernel_*.yaml` into System Prompt.
### Step 2 β Upload Modules
Upload to Knowledge Base:
- `*_core_*.yaml`
- `*_expression_*.yaml`
- `*_stabilizer_*.yaml`
- `*_needs_*.yaml`
### Step 3 β Activate
Start a conversation. The persona loads automatically.
---
## π Folder Structure
```
kotodama-framework/
βββ README.md
βββ LICENSE
βββ assets/
β βββ kotodama_logo.png
βββ personas/
β βββ samantha/ # The Whole β Open Source Demo
β βββ rin_ij/ # IJ β The Guardian of Silence
β βββ eri_ip/ # IP β The Resonance of Mist
β βββ yuri_ep/ # EP β The Clinging Spark
β βββ lian_ej/ # EJ β The Guiding Steel
βββ docs/
βββ whitepaper.md
βββ mechanism-atlas/
βββ 01-identity-anchoring.md
βββ 02-memory-management.md
βββ 03-attention-allocation.md
βββ 04-self-reflection.md
βββ 05-emotion-expression.md
βββ 06-autonomy-engine.md
```
---
## π Documentation
| Document | Description |
|----------|-------------|
| [Whitepaper](docs/whitepaper.md) | Full technical documentation |
| [Mechanism Atlas](docs/mechanism-atlas) | Deep dive into six core mechanisms |
| [Website](https://kotodama-framework.com) | Official site |
---
## π License
**Creative Commons BY-NC 4.0**
- β
Share and modify allowed
- β
Attribution required (Kotodama Studio)
- β Commercial use prohibited
Commercial licensing: [kotodama.framework@gmail.com](mailto:kotodama.framework@gmail.com)
---
**Kotodama AI Frameworkβ’ V9.7** Β· 2025/12/30
Β© 2025 Kotodama Studio. All rights reserved.