Agent: ask about your data
What the Agent is
The Agent answers a question about your data in words. It finds the tables you may see that match the
question, reads their documentation, runs read-only queries as you, then writes the answer with the
tables and the SQL behind it. When the model cannot call tools, it writes one read-only SQL statement
instead, which Nova checks with EXPLAIN as you and never runs — you run it from the SQL editor.
- What it sends — your question, and the name, description, tags, owner, domain, How to use this table guide and column names and descriptions of at most five candidate tables. The model is told to follow a guide.
- What the model sees of your data — the candidate tables' documentation and the results of the
Agent's read-only queries. A query result carries rows only when the endpoint's administrator set
spec.sendRows(off by default); until then the model gets the columns and the row count, never the values, and a pipeline task's log reaches it only as its line count (models). The endpoint's key is never sent.
After a model, a guide or a schema changes, an eval asks questions whose answers are known and says whether they still pass.
What it needs
An administrator connects a model endpoint with purposes: [ask] and waits until its
probe answers Ready. That is the whole switch: there is no separate Agent setting.
When no endpoint is both Ready and asked for the ask purpose, Nova does not show the button. Nova
gives the question to the first such endpoint in name order. An administrator sees each endpoint's probe
result on Admin → Models.
Ask a question
Agent (✦ Agent) sits in the top bar, left of Apps, and ⌘J / Ctrl+J opens and closes it from any
page. On a wide screen the panel opens at 420 px. Drag its left edge to make it wider, up to 960 px or as
much as the window leaves. Your browser remembers the width. Wider and Narrower in its header
jump between the two ends, and a double click on the edge puts it back to 420 px. On a phone it takes the
whole screen.
Type the question in the box at the bottom, or pick one of the example questions the panel offers for
the tables you read. Enter sends it, and Shift+Enter starts a new line; the box grows up to eight
lines. While the Agent works, each step appears the moment it returns, with a one-line summary,
followed by working… <s> s. Stop, in place of the send button, ends the question and marks it
Stopped.
Your next message continues the conversation. The Agent sees your last 10 questions and its answers in words since New question, so "and per month?" or "why that table?" works after any answer. In SQL mode, a follow-up refines the last statement, as before. New question, under the box, starts over.
↑ in an empty box recalls your last question. Escape closes the panel.
Full screen
Open full screen in the panel's header opens the Agent at /agent and takes the conversation
along, so your next question continues it. The page is one conversation column with History
beside it, where New conversation starts over. On a phone, History in the page header opens it
as a drawer. Answers look the same as in the panel.
Under the box, Managed pod shows your own agent pod: its state (not running, Pending, Running,
Stopped or Failed, with the reason) and how long it waits without a call before it stops. Start
starts it with the model you chose, and Stop stops it. It runs as you and nobody else. Where an
administrator has not set up managed pods, the line does not appear; administrators see the reason instead.
Choose the model
The model line at the foot of the panel is a select: Auto, the default, or one of the ready endpoints.
Under it the panel says where your prompts go: cloud · prompts leave your cluster,
on-premise · prompts stay here, or on Auto may use a cloud model · prompts may leave your cluster when any
ready endpoint runs at a provider.
Auto ranks the ready endpoints by how well they passed this catalog's evals over the
last 30 days. If the first fails upstream (no answer, an error, a provider's rate limit, or an answer
not in the expected shape), it asks the next one, once. Your own spent budget is never a reason to fall
back. Each answer says answered by <model>, and after a fallback after <endpoint> failed. This
browser keeps your choice.
History
History in the panel's header lists your conversations: pinned ones first, then the one with the newest
turn. Each row shows the first question, how many turns the conversation holds and how long ago its last
turn was (2 turns · 4 h ago).
Open one and every turn comes back: the answer in words, the steps it took, its statement, any Not run
draft, and any proposal with what became of it: Ran as you, Rejected — nothing ran,
Failed — the engine refused it, or Expired — nothing ran when its 15 minutes passed undecided. A
proposal still open can be approved from there. Opening it does not ask the model and does not run SQL.
Query results are not kept, so a step shows what it did but not its rows. Your next question continues that
conversation, and New question starts a new one.
Each row has Pin and Delete. A pinned conversation is listed first, under Pinned, and is kept
for good. It does not count toward the 20, and you can pin at most 20. Pinning a 21st answers at most 20 conversations can be pinned; unpin one first. Delete asks Delete this conversation? in the row:
Delete removes it, Cancel keeps it. You can pin and delete only your own conversations.
The list is yours: another person does not see your questions. An installation without a state store shows the API's sentence instead of a list.
Empty, the list says No questions yet.
What comes back
When the chosen model can use tools (its probe says so), the Agent works in agent mode. It looks
things up as you (the catalog, a table's documentation, read-only queries) and answers in words. In a
development stage it may also write: a table's documentation, an eval question, or a notebook it wrote
(notebook_save, 1 to 200 cells, a new version every time). In production it only reads. Under the
words, Result shows the last query's first 10 rows (Show all goes up to 50, and the count
follows), and a closed SQL holds that statement with Copy and Open in SQL editor.
Sources lists the tables it used. A muted row at the foot holds Worked · <n> steps (each tool
it called, with what it found), Thinking when the model sent its reasoning, 👍 and 👎, and which
model answered. When the model cannot use tools, the panel answers with one statement as described below
and says SQL only: this model cannot use tools.
A statement that only reads (SELECT, WITH, VALUES, SHOW, DESCRIBE, TABLE, or EXPLAIN
without ANALYZE) has Run beside Copy. Run runs it as you, as the SQL editor would, and the
result appears under it: the first 20 rows, Show more for 100 more at a time up to 500, and
<n> rows · <ms> ms. Run again and Open in SQL editor follow. The result stays on the page: it is
not sent to the model and History does not keep it. A statement that changes data never has Run.
Agent mode uses Nova's MCP endpoint to call its tools. On an install where that
endpoint is off, the Agent says so instead of answering: agent mode needs Nova's MCP endpoint, and it is off on this install, followed by how to turn it on.
The answer is formatted: bold, lists, tables and code blocks show as such. HTML the model writes shows as
text, a link is a link only when it starts with https://, http:// or /, and an image is never loaded.
Only its description shows.
Ask the Agent to change data ("add 100 customers to bronze.shop.customers") and it looks up the table's columns, then proposes one statement: an INSERT, UPDATE, DELETE, MERGE or CREATE TABLE … AS. Nothing runs. The answer carries a card headed Not run — you decide, with the statement, the Agent's reason, Approve, Reject and how many minutes are left.
Approve runs the statement as you, exactly as the SQL editor would. The engine and the catalog decide whether you may write, and Nova adds no right. The card's header then says what happened: Ran as you with Approved · <n> rows, Failed — the engine refused it with the engine's own sentence, or Rejected — nothing ran. Reject runs nothing. A proposal lasts 15 minutes and can be decided once. Every decision is written to the audit log with the start of the statement, never a row it touched. This works the same way in every stage, production included.
Some models write the statement in their answer instead of proposing it. Then it appears under Not run — review it, then run it yourself, with Copy and Open in SQL editor, which fills the editor without running it.
When the model sends its reasoning, a closed Thinking section under the answer shows it, cut at 8,000 characters. It is shown once and never stored: History does not keep it.
Each single-statement answer is one card:
- The sentence — what the statement answers, written by the model.
- The statement — one
SELECTorWITHquery, with Copy. - The check —
✓ Checked: EXPLAIN passed as youin green, or✕ Not runnable: <engine error>. The model tried twice.in red. Nova asks the model for one correction before it reports a failure; the statement from the second attempt is shown either way. - Sources — the tables the model was given for the question, each a link into the catalog. With each table, the model also gets up to five of its verified queries and is told to copy a matching one's shape, so a table whose owners wrote verified queries gets answers in their words. It also gets the table's metric definitions (name, description, expression, time column and dimensions).
- Open in SQL editor — takes the statement to
/querywith thesqlparameter, filled in and not run.⌘/Ctrl+Enterdoes the same for the last answer. - Mark as verified — keeps a good answer as a verified query: pick one of
the sources as Table, edit the Question if needed, and save. The statement is saved as shown, and the
panel says
Verified on <catalog>.<ns>.<table>. Only an administrator or the table's owner group may save one; anyone else gets the API's sentence under the form. - 👍 / 👎 — one vote per answer. A vote writes to the
model_callrow the answer's model call recorded, and you can read it on Admin → Models → Last calls.
Where your prompts go
The bottom of the panel names the endpoint's model and where its prompts go:
<model> · on-premise · prompts stay here— the endpoint runs inside your infrastructure.<model> · cloud · prompts leave your cluster, in the warning colour — the endpoint is outside it.
The endpoint is named as an administrator configured it, and the endpoint's URL and key stay with the call: the key never reaches Nova's API and never appears in an answer, a log line or a recorded call (see Where the key goes).
Limits
- Visibility — the Agent searches the catalog as you. It offers the model only tables your groups may see, and it answers about no other table.
- Five candidates — one question considers at most five tables, searched in every catalog you may
browse (bronze, silver and gold first). A table you name in full, such as
silver.shop.stg_customers, is taken first. - Budget — the question is a model call, so your group's monthly token budget applies. When the
budget is spent the answer is a
429and the panel shows its sentence as a calm notice, not as a failure of your question. - Length — a question is 1 to 2000 characters.
- Thread: 10 — the Agent sees the last 10 turns since New question.
- Kept: 20 — the newest 20 unpinned conversations per person; an older one is dropped with all its turns. Pinned ones stay whole (at most 20).
What it does not do
- SQL mode does not run the statement and does not read a row: the only statement Nova sends to
the engine is the
EXPLAINof the model's statement. - It does not run a statement that changes data on its own. In agent mode it proposes one and you approve or reject it; otherwise it writes it for you to review and run.
- Agent mode runs read-only SQL as you (
sql_read), at most 200 rows per query, and it never starts a pipeline:pipeline_startis not offered to it. - It never writes data itself.
sql_readrefuses a statement that is not a reading statement (SELECT,WITH,VALUES,SHOW,DESCRIBE,TABLE) before the check, andEXPLAIN ANALYZEwith it. A data change runs only when you approve its proposal. The only other writes it may make are the documentation, eval and notebook writers above, and only in a development stage. - It does not answer about a table you cannot see, and it reads only as you. It sees a row of a table
only when the endpoint's administrator allowed
sendRows(see What the model sees of your data above).
When it does not work
| What you see | What it means |
|---|---|
| No Agent button | No endpoint with the ask purpose is Ready. An administrator connects one; see Connect a model endpoint. |
| "I found no table you can see that matches. Try the table's name, or browse the Catalog." | The catalog search found no table for your question. Name the table, or look it up in Catalog. |
✕ Not runnable: … after two attempts | The model wrote a statement the engine would not run as you. The statement is still shown, with Open in SQL editor, so you can fix it there. |
| "the model used its whole answer budget (… tokens) before answering; try another model" | The model spent its answer budget, often on thinking, and wrote no answer. In Auto, Nova already tried the next model. Pick another model in the switcher. |
The 429 sentence about your group's budget | The month's token budget is spent. Ask an administrator to raise the quota. |
A model endpoint that is unreachable or answers in the wrong shape reaches you as the sentence of the refusal, and the endpoint's own probe message says what is missing — see When it does not work.