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

推荐订阅源

人人都是产品经理
人人都是产品经理
MyScale Blog
MyScale Blog
Y
Y Combinator Blog
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
V
Vulnerabilities – Threatpost
T
The Blog of Author Tim Ferriss
云风的 BLOG
云风的 BLOG
Recorded Future
Recorded Future
N
News and Events Feed by Topic
B
Blog RSS Feed
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 【当耐特】
N
Netflix TechBlog - Medium
博客园 - 叶小钗
B
Blog
Vercel News
Vercel News
T
Tenable Blog
T
The Exploit Database - CXSecurity.com
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Last Week in AI
Last Week in AI
F
Fortinet All Blogs
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Microsoft Security Blog
Microsoft Security Blog
S
Securelist
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Palo Alto Networks Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
D
DataBreaches.Net
Cyberwarzone
Cyberwarzone
Engineering at Meta
Engineering at Meta
Martin Fowler
Martin Fowler
G
GRAHAM CLULEY
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
A
Arctic Wolf
C
CERT Recently Published Vulnerability Notes
L
LangChain Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
Check Point Blog
A
About on SuperTechFans
W
WeLiveSecurity
The GitHub Blog
The GitHub Blog

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
Data Architectures Powering Agentic AI
Agbo, Daniel Onuoha · 2026-06-03 · via DEV Community

From semantic layers and knowledge graphs to vector search, modern data platforms, and real-time pipelines — here's the infrastructure beneath the intelligence.

The headline of 2025–2026 is not the model. It's the agent. Large language models proved that machines can reason. Agentic AI proves they can act — plan multi-step tasks, call tools, observe results, and adapt without a human in the loop.

But here's the architectural truth nobody tweets about: a brilliant agent grounded in bad data is just a confident liar. The data infrastructure beneath an agentic system determines whether it produces trustworthy decisions or expensive hallucinations. Traditional data architectures — built for dashboards and batch queries — are fundamentally ill-equipped for the fluid, latency-sensitive, multi-source demands of autonomous agents.

This article breaks down every layer of a production-grade agentic data stack, with reference architectures you can actually build.

What Makes Agentic AI Different

A standard LLM application fires one request and gets one response. An agentic system fires chains of requests, each depending on the last — querying databases, reading APIs, executing code, writing to systems of record, and looping back for context.

This changes data infrastructure requirements fundamentally:

  • Latency shifts from "acceptable in seconds" to "must respond in milliseconds" — agents make dozens of data calls per task
  • Freshness is non-negotiable — a stale risk score or outdated inventory count produces a wrong action, not just a wrong answer
  • Governance becomes critical — agents act autonomously, so every data access must be scoped, audited, and revocable
  • Context continuity requires storing and retrieving evolving state across multiple turns and tool calls

The data stack must stop being passive storage and become an active, governed reasoning substrate.

Layer 1 — The Semantic Layer (What Data Means)

Raw databases are unreadable by agents. A column named amt_usd_cr_adj means nothing to an LLM — and if the agent guesses wrong, every downstream action is corrupted.

The semantic layer solves this by translating raw data into machine-readable business context: what each field means, how metrics are calculated, which datasets relate to which entities. It maps complex data into familiar business terms — product, customer, revenue, risk — offering a unified view across an organization's entire data estate.

Key components of a semantic layer for agents:

  • Virtual datasets: Clean, business-aligned views that hide raw table complexity from the agent
  • Column-level documentation: Human-readable descriptions LLMs use to understand field semantics
  • Pre-defined metrics: Aggregations (revenue, DAU, churn rate) agents invoke by name rather than recalculating each time
  • Business rules: Hierarchy definitions, relationships, and domain logic made machine-readable

Without this layer, agents reverse-engineer table semantics from raw column names and data distributions — a brittle approach that produces hallucinations at scale.

# Example: Semantic Layer Metadata (dbt / Dremio style)
table: transactions
columns:
  - name: amt_usd_cr_adj
    description: "Credit-adjusted transaction amount in USD after refunds"
    semantic_type: currency
    metric: true
  - name: user_id
    description: "Unique identifier for the user who initiated the transaction"
    semantic_type: entity_key
    joins_to: users.id

Layer 2 — Knowledge Graphs (How Data Connects)

If the semantic layer tells an agent what data means, the knowledge graph tells it how everything relates. Knowledge graphs model entities — users, products, transactions, events — as nodes and their relationships as edges, enabling agents to traverse multi-hop reasoning paths that flat tables cannot express.

The key differentiator from a relational database is inference: knowledge graphs built on W3C's Resource Description Framework (RDF) stack can derive new facts from existing ones using formal reasoning via OWL ontologies and SHACL validation constraints. This makes them ideal as a grounding layer for LLMs — providing structured, verifiable facts that anchor generative responses to reality.

