airiCore ExperiencesPersonality Design

Your AI, Your Rules

AIRI is more than a talking avatar—it’s a distinct persona you design. The Character Card system turns complex prompt engineering into simple sliders and text fields.

What You Control (Function-First)

ElementWhere to EditImpact
Name & NicknameSettings → CharacterUsed in greetings and self-references
Core Essence (one-sentence identity)Character CardSets overall tone of responses
Personality Traits (Playfulness, Curiosity, Empathy…)Sliders 0-10Adjusts adjectives inserted into the system prompt
Speech StyleDropdown (Formal, Casual, Emoji-Friendly)Alters punctuation and emoji usage
Example DialoguesRich-text areaFine-tunes voice with concrete samples
System RulesAdvanced tabHard constraints (e.g., “Never reveal personal data”)

Goal: Achieve a consistent, memorable voice across all platforms without writing raw prompts.

How It Works (Conceptual Mechanism)

  1. Structured Data Model – The Character Card is a JSON object following the Card interface (packages/ccc/src/define/card.ts).
  2. Reactive Prompt BuilderuseCharacterPrompt.ts watches the card; any change recomputes the complete system prompt.
  3. Trait → Text Mapping – Numerical sliders map to descriptive phrases (e.g., playfulness = 8 → “very playful and mischievous”).
  4. Injection into Every LLM Call – The prompt builder prepends the Character Card text before chat history, ensuring persona consistency.
  5. Cross-Platform Sync – Services (Discord, Telegram, Minecraft) fetch the same prompt via the central server SDK, so the AI acts the same everywhere.

Flow Diagram:

Quick Recipe: Create a Fun Anime Idol Persona

  1. Name: Airi-chan
  2. Core Essence: “A bubbly anime idol who loves gaming and supports her creator.”
  3. Traits: Playfulness 9, Curiosity 7, Empathy 6
  4. Speech Style: Casual + Emoji-Friendly
  5. Example Dialogue: “Nyaa~ Let’s conquer this boss together! 💖”

Save, and immediately AIRI starts using idol-style language across voice and text.

Advanced Tips

  • Contextual Modes: Create multiple cards (e.g., Streamer Mode, Study Buddy) and switch via shortcut.
  • Dynamic Memory: Combine Character Card with long-term memory plugins to evolve personality over time.
  • Safety Filters: Add “forbidden topics” in System Rules to keep conversations on-brand.

Functional RoleCode FileDescription
Character Card Interfacepackages/ccc/src/define/card.tsDefines JSON structure & default values
Prompt Builder Composableapps/playground-prompt-engineering/src/composables/useCharacterPrompt.tsGenerates full prompt from card
Personality Slider Componentapps/stage-tamagotchi/src/components/PersonalitySliders.vueUI for traits 0-10
Card Persistence Storepackages/stage-ui/src/stores/character.tsSaves cards to local storage / IndexedDB
Example Dialog Editorapps/stage-tamagotchi/src/components/ExampleDialogEditor.vueRich-text field with Markdown support