惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
C
CXSECURITY Database RSS Feed - CXSecurity.com
V
Visual Studio Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
小众软件
小众软件
L
LangChain Blog
Cyberwarzone
Cyberwarzone
美团技术团队
The Register - Security
The Register - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tor Project blog
V
V2EX
Security Archives - TechRepublic
Security Archives - TechRepublic
Hacker News: Ask HN
Hacker News: Ask HN
L
LINUX DO - 最新话题
Recent Announcements
Recent Announcements
H
Hackread – Cybersecurity News, Data Breaches, AI and More
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
aimingoo的专栏
aimingoo的专栏
人人都是产品经理
人人都是产品经理
F
Full Disclosure
V2EX - 技术
V2EX - 技术
The Cloudflare Blog
博客园 - 叶小钗
T
Threat Research - Cisco Blogs
阮一峰的网络日志
阮一峰的网络日志
G
GRAHAM CLULEY
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Latest news
Latest news
S
Security @ Cisco Blogs
Spread Privacy
Spread Privacy
Project Zero
Project Zero
K
Kaspersky official blog
MyScale Blog
MyScale Blog
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
博客园 - 【当耐特】
Hacker News - Newest:
Hacker News - Newest: "LLM"
大猫的无限游戏
大猫的无限游戏
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
C
Cybersecurity and Infrastructure Security Agency CISA
Webroot Blog
Webroot Blog
罗磊的独立博客
Vercel News
Vercel News
N
News and Events Feed by Topic
A
Arctic Wolf
C
CERT Recently Published Vulnerability Notes

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - think41/extrasuite: Token-efficient pull/edit/push workflow for AI agents editing Google Workspace files (Sheets, Docs, Slides, Forms) GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness
2026-04-11 · via Hacker News: Show HN

collabmem is a simple, easy-to-use, yet powerful memory system enabling long-term collaboration between humans and AI assistants. It's easy to install as well!

Losing context at every new session or compaction is a well-known problem — and there are already memory solutions for it. But that's only the surface. Real long-term collaboration needs a rich conceptual history of what you've done together and a shared world model of the project, the user, and the work. That's where collabmem comes in.

The memory is file-based and represented as plain text (easy to inspect), can be git-tracked (storage & versioning) and can be used to build up knowledge within a team of users. So no databases, no vector stores, no infrastructure. Just files and a methodology that the AI follows.

Through the use of in-context memory index files, the AI can maintain a global awareness of what's in the memory.

The system can, in principle, be integrated into any AI system, but so far it has been optimised for use with Claude Code.

Help Us Improve This System

Status: v1.8.3 — we are actively testing and developing this. The episodic memory (notes, index) is the more mature component; the world model memory is functional but earlier in its development. We welcome you to try it and share your experience — what worked, what didn't, what's missing. Your feedback directly shapes what we build next. File issues or experience reports at https://github.com/visionscaper/collabmem/issues.

All testing and development so far has been done using Claude Opus 4.6. This system relies on the AI's ability to follow nuanced instructions, maintain context awareness, and make judgement calls about when to write notes and update the world model — capabilities that may not be available in smaller or less powerful models.

How to Install

For AI Assistants

If a user asks you to install this system, read install.md and follow the step-by-step instructions. The installation guide covers:

  • Assessing the existing project setup
  • Confirming the plan with the user
  • Creating all memory files from templates
  • Configuring imports in the instruction file
  • Installing platform-specific hooks
  • Optional initial world population
  • Verification

For Humans

Ask your AI assistant:

"Install the long-term collaboration memory system by cloning https://github.com/visionscaper/collabmem to a temporary location and following the instructions in it."

The AI will clone the repository, read the installation instructions, and walk you through setup. You'll be asked to confirm before any changes are made. The default installation takes a single confirmation — customization is available if needed.

How to Upgrade

For AI Assistants

If a user asks you to upgrade the collaboration memory system, read upgrade.md and follow the step-by-step instructions.

For Humans

Ask your AI assistant:

"Upgrade the collaboration memory system by cloning https://github.com/visionscaper/collabmem to a temporary location and following the upgrade instructions in it."

