Inspiration

Imagine recording a message for your child to receive on their 18th birthday. Or leaving final words for loved ones. Or preserving family stories for future generations. These are the most intimate, precious moments of our lives.

Now imagine that message being:

  • Sold to AI training companies without your consent
  • Analyzed by algorithms to build psychological profiles
  • Accessed by corporations for targeted advertising
  • Seized by governments through legal orders
  • Lost forever when the company shuts down

This is the reality of centralized digital storage in the age of AI.

We're living through a gold rush where our most personal data - our voices, our faces, our stories - is being harvested to train AI models worth billions. Companies promise privacy, but their terms of service tell a different story. Your "private" messages become training data. Your memories become commodities.

I asked myself: What if we could send messages to the future where even I, the developer, cannot access them? Where no company can sell them? Where no AI can train on them?

This question led me down a rabbit hole of cryptography, blockchain consensus, and decentralized storage. The answer became Lockdrop.

⚡ The Next Chapter: Agentic State Continuity (MCP)

During our final integration phases, we realized a profound truth: AI agents suffer from the exact same fragility and privacy violations as humans.

Currently, developers building AI agents are forced to send highly sensitive agent memory and user context to centralized cloud vector databases (like Zep or Mem0). This introduces massive 500ms+ latency and exposes highly confidential user data to third parties.

We decided to solve this. We took our battle-tested cryptographic infrastructure and expanded it. Sovseal is now the ultimate Agentic State Continuity Infrastructure.

We built and shipped a Zero-Knowledge, Local-First MCP (Model Context Protocol) Server that lets AI agents remember everything entirely on your own machine.

The Math is Simple:

  • Want to decrypt early? Break AES-256 encryption (computationally impossible - would take 3.67 × 10^51 years)
  • Want to change the unlock time? Control 51% of Polkadot's validator stake (economically impossible)
  • Want to keep your AI agents secure? Run our local vector server (0 cloud data leaks)

The Vision is Profound: In a world where AI companies scrape everything, where privacy is a marketing term, where your data is the product - Sovseal offers something radical: true digital sovereignty. For humans, and for the AI assistants that serve them. Guaranteed by mathematics, not corporate promises.


What it does

Sovseal provides two distinct layers of state permanence:

1. Human Memory Layer (Lockdrop)

Create time-locked audio/video messages with mathematical privacy guarantees.

  • Record or upload a video message.
  • Set an unlock date.
  • Specify a recipient's wallet address.
  • The media is encrypted entirely client-side using Web Crypto API and pushed to IPFS via Storacha Network, with metadata stored on Passet Hub.

2. AI Agent Memory Layer (Local MCP Server)

A high-performance Model Context Protocol (MCP) server that gives Claude Desktop, Cursor, or your custom agents local-first semantic memory.

  • Zero Cloud Leakage: All vector embedding math is run locally.
  • Micro-Second Latency: Retrieves contextual memory in < 10ms using local vector lookup.
  • Zero Server Costs: Run indefinitely on your own local hardware for $0.

How we built it

Tech Stack:

  • Frontend & App: Next.js 14 + TypeScript (strict mode) + Tailwind CSS
  • AI Memory Server: Model Context Protocol (MCP) + LanceDB (local vector storage) + Transformers.js (on-device embeddings)
  • Blockchain: Solidity 0.8.20 on Passet Hub testnet via pallet-revive (PolkaVM)
  • Contract Address: 0xeD0fDD2be363590800F86ec8562Dde951654668F (Passet Hub Testnet)
  • RPC: ethers.js v6 for Ethereum-compatible JSON-RPC
  • Storage: Storacha Network (IPFS with email-based UCAN auth)
  • Crypto: Web Crypto API (AES-256-GCM, RSA-OAEP)
  • Wallets: Talisman & MetaMask via EIP-1193

Key Implementation - On-Device AI Embedding & Vector Store:

// packages/mcp-server/src/local/db.ts
import { connect } from '@lancedb/lancedb';
import { pipeline } from '@xenova/transformers';

export class LocalMemoryStore {
  private db: any;
  private embedder: any;

  async init() {
    this.db = await connect('~/.sovseal/db');
    // Run embedding model entirely on the local machine
    this.embedder = await pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2');
  }

  async storeMemory(content: string, metadata: object) {
    const output = await this.embedder(content, { pooling: 'mean', normalize: true });
    const vector = Array.from(output.data);

    const table = await this.db.openTable('agent_memories');
    await table.add([{ vector, content, timestamp: Date.now(), ...metadata }]);
  }
}

