Analytics / Query Agent

Ask in plain language.
Get a real answer.

"Who were our riskiest suppliers last month?" Analytics / Query Agent turns a question like that into a safe, constrained SQL or GraphQL query, runs it against your real data, and returns the answer — without ever exposing raw database access.

Query Translation
Plain-Language Insight
app.totalapp.app/core-agents/analytics-query-agent
Analytics / Query Agent
TotalApp
Query TranslationPlain-Language Insight
Ask in plain language. Get a real answer.Analytics / Query…
Query Translation
Query Translation
Translates natural language into SQL…
Never generates arbitrary queries…
Plain-Language Insight
Query results are summarized in plain…
RBAC and tenant scoping apply exactly…
Query Translation
Translates natural language into SQL…
Never generates arbitrary queries…
Plain-Language Insight
Query results are summarized in plain language…
RBAC and tenant scoping apply exactly as they…
Works alongside the 2-Tier Architecture — this is…
Query Translation
Translates natural language into SQL or GraphQL…
Never generates arbitrary queries outside what…
Plain-Language Insight
Query results are summarized in plain language…
RBAC and tenant scoping apply exactly as they…
Works alongside the 2-Tier Architecture — this is…
Analytics / Query…

Plain-language question…

Query results are…✓
RBAC and tenant scoping…✓
Works alongside the…✓
Try It in TotalApp
"Who were our riskiest suppliers last month?"…
Analytics / Query…
Query Translation
Plain-Language Insight
Query Translation
Plain-Language Insight
Analytics / Query Agent AI
"Who were our riskiest suppliers last month?" Analytics / Query Agent turns a question like that into a safe…
Try It in TotalApp
Plain-language question…Plain-Language Insight
Query Translation

Plain-language question,
constrained query out

The agent translates a natural-language question into SQL or GraphQL scoped to a predefined, safe query surface — never arbitrary database access, never a query outside what your schema and policies allow.

  • ✓
    Translates natural language into SQL or GraphQL against a defined safe query surface
  • ✓
    Never generates arbitrary queries outside what your schema and policies permit
  • ✓
    Ambiguous questions are clarified with a follow-up, not answered with a guess
  • ✓
    Query and result are both shown, so the answer can be verified, not just trusted
Read the guide
Natural language queryConstrained
Who were our riskiest suppliers last month?
Query: SELECT supplier, risk_score FROM suppliers WHERE … Scoped to the suppliers table only.
Show me the numbers.
Which numbers? A follow-up question comes back instead of a guess.
Query scope
Tablessuppliers only
AccessRBAC + tenant
ResultShown with query
Nothing else exposedOnly the suppliers table is reachable.
Plain-Language Insight

Numbers back,
explained in words

The raw query result is summarized back in plain language — not just a table dump — so the answer is immediately usable in a report, a meeting, or a follow-up decision.

  • ✓
    Query results are summarized in plain language, not just returned as raw rows
  • ✓
    RBAC and tenant scoping apply exactly as they would to any other data access
  • ✓
    Works alongside the 2-Tier Architecture — this is the exact-match retrieval half
  • ✓
    Every query logged for review of what was asked and what was returned
See 2-Tier Architecture
Insight summary3 flagged
Compliance gaps1
FLAGFlagged supplierCompliance gaps
Late deliveries1
FLAGFlagged supplierLate deliveries
Price volatility1
FLAGFlagged supplierPrice volatility
Verification
Full queryAvailable for verification
Shown
Raw resultBehind the summary
Shown
Query logWhat was asked and returned
Logged
Plain-language summary
3 suppliers flagged
Explained in words, not just rows
Log every query for review
Ready to shareDrop it into a report or forward it.
Why It Matters

Insight without a data team bottleneck

Anyone can ask a real question and get a real, verifiable answer from your own data.

Natural Language In

Ask a question the way you'd ask a colleague — no SQL knowledge required.

Constrained Query Surface

Never arbitrary database access — only what your schema and policies allow.

Plain-Language Answers

Results summarized in words, not just returned as a raw table dump.

Verifiable Every Time

The underlying query and raw result are always shown alongside the summary.