The AI will compare your installed version with the latest, read the release notes, and apply the differences. Your notes, world model, and accumulated knowledge are never modified during an upgrade — only system files (methodology, hooks, configuration) are updated. In rare cases where memory data needs to be adapted to a new version, the AI will discuss the changes with you and ask for approval before making any modifications.

What Gets Installed

The system adds a collaboration directory (default collab/) to the project:

.collab-config                  ← system settings (at project root)
collab/
├── .collab-memory-system       ← version marker
├── methodology.md              ← AI operating instructions
├── index.md                    ← episodic memory index (Tier 1 — always in context)
├── notes.md                    ← episodic memory (Tier 2 — searched on demand)
├── index-archive.md            ← archived index entries (Tier 2)
├── docs/                       ← long-form reference documents (Tier 2)
└── world/
    ├── index.md                ← world model index (Tier 1)
    ├── context.md              ← personal, project, business context (Tier 1)
    ├── preferences.md          ← user working preferences (Tier 1)
    ├── state.md                ← current work in progress, todos, blockers (Tier 1)
    ├── how-tos.md              ← procedures for recurring tasks (Tier 2)
    ├── domain.md               ← domain-specific knowledge (Tier 2)
    └── factoids.md             ← specific facts, numbers, references (Tier 2)

Imports are added to the project's instruction file (e.g., CLAUDE.md, .cursorrules) so the AI loads memory automatically. Platform-specific lifecycle hooks are installed where supported (currently Claude Code).

All files are git-tracked (in the code repo for solo installations, or in the shared-knowledge repo for team installations — see "Distributed Collaboration" below). Nothing is hidden or opaque.

Introduction

Losing context across sessions is the visible symptom — existing memory solutions tackle that. But effective long-term collaboration with AI needs something deeper: a shared conceptual understanding that grows over time. Without it, the AI can't remember what the project is actually about, what matters to you, or why you ruled out an approach last week — the kind of knowledge that takes real time to build up and that makes the AI genuinely useful as a partner.

This shared understanding has two parts:

  • history (episodic memory): what has been done, why, how and what decisions were made over time? What did we learn?
  • reality (world model): what is the context of the work being done, what is the project about, for what business, why? What is the current state of the work? How should the work be done in general, what are the guidelines and preferences? What are the constraints? Etc.

Without this kind of conceptual knowledge, AI can't do its work effectively, especially over long periods, i.e. weeks, months, or even years. It would need to rediscover information at every session. Further, without all this context it would not effectively respond or make optimal choices when working (e.g. when writing code or creating a design).

collabmem enables the build-up of Episodic memory and a World model over time. Entries in this memory are summarized in an index which is always in the AI context window, allowing the model to have a global awareness of everything that is in the memory. This allows it to cross-correlate knowledge in this memory and to know where to find details from memory entries.

The system uses three sentinel tokens — readmem, updatemem, and maintainmem — as the primary way to interact with memory. Include them in your message to the AI to trigger reading from memory, updating it, or maintaining it. The AI proposes what to read or write; you approve. In this way a high-quality memory with conceptual knowledge is built up over time. And we keep the memory system simple, without needing custom agentic AI solutions or infrastructure. Two further sentinels complete the set: upgrademem for system upgrade and helpmem for help about the memory system.

collabmem has a methodology to ensure that episodic or world model memory is never lost. See the section "How It Works" for more details.

Working with the Memory System

The system provides five sentinel tokens — include them in your message to trigger the corresponding operation:

  • readmem — Read relevant information from memory before handling a task. Use when you need background, history, or context from prior work.
  • updatemem — Evaluate what should be captured in memory — as a note, a world model update, or both. Use after discussions that produced decisions or learnings, after completing work, or when you've shared context that should be remembered.
  • maintainmem — Evaluate whether memory maintenance is needed — consolidating old index entries into the world model, or compacting world files that have grown too large.
  • upgrademem — Upgrade the memory system to the latest version.
  • helpmem — Get help about the memory system. Use it alone for a short overview, or embedded in a question (e.g. "what does maintainmem do? helpmem").

