Source: https://seerepo.com/compare/mattpocock/sandcastle/vs/thedotmack/claude-mem
Markdown source: https://seerepo.com/compare/mattpocock/sandcastle/vs/thedotmack/claude-mem.md
Description: sandcastle and claude-mem share 3 technologies: @clack/prompts, Zod, and Vercel. Both are written in TypeScript.

# sandcastle vs claude-mem

sandcastle and claude-mem share 3 technologies: @clack/prompts, Zod, and Vercel. Both are written in TypeScript.

- [mattpocock/sandcastle](https://seerepo.com/r/mattpocock/sandcastle): Orchestrate sandboxed coding agents in TypeScript with sandcastle.run()
- [thedotmack/claude-mem](https://seerepo.com/r/thedotmack/claude-mem): Persistent Context Across Sessions for Every Agent –  Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

## What they share and what sets them apart

- In common: @clack/prompts, Zod, Vercel
- Only in sandcastle: Modal, @effect/platform, e2b, @standard-schema/spec, @daytona/sdk, @fly/sprites
- Only in claude-mem: React, Express, bullmq, Postgres, MCP, Anthropic, PostHog, Next.js, Redis, Vite, PostCSS, Better Auth, Hugging Face, ansi-to-html, dompurify, sharp, typebox, eve, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, @streamdown/code, cmdk, use-stick-to-bottom, Lucide, Drizzle, streamdown, cn, motion, ansi-to-react, embla-carousel-react, tsparticles, ai

## Side by side

| | sandcastle | claude-mem |
|---|---|---|
| Size | 77,487 lines written, 120 code files | 602,398 lines written, 1,036 code files |
| Who writes it | 83.1% of its commits signed by AI. With Claude Code | 57.7% of its commits signed by AI. With Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit |
| Activity | Last push November 14, 2026, 1,384 commits, 9,094 stars | Last push November 12, 2026, 4,234 commits, 116,301 stars |
| Tests | 119 test files. 35% of its code files have a test that imports them | 1,644 test files. 64.9% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, sandcastle or claude-mem?

claude-mem, with 602,398 lines written; sandcastle has 77,487.

The proof: [thedotmack/claude-mem's code at commit 7c34422](https://github.com/thedotmack/claude-mem/tree/7c34422c73b23befbd38f3a6f897758b3658ffe8)

### Which has more GitHub stars, sandcastle or claude-mem?

claude-mem, with 116,301 stars; sandcastle has 9,094.

The proof: [thedotmack/claude-mem on GitHub](https://github.com/thedotmack/claude-mem)

### Which has more tests, sandcastle or claude-mem?

claude-mem, with 1,644 test files; sandcastle has 119.

The proof: [thedotmack/claude-mem's code at commit 7c34422](https://github.com/thedotmack/claude-mem/tree/7c34422c73b23befbd38f3a6f897758b3658ffe8)

### Which was updated more recently, sandcastle or claude-mem?

sandcastle: its last push was on November 14, 2026, and claude-mem's on November 12, 2026.

The proof: [mattpocock/sandcastle's commits on GitHub](https://github.com/mattpocock/sandcastle/commits)

### Which has more commits signed by AI, sandcastle or claude-mem?

sandcastle: an AI signed 83.1% of its commits, with Claude Code; in claude-mem, 57.7%.

The proof: [the commits each tool signed in mattpocock/sandcastle](https://seerepo.com/r/mattpocock/sandcastle/ai)

## Sources

- mattpocock/sandcastle: Read on November 15, 2026, at commit 0ed674e (https://github.com/mattpocock/sandcastle/tree/0ed674e5195b200d34bc4128eec33409f2952dcf)
- thedotmack/claude-mem: Read on November 12, 2026, at commit 7c34422 (https://github.com/thedotmack/claude-mem/tree/7c34422c73b23befbd38f3a6f897758b3658ffe8)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
