add-memory-kind
Skill13k starsChanged 4 months agoApache-2.0View on GitHub
Add a new business memory kind end-to-end. Pick the storage combination (Markdown / SQLite / LanceDB), pick the markdown strategy (daily-log / skill-named / single-file), then wire up the schema(s), repo(s), and writer(s).
Trending
Quiet since October.about the whole repository
Who's talking about EverMind-AI/EverOS
- @evermind-ai.bsky.social“No storage migration or index rebuild required. Multi-round retrieval is opt-in. github.com/EverMind-AI...”Bluesky · Sep 8, 2026 · 1 likes
- @pythonhub.dev“EverOS Build, evaluate, and integrate long-term memory for self-evolving agents. …”Bluesky · Jun 11, 2026 · 1 likes
- RonsenbergVI/agent-memory-benchmarks“deps: bump everos from 1.2.3 to 1.4.1”GitHub · Oct 5, 2026
- RyderFreeman4Logos/EverOS“1.4.1 hybrid search times out while cascade backlog shares the embedding semaphore”GitHub · Oct 1, 2026
- lobehub/lobehub“[Request] EverMe integration: persistent cross-device, cross-agent personal memory via MCP”GitHub · Sep 29, 2026
The biggest 5 of 35 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 35
Talked about on GitHub and Bluesky (35 times).
On GitHub · 33
- Oct 5, 2026deps: bump everos from 1.2.3 to 1.4.1 — RonsenbergVI/agent-memory-benchmarks0 reactions
- Oct 1, 20261.4.1 hybrid search times out while cascade backlog shares the embedding semaphore — RyderFreeman4Logos/EverOS0 reactions · 1 comment
- Sep 29, 2026[Request] EverMe integration: persistent cross-device, cross-agent personal memory via MCP — lobehub/lobehub0 reactions · 4 comments
- Sep 28, 2026deps: bump everos from 1.2.3 to 1.4.1 — RonsenbergVI/agent-memory-benchmarks0 reactions
- Sep 24, 2026deps: bump everos from 1.2.3 to 1.3.1 — RonsenbergVI/agent-memory-benchmarks0 reactions
28 more on GitHub
- Sep 21, 2026deps: bump everos from 1.2.3 to 1.3.1 — RonsenbergVI/agent-memory-benchmarks0 reactions
- Sep 20, 2026Consider Engram, Caura, TencentDB Agent Memory, memU, and EverOS in comparison docs — akitaonrails/ai-memory0 reactions · 1 comment
- Sep 17, 2026deps: bump everos from 1.2.3 to 1.3.1 — RonsenbergVI/agent-memory-benchmarks0 reactions
- Sep 16, 2026docs: point EverOS links at the right destinations — EverMind-AI/EverOS-Convex0 reactions
- Sep 15, 2026deps: bump everos from 1.2.3 to 1.3.1 — RonsenbergVI/agent-memory-benchmarks0 reactions
- Sep 11, 2026deps: bump everos from 1.2.3 to 1.3.1 — RonsenbergVI/agent-memory-benchmarks0 reactions
- Sep 7, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
- Sep 3, 2026feat(llm): add aimlapi.com as an LLM endpoint with partner attribution — aimlapi/EverOS-aimlapi0 reactions
- Aug 31, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 2 comments
- Aug 29, 2026[repo] EverMind-AI/EverOS — lucas-albers-lz4/sre-ai-llm-work0 reactions · 2 comments
- Aug 28, 2026[Feature Request] Explore EverOS as an optional AgentMemory backend — camel-ai/camel0 reactions
- Aug 28, 2026Feature: optional EverOS long-term memory integration — deepset-ai/haystack0 reactions · 3 comments
- Aug 24, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
- Aug 21, 2026[new system]: EverOS (EverMind) — RonsenbergVI/agent-memory-benchmarks0 reactions
- Aug 9, 2026Estudar esses repos — renatobardi/kubo0 reactions
- Jul 24, 2026[Feature Request] Optional EverOS long-term memory extension for Langflow — langflow-ai/langflow0 reactions · 2 comments
- Jul 23, 2026[Feature Request] Optional EverOS LearningStore + cookbook for local-first user and agent memory — agno-agi/agno0 reactions · 1 comment
- Jul 22, 2026Python: [Feature]: Explore EverOS as an optional Python long-term memory ContextProvider — microsoft/agent-framework0 reactions · 4 comments
- Jul 21, 2026[Feature Request] EverOS as an optional local-first long-term memory backend — google/adk-python0 reactions · 2 comments
- Jul 20, 2026feat(core): MemCell foresight/validity-window on ExperienceRecord + MemScene thematic clustering port (EverOS pattern) — hleserg/atman0 reactions · 1 comment
- Jul 8, 2026AI Agent 上下文/记忆/知识管理的开源竞品调研 — Pines-Cheng/blog0 reactions
- Jul 3, 2026Create Memory Agents system — ANFAIA/MalariaSentinel0 reactions
- Jun 18, 2026RFC: EverOS-inspired roadmap for local-first mempal memory — RyderFreeman4Logos/mempal0 reactions · 2 comments
- Jun 5, 2026No information on where the md files sit, assuming it's still md files, given this link was provided from https://github.com/EverMind-AI/EverOS — tt-a1i/everos-mcp0 reactions
- May 24, 2026research(evermembench): harness investigation + adapter skeleton — totobusnello/memoria-nox0 reactions
- May 22, 2026【开源自荐】EverOS:一个让 AI Agent 拥有长期记忆的开源系统,内置大量真实 Use Cases — ruanyf/weekly0 reactions
- May 13, 2026[TEST] [Security Track] CWE-798: security tracker smoke test — Fearvox/EverOS0 reactions · 3 comments
- May 13, 2026[TEST] [PR Track] #196: webhook smoke test — Fearvox/EverOS0 reactions · 2 comments
On Bluesky · 2
- Sep 8, 2026No storage migration or index rebuild required. Multi-round retrieval is opt-in. github.com/EverMind-AI... — @evermind-ai.bsky.social1 likes and repost
- Jun 11, 2026EverOS Build, evaluate, and integrate long-term memory for self-evolving agents. https://github.com/EverMind-AI/EverOS — @pythonhub.dev1 likes and repost
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- commitSkill
- new-branchSkill
- prSkill
- releaseSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 255
When the new memory kind needs:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/add-memory-kind — Add a new business memory kind
When to invoke
Adding a new persisted business entity (Episode, Case, Skill, AtomicFact, Foresight, Profile, or something custom). Multiple storage layers may be involved; this skill walks the decision then the wiring.
1. Decide the storage combination
A memory kind does not have to use all three layers. Pick by what the kind actually needs:
| Need | Markdown | SQLite | LanceDB |
| Human-readable / agent-editable source-of-truth text | ✅ | ||
| Structured state, ACID transactions, joins, predicates | ✅ | ||
| Vector / BM25 / hybrid retrieval | ✅ |
Common combinations seen in EverOS:
| Combo | Example | Rationale |
| md only | scratch notes / dump bins | text-of-truth, no index needed |
| md + lancedb | episode / memcell / case | text-of-truth + semantic retrieval |
| md + sqlite | profile / playbook / soul.md state | text-of-truth + structured state to query |
| md + sqlite + lancedb | full-blown business records | when you need both transactional state AND retrieval |
| sqlite only | audit log / task queue / LSN watermark | system state, never user-facing |
| lancedb only | rare; usually you still want md | derived embeddings without text-of-truth |
Rule of thumb: markdown is the truth; sqlite and lancedb are derived indexes that can be rebuilt from md. Drop md only when the kind has no human-readable form (pure system state).
2. Pick the markdown storage strategy (if md is in your combo)
Three strategies — declared in the EverOS Markdown First spec:
| Strategy | Filename | Mutation | Examples |
| Daily-log append | <prefix>-YYYY-MM-DD.md | append entries | memcell / episode / case / atomic_fact / foresight |
| Skill-named in-place | skill_<name>.md | overwrite the file | skills (procedural memory) |
| Single-file rewrite | user.md / agent.md / soul.md / behaviors.md / tools.md | overwrite the file | profiles / playbooks |
This skill currently has a complete recipe for daily-log append.
Skill-named and single-file recipes are sketched at the bottom — their
base writers (BaseSkillWriter / BaseProfileWriter) land later in the
project; until then build a thin wrapper over MarkdownWriter
directly.
3. Markdown daily-log: 4 steps
3.1 Frontmatter schema — infra/persistence/markdown/mds/<name>.py
"""Episode daily-log frontmatter."""
from __future__ import annotations
import datetime as _dt
from typing import ClassVar, Literal
from everos.core.persistence.markdown import UserScopedFrontmatter
class UserEpisodeDailyFrontmatter(UserScopedFrontmatter):
"""``users/<u>/episodes/episode-<YYYY-MM-DD>.md``."""
ENTRY_ID_PREFIX: ClassVar[str] = "ep"
DIR_NAME: ClassVar[str] = "episodes"
FILE_PREFIX: ClassVar[str] = "episode"
type: Literal["user_episode_daily"] = "user_episode_daily"
date: _dt.date
entry_count: int = 0
last_appended_at: _dt.datetime | None = NoneFor agent-track kinds subclass AgentScopedFrontmatter instead. If
user-track and agent-track share a kind name (e.g. memcell), give
each a distinct ENTRY_ID_PREFIX (e.g. umc vs amc) so reverse
lookup is unambiguous.
3.2 Re-export — mds/__init__.py
from .episode import UserEpisodeDailyFrontmatter as UserEpisodeDailyFrontmatter3.3 Business writer — infra/persistence/markdown/writers/<name>.py
"""Episode appender."""
from __future__ import annotations
from pathlib import Path
from everos.core.persistence import MarkdownReader
from ..mds import UserEpisodeDailyFrontmatter
from .base import BaseDailyWriter
class UserEpisodeAppender(BaseDailyWriter):
schema = UserEpisodeDailyFrontmatter
# OPTIONAL: override the count strategy. Default is len(entries);
# override to trust the frontmatter field instead.
def _current_count(self, path: Path) -> int:
if not path.exists():
return 0
return MarkdownReader.read(path).frontmatter.get("entry_count", 0)3.4 Re-export — writers/__init__.py
from .episode import UserEpisodeAppender as UserEpisodeAppenderDone — usage
from everos.infra.persistence.markdown.writers import UserEpisodeAppender
appender = UserEpisodeAppender(memory_root)
eid = appender.append("u_jason", "I went to the doctor today.")
# → users/u_jason/episodes/episode-<today>.md
# → entry markers carry an auto-generated EntryId (e.g. ep_20260507_001)4. (Optional) SQLite table — 4 steps
Skip this section if the kind doesn't need structured state beyond markdown.
4.1 Schema — infra/persistence/sqlite/tables/<name>.py
from everos.core.persistence.sqlite import BaseTable, Field
class EpisodeState(BaseTable, table=True):
__tablename__ = "episode_state" # type: ignore[assignment]
id: int | None = Field(default=None, primary_key=True)
entry_id: str = Field(index=True, unique=True)
cluster_id: str | None = Field(default=None, index=True)
status: str = Field(default="active")BaseTable already provides created_at / updated_at (auto-bumped).
4.2 Re-export — tables/__init__.py
from .episode import EpisodeState as EpisodeState4.3 Repo — infra/persistence/sqlite/repos/<name>.py
from sqlalchemy.ext.asyncio import AsyncSession, async_sessionmaker
from everos.core.persistence.sqlite import RepoBase
from ..sqlite_manager import get_session_factory
from ..tables import EpisodeState
class _EpisodeStateRepo(RepoBase[EpisodeState]):
model = EpisodeState
def _factory_lookup(self) -> async_sessionmaker[AsyncSession]:
return get_session_factory()
episode_state_repo = _EpisodeStateRepo()4.4 Re-export — repos/__init__.py
from .episode import episode_state_repo as episode_state_repo5. (Optional) LanceDB index — 4 steps
Skip this section if the kind doesn't need vector / BM25 / hybrid retrieval.
5.1 Schema — infra/persistence/lancedb/tables/<name>.py
from everos.core.persistence.lancedb import BaseLanceTable, Vector
class EpisodeIndex(BaseLanceTable):
entry_id: str
text: str
tags: list[str]
vector: Vector(384) # type: ignore[valid-type]Vector(N) must match your embedding dimension.
5.2 Re-export — tables/__init__.py
from .episode import EpisodeIndex as EpisodeIndex5.3 Repo — infra/persistence/lancedb/repos/<name>.py
from lancedb import AsyncTable
from everos.core.persistence.lancedb import LanceRepoBase
from ..lancedb_manager import get_table
from ..tables import EpisodeIndex
class _EpisodeIndexRepo(LanceRepoBase[EpisodeIndex]):
schema = EpisodeIndex
table_name = "episode_index"
async def _table_lookup(self) -> AsyncTable:
return await get_table(self.table_name, self.schema)
episode_index_repo = _EpisodeIndexRepo()5.4 Re-export — repos/__init__.py
from .episode import episode_index_repo as episode_index_repo6. (Future) Skill-named & single-file markdown strategies
When the new memory kind needs:
- skill-named files (one file per named skill, in-place rewrite) — wait
for
BaseSkillWriter, or useMarkdownWriter.write_markdowndirectly with a thin wrapper. - single-file rewrite (one fixed file like
user.md) — wait forBaseProfileWriter, same fallback.
These strategies do not use entry markers; their frontmatter schema
does not need ENTRY_ID_PREFIX (only id / type / schema_version plus
the scope mixin fields).
7. Verification checklist
make lint— ruff + import-linter cleanmake test— existing manager / lifespan / writer tests still pass- When the kind crosses multiple layers:
- markdown entry id is the join key for the sqlite / lancedb rows
- business code reads only via the repo singleton (no raw engine access in service / memory)
- cascade daemon (when it lands) can rebuild sqlite / lancedb from md alone — keep md as the truth
Tests by layer:
| Tests for | Location |
| Markdown frontmatter schema | tests/unit/test_infra/test_markdown/test_mds/ |
| Markdown business appender | tests/unit/test_infra/test_markdown/test_writers/ |
| SQLite RepoBase logic | tests/unit/test_core/test_persistence/test_sqlite/ |
| SQLite manager / lifespan | tests/unit/test_infra/test_sqlite/ |
| LanceDB LanceRepoBase logic | tests/unit/test_core/test_persistence/test_lancedb/ |
| LanceDB manager / lifespan | tests/unit/test_infra/test_lancedb/ |
8. Common pitfalls
| Mistake | Symptom | Fix |
Forgot ENTRY_ID_PREFIX / DIR_NAME / FILE_PREFIX on a daily-log schema | BaseDailyWriter.__init__ raises TypeError | Add all three ClassVars |
Same ENTRY_ID_PREFIX on user + agent variants | MemoryLayout.locate_for_entry collision error | Use distinct prefixes (e.g. umc vs amc) |
Imported RepoBase from infra.persistence.sqlite | ImportError | Lives in core.persistence.sqlite (moved earlier) |
| Skipped one of the four files (schema / writer / table / repo) | One side silently absent | Re-export both/all from each __init__.py |
Vector(N) mismatched with embedding dim | LanceDB raises on insert | Make N exactly match the model output |
Imported MemoryLayout from a writer (infra) | import-linter fails (infra → memory reverse dep) | Use MemoryRoot (in core) and let the schema's ClassVars drive paths |
Hand-rolling datetime.now() instead of today_with_timezone() | Day-boundary drift across timezones | Always go through everos.component.utils.datetime |
Background
- Architecture: ../../rules/architecture.md
__init__.pyre-export rules: ../../rules/init-py-and-reexport.md- Async programming: ../../rules/async-programming.md
- Datetime handling: ../../rules/datetime-handling.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

