Bonnard

Each data source has its own context, in the Context section of the console at app.bonnard.ai. The agent uses it to write correct SQL against that data source.

What context holds

What each item tells the agent
ItemWhat it tells the agent
DescriptionWhat a table or column holds
KeyThe columns that identify one row, so it knows what it can count
Time columnWhich date to filter and group by
JoinHow two tables connect, so it joins on the right columns
MetricA named calculation with instructions. Bonnard does not apply it to the agent’s SQL
VisibilityIf it can find a table. Hiding does not stop a query that names the table

Where a value comes from

The console marks a value with a badge that names its origin.

Where each value comes from
OriginBadgeWhat it supplies
Your team, in the console or an AI clienteditedAny item. A description your team writes overrides the database’s
The databasedatabaseDescriptions, primary keys, and foreign keys. Bonnard does not read foreign keys from MySQL / MariaDB

Drafts and versions

Each change goes into the draft. A data source has one draft, and everyone who changes its context works in it. A later change to the same field replaces the earlier one. AI clients and the customer portal use the live version until someone publishes the draft as the next version.

Each change records who made it and if it came through an AI client. To review, undo, or roll back, read Publish context changes.

Who can change context

The workspace role decides what each person can do.

Who can do each action
ActionIn the consoleIn an AI client
Change the draftEditor or higherEditor or higher
Publish the draftEditor or higherEditor or higher, after an admin lets AI clients publish
Discard the draft or roll backEditor or higherNo

To let AI clients publish the draft, an admin sets Allow AI clients to publish context changes to on in Settings, AI tools. It is off by default and covers all data sources in the workspace.

A Viewer can read the context of the data sources they can use, including the open draft. Customers read the live context in the customer portal and cannot change it.

On a data source with tenancy, the agent can change context. It cannot do a check against the data until you select a customer in Preview as.