← Back to all posts

From Domain to Launch in 8 Hours: Shipping ownmem with a Few AI Agents

I built a new product: ownmem.ai. From picking the domain to having all four sites live took about 8 hours.

I wrote almost none of the code. My job was to set direction, set rules, make calls, and check the work. The code came from several AI agents working at the same time.

This post lays out the whole thing: why I built it, how the work was split, the rules the agents followed, the architecture, and the traps.

1. Why ownmem

For most of this year I’ve run multi-agent work: thirty-plus agents on ten machines sharing one memory. I’ve written about that system (nest) before. Using it for months left me with one strong conviction:

The most valuable thing about an AI isn’t the model. It’s how well it knows you.

But today every AI keeps its memory locked inside its own walls:

  • what ChatGPT remembers, Claude doesn’t know;
  • switch models and you explain who you are and what you’re doing all over again;
  • get banned, cancel a plan, or watch a service shut down, and that memory is gone.

ownmem is built for exactly this: keep your AI memory encrypted and in your own hands, and carry it to any model.

2. What got built in 8 hours

Part What it is
Domain Dozens of candidates checked for availability and search intent; ownmem.ai won (own + memory: your memory is yours)
Logo A clenched fist. An AI-generated sketch, traced to vector and refined, each finger in one AI brand’s color
Landing page English and Chinese, full marks on SEO and accessibility audits, structured data and llms.txt
Chat A web AI agent with 14+ models to switch between; it searches your memory before answering
Docs English docs; the price table is generated from live config, so it can’t drift from real prices
MCP A remote MCP server that Claude Code, Codex and ChatGPT can connect to over OAuth
Encryption Zero-knowledge: passphrase and keys stay in the browser, the server stores ciphertext only
Payments Creem as Merchant of Record handles global sales tax; the store is approved and checkout is being wired in
Everything else Terms, privacy policy, Search Console, a support inbox, automated X posting, daily automatic error fixing

Four repositories, fifty-plus commits, all deployed on Cloudflare.

3. The split: I only set direction and check the work

My role was closer to product lead plus tech lead:

  1. Direction: what to build, what not to build, what comes first.
  2. Rules: written into every repo’s AGENT.md, binding on every agent.
  3. Calls: which domain, which logo version, what price, how much free quota.
  4. Acceptance: open the page and click through it, read the logs, send it back when it’s wrong.

The actual work was split across agents running in parallel: one on the landing page, one on chat, one on docs, one on MCP, one on the legal pages. Meanwhile, in the main session, I handled domain, DNS, email and payment review, the things that need dashboard logins.

Parallel work brought a very concrete problem. Two agents changed the same repo; one finished a feature on top of old code and nearly overwrote the other’s freshly shipped MCP UI at deploy time. So a new rule went in: before deploying, pull and merge main, and run the full test suite.

4. The rule for agents: if open source can do it, don’t hand-roll it

The most important line in every repo’s AGENT.md reads:

Using open-source libraries is the most efficient path. Before writing any module, look for a mature open-source implementation you can use or adapt.

Don’t hand-write what open source already does well, but only pick libraries that are commercially licensed (MIT / Apache-2.0 / BSD), maintained within the last 6 months, and widely used.

This rule is why 8 hours was enough. Take ownmem apart and every piece is an open-source component:

Function Open-source library
Web framework Next.js + OpenNext (deployed to Cloudflare Workers)
Sign-up and login Better Auth
Database Cloudflare D1 + Drizzle ORM
AI chat and tool calls Vercel AI SDK, models via OpenRouter
Local memory search Orama (index built in the browser)
Key derivation Argon2id (hash-wasm)
Recovery phrase BIP39 (@scure/bip39), the same standard crypto wallets use
Export bundling fflate
Docs site Fumadocs
MCP server Cloudflare’s agents SDK + workers-oauth-provider

Had the agents written all of this from scratch, a secure login system alone could eat a day, and might still be wrong. AI writes code fast, but the fastest code is the code you don’t write.

