SAM.AI
ENTERPRISE · AI · AGENCY
SAM.SEHGAL / INDEX
§01 Work
§02 Stack
§03 Practice
§04 About
CET —
● AVAILABLE
§01 WORK
/
03 · ENTERPRISE SQL AGENT
SHIPPED
←
BACK TO WORK
● AI · 03 / 13
Enterprise SQL Agent
Ask your database anything in plain English.
2.96M
ROWS PROCESSED
<2s
QUERY RESPONSE
Zero
SQL NEEDED
INDUSTRIES
Any industry with a SQL database
§ ARCHITECTURE
How it fits together.
CLICK A NODE TO INSPECT →
User Query
Natural language
Query Gen
StateGraph
Risk Scorer
3-tier
Human Approve
Risky only
Executor
Parameterized
Cache
MD5 dedup
Database
2.96M rows
SYSTEM OVERVIEW
LangGraph StateGraph with conditional routing, 3-tier risk classification, human-in-the-loop for risky queries, and MD5 cache dedup.
FOR YOU
You have a relational database and want anyone to query it safely in natural language.
§ CAPABILITIES
Natural-language querying
01
Risk classification
02
Human-in-the-loop
03
Thread-isolated memory
04
§ IN DETAIL
a.
StateGraph with conditional routing
b.
3-tier risk classification with automatic escalation
c.
Human-in-the-loop for destructive queries
d.
Sub-2s cached repeat queries
← PREVIOUS
AutoRAG
NEXT →
Real-Time Data Fabric