Data Flow
Request lifecycle for NLQ queries and action validation
This page traces the complete lifecycle of the two primary operations: asking a question (read plane) and validating an action (write plane).
NLQ Query Flow (Read Plane)
When an agent asks "What is our monthly revenue by customer?":
If Validation Fails
At step 6, if the SQL validator rejects the query:
Action Validation Flow (Write Plane)
When an agent proposes salesforce.update_contact({contact_id: "123", amount: 50000}):
REWRITE Flow
If the constraint specifies a REWRITE instead of DENY:
Timing
Typical latencies:
| Step | P50 | P99 |
|---|---|---|
| Query routing | 2ms | 10ms |
| VQ matching | 5ms | 20ms |
| LLM generation | 800ms | 3000ms |
| SQL validation | 10ms | 50ms |
| SQL execution | 50ms | 500ms |
| Policy evaluation | 3ms | 15ms |
| Attestation write | 5ms | 20ms |
| SIEM enqueue | 2ms | 10ms |