GraphRAG combines the best of both approaches: vector-based retrieval finds semantically relevant chunks, while the knowledge graph provides structured, relationship-aware context for precise reasoning. Research on a hybrid RAG-KG framework (RAG-KG-IL) demonstrated that integrating knowledge graphs with RAG significantly reduces hallucination rates and improves answer completeness and reasoning accuracy compared to RAG-only baselines. In clinical question answering specifically, an ontology-grounded knowledge graph framework achieved 98% accuracy and reduced hallucination rates from ~63% (ChatGPT-4) to just 1.7%.

Knowledge Graph Traversal Example:

User:John → PLACED → Order:4821
Order:4821 → CONTAINS → Product:SKU-991
Product:SKU-991 → MANUFACTURED_BY → Vendor:Acme
Vendor:Acme → IS_FLAGGED → Risk:HIGH

Agent query: "Should I approve John's refund?"
Graph traversal reveals vendor risk → agent triggers manual review

Graph-based approaches also deliver massive efficiency gains: experiments in financial document retrieval showed an 80% decrease in token usage and a 734-fold reduction in token consumption for contradiction detection compared to conventional RAG methods. [

Layer 3 — Vector Search (How Data Is Retrieved)

Not all knowledge fits neatly into a relational schema or a knowledge graph. Unstructured content — documents, emails, support tickets, product descriptions, conversation history — is best represented as embeddings: high-dimensional vectors encoding semantic meaning. Vector search finds the most semantically similar content to a query, enabling agents to retrieve relevant context even when exact keywords don't match.

A production vector search pipeline has three phases:

1. Ingestion and Preprocessing

  • Chunk large documents into sentence or paragraph-level units
  • Attach metadata (timestamps, source, entity IDs) for hybrid filtering
  • For real-time content, stream into the pipeline via Kafka

2. Embedding and Indexing

  • Generate embeddings using open-source models (BAAI/bge-small-en, all-MiniLM-L6-v2) or commercial APIs
  • Store embeddings with metadata in a vector-capable database (Milvus, Pinecone, Qdrant, pgvector, Redis with RediSearch)
  • Build Approximate Nearest Neighbor (ANN) indexes for sub-second retrieval at scale

3. Query Execution

  • Convert user query to a vector using the same embedding model
  • Run hybrid search: vector similarity + metadata filters (e.g., userId = X AND timestamp > T)
  • Optional reranking with cross-encoders or LLM-based relevance scoring
// Hybrid vector + metadata search (pseudo-code)
const results = await vectorDB.search({
  embedding: await embed(userQuery),
  filter: { userId: currentUser.id, type: "support_ticket" },
  topK: 5,
  metric: "cosine"
});

Where to store vectors: For agents that also need session state and rate limiting (see the Redis article), Redis's RediSearch module lets you store embeddings alongside session data in one system, reducing infrastructure complexity. For massive-scale retrieval, dedicated databases like Milvus or Qdrant with HNSW indexes deliver better throughput.

Layer 4 — The Modern Data Platform (Where Data Lives)

Fragmented data silos are the single biggest blocker to agentic AI in production. An agent that must authenticate to five separate systems — a data warehouse, an S3 bucket, a PostgreSQL instance, a third-party API, and a Redis cache — is slow, brittle, and impossible to govern.

The Agentic Lakehouse is the emerging answer: a unified data platform built on open formats that any agent or compute engine can query.

The four pillars of an agentic data platform:

Pillar Technology Role
Open Storage Apache Iceberg on S3/GCS Single source of truth, versioned snapshots
Catalog & Governance Apache Polaris / Unity Catalog Agent discovery, access control, audit
Semantic Layer Dremio / dbt Metrics / Cube Business context, metric definitions
Query Engine Trino / Dremio / Spark Sub-second query execution for agent loops

Apache Iceberg's immutable, versioned snapshot model is particularly valuable for agentic workflows: an agent can pin to a specific snapshot and execute multi-step reasoning against a consistent data state, even as the underlying table evolves in parallel.

The Model Context Protocol (MCP) is rapidly becoming the standard integration layer between AI agents and data platforms. MCP servers expose catalog operations — list tables, describe schemas, execute queries — as tools that LLMs invoke natively, without requiring custom connector code for every data source. An open lakehouse with an MCP interface gives agents a governed, self-describing analytical substrate that scales to thousands of parallel agent workloads.

Agentic Lakehouse Architecture:

[AI Agent]
    ↓ MCP (list_tables, describe, query)
[Apache Polaris Catalog] ← governance, auth, audit
    ↓
[Apache Iceberg Tables on S3]
    ↑ query
[Dremio / Trino] ← semantic layer + reflections
    ↑ metadata
[dbt Semantic Layer] ← metric definitions, docs

Layer 5 — Real-Time Streaming Pipelines (How Data Flows)

Agents operating on stale data make wrong decisions. A fraud detection agent that reads yesterday's transaction patterns will miss today's attack. A personalization agent working from last week's catalog misses sold-out inventory. Real-time pipelines close the gap between when data is generated and when agents can act on it.

Apache Kafka + Apache Flink have emerged as the backbone of real-time agentic data pipelines. Kafka ingests event streams at millions of events per second across distributed partitions; Flink processes those streams with stateful, exactly-once semantics. Together they enable pipelines that can ingest, transform, and route data with the reliability guarantees agentic workloads demand.

Confluent has advanced this further with Streaming Agents — event-driven agents built natively as Flink jobs that run inside the data stream itself. Rather than polling a database, these agents receive events the moment they are produced, maintain state across event windows, and invoke LLM inference inline via ml_predict in Flink SQL.

Real-Time Agentic Pipeline:

[Event Sources]           [Stream Processing]        [Agent Context]
Transactions   →  Kafka  →  Flink (enrichment,   →  Redis (hot state)
User Activity  →  Kafka  →  windowing, joins)    →  Vector DB (embeddings)
Sensor Data    →  Kafka  →  Flink (anomaly       →  Lakehouse (cold store)
API Events     →  Kafka  →  detection)           →
                                ↓
                         [Agent Trigger]
                         Alert / Recommendation / Action

Netflix uses Kafka and Flink to power its real-time personalization engine at scale — agents analyze continuous, multi-source event flows to detect trends and take preemptive action rather than processing single events in isolation.

Key streaming design patterns for agents:

  • Event-time processing over ingestion-time: Process events relative to when they occurred, not when they arrived — critical for accurate windowed aggregations
  • Stateful joins: Enrich transaction events with user profile state in-stream, so the agent receives a fully contextualized payload
  • Exactly-once semantics: Prevent double-counting in critical pipelines (payments, inventory) using Kafka transactions and Flink checkpoints
  • Watermarking: Handle late-arriving events gracefully without blocking the pipeline

Putting It All Together: Reference Architecture

Here is the full stack for a production agentic AI system — the kind that powers a fintech fraud agent, an e-commerce recommendation engine, or an AI-assisted support platform:

┌─────────────────────────────────────────────────────────────┐
│                        AI AGENT LAYER                        │
│         [Orchestrator]  →  [Tool Calls]  →  [Actions]        │
└────────────────────────┬────────────────────────────────────┘
                         │ MCP / REST / gRPC
┌────────────────────────┼────────────────────────────────────┐
│                  DATA ACCESS LAYER                           │
│  [Semantic Layer]   [Vector Search]   [Knowledge Graph]      │
│  Dremio / dbt       Redis/Milvus       GraphDB / Neo4j       │
└────────────────────────┬────────────────────────────────────┘
                         │
┌────────────────────────┼────────────────────────────────────┐
│               UNIFIED DATA PLATFORM                          │
│  [Iceberg Tables]   [Catalog + Governance]   [Hot Cache]     │
│  Apache Iceberg     Apache Polaris            Redis           │
└────────────────────────┬────────────────────────────────────┘
                         │
┌────────────────────────┼────────────────────────────────────┐
│               REAL-TIME INGESTION                            │
│  [Event Streams]    [Stream Processing]   [CDC / Webhooks]   │
│  Apache Kafka       Apache Flink           Debezium           │
└─────────────────────────────────────────────────────────────┘

The Anti-Patterns to Avoid

No architecture article is complete without the failure modes. Here are the most common mistakes teams make when building agentic data infrastructure:

  • No semantic layer → fragile prompts. Agents that interpret raw column names hallucinate column semantics. Document everything the agent will query.
  • Flat RAG without a knowledge graph. Vector search finds similar text; it does not traverse relationships. Multi-hop reasoning (vendor → risk → decision) requires graph traversal.
  • Polling databases from agents. Agents that poll a PostgreSQL table for new events add latency and load. Kafka push semantics are always preferable.
  • Shared credentials for agents. Every agent should receive scoped, short-lived credentials from the catalog's credential vending API — never shared cloud keys.
  • No snapshot pinning in multi-step analysis. An agent that reads the same table twice across a multi-step task may get different results if the table is updated mid-run. Pin to an Iceberg snapshot.
  • Ignoring observability. Agents make many data calls. Instrument every query with trace IDs, latency metrics, and cache hit rates — otherwise debugging a wrong agent decision is nearly impossible.

Conclusion

The model is a reasoning engine. The data stack is the world it reasons about. A well-architected agentic data platform layers semantic understanding (so agents know what data means), graph-based relationships (so agents know how entities connect), vector retrieval (so agents find relevant context fast), a governed lakehouse (so agents operate on a single, auditable source of truth), and real-time pipelines (so agents act on current signals, not stale snapshots).

Agentic AI will not fail because models get dumber. It will fail because the data infrastructure beneath the model was designed for analysts running quarterly reports — not for autonomous agents firing hundreds of governed data calls per minute. The teams that invest in the data layer now will be the ones whose agents are trusted enough to act.

Building agentic data infrastructure? The stack described here maps cleanly to AWS (Glue + S3 + Bedrock), GCP (BigQuery + Vertex + Dataflow), or a fully open-source deployment (Iceberg + Polaris + Flink + Milvus + Redis). The principles hold regardless of vendor choice.