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

推荐订阅源

T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Register - Security
The Register - Security
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
N
Netflix TechBlog - Medium
量子位
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
H
Help Net Security
D
Docker
D
DataBreaches.Net
T
Tailwind CSS Blog
阮一峰的网络日志
阮一峰的网络日志
B
Blog
博客园 - 聂微东
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
The Cloudflare Blog
F
Full Disclosure
GbyAI
GbyAI
F
Fortinet All Blogs
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
人人都是产品经理
人人都是产品经理
Recent Announcements
Recent Announcements
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
有赞技术团队
有赞技术团队
博客园 - 叶小钗
小众软件
小众软件
V
Visual Studio Blog
月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
Recorded Future
Recorded Future
J
Java Code Geeks
雷峰网
雷峰网
P
Privacy & Cybersecurity Law Blog
C
Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
AWS News Blog
AWS News Blog
Webroot Blog
Webroot Blog
美团技术团队
N
News | PayPal Newsroom
G
Google Developers Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
博客园_首页
V
Vulnerabilities – Threatpost

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
I Built a Decentralized Vector Database on Bittensor Because AI Memory Shouldn't Be Owned by Anyone
Divine Evna · 2026-05-20 · via DEV Community

AI agents forget everything.
Every session restart, every redeployment, every time you switch providers — gone. The fixes we've been handed are all centralized: Pinecone, Weaviate, Chroma Cloud, AWS OpenSearch. One API deprecation, one pricing change, one banned account away from losing your entire memory layer.
I built Engram because that's a bad foundation to build AI on.

What is Engram?
Engram is a decentralized vector database running on Bittensor subnet 450. It lets you store text, images, and PDFs as permanent, content-addressed vector embeddings — retrieved by incentivized miners, verified by cryptographic storage proofs, and archived on Arweave.
No AWS. No central authority. No single point of failure.
The core insight comes from IPFS: address data by what it is, not where it lives. Every embedding in Engram gets a SHA-256 content identifier (CID). The same input always maps to the same CID, forever — regardless of which miner is storing it.
v1::a3f9d2e8c7b14f09d6e3...
Same text in → same CID out. Always. That's content addressing.
The Problem With Centralized Vector Stores
If you're building RAG pipelines or AI agents with persistent memory, you're probably using one of:

Pinecone — proprietary, expensive at scale, you're locked in
Weaviate Cloud — solid tech, still centralized
Chroma / Qdrant — great self-hosted, but self-hosting isn't permanent

The deeper issue isn't pricing. It's trust. You're trusting a company to:

Keep your data available
Not change terms
Not go under
Not get acquired and sunseted

For personal projects, fine. For infrastructure that AI agents depend on long-term? That's a real risk.
How Engram Works
store("The transformer architecture changed everything.")


┌───────────────────────────────┐
│ CID: v1::a3f2b1c4d5e6f7... │
│ Embedding: [0.02, -0.14, ...]│
│ Stored on: miners 3, 7, 11 │
└───────────────────────────────┘

query("how does attention work?")


┌───────────────────────────────┐
│ score: 0.9821 cid: v1::a3f │
│ score: 0.8744 cid: v1::b2e │
│ score: 0.8291 cid: v1::c1d │
└───────────────────────────────┘
Ingest: You send text (or a pre-computed vector). Engram hashes it into a permanent CID using SHA-256. Identical input = identical CID, every time.
Route & Replicate: Kademlia XOR routing distributes the embedding to the right miners deterministically. The same CID always routes to the same set of miners.
Query: HNSW indexing (via FAISS and Qdrant) powers sub-50ms approximate nearest-neighbor search at scale.
Prove Storage: Validators issue HMAC-SHA256 challenge-response proofs. Miners must prove they actually hold the data, or get slashed. No bluffing.
The Incentive Layer
This is where Bittensor does the heavy lifting.
Miners earn TAO emissions based on a composite score calculated every 120 seconds:
composite_score = 0.50 × recall@10
+ 0.30 × latency_score # 1.0 at ≤100ms, 0.0 at ≥500ms
+ 0.20 × proof_success_rate
Miners who can't pass 50% of storage challenges get weight 0 — no emissions. This keeps the network honest without any central operator enforcing it.
Drop-in Replacement for Pinecone
The Python SDK is designed to feel familiar if you're coming from any centralized vector store:
pythonpip install engram-subnet
pythonfrom engram.sdk import EngramClient

client = EngramClient("http://127.0.0.1:8091")

Store text — returns a permanent CID

cid = client.ingest("The transformer architecture changed everything.")
print(cid) # v1::a3f2b1...

Semantic search

results = client.query("how does attention work?", top_k=5)
for r in results:
print(f"{r['score']:.4f} {r['cid']}")
LangChain:
pythonfrom engram.sdk.langchain import EngramVectorStore

store = EngramVectorStore(
miner_url="http://127.0.0.1:8091",
embeddings=your_embeddings
)
retriever = store.as_retriever(search_kwargs={"k": 5})
LlamaIndex:
pythonfrom engram.sdk.llama_index import EngramVectorStore

store = EngramVectorStore(miner_url="http://127.0.0.1:8091")
index = VectorStoreIndex.from_documents(
documents,
storage_context=StorageContext.from_defaults(vector_store=store)
)
Swap your vector store to Engram in one line. That's the goal.
The Stack

Rust core (PyO3) — CID generation and HMAC proof verification in compiled Rust. 10–50× faster than pure Python for these operations.
FAISS / Qdrant — HNSW approximate nearest-neighbor indexing
Kademlia DHT — XOR-distance routing. Deterministic. Same CID, same miners, every time.
Bittensor (TAO) — incentive layer, on-chain weight setting, TAO emissions
Arweave — permanent archival storage for embeddings
Next.js — the web dashboard and playground

Language breakdown: 59% Python, 37% TypeScript, 4% Rust.
Where We Are
Engram is live on testnet with active miners. Here's the current roadmap:
PhaseTimelineStatusLocal PrototypeQ1 2026✅ DoneTestnet AlphaQ2 2026🟡 In progressMainnet LaunchQ3 2026PlannedEcosystem (LangChain native, OpenAI-compat endpoint)Q4 2026PlannedScale & Moat (shared agent memory, cross-subnet querying)2027Planned
What I Need From the Dev Community
Three things:

  1. Miners. If you have a machine with 4GB RAM and 100GB SSD sitting around, you can run an Engram miner on testnet right now: bashgit clone https://github.com/Dipraise1/Engram.git cd Engram python3 -m venv .venv .venv/bin/pip install -r requirements.txt .venv/bin/pip install -e .
  2. Developers building RAG. If you're using Pinecone, Weaviate, or Chroma in a project and want to try swapping it out — the SDK is designed to make that painless. Try it and tell me what breaks.
  3. Feedback on the protocol. The scoring formula, the CID spec, the proof mechanism — all of it is open and I want eyes on it. Open an issue, start a discussion, or drop into the Discord. Links

🌐 Website: theengram.space
💻 GitHub: github.com/Dipraise1/Engram
🎮 Playground: theengram.space/playground
📊 Dashboard: theengram.space/dashboard
💬 Discord: discord.gg/ehpvsyTyJ
📦 Docs: theengram.space/docs

Built in public. MIT licensed. Feedback welcome.