Table Documentation Draft Agent · Use case
How can we use an AI agent to draft the description of a table and its columns for its owner on our own infrastructure?
A table documentation draft agent drafts the description of a table and each of its columns. It reads the code that builds the table, a profile of its contents and the documents on record, and marks every line it could not confirm. The table's owner corrects and approves the description before it goes into the catalogue. The agent publishes nothing to the catalogue and changes no table. It runs on your own infrastructure, so your code and your tables are not sent to a public AI service.
The table is in use.
Nobody has written down what its columns mean.
- ✗ 01Tables are built before anyone describes them, and the person who knows what a column means has no time to write it down.
- ✗ 02Table code and column profiles show what the organisation holds about its customers and staff, so they have to stay inside the organisation.
Where it stops for a person
Always. The table's owner corrects and approves the description.Always. The table's owner corrects and approves the description before it goes into the catalogue. The draft is not documentation until the owner has approved it. The agent describes what the code and the profile show: what a column means to the business is the owner's to confirm, and every line the agent could not confirm is marked, not left out. It does not classify a column as personal data: it may note that a name suggests it, and the data protection lead classifies the table. It reads a profile and shows no rows of the table in the draft. It says what it could not read.
It drafts the description and marks what it could not confirm.
The table's owner approves.
Step · 01
A data engineer or a data steward names the table.
Step · 02
The agent reads the code that builds the table, and the documents on record for it and for the tables it is built from.
Step · 03
It reads a profile of each column from the warehouse, read only: the type, the range, the share of missing values and the count of distinct values.
Step · 04
It drafts the description of the table and of each column, with the line of code or the document behind each statement, and marks every line it could not confirm.
Step · 05
The table's owner corrects the draft and approves it, and the description goes into the catalogue by the owner's hand or through your own review.
Reads from · connectors
The transformation code, through a server from the catalogue deployed in your own cluster or as an uploaded file; a profile of the table's columns from the warehouse, through a connection that can only read, with the permissions of the person asking; and existing documentation, indexed as a knowledge source.
What it can change
Nothing. It drafts. It writes to no catalogue, changes no table and no code, and names no owner.
Build it once.
Use it where the work is.
01 · Where your people use it
In Work Room
Publish it to Work Room and your people use it there.
See Work Room →02 · Where they already work
In a screen they already use
Your developers can put it behind a screen your people already work in, so nobody has to open a new tool.
What you set up
- Write down the form your catalogue uses for a table and a column, and who owns each table.
- Connect the code repository and the warehouse through a connection that can only read, and index the existing documentation as a knowledge source.
- Build the agent in Katonic Studio and test it on tables your stewards have already described well.
- Publish it to the data stewards first, one subject area at a time.
Where it runs
The agent, its knowledge store and the model run on infrastructure you own or control. You choose the model and serve it yourself, so questions, documents and answers are not sent to a public AI service. Table code, column profiles and the drafts stay inside the organisation.
How you get it today
You build it in Katonic Studio: describe the job, connect what is named above, add test cases and release the agent once it passes them. There is no ready-made template for this job yet.
Does the agent publish the description to the catalogue?
No. It publishes nothing. It writes a draft for the table's owner, and it has no tool that writes to the catalogue. The owner corrects and approves the description before it goes into the catalogue.
Can the draft be used as it is?
No. A draft is not documentation until the table's owner has approved it. The agent describes what the code and a profile of the columns show, and marks every line it could not confirm. What a column means to the business is the owner's to confirm.
Where are table code and column profiles processed?
On your own infrastructure, with a model you serve. Nothing is sent to a public AI service.