Example usage:

Fix the auth bug in the login flow. readmem

That went well, we're done. updatemem

The index is getting long. maintainmem

readmem

Stating readmem on its own — typically at the start of a session — gives you an overview of what has been worked on recently and the current state, such as open todos.

You'll get the most out of the memory system by developing the habit of using the sentinel tokens at natural moments — readmem at the start of a session or whenever you begin a new piece of work that needs context, updatemem when something worth remembering just happened, maintainmem when the index feels cluttered.

The methodology defines three levels of triggers that can activate memory operations:

  1. Sentinel tokens (strongest guarantee) — When readmem, updatemem, or maintainmem is present in your message, the AI MUST perform the operation. (upgrademem and helpmem are also MUST-level sentinels, but for system upgrade and help respectively — not memory operations.)
  2. Word cues — Words like "done", "decided", "background", "history" may prompt the AI to read from or update memory without an explicit sentinel token.
  3. Conceptual triggers — The AI is instructed to recognise situations where memory operations are appropriate, such as when a logical unit of work concludes.

The word-level and conceptual triggers allow the AI to act on its own, but in practice automatic triggering is unreliable during focused execution due to attention drift. The sentinel tokens solve this — they're the reliable mechanism you can always count on.

This design means the system works with any AI assistant that can read and write local files — no custom agentic infrastructure required. The sentinel tokens are just words in your message that the AI's methodology tells it to act on. Building a customised agentic system where detection of these triggers is more automated is future work.

Elaborate documents for significant work: When a discussion or investigation produces rich, detailed content — an analysis, a design, a comparison study — ask the AI to write it as a standalone document in collab/docs/. The note and/or world model entry can then reference the document rather than trying to compress everything into a note. This keeps notes concise while preserving depth where it matters.

IMPORTANT: Watch for automatic context compaction

AI systems such as Claude Code don't know how much context window space remains before auto-compaction occurs. When compaction happens, session details are lost — only the memory system's files preserve what was discussed and decided. When you notice the context window space is getting low, tell the AI: "compaction soon, updatemem". This is your best insurance against losing session context.

How It Works

Three Memory Types

Type Purpose Files
Episodic What happened, what was decided, why notes.md, docs/
World model Current understanding of reality world/ directory
Working memory What's loaded in the AI's context window Managed via tiers

Episodic memory is append-only — notes are never rewritten, preserving the historical record. A note from month 1 describing code that was rewritten in month 3 isn't stale — it's history, and the reasoning behind that original design might matter later. When a note is superseded, an amendment links it to the newer note. The world model is maintained — files are updated to reflect current reality. Staleness is handled differently by type: episodic memory preserves history, the world model stays current.

Two-Tier Context Management

Not everything can fit in the AI's context window. The system uses two tiers:

  • Tier 1 (always in context): The episodic index, world model index, and core world files (context, preferences, state). These are kept compact (~5,000 characters each).
  • Tier 2 (searched on demand): Detailed notes, reference documents, and extended world knowledge (how-tos, domain, factoids). These grow without limit.

Awareness, Not Just Retrieval

Most memory tools treat recall as a retrieval problem: store knowledge somewhere, search it when needed. This requires the AI to already know what it's looking for.

collabmem takes a different approach. The Tier 1 indexes — compact tables of past episodes and world knowledge — are always loaded in the AI's context window. Because the AI's attention mechanism matches query tokens against context tokens, these indexes create continuous awareness of accumulated knowledge. The AI can make associations and connections to prior work without an explicit search query — it knows a topic exists before it needs to look it up.

When details are needed, the AI uses a precise index → search → read pattern: find the relevant index entry, grep the target file, read only the relevant section. No vector search, no embeddings — just structured text and grep.

Multi-User Support

The system is designed for teams from the ground up. Every note and index entry includes user attribution. World model files use per-user sections where appropriate (personal context, preferences, current work), allowing git to auto-merge changes from different users. A merge resolution protocol handles conflicts in shared world files.

Distributed Collaboration

