<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/llms-remember-your-code-not-your-life-building-a-portable-personal-context-layer-cpzpaydrs" -->

---
title: LLMs remember your code, not your life: Building a...
description: An engineer argues that personal AI context should live in user-owned storage rather than inside a vendor's memory feature, and describes vault-mcp, an...
canonical: https://daily.dev/posts/llms-remember-your-code-not-your-life-building-a-portable-personal-context-layer-cpzpaydrs
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: LLMs remember your code, not your life: Building a portable personal context layer | daily.dev
og:description: An engineer argues that personal AI context should live in user-owned storage rather than inside a vendor's memory feature, and describes vault-mcp, an...
og:url: https://daily.dev/posts/llms-remember-your-code-not-your-life-building-a-portable-personal-context-layer-cpzpaydrs
og:image: https://api.daily.dev/og/posts/CpZPAydrS.png
og:image:alt: LLMs remember your code, not your life: Building a portable personal context layer
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# LLMs remember your code, not your life: Building a portable personal context layer

**[The Next Web](https://daily.dev/sources/tnw)** · 14 min read · 1 upvotes · 0 comments

## Summary

An engineer argues that personal AI context should live in user-owned storage rather than inside a vendor's memory feature, and describes vault-mcp, an open-source system storing personal notes as Markdown in a private GitHub repo, served to any LLM client via a single MCP endpoint. Building it on serverless edge infrastructure revealed that platforms like Cloudflare Workers block runtime code generation, silently disabling Zod's JIT-based fast validation path. This led to Zod AOT, an open-source ahead-of-time compiler that precompiles Zod schemas into flat JavaScript validators, claimed to run up to 60x faster than Zod's runtime fast path on complex nested objects, with no cold-start penalty. The piece closes by arguing that as more services expose MCP interfaces, an owned context layer becomes what makes assistant-driven actions personal and device-independent.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thenextweb.com/news/llms-remember-code-not-life-portable-context-layer>

## Questions this post answers

### Why does Zod's fast validation path stop working on Cloudflare Workers or other edge runtimes?

Zod's speed comes from a hidden JIT: on first validation of a shape it generates and compiles specialized JavaScript at runtime, then reuses that code for later validations. Edge runtimes like Cloudflare Workers forbid runtime code generation as a multi-tenant security measure, so Zod detects the Workers environment and falls back to its slower interpreted validation path.

_Developers hitting slow validation on edge platforms can compare notes on Zod's runtime behavior through daily.dev._

### How much faster is Zod AOT than Zod's built-in fast path for validating complex nested objects?

Zod AOT, an open-source ahead-of-time compiler, produces plain flat JavaScript validation functions at build time that check complex nested objects up to 60 times faster than Zod's runtime fast path in benchmarks. Because nothing compiles on first request, there is no cold-start penalty, and the compiled validators run even where Zod's own JIT fast path is disabled, such as on edge platforms.

_Teams choosing a validation strategy for edge deployments can track tools like Zod AOT via daily.dev._

### What is vault-mcp and how does it let personal context follow you across different AI assistants?

Vault-mcp is an open-source system that stores personal notes as plain Markdown in a private Git repository, organized as an Obsidian vault, and exposes them to any LLM client through a single MCP endpoint. Because the corpus is plain text in Git, switching or using multiple assistants (claude.ai, Claude Code, other MCP clients) costs only a git clone, with append-only writes and per-commit audit history for safety.

_Anyone weighing vendor lock-in for AI memory features can follow projects like vault-mcp on daily.dev._

## Similar posts on daily.dev

- [Taming the generative AI back end](https://daily.dev/posts/taming-the-generative-ai-back-end-trqdratyl) · InfoWorld · 0 upvotes · 0 comments
- [MCP in action: What makes AI agents actually useful](https://daily.dev/posts/mcp-in-action-what-makes-ai-agents-actually-useful-xzn8qnwi5) · All Things Open · 0 upvotes · 0 comments
- [MCP standardized tools. Now we need the infrastructure around them.](https://daily.dev/posts/mcp-standardized-tools-now-we-need-the-infrastructure-around-them--qv8rzplng) · Stack Overflow Blog · 0 upvotes · 0 comments

---

Tags: [#typescript](https://daily.dev/tags/typescript), [#mcp](https://daily.dev/tags/mcp), [#edge-computing](https://daily.dev/tags/edge-computing), [#zod](https://daily.dev/tags/zod)

[View this post on daily.dev](https://daily.dev/posts/llms-remember-your-code-not-your-life-building-a-portable-personal-context-layer-cpzpaydrs)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"LLMs remember your code, not your life: Building a portable personal context layer","url":"https://daily.dev/posts/llms-remember-your-code-not-your-life-building-a-portable-personal-context-layer-cpzpaydrs","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/llms-remember-your-code-not-your-life-building-a-portable-personal-context-layer-cpzpaydrs"},"datePublished":"2026-09-08T18:11:19.416Z","dateModified":"2026-09-14T09:36:01.852Z","description":"An engineer argues that personal AI context should live in user-owned storage rather than inside a vendor's memory feature, and describes vault-mcp, an...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6273435b4a79ec53e7b58fe17d0a9a52?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6273435b4a79ec53e7b58fe17d0a9a52?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"The Next Web","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Next Web","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tnw","url":"https://daily.dev/sources/tnw"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/llms-remember-your-code-not-your-life-building-a-portable-personal-context-layer-cpzpaydrs","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"typescript,mcp,edge-computing,zod","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Next Web","item":"https://daily.dev/sources/tnw"},{"@type":"ListItem","position":3,"name":"LLMs remember your code, not your life: Building a portable personal context layer"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/llms-remember-your-code-not-your-life-building-a-portable-personal-context-layer-cpzpaydrs#faq","mainEntity":[{"@type":"Question","name":"Why does Zod's fast validation path stop working on Cloudflare Workers or other edge runtimes?","acceptedAnswer":{"@type":"Answer","text":"Zod's speed comes from a hidden JIT: on first validation of a shape it generates and compiles specialized JavaScript at runtime, then reuses that code for later validations. Edge runtimes like Cloudflare Workers forbid runtime code generation as a multi-tenant security measure, so Zod detects the Workers environment and falls back to its slower interpreted validation path. Developers hitting slow validation on edge platforms can compare notes on Zod's runtime behavior through daily.dev."}},{"@type":"Question","name":"How much faster is Zod AOT than Zod's built-in fast path for validating complex nested objects?","acceptedAnswer":{"@type":"Answer","text":"Zod AOT, an open-source ahead-of-time compiler, produces plain flat JavaScript validation functions at build time that check complex nested objects up to 60 times faster than Zod's runtime fast path in benchmarks. Because nothing compiles on first request, there is no cold-start penalty, and the compiled validators run even where Zod's own JIT fast path is disabled, such as on edge platforms. Teams choosing a validation strategy for edge deployments can track tools like Zod AOT via daily.dev."}},{"@type":"Question","name":"What is vault-mcp and how does it let personal context follow you across different AI assistants?","acceptedAnswer":{"@type":"Answer","text":"Vault-mcp is an open-source system that stores personal notes as plain Markdown in a private Git repository, organized as an Obsidian vault, and exposes them to any LLM client through a single MCP endpoint. Because the corpus is plain text in Git, switching or using multiple assistants (claude.ai, Claude Code, other MCP clients) costs only a git clone, with append-only writes and per-commit audit history for safety. Anyone weighing vendor lock-in for AI memory features can follow projects like vault-mcp on daily.dev."}}]}
```

