ROUTING
Hybrid Search Layer
Custom intent classifier decides whether to invoke vector search, SQL generation, or both — based on query structure and keyword signals.
SEMANTIC
Vector DB
Operational data embedded and indexed for semantic similarity search. Enables conceptual queries that exact SQL cannot express.
EXACT RETRIEVAL
Dynamic SQL Engine
LLM translates natural language filters into validated SQL. Parameterized queries prevent injection. Handles joins, aggregations, and date ranges.
GROUNDING
Context Injection
Merged results formatted as structured context and injected into agent system prompt. Agents answer from live data — not stale training knowledge.
RUNTIME
Agentic AI Framework
Integrates with any LangChain or custom agent as a tool. Agents call the DML Brain like a function — query in, enriched context out.
BACKEND
Python
Core engine implemented in Python. Async query execution for parallel vector + SQL retrieval. Results merged in under 50ms for most queries.