惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threatpost
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
T
Tailwind CSS Blog
The Cloudflare Blog
The Last Watchdog
The Last Watchdog
PCI Perspectives
PCI Perspectives
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
TaoSecurity Blog
TaoSecurity Blog
云风的 BLOG
云风的 BLOG
C
Cybersecurity and Infrastructure Security Agency CISA
O
OpenAI News
Recorded Future
Recorded Future
GbyAI
GbyAI
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Y
Y Combinator Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
量子位
博客园 - 叶小钗
V
Vulnerabilities – Threatpost
F
Full Disclosure
Recent Announcements
Recent Announcements
Vercel News
Vercel News
S
Schneier on Security
H
Heimdal Security Blog
Cisco Talos Blog
Cisco Talos Blog
V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
B
Blog RSS Feed
宝玉的分享
宝玉的分享
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Privacy & Cybersecurity Law Blog
T
Threat Research - Cisco Blogs
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
爱范儿
爱范儿
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
N
Netflix TechBlog - Medium
S
Security @ Cisco Blogs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyberwarzone
Cyberwarzone

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Your Agent Memory Is Trapped. Here's the Key.
Vektor Memor · 2026-05-01 · via DEV Community

You spent three days writing a migration script for 4,900 vectors. Then you switched vector DBs. You did it again.


Open any AI developer forum right now and you will find a specific kind of post. It goes like this:

"I finally got my agent running beautifully on Qdrant. Now the client wants Pinecone. There's no standard format. Anyone done this migration before?"

Forty replies. Twelve different scripts. Nine contradictory approaches. Someone posts a 200-line Python file they wrote at 2am that "mostly works." Someone else links to a Medium article from 2023 that references an API that no longer exists.

The developer reads all of it. Then writes their own script anyway.

This happens because every vector database speaks a different language. Pinecone's REST API looks nothing like Qdrant's. ChromaDB's Python client has no overlap with VEKTOR's SQLite schema. Weaviate wants HNSW parameters up front. pgvector lives inside Postgres. Each has its own metadata format, its own namespace concept, its own approach to embedding dimensions.

There is no JDBC for vector memory. There is no Parquet. There is no format that two vector stores have agreed to speak.

And right now, in 2026, with agents proliferating faster than the infrastructure to support them, this is quietly becoming one of the most expensive invisible problems in AI development.


The Real Cost Nobody Talks About

The migration script problem sounds like a one-time inconvenience. It isn't.

It recurs every time you change providers. Every time a new client has a different stack. Every time a better vector DB gets released and you want to move. Every time you need to back up your agent's memory to a format you can actually read.

The hidden cost compounds in three ways.

Re-embedding. When you move vectors from one store to another, you often have to re-embed everything from scratch because there's no guarantee the receiving store can consume the original vector format, or that the dimensions match, or that the metadata schema is compatible. Re-embedding 50,000 memories at $0.002 per 1K tokens adds up. And it introduces drift — your agent's memory shifts slightly every time you move it.

Context loss. The migration script approach rarely preserves everything. Metadata gets dropped. Namespace structure gets flattened. Timestamps get lost. You get the vectors but lose the graph of meaning that made them useful. Your agent restarts into a world where it has memories but not the structure that connected them.

Lock-in. The most dangerous cost of all. Once your agent memory is in a proprietary format, it stays there. Every hour of work you put into building a rich memory graph is work that deepens your dependency on whichever vendor currently holds your data.


Why This Is an Architecture Problem, Not a Tooling Problem

The instinct is to reach for better tooling. A better migration library. A better script template. A better LangChain integration.

This instinct is wrong.

The problem is architectural. There is no agreed interchange format for vector memory. Without one, every tool is a one-off bridge — useful exactly once, for exactly that combination of source and target, and immediately obsolete when either side changes its API.

What the ecosystem needed was what the database world figured out in the 1990s: a standard interchange format that any store could export to and any store could import from. A format that carries not just the vectors, but the text they were derived from, the metadata that contextualises them, the namespace they belong to, and the provenance information that makes the migration auditable.

That format didn't exist.

So we built it.


Introducing Vex and the .vmig.jsonl Format

Vex is an open-source CLI tool for exporting, importing, and migrating agent memory between vector stores. It ships with a growing connector library and a single open interchange format: .vmig.jsonl.

The format is deliberately simple. One JSON object per line. Every record carries:

{
  "id": "1234",
  "text": "Pepe trending #5 on CoinGecko (+2.0% 24h)",
  "vector": [0.021, -0.043, 0.018, "...384 floats"],
  "model": "bge-small-en-v1.5",
  "dims": 384,
  "namespace": "trading",
  "metadata": {
    "tags": "crypto,trending",
    "importance": 1.0,
    "agent_id": "default"
  },
  "created_at": "2025-01-15T10:23:00.000Z",
  "source_store": "vektor",
  "vex_version": "1.0.0"
}