An interesting use case of this memory system is building up shared memory in a team or organisation. Each team member contributes to the same episodic history and world model; new members get up to speed through the AI's accumulated knowledge; cross-project learnings can be referenced.

Why memory often shouldn't live in the same repo as the code:

  • Branch divergence — developers on long-lived branches diverge from the memory on main; merge conflicts accumulate as work progresses.
  • Public repos — project decisions, business context, user preferences, and strategic discussions shouldn't be publicly visible.
  • Access control — team members may have different access to different projects; per-project memory isolation matters.
  • Repo churn — code changes often don't warrant memory updates; mixing them clutters PR history.
  • Memory as first-class history — memory changes deserve their own commit history and review flow, separate from code.

Two patterns for distributed memory:

  • Single shared-knowledge repo — one repo containing all projects, e.g. shared-knowledge/collab/project-x/, shared-knowledge/collab/project-y/. The top-level collab/ directory groups all collab memory, leaving room for other organisational content (architecture docs, team playbooks, policies) alongside it. Centralises team knowledge, simplifies cross-project awareness, single ACL to manage. Good default for most teams.
  • Per-project memory repo — one memory repo per project. Use this when different projects have different teams with different access levels, or when projects must stay fully isolated (e.g., client confidentiality, regulatory boundaries).

In both patterns, the code repo contains a symlink named collab (git-ignored; each dev creates their own) pointing to the external memory directory. This keeps .collab-config, the import block, and all @collab/... paths identical between solo and team installations. The installation procedure guides the user through the team/solo decision, repo setup (including gh assistance if available), and symlink creation.

Memory Growth and Sustainability

As collaboration continues, memory grows. Two mechanisms keep this sustainable without losing knowledge:

  • Episodic index consolidation (upward) — When the episodic index grows large, mature stable knowledge from old episodes is extracted into world model files. The consolidated index entries move to a searchable archive. The original notes remain unchanged. This keeps the active index focused on recent work while the world model absorbs the accumulated knowledge.
  • World model compaction (downward) — When a world model file approaches its size cap, it is rewritten to stay compact. Removed knowledge is preserved in an episodic note, so nothing is lost.

Both mechanisms preserve knowledge — nothing is deleted. Consolidation and compaction are always discussed with the user before being applied.

What Makes This Different

collabmem is optimized to build up and maintain memory for long-term collaboration. Surviving session and compaction boundaries is the baseline — the real goal is accumulating the conceptual knowledge, history and world model, that lets the AI (and the user) effectively work together over weeks, months, or even years. The system is kept simple, making it easy to install, use, inspect, store and version. Through its simplicity it also enables advanced use cases where teams of users build up shared knowledge together while collaborating with AI.

What differentiates collabmem:

  • Collaborative knowledge through episodic memory and world model. Memory is split into two complementary types: episodic memory (what happened, what was decided, why) and a world model (project context, domain knowledge, preferences, current state). Episodic memory preserves history; the world model captures what was learned from that history — the conceptual knowledge that makes collaboration effective. As episodes accumulate, mature knowledge consolidates into the world model, so understanding compounds over time and the AI grows as a collaborator.
  • Rich, detailed conceptual knowledge. collabmem captures detailed episodic records: context, actions taken, key learnings, reasoning, what was considered and decided against. A fresh AI session doesn't just see what happened — it sees why, which alternatives were considered, and what reasoning led to each decision. This depth is what makes the AI an effective long-term collaborator rather than a tool that needs re-explaining.
  • User-verified knowledge quality. Automated memory extraction captures what the model thinks is important. User-reviewed memory captures what actually is important — the user knows their own context, priorities, and what matters for the work. Notes require user approval. World model updates are visible and editable. This produces more accurate, more relevant knowledge that stays aligned with reality.
  • History preserved, not pruned away. Episodic memory is append-only — the historical record is never rewritten. The world model is maintained separately — rewritten to reflect current reality. This separation means you can trace back to why a decision was made months ago, what alternatives were considered, and how understanding evolved.
  • Multi-user collaboration by default. Every note includes user attribution. World model files use per-user sections for git-friendly concurrent collaboration. Merge resolution is built into the methodology. Platform-native memory is typically per-user with no team features.
  • Platform-independent and git-tracked. Plain text markdown in the project repo, version-controlled alongside the code. Works with any AI assistant that can read and write files — no custom agentic infrastructure required. The sentinel tokens are just words in your message that the methodology tells the AI to act on, so the system works out of the box on any platform. Every change is auditable through git history. No vendor lock-in, no opaque storage. Plain text is the most portable knowledge format — a raw material that any current or future AI platform can consume. Databases, vector stores, and proprietary formats are tied to the platforms that created them.