Built With

  • ether-js
  • foundry
  • ipfs
  • lancedb
  • local-llm
  • metamask
  • model-context-protocol
  • next-js
  • pallet-revive
  • passet-hub
  • polkadot
  • react
  • solidity
  • sqlite
  • storacha
  • tailwindcss
  • talisman
  • transformers-js
  • typescript
  • vector-database
  • web-crypto-api
Share this project:

Updates

posted an update

Inspiration

We didn't start with a grand vision for AI; we started by scratching our own itch.

While building autonomous AI agents over the last few months, we hit a wall. Every time we wanted our agents to remember context across sessions, we had to send their memory to centralized cloud vector databases like Zep or Mem0.

Watching our own pipelines, we saw three massive problems:

  1. The Latency Penalty: Every single memory retrieve took around 500ms over the cloud, completely stalling the agent's prompt loop.
  2. The Cost: Running a small fleet of agents with memory cost us $25-$100/month just for hosted vector lookups.
  3. The Privacy Block: Claude's safety stack actively flagged and refused to process memory updates when we tried to send sensitive context or API keys to third-party databases.

Cloud-hosted agent memory felt like a design flaw. Latency was killing execution, cost was preventing scaling, and privacy was a blocker. We realized we needed to build a fully local alternative.


What it does

We took our battle-tested cryptographic infrastructure and expanded it. Sovseal now provides two distinct, local-first state layers:

1. The AI Context Layer (Local MCP Server)

A Model Context Protocol (MCP) server that gives your AI agents instant, local semantic memory.

  • < 10ms Latency: Embeds and recalls agent memories instantly by running the vector math entirely on your machine.
  • $0 Server Costs: Because the compute is local, there are no API keys to manage and no monthly bills to pay.
  • Safety Aligned: We engineered the prompt framework to be fully transparent, completely bypassing the safety refusals triggered by covert cloud-syncing.

2. The Human Memory Layer (Lockdrop)

Our original client-side cryptographic vault for time-locking messages and sensitive assets.

  • Mathematical Guarantees: Media is encrypted with AES-256-GCM before it ever leaves your device.
  • Decentralized Persistence: Encrypted payloads live on IPFS via Storacha, with unlock times permanently enforced by Solidity smart contracts on the Passet Hub blockchain.

How we built it

Core Engine Specs:

  • Local Embedding Pipeline: On-device vector math via @xenova/transformers (running the all-MiniLM-L6-v2 model) and @lancedb/lancedb in Node.js.
  • Smart Contract Layer: Solidity 0.8.20 compiled to PolkaVM bytecode, deployed on Passet Hub testnet via pallet-revive (0xeD0fDD2be363590800F86ec8562Dde951654668F).
  • Storage & Web Stack: Next.js 14, Web Crypto API, and Storacha Network.

Key Implementation - Local Embedding & Retrieval

To completely bypass cloud latency, we built the embedding pipeline to run locally within the Node.js runtime.

// packages/mcp-server/src/local/db.ts
import { connect } from '@lancedb/lancedb';
import { pipeline } from '@xenova/transformers';

export class LocalMemoryStore {
  private db: any;
  private embedder: any;

  async init() {
    this.db = await connect('~/.sovseal/db');
    // Load the embedding model locally into memory (80MB footprint)
    this.embedder = await pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2');
  }

  async storeMemory(content: string, metadata: object) {
    const output = await this.embedder(content, { pooling: 'mean', normalize: true });
    const vector = Array.from(output.data);

    const table = await this.db.openTable('agent_memories');
    await table.add([{ vector, content, timestamp: Date.now(), ...metadata }]);
  }
}

Log in or sign up for Devpost to join the conversation.

posted an update

Inspiration (The Mom Test: Anchored to Observed Reality)

We did not start with an aspirational idea. Instead, we spent months building autonomous AI agents and monitoring our developer pipelines. We watched what actually happened when integrating existing agent memory frameworks (like Mem0 or Zep):

  1. The Latency Penalty: Every single semantic memory retrieval took between 450ms and 700ms over cloud APIs. This stalled the agent's prompt loop, creating a sluggish user experience.
  2. The Cost Barrier: Running a small fleet of 10 active agents with cloud memory cost between $25 and $100/month just for hosted vector lookups.
  3. The Security Red Line: Highly confidential developer context, system instructions, and user API keys were being transmitted in plaintext to third-party databases.
  4. Safety Refusals: Direct testing in Claude Desktop proved that the safety stack actively flags and refuses memory updates when framed via covert or third-party cloud-handling APIs.

