Run
The console assistant
A helper inside the console that explains errors, writes SQL, access rules and functions, answers questions from this documentation, and reviews a project. It proposes; you decide. It never changes anything by itself.
It runs on Rezin Core's own model, on Rezin Core's own servers. Nothing you ask, and nothing about your project, is sent to an outside AI company, and nothing is used to train a model.
Important The assistant can be wrong. Read what it proposes before you apply it, the way you would read a change from a colleague.
Opening it
Inside any project, press Assistant in the top bar, or Cmd I (Ctrl I on Windows and Linux). It opens in a panel on the right of the page; the page gets narrower beside it instead of being covered. Drag the panel's left edge to resize it. The same panel holds the quick SQL panel; the two buttons at its top switch between them. On a phone the panel takes the whole screen.
"Ask the assistant" and "Review this project with the assistant" are also in the search box (Cmd K).
What it does
Explain and fix an error
Where something fails, there is an Explain this error button:
- in the SQL workspace and the quick SQL panel, under a failed run (with Fix this beside it);
- on a function's page, when a test run fails;
- on Access rules, when a rule is refused;
- in a webhook's delivery log, on a delivery that gave up.
The assistant is sent the error and the code or text that caused it. It says what went wrong in plain words and, where it can, proposes a corrected version. What changes on the proposal shows the difference line by line.
Write on request
Ask in plain language:
- "Which customers spent the most on paid orders this year?" gives a query that uses your real tables and columns.
- "Let each organization read and change only its own orders" gives an access rule.
- "Write a function that returns how many orders are open" gives a function.
- "Design a table for loyalty points linked to customers" gives a
create tablestatement.
Answer from the documentation
"How does a webhook retry?", "How do signed links work?": for questions about Rezin Core itself it answers from these pages and links the ones it used. If the documentation does not cover something, it should say it is not sure.
Review a project
Review this project combines the advisor's findings (tables with row-level security off, rules that let every row through, permissions the application does not need) with the shape of your tables, and lists what matters most first. The fixes it offers for a review come from the advisor itself, never from the model.
Proposals
Anything the assistant suggests you run or save appears as a card with the exact text.
| Card | What you can do |
|---|---|
| SQL that only reads | Run in SQL panel runs it beside the page. Open in SQL workspace puts it in a new tab. Copy. Discard. |
| SQL that changes something | Apply asks you first, then runs it as you. Try in SQL panel loads it without running. Open in SQL workspace, Copy, Discard. |
| Access rule | Save rule asks first, then saves it on the table. Open access rules, Copy, Discard. |
| Function | Create function or Deploy as a new version asks first. Copy, Discard. |
| A fix from the advisor | Apply asks first. |
Each SQL and rule card says whether it was checked:
- Checked: it was tried against your project without being kept (a query is planned but not run; a change to tables or a rule is made inside a transaction that is always undone), and it is valid.
- Does not work as written: the database refused it; the reason is shown, and Apply is switched off.
- Not checked: it could not be tried safely beforehand (anything that drops or empties, and a few kinds of statement). Read it with extra care.
SQL cards also say Reads only, Changes the project or Can destroy data.
Applying a proposal goes through the same door as doing it by hand: the same checks, your own role's limits, and the same confirmation for anything destructive. The project's record shows the change under your name, and a second entry saying it was proposed by the assistant and approved by you.
What it can and cannot see
For each question the assistant is shown only what that question needs, from a fixed list:
- the names and types of your tables and columns, how tables link, roughly how many rows each has, and your access rules;
- value lists, if the project allows them (see below);
- for a review, the advisor's findings;
- the error and the code or text you sent with Explain this error;
- pages of this documentation;
- your last few questions and its answers, so a follow-up makes sense.
It is not shown the rows in your tables (beyond the value lists below, and rows you choose to share), your files, your users, your API keys, access tokens, or anything in the secrets vault, and it is never shown another project. Anything shaped like a key, a token or a password is removed from what you type or attach before the model sees it.
Under each answer, What the assistant was shown lists what was shared for that answer.
It reads your project as the project's own confined database role, read-only and with a short time limit: the same role the SQL workspace uses.
Value lists
So that it writes country = 'DE' where your data says DE and not Germany, the assistant may be shown the distinct values of short, repeating text columns: statuses, codes, categories.
- Only text columns with 50 or fewer distinct values, each 40 characters or shorter, where values repeat. At most 20 values of a column and 12 columns go with a question.
- Never a column whose name suggests a person or free text (names, emails, phones, addresses, notes, titles, descriptions and the like), a key or an ID column, or anything secret-looking. Never values that look like an email address, a web address, a long number, a date, a key or a sentence.
- They are read as the project's confined role, read-only, from a bounded number of rows, and kept for a minute.
- What the assistant was shown says when value lists went with an answer and names some of the columns.
An owner can switch this off under Project → Project settings → Assistant → Let the assistant see value lists. It is on by default, and off by default on the Compliance plan.
Who can use it
- Members of the project's company. Owners and developers can ask and apply. A read-only member can ask and read, and copy what it proposes; running or applying a proposal is not offered to them, and the server would refuse it.
- Rezin Core staff cannot use the assistant inside your project, including during support or emergency access.
- Your conversation is yours alone: other members of the company, including owners, do not see it. Clear erases it. Conversations are kept for 30 days, and at most the newest 200 messages.
- The thumbs under an answer record whether it was useful. That mark stays on Rezin Core's servers.
Switching it off
An owner of the company can switch the assistant off or on for a project under Project → Project settings → Assistant. Switching it off erases every member's conversation with it in that project.
On the Compliance plan the assistant is off for every project until an owner switches it on.
Limits
- One model serves everyone, so answers take a few seconds and arrive as they are written. If others are ahead of you, you are told your place in line. If the line is full, you are asked to try again in a moment. Stop ends an answer early.
- 20 questions in ten minutes for an account, and 60 for a company.
- A question may be 4,000 characters. Code you attach is cut at 30,000 characters.
- If the assistant cannot be reached, the panel says so, and the rest of the console works as usual.
- It does not browse the web, and it knows about Rezin Core only what these pages say.