These distinctions compound over time. The longer the collaboration, the more valuable rich history, user-verified knowledge, and shared understanding become. For simple preference tracking on individual projects, platform-native memory may be enough. For long-term collaboration — weeks, months, years — where the AI needs deep contextual understanding to contribute meaningfully, that's where this system adds real value.

Requirements and Compatibility

Prerequisites:

  • An AI assistant that can read and write local files and load an instruction file into context (e.g., CLAUDE.md, .cursorrules)
  • Git is recommended for version control and auditability, but not a hard requirement — the system works without it if you prefer to keep everything local

Platform support:

Platform Core system Lifecycle hooks
Claude Code Full support SessionStart, UserPromptSubmit
Other AI assistants Full support (methodology is self-contained) Not yet available — hooks enhance but are not required

The core methodology works with any AI assistant that can read and write files across sessions and load an instruction file into context. This includes CLI tools (Claude Code), IDE integrations, and web-based AI assistants with file access (e.g., Claude Cowork — untested but likely compatible). Hooks add session management (timestamps, health checks, context recovery reminders) but are optional. On platforms without hooks, the AI has no automatic signal for new sessions or compaction — use readmem explicitly at the start of a session to trigger context recovery.

Current Limitations and Status

Maturity: The episodic memory system (notes, index, two-tier retrieval) is the more developed component — it has been used across multiple projects over several months. The world model memory (world files, consolidation, maintenance) is functional but earlier in its development. The overall system is being actively tested and refined.

Known limitations:

  • Context window dependency — Tier 1 files must fit in the AI's context window alongside other instructions and conversation. The ~5,000 character caps are tuned for current context sizes but may need adjustment.
  • No automated consolidation — When the episodic index grows large, the AI suggests consolidation but the process is manual (AI-assisted, user-approved). Automated tooling is future work.
  • Hook support — Lifecycle hooks are currently implemented for Claude Code only. Other platforms might be added in the future. If you are interested in support for a specific platform, provide your solution in a PR or file an issue (see Contributing).
  • Single methodology version — No automated migration tooling between methodology versions. Manual upgrade instructions are in upgrade.md.
  • Instruction file reload — Most AI platforms only load the instruction file at session start. Changes made during installation take effect in the next session, not immediately.
  • Automatic reflection is best-effort — The methodology defines word-level and conceptual triggers for automatic memory operations, but these are unreliable during focused execution due to attention drift. Sentinel tokens (readmem, updatemem, maintainmem) solve the user-driven side — when present, the AI must act. For fully automatic reflection, the ideal solution is a separate reflection agent that monitors the conversation independently of the main execution agent — separating the execution concern from the reflection concern. This is architecturally viable (Claude Code's Stop hook provides transcript access, and the Agent SDK enables subagents) but is future work.

Contributing

This project is in early development. Contributions, feedback, and experience reports are welcome.

Filing issues: https://github.com/visionscaper/collabmem/issues

Use issues for:

  • Bug reports (installation failures, methodology gaps, hook issues)
  • Feature requests (new platforms, domain extensions, tooling)
  • Experience reports (what worked, what didn't, what's missing)

Contributing code or documentation:

  • Fork the repository and submit a pull request
  • For significant changes, open an issue first to discuss the approach
  • The methodology (collab/methodology.md) and installation instructions (install.md) are the most critical files — changes to these should be discussed before implementation

License

Apache License 2.0 — see LICENSE.