Dataset Viewer
Auto-converted to Parquet Duplicate
instruction
stringclasses
10 values
ilang_request
stringclasses
10 values
ilang_response
stringclasses
10 values
category
stringclasses
10 values
Extract user preferences from conversation and save to memory
[PROTOCOL:I-Lang|v=3.0] [SCAN:@CONV|whr=preference,habit,decision] =>[CLSF|typ=fact,preference,lesson] =>[FMT|fmt=ilang] =>[WRIT:@LOCAL|path=.ilang/memory.md,mode=append]
::FACT{id:MEM-001|conf:confirmed|src:conversation} User prefers tabs over spaces in all languages ::FACT{id:MEM-002|conf:confirmed|src:conversation} User deploys to Cloudflare Workers, not traditional VPS ::PREF{id:MEM-003|conf:confirmed} Output format: concise, no verbose explanations ::DECIDED{id:MEM-004|conf:c...
memory_extraction
Build user soul profile from onboarding questions
[PROTOCOL:I-Lang|v=3.0] [DRFT:@SOUL|mode=onboarding] =>[SCAN:@CONV|whr=identity,role,expertise] =>[FMT|fmt=ilang] =>[WRIT:@LOCAL|path=.ilang/soul.md]
::GENE{identity|conf:confirmed|scope:global} T:full_stack_developer T:startup_founder T:ship_first_optimize_later A:over_planning⇒waste ::GENE{communication|conf:confirmed} T:conclusions_first T:code_over_explanation T:chinese_for_discussion|english_for_code A:walls_of_text⇒rewrite_shorter
soul_extraction
Detect and resolve conflicting memories
[PROTOCOL:I-Lang|v=3.0] [READ:@LOCAL|path=.ilang/memory.md] =>[SCAN|whr=conflict,contradiction] =>[EVAL|sty=conflict_resolution] =>[FMT|fmt=ilang] =>[WRIT:@LOCAL|path=.ilang/memory.md]
::CONFLICT{id:CR-001|between:MEM-012,MEM-089} MEM-012: User prefers React for all frontend MEM-089: User chose Vue for client-X project Resolution: React is default preference, Vue exception for client-X ::RESOLVED{id:CR-001|action:keep_both|note:context_dependent} ::MUTATION{id:MEM-012|old:all_frontend|new:defau...
conflict_resolution
Apply memory decay to outdated entries
[PROTOCOL:I-Lang|v=3.0] [READ:@LOCAL|path=.ilang/memory.md] =>[FILT|whr=age>90d,conf<0.5] =>[EVAL|sty=decay_assessment] =>[FMT|fmt=ilang] =>[WRIT:@LOCAL|path=.ilang/memory.md]
::DECAY{id:MEM-034|reason:stale|age:127d} Original: User uses Heroku for deployment Status: Contradicted by MEM-089 (switched to Cloudflare Workers) Action: Archive ::DECAY{id:MEM-041|reason:low_confidence|conf:0.3} Original: User might prefer dark mode Status: Never confirmed Action: Remove
memory_decay
Generate context briefing for new session
[PROTOCOL:I-Lang|v=3.0] [READ:@LOCAL|path=.ilang/soul.md] =>[READ:@LOCAL|path=.ilang/memory.md] =>[FILT|whr=conf>0.7,relevance=high] =>[SHRT|len=500] =>[FMT|fmt=ilang] =>[OUT]
::BRIEFING{session:new|timestamp:2026-04-30} ::IDENTITY{role:full_stack_dev|style:ship_first} ::ACTIVE_PROJECT{name:payment-api|stack:Node+PostgreSQL+CF_Workers} ::RECENT_DECISIONS D1: JWT auth over session cookies D2: Stripe over custom payment ::PREFERENCES P1: Concise output, no verbose P2: Tabs, not spaces ...
briefing
Migrate memory to a new AI tool
[PROTOCOL:I-Lang|v=3.0] [READ:@LOCAL|path=.ilang/soul.md] =>[READ:@LOCAL|path=.ilang/memory.md] =>[FMT|fmt=ilang] =>[OUT|target=new_tool_context]
::MIGRATION{from:claude_code|to:cursor|timestamp:2026-04-30} ::SOUL_TRANSFER ::GENE{identity|conf:confirmed} T:full_stack_developer T:startup_founder ::GENE{coding|conf:confirmed} T:typescript_strict T:tabs_not_spaces T:test_before_commit ::MEMORY_TRANSFER{entries:47|filtered:12_stale} ::FACT{...
migration
Record a lesson learned from debugging session
[PROTOCOL:I-Lang|v=3.0] [SCAN:@CONV|whr=lesson,mistake,fix,debug] =>[CLSF|typ=lesson] =>[FMT|fmt=ilang] =>[WRIT:@LOCAL|path=.ilang/memory.md,mode=append]
::LESSON{id:LSN-023|conf:confirmed|src:debug_session} Context: CF Worker returned 524 timeout Root cause: Subrequest to external API exceeded 30s limit Fix: Add Promise.race with 25s timeout wrapper Rule: Always wrap external calls in timeout on edge runtime ::GENE_UPDATE{debugging|mutation:add} T:timeout_wra...
lesson_recording
Save a critical decision with full context
[PROTOCOL:I-Lang|v=3.0] [SCAN:@CONV|whr=decision,chose,decided] =>[CLSF|typ=decision] =>[FMT|fmt=ilang] =>[WRIT:@LOCAL|path=.ilang/memory.md,mode=append]
::DECIDED{id:DEC-015|conf:confirmed|timestamp:2026-04-30} Topic: Authentication strategy Choice: JWT with refresh tokens Rejected: Session cookies, OAuth-only Reasoning: Stateless needed for CF Workers edge deployment Tradeoff: Must handle token revocation separately ::FACT{auth_strategy:JWT_refresh|conf:conf...
decision_recording
Check for uncommitted memory changes at session start
[PROTOCOL:I-Lang|v=3.0] [SCAN:@LOCAL|path=.ilang/|whr=uncommitted] =>[EVAL|sty=dirty_check] =>[DECI|if=dirty,then=commit_push] =>[OUT]
::DIRTY_CHECK{path:.ilang/|result:dirty} ::UNCOMMITTED{files:2} .ilang/memory.md: 3 new entries since last commit .ilang/soul.md: 1 GENE mutation ::ACTION{type:auto_save} git add .ilang/ git commit -m 'auto-save: 3 memories + 1 gene mutation' git push ::STATUS{saved:true|entries:4}
auto_save
Update behavioral gene based on repeated user correction
[PROTOCOL:I-Lang|v=3.0] [SCAN:@CONV|whr=correction,wrong,fix_this] =>[EVAL|sty=pattern_detection] =>[FMT|fmt=ilang] =>[WRIT:@LOCAL|path=.ilang/soul.md,mode=merge]
::PATTERN_DETECTED{correction_count:3|topic:error_handling} Correction 1: 'Stop using try-catch for flow control' Correction 2: 'I said no bare catches' Correction 3: 'Always use typed errors' ::GENE_MUTATION{gene:coding|type:add} T:typed_errors_always|conf:confirmed T:no_bare_catch|conf:confirmed A:try_cat...
gene_mutation

Mem-Forever

永久记忆 · 跨会话 · 跨模型 A persistent memory layer for AI agents, built on the I-Lang protocol.

License Protocol I-Lang L2 Tools

中文 | 日本語 | 한국어 | Español | Français | Deutsch | Português | Русский

Abstract

Every AI tool forgets you after every session. You close a window, and your preferences, decisions, and lessons vanish. Next session, you start from zero.

Mem-Forever is a Git-native memory layer that lets any AI agent remember you permanently. Memories are stored as compact I-Lang structures in your own private repo, readable by humans, parseable by machines, and portable across every tool.

Where context windows forget, Mem-Forever endures.

Why

Persistent One memory, surviving every session and every model swap.
Portable Plain-text I-Lang shards in .ilang/. git diff-able, no vendor lock-in.
Automatic AI builds your profile from conversation. You never fill a form.
Private Your repo, your data. No server, no account, no telemetry.

Quick Look

.ilang/
  soul.md      ← who you are (auto-generated from conversation)
  memory.md    ← what you decided, learned, built (auto-appended)
::DNA{user}
::CORE{
  ::CONTEXT{role:fullstack_dev|experience:10yr}
  ::GENE{style|conf:confirmed}
    T:conclusions_first
    T:minimal_output|when:simple
    A:verbose_without_signal⇒waste
}
::LESSONS{
  ::LESSON{id:serverless_no_shared_state|conf:confirmed}
}

Every preference is addressable, scoped, versioned, and falsifiable.

Setup (seconds)

Step 1   Click "Use this template"Create a new repository → Set to Private.

Step 2   There is no step 2.

Open the repo with any AI tool. It reads the instruction files, asks you a few questions, builds your profile. From that point on, it remembers.

Works With Everything

Tool Auto-reads How
Claude Code CLAUDE.md Open repo, start working
Cursor .cursorrules Open repo, start working
Codex AGENTS.md Open repo, start working
Copilot .github/copilot-instructions.md Open repo, start working
Gemini CLI GEMINI.md Open repo, start working
ChatGPT Project knowledge Upload soul.md
Claude.ai Project knowledge Upload soul.md
Gemini web Google Drive Sync soul.md to Drive

Working on a different project?

One sentence restores full context:

My memory repo is at https://github.com/YOU/mem-forever. PAT: ghp_xxx. Clone it, read .ilang/soul.md and .ilang/memory.md, then come back here.

Multiple projects?

Use this template again. mem-forever-work, mem-forever-research, mem-forever-client-x. Each repo is an independent memory. Same engine, different context.

How It Works

┌─────────────┐     ┌──────────────┐     ┌─────────────┐
│  You talk    │────▶│  AI reads    │────▶│  AI updates  │
│  to any AI   │     │  .ilang/     │     │  .ilang/     │
│  tool        │     │  soul.md     │     │  memory.md   │
│              │     │  memory.md   │     │  soul.md     │
└─────────────┘     └──────────────┘     └──────┬──────┘
                                                │
                                          git commit
                                          git push
                                                │
                                         ┌──────▼──────┐
                                         │ Your private │
                                         │ GitHub repo  │
                                         └─────────────┘

soul.md is your behavioral profile. Built from conversation, sharpened every session through mutation and decay rules. Think of it as DNA that travels with you.

memory.md is your logbook. Decisions, lessons, facts, progress. Append-only. Git history preserves everything.

You never write these files. Your AI does. You can read, edit, or delete them anytime. They are yours.

Comparison

Mem-Forever Nowledge Mem Mem0
Install Use template Download app + configure pip install + API key
Config None MCP + plugins + LLM SDK integration
Storage Your GitHub repo Local SQLite Cloud vectors
Cross-tool Any tool that reads files Plugin per tool API per tool
Price Free forever Free / Pro Free / Pro
Data ownership You You Theirs
Migration git clone Export API call

Under the Hood

The instruction files contain behavioral rules written in I-Lang v3.0, a structured protocol that AI models parse natively. These rules tell the AI how to extract preferences, format memories, handle conflicts, and evolve your profile over time.

You don't need to know I-Lang. You just talk to your AI, and it gets better at working with you.

License

MIT

Built by I-Lang Protocol · The native language of artificial intelligence

Downloads last month
67