Enter fullscreen mode Exit fullscreen mode

Three design decisions matter here.

Metadata is flat. Pinecone requires flat metadata. By making flatness the default, .vmig.jsonl is Pinecone-compatible out of the box, without any transformation step.

namespace is top-level. Not buried in metadata. Namespace is structural — it determines routing, not just description. Treating it as a first-class field makes namespace-aware migrations reliable.

text field is always included. This is the key that unlocks cross-model migration. If your vectors are in a 384-dim space and your target requires 768 dims, Vex falls back to re-embedding from the text field. The original content is always there as the source of truth.


What Migration Actually Looks Like

Three commands. That's it.

Export from VEKTOR to a portable file:

npx vex export --from vektor --db ./slipstream-memory.db --output memories.vmig.jsonl

Enter fullscreen mode Exit fullscreen mode

Import that file into Pinecone:

npx vex import --from memories.vmig.jsonl --to pinecone \
  --api-key $PINECONE_API_KEY \
  --index my-index \
  --host https://my-index-xxxx.svc.pinecone.io

Enter fullscreen mode Exit fullscreen mode

Or migrate directly without an intermediate file:

npx vex migrate --from vektor --to qdrant \
  --db ./memory.db \
  --url http://localhost:6333 \
  --collection memories

Enter fullscreen mode Exit fullscreen mode

The connector auto-detects the target index's embedding dimensions — querying Pinecone's index metadata or Qdrant's collection config — and filters records that don't match. No silent failures. No dimension mismatch exceptions at 3am.

Each export also produces a sidecar .vmig.meta.json:

{
  "exported_at": "2025-01-15T10:23:00.000Z",
  "source_store": "vektor",
  "source_version": "1.5.2",
  "record_count": 5026,
  "checksum": "sha256:abc123..."
}

Enter fullscreen mode Exit fullscreen mode

Auditable. Verifiable. The checksum tells you if anything changed between export and import.


The Connector Architecture

Each connector in Vex is a single file implementing two functions:

{ extract(opts), load(records, opts) }

Enter fullscreen mode Exit fullscreen mode

extract reads from the source and returns an array of .vmig records. load takes those records and writes them to the target. Everything else — batching, dimension filtering, retry logic, progress reporting — is handled by the Vex core.

Current connector status:

Connector Export Import Status
vektor 🔜 v0.1 Stable
jsonl Stable
pinecone 🔜 Tested — 4,900 vectors
qdrant 🔜 Tested — 3,917 vectors
chroma 🔜 🔜 Phase 2
weaviate 🔜 🔜 Phase 2
pgvector 🔜 🔜 Phase 2

The reference connector is connectors/qdrant.js. If you want to write a connector for a store not on this list, that's the file to read. PRs are open.


Why We Built This at VEKTOR

We built Vex because we kept running into our own problem.

VEKTOR Slipstream is a local-first semantic memory SDK for AI agents. It stores memories in SQLite with a self-organising 4-layer graph — semantic, causal, temporal, entity. It runs entirely on your machine. It has no cloud dependency.

The problem we kept hitting: users wanted to seed VEKTOR with memories they'd already built in other systems. Or they wanted to export a snapshot to Pinecone for a cloud deployment. Or they wanted a backup format they could actually read, not a binary SQLite blob.

We wrote the first migration scripts internally. Then we wrote them again for a different connector. By the third time, we had the architecture for Vex in our heads. So we extracted it, open-sourced it, and made it a standalone CLI.

The result: migrating 4,900 memories from VEKTOR to Pinecone is now a single command that completes in under 90 seconds.


The Bigger Picture

Vex is not just a migration tool. It's a claim about how agent memory infrastructure should work.

Agent memory should be portable. It should be readable by humans. It should be auditable — you should be able to open the file in a text editor and see what your agent knows. It should not be locked to a vendor's proprietary format.

The .vmig.jsonl format is our proposal for what a standard looks like. It's deliberately simple. It's deliberately open. And it's deliberately designed so that any developer can write a connector in an afternoon.

If you're building with vector memory — whether that's VEKTOR, Pinecone, Qdrant, or anything else — Vex gives you a safety net. Your memory is always exportable. Always portable. Always yours.


Getting Started

npm install -g vex
# or without installing:
npx vex --help

Enter fullscreen mode Exit fullscreen mode

Requires Node.js >= 18. No dependencies for Pinecone or Qdrant connectors — they use native fetch.

The repo is at github.com/minimaxa1/Vex — Apache 2.0, open to PRs, especially new connectors.

VEKTOR Slipstream — the local-first memory SDK that Vex was built alongside — is at vektormemory.com.


Vex is the open-source interchange layer for agent memory. The format is yours. The data is yours. That's the point.