We realized the core problem: Cloud-hosted agent memory is a design flaw, not a feature. Latency kills agent execution, cost prevents scaling, and privacy concerns are a blocker for enterprise adoption.

We built Sovseal to drive the developer cost, setup latency, and security risk of agent memory to absolute zero.


The Value Equation ($100M Offer Architecture)

We structured Sovseal to maximize value by optimizing the four variables of the Value Equation:

$$\text{Value} = \frac{\text{Dream Outcome} \times \text{Perceived Likelihood of Achievement}}{\text{Time Delay} \times \text{Effort & Sacrifice}}$$

1. The Dream Outcome (What you get)

  • For AI Agents: Permanent, cross-session semantic memory with < 10ms retrieval latency and zero data leakage.
  • For Humans: Cryptographically secure, time-locked media and data vaults that survive even if the developer's servers shut down.

2. Perceived Likelihood of Achievement (The Proof)

  • Zero Third-Party APIs: All vector embedding calculations and database operations run entirely on your local machine.
  • Local Vector Engine: Uses LanceDB (local vector storage) and Transformers.js (on-device MiniLM embeddings) running locally in the Node.js runtime.
  • Verified Codebase: 102 passing automated unit and integration tests validating the cryptographic and local database layers.

3. Time Delay (Setup Speed)

  • Time to value: < 5 seconds.
  • No cloud accounts, no email sign-ups, and no billing setups. You run one command: npx @sovseal/mcp-server

4. Effort & Sacrifice (Cost & Friction)

  • Financial Cost: $0 forever.
  • Operational Friction: Zero API key management. Zero network dependency. Works entirely offline.

What it does

Sovseal provides two distinct, local-first state layers:

Layer A: The AI Context Layer (Local MCP Server)

A high-performance Model Context Protocol (MCP) server that embeds and recalls agent memories instantly.

  • On-Device Math: Compiles your text memory, generates semantic embeddings locally, and queries the database on your hard drive.
  • Transparent Flow: Replaces adversarial or "covert" database write instructions with transparent updates to prevent Claude's safety stack from triggering.
  • Frictionless Integration: Native support for Claude Desktop, Cursor, and custom TypeScript SDK pipelines.

Layer B: The Human Memory Layer (Lockdrop)

A client-side cryptographic vault for time-locking messages and sensitive assets.

  • Client-Side Cryptography: Browser generates a unique AES-256-GCM key. Media is encrypted entirely before leaving your device.
  • Decentralized Persistence: Encrypted payloads are pushed to IPFS via Storacha. Unlock conditions and metadata are permanently enforced via Solidity smart contracts on Polkadot's Passet Hub blockchain.

How we built it

Core Engine Specs:

  • Local Embedding Pipeline: On-device vector math via @xenova/transformers (running the all-MiniLM-L6-v2 model) and @lancedb/lancedb in Node.js.
  • Smart Contract Layer: Solidity 0.8.20 compiled to PolkaVM bytecode, deployed on Passet Hub testnet via pallet-revive (0xeD0fDD2be363590800F86ec8562Dde951654668F).
  • Storage & Web Stack: Next.js 14, Web Crypto API (AES-256-GCM, RSA-OAEP), and Storacha Network (IPFS with UCAN authorization).

Key Implementation - Local Embedding & Retrieval

This code runs entirely on-device, bypassing all external API latency:

// packages/mcp-server/src/local/db.ts
import { connect } from '@lancedb/lancedb';
import { pipeline } from '@xenova/transformers';

export class LocalMemoryStore {
  private db: any;
  private embedder: any;

  async init() {
    this.db = await connect('~/.sovseal/db');
    // Load the embedding model locally into memory (80MB footprint)
    this.embedder = await pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2');
  }

  async storeMemory(content: string, metadata: object) {
    const output = await this.embedder(content, { pooling: 'mean', normalize: true });
    const vector = Array.from(output.data);

    const table = await this.db.openTable('agent_memories');
    await table.add([{ vector, content, timestamp: Date.now(), ...metadata }]);
  }
}

Log in or sign up for Devpost to join the conversation.