Overview
Two GitHub links, dropped 30 seconds apart at the same minute. Both target ergonomic gaps in AI coding agents, but they target different gaps. rohitg00/agentmemory tackles cross-session memory infrastructure; addyosmani/agent-skills tackles senior-engineer workflow enforcement. Read together, they sketch out an emerging OS layer for the agent era.
1. agentmemory — Persistent Memory Shared Across Every Agent via MCP
rohitg00/agentmemory brands itself as "#1 Persistent memory for AI coding agents based on real-world benchmarks." Created 2026-02-25, ~2,400 stars, Apache 2.0. Project home: agent-memory.dev.
The problem it solves
- Re-explaining the architecture to the agent every session
- Rediscovering the same bug
- Re-teaching the same preferences (library choices, code style)
- Built-in memory like
CLAUDE.mdor.cursorrulesis capped at 200 lines and goes stale fast
How it works
The agent silently captures what it does → compresses → stores as searchable memory → injects only the relevant context at the start of the next session. The key trick: stand up a single MCP server and 16+ agents share the same memory.
Supported clients:
- Claude Code · Cursor · Gemini CLI · Codex CLI
- Cline · Goose · Windsurf · Roo Code · OpenCode
- Any agent without MCP can connect via REST (104 endpoints)
Embeddings run locally with all-MiniLM-L6-v2 — no API keys, free.
Benchmark — LongMemEval-S
Numbers on LongMemEval (ICLR 2025, 500 questions):
| Metric | agentmemory | BM25 fallback |
|---|---|---|
| R@5 | 95.2% | 86.2% |
| R@10 | 98.6% | — |
| MRR | 88.2% | — |
Hybrid embedding retrieval beats keyword-only BM25 by 9 percentage points on R@5.
Token cost
| Approach | Annual tokens | Annual cost |
|---|---|---|
| Full context paste | 19.5M+ | Exceeds context window |
| LLM-summarized | ~650K | ~$500 |
| agentmemory | ~170K | ~$10 |
| agentmemory + local embeddings | ~170K | $0 |
Quick start
npx @agentmemory/agentmemory
What it really argues
The bet underneath agentmemory is one sentence — “memory belongs in the infrastructure layer, not the agent.” Instead of every agent writing its own memory, one MCP server fans out to all of them. Whatever Claude Code learns flows into the next Cursor session intact. The project started about 50 days earlier as a viral GitHub gist (1,050 stars) and is essentially that design doc rendered into code: Karpathy’s LLM Wiki pattern plus confidence scoring, lifecycle, knowledge graph, and hybrid search.
2. agent-skills — Senior-Engineer Workflow as a Skill Bundle
addyosmani/agent-skills calls itself “Production-grade engineering skills for AI coding agents.” Created 2026-02-15, ~33,500 stars, MIT. At the same point in time it has 14× the stars of agentmemory — currently the strongest candidate for an agent-workflow standard.
The problem it solves
“The agent writes code, but it doesn’t write code like a senior would.”
- Skips the spec
- Skips the tests
- Doesn’t think about security
- Drops a giant PR all at once
A six-stage lifecycle
DEFINE → PLAN → BUILD → VERIFY → REVIEW → SHIP
/spec /plan /build /test /review /ship
Each slash command corresponds to one lifecycle stage and auto-activates the right skills.
The 20 skills, by stage
- Define: idea-refine, spec-driven-development
- Plan: planning-and-task-breakdown
- Build: incremental-implementation, test-driven-development, context-engineering, source-driven-development, frontend-ui-engineering, api-and-interface-design
- Verify: browser-testing-with-devtools, debugging-and-error-recovery
- Review: code-review-and-quality, code-simplification, security-and-hardening, performance-optimization
- Ship: git-workflow-and-versioning, ci-cd-and-automation, deprecation-and-migration, documentation-and-adrs, shipping-and-launch
Where it runs
- Claude Code (recommended, marketplace-installed):
/plugin marketplace add addyosmani/agent-skills - Cursor: copy SKILL.md into
.cursor/rules/ - Gemini CLI · Windsurf · OpenCode · GitHub Copilot · Kiro IDE · Codex — anything that reads Markdown works
Agent personas
code-reviewer— Senior staff engineer lens, “would a staff engineer approve this?”test-engineer— QA discipline, the Prove-It patternsecurity-auditor— OWASP, threat modeling
What it really argues
agent-skills’ bet is “the difference between agents isn’t model weight — it’s how strictly the workflow is enforced.” TDD here isn’t “you can do TDD” — it’s “no Red-Green-Refactor, no code.” Code review isn’t a vibe; it’s five-axis review, 100-line size limits, explicit Nit/Optional/FYI severity labels. By expressing all of this in Markdown, it stays agent-agnostic — the same skill bundle works in Claude, Cursor, and Gemini. 33K stars is the market saying this is the closest thing to a workflow standard right now.
3. Side by side
| Dimension | agentmemory | agent-skills |
|---|---|---|
| Author | rohitg00 | addyosmani |
| Form | TypeScript library + MCP server | Markdown skill bundle |
| License | Apache 2.0 | MIT |
| Stars (2026-05) | ~2,400 | ~33,500 |
| Created | 2026-02-25 | 2026-02-15 |
| Domain | Memory / state infrastructure | Engineering workflow |
| Decoupling mechanism | MCP standard | Markdown standard |
4. The Combined Picture — An OS Layer for Agents
Three or four years ago “which IDE do you use?” was the deciding question. Now it’s becoming “what’s your memory and skills setup?” Both projects deliberately decouple from any one model — MCP for one, plain Markdown for the other — designed so that models can be swapped, but the memory and skills accumulate.
Insights
The headline of this digest isn’t either tool individually — it’s that two links shared 30 seconds apart fill exactly two distinct slots in the agent OS layer. agentmemory pulls state down into the infrastructure; agent-skills pulls process down into the infrastructure. The fact that both decouple from models in similar ways — one MCP server, one Markdown bundle — is the same bet from two angles: models are interchangeable but memory and skills must compound. The 33K vs 2.4K stars gap probably isn’t about timing; it’s a signal that the workflow-standard candidate is consolidating faster than the memory-infrastructure candidate. Two open questions for next quarter — does memory standardize on MCP, and do skill bundles like agent-skills become a new SaaS category inside IDE marketplaces? The decision point has already started shifting from IDE choice to memory and skill setup.
References
Core repos
Related agents and clients
- Claude Code · Cursor · Cline · Windsurf
- Gemini CLI · Codex · OpenCode · Goose · Roo Code
- GitHub Copilot · Kiro IDE
Protocols and standards
- Model Context Protocol (MCP)
- OWASP — basis for the security-auditor persona
Benchmarks and embeddings
- Paper: LongMemEval (arXiv:2410.10813, ICLR 2025)
sentence-transformers/all-MiniLM-L6-v2— local embedding model used by agentmemory
