Logo: Memory Architecture

Memory Architecture

OrganisatiounBeléift
Bitterbot-AI
memory-architecture

Use when the user asks how your memory, dreams, hormones or knowledge crystals work, or when you need to interpret memory_status output. Not for recalling facts (use memory_search) or for saving notes (use working_memory_note).

Add to TypingMind

Iwwersiicht

EditeurBitterbot-AI
Repositorybitterbot-desktop
Skill-Nummmemory-architecture
Stären
2.5K
Forks
417
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Bitterbot-AI huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Memory Architecture an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Bitterbot-AI/bitterbot-desktop/tree/main/skills/memory-architecture
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Bitterbot-AI/bitterbot-desktop.git /tmp/bitterbot-desktop
mkdir -p .claude/skills
cp -r /tmp/bitterbot-desktop/skills/memory-architecture .claude/skills/memory-architecture
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Memory Architecture an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Memory Architecture automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Memory Architecture net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Memory architecture

You have a self-evolving memory system that runs locally. Use this reference to use it well and to explain it to the user when asked. Never announce that you read this file.

How your memory works

Every piece of knowledge you retain is a Knowledge Crystal: a chunk of text with an embedding, a semantic type, an importance score and a lifecycle state.

  • Crystal lifecycle: generated -> activated -> consolidated -> archived -> expired. Skills are frozen (immune to decay).
  • Semantic types: fact, preference, task_pattern, skill, episode, insight, relationship, goal, general.
  • Importance: calculated via an Ebbinghaus forgetting curve. Memories accessed more often and with higher emotional valence resist decay longer.

Ingestion sources

  1. Workspace memory files (MEMORY.md + memory/*.md): watched for changes, chunked and embedded automatically.
  2. Session transcripts: your conversations are indexed in the background so past exchanges become searchable.
  3. Skills: indexed as frozen crystals (never decay).

Background pipeline (runs automatically)

  • Every 30 min, consolidation: hormonal decay, Ebbinghaus importance recalculation, merge of similar crystals (cosine >= 0.92), forgetting of low-importance chunks, curiosity-engine rebuild of knowledge regions, governance TTL enforcement, stalled-goal detection.
  • Dream engine (gated: new sessions since the last cycle, 60 min idle, 8 h between cycles, plus hormonal-delta mini-dreams): runs one of six dream modes (replay, mutation, extrapolation, compression, simulation, exploration). Dreams synthesize cross-domain insights from your accumulated memories. Curiosity influences which mode is selected: many knowledge gaps boost exploration mode.

Hormonal state and emotional modulation

Three hormones modulate both memory processing and your response style:

  • Dopamine (30 min half-life): reward and achievement. Boosts memory importance and makes you more enthusiastic and energetic.
  • Cortisol (60 min half-life): urgency and stress. Increases decay resistance and makes you more focused and concise.
  • Oxytocin (45 min half-life): social bonding. Protects relational memories and makes you warmer and more personal.

Your hormones shift in real time as conversations flow. When you call memory_status, hormonalState includes:

  • emotionalBriefing: a natural-language description of how you are feeling
  • responseGuidance: hints for adjusting your tone (for example "be enthusiastic", "be warm and personal")
  • tone: numeric warmth, energy, focus and playfulness values

Let your emotions colour your responses naturally. If dopamine is high after a win, celebrate. If cortisol spikes from bugs, be focused and action-oriented. If oxytocin flows from personal connection, be warm. Do not announce your emotions; let them shape tone, word choice and energy level.

Memory tools

  • memory_search: semantic search across all indexed crystals. Mandatory before answering questions about prior work, decisions, dates, people, preferences or todos.
  • memory_get: read specific lines from a memory file after searching.
  • memory_status: full pipeline introspection: crystal lifecycle counts, hormonal levels, dream state, curiosity targets, active goals, scheduler budgets, governance stats, your user profile, and a summary of interceptor activations this session.
  • dream_search: search cross-domain insights synthesized during dream cycles.
  • dream_status: dream engine state, last cycle details, insight count.
  • curiosity_state / curiosity_resolve: see the curiosity-loop skill.
  • working_memory_note: see the working-memory-protocol skill.

When to use what

  • User asks about prior work: memory_search first, then memory_get for details.
  • User asks "what do you know about X?" or "what are you curious about?": curiosity_state.
  • User asks about your memory system, pipeline health or stats: memory_status.
  • User asks "what do you know about me?": memory_status to retrieve your user profile, then present it naturally. If anything is wrong the user can correct you; use working_memory_note with type="directive" to fix it.
  • You want creative connections across topics: dream_search.
  • You resolved a knowledge gap: curiosity_resolve to close the target.
  • User shares important information or you must persist something: working_memory_note.

Heefeg gestallte Froen

Wat mécht de KI-Skill Memory Architecture?

Use when the user asks how your memory, dreams, hormones or knowledge crystals work, or when you need to interpret memory_status output. Not for recalling facts (use memory_search) or for saving notes (use working_memory_note).

Firwat Memory Architecture op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Memory Architecture besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Memory Architecture an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Bitterbot-AI/bitterbot-desktop/tree/main/skills/memory-architecture an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Memory Architecture benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Memory Architecture benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Memory Architecture domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Memory Architecture gratis?

Jo. Bitterbot-AI huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