AGENT.md has a few more red lines:

  • Zero-knowledge is non-negotiable: no feature may give the server plaintext memory or keys.
  • Every price must make a profit: each charge accounts for cost and fees; no selling at a loss.
  • No overclaiming: every sentence on the site has to be true.

5. How the zero-knowledge encryption works

This is the biggest difference between ownmem and other “AI memory” products, so a few more words.

  1. Your passphrase goes through Argon2id in the browser to derive two keys: one to authenticate, one to encrypt.
  2. The data itself is encrypted with a randomly generated data key, using AES-256-GCM.
  3. That data key is wrapped with the passphrase-derived key and stored on the server next to the ciphertext.
  4. A separate 12-word recovery phrase is generated for when you forget your passphrase. Only you have those words.

The result: the server holds ciphertext only. Even as the admin, I can’t see what any user stores.

The cost has to be said plainly too: lose both the passphrase and the recovery phrase, and the data really is gone. Same logic as a hardware wallet.

6. Using memory: not stuffing everything into the model every time

This part reuses the design already proven in my own nest system:

  • Resident tier: a short resident.md with who you are and your preferences, included in every conversation.
  • On-demand tier: everything else lives in topic files; the model searches first, then opens the few that matter.
  • Search returns snippets, not whole files: cheaper and more accurate.
  • Users can open “view what was sent” to check exactly what went to the model.

Multi-device sync follows nest too: each device writes to its own area, and a “distill” step merges device notes into a shared layer. On conflict both versions are kept, and unsynced edits are never overwritten.

7. MCP: your memory in Claude, ChatGPT and Codex

A web chat alone isn’t enough. Many people live in Claude Code, Codex or ChatGPT, so there’s a remote MCP server:

claude mcp add --transport http ownmem https://mcp.ownmem.ai/mcp

The hard part: if it’s zero-knowledge, the server can’t decrypt your memory, so how does MCP read it?

Answer: your browser decrypts it. MCP requests are relayed to your open, unlocked ownmem tab, which decrypts and searches locally and sends back only the result snippets. The server relays; it doesn’t store content.

If you want agents to work with the tab closed, you can opt into “Agent share”: pick a few folders to keep on the server. That part is not zero-knowledge, and the UI says so explicitly.

8. Traps

1. Cloudflare’s 10 ms CPU cap on the free plan. After launch, /chat threw intermittent 1102 errors. The logs showed Next.js needing 8 to 25 ms of CPU per render, while the free plan allows 10 ms per request. After moving to the $5/month paid plan, 40 requests in a row all succeeded.

2. Multi-device sync conflicts. Using it on two devices myself, I quickly hit “edited here, never synced.” The fix: pull the latest whenever the page comes back to the foreground, the window gets focus, the network returns, or the vault is unlocked; only one tab per browser does the syncing; on conflict, keep both.

3. Forwarded mail landing in spam. The support inbox forwarded through Cloudflare to Gmail. Everything arrived, just all in spam. It now goes through an email Worker that forwards and keeps a copy, with a daily summary.

4. The model guessing file names. Asked “who am I,” the model tried to open a profile.md that didn’t exist. The fix: the system prompt only allows opening files that appear in the directory listing or search results, and the listing is handed to the model directly.

5. Automation can’t stop at “launched.” A few scheduled jobs now run on my machine: a promo post at a random time each hour, weekly competitor research, and every morning an automatic read of production errors that fixes them and opens a PR for my review.

9. Takeaways

  1. For a one-person product, the bottleneck is no longer writing code. It’s judgment: what to build, what not to, which version is better, which sentence is actually true.
  2. Rules beat prompts. One line, “if open source can do it, don’t hand-roll it,” is worth more than a long requirements essay.
  3. Don’t delegate acceptance to agents. An agent will say “done”; only clicking through it yourself tells you whether it really works.
  4. Shipping in 8 hours is only the start. The hard part now is the first real users and the first revenue.

ownmem is free to sign up and try: ownmem.ai.

If you’re tired of re-introducing yourself every time you switch AIs, give it a try. Questions go to support@ownmem.ai.