Ask Kloker
Most questions about an integration landscape are questions about how things connect: which routes read a datamodel, what a change to it would break, how a schedule gets from Konvoj to Personec, what a solution document no longer says right. The answers are spread over the solution registry, the documentation of every project and the context graph. Ask Kloker is a conversation with Kloker, Klok's own AI, that reads those places for you, as you, and answers with links to what it read. The same Kloker opens beside every page of klok.dev, with the page along, so you can ask about what you are looking at without copying anything.
- In the menu: Ask Kloker, at the top of the menu (
/kloker/chat); beside any page: Ask Kloker in the top bar, or ⌘I (Ctrl I) - For: everyone with harness read access: architects, developers and operators
- Reads: each question is a task on the Klok Integration Agent, which reads the solution registry and files on
mainthrough GitLab, the documentation on docs.klok.dev and klok.dev's context graph, with your access; the conversations are kept in klok.dev's database
What You See
| Part | What it is |
|---|---|
| Chats | Your conversations, with New chat, a search over titles and messages, and All or Favourites. Pinned chats come first. A chat's ⋮ menu adds it to the favourites, pins it or deletes it. The chats you had beside a page are here too |
| The conversation | An empty chat asks What do you want to know? and offers up to four starters: the favourite prompts from Kloker → Prompts. A finished answer has a copy button |
| The progress line | While Kloker reads, one calm line under the conversation says what it reads now, such as Reading the solution registry or Searching the integration context for “PersonnelSchedulingV1” |
| Fast and Expert | The mode of the conversation. Fast answers at once with the model Kloker-nothink; Expert uses Kloker, which reasons before it answers: slower, and better when an answer has to weigh several documents against each other |
What Kloker Reads
Kloker answers the way a colleague who knows the platform would: it looks at a map of what the tenant has, reads the parts the question is about, and then writes.
| Step | What it reads |
|---|---|
| The map | Every solution in <tenant>/integration-solutions on main, and the index of the documentation projects you may read on docs.klok.dev |
| The tools, at most eight rounds | A solution's document, the context graph around a solution or a node, a search of the graph, a project's documentation, and single files of a repository on main |
| The answer | Markdown in the language of the question, with links to the documents, repositories and pages it relied on. When something could not be read, the answer says so in one sentence and answers from the rest |
Every read is yours: GitLab with a token made for the task from your account and revoked when it ends, docs.klok.dev with that token, and the context graph narrowed to the domains you may read. Kloker keeps no copy of its own, so an answer contains nothing you could not open yourself. A follow-up question sees the earlier turns of the conversation, so "and which of those write to Konvoj?" starts from the previous answer.
Walkthrough: Ask About The Landscape
-
Open Ask Kloker and choose a starter, here Readers of a datamodel. A saved prompt with a placeholder asks for its value first and shows the question it will send.
-
Send prompt. The progress line says what Kloker reads while it reads.
-
The answer is written while you watch: here the routes that read
PersonnelSchedulingV1, and the order in which a breaking change is made without stopping Konvoj or Personec. Check it against its links before you act on it. -
Ask a follow-up in the same conversation, or switch to Expert for a question that needs more reasoning. The chat gets a title from its first question, and you can pin it or make it a favourite.
Walkthrough: Ask Beside A Page
-
On any page, choose Ask Kloker in the top bar or press ⌘I. Kloker opens beside the page; the pin keeps it open while you work. The line under its title says what it sees, here Sees: KLK010 Personnel scheduling.
-
Ask about the page: "What in this document no longer matches what runs?" Kloker reads the page as you see it, including changes you have not saved. When it needs the value of a field, the page scrolls to the field and rings it while Kloker reads it.
-
On a page where you edit something, Kloker can propose. A change to your draft comes as a card with Diff, Full file and Apply; applied, you keep or reject it part by part, and Undo takes it out again. A value for a form field is typed into the field. Nothing is saved until you save, and nothing reaches Git until you create the merge request yourself.
-
Every page keeps its own chats under the menu in Kloker's title, and every chat is also in Ask Kloker.
Kloker never reads a password, a secret or a field whose name reads like money, identity or a credential, and on a record you may only read it proposes no change.
What Happens In Git
| In klok.dev | What it writes and where | Who decides | By hand |
|---|---|---|---|
| A question, in Ask Kloker or beside a page | Nothing in Git: a landscape-question task on the Klok Integration Agent, mirrored under Kloker → Tasks, and the conversation in klok.dev's database |
— | klok agent ask "<question>" |
| Apply on a proposal beside a page | Your draft in klok.dev; nothing in Git until Review → Create merge request | The item's owner merges | The same change on a branch, and a merge request |
| A field value beside a form | The field on screen, or the page's own draft; nothing saved until you save | You | — |
| Pin, favourite, delete a chat | klok.dev's database | — | — |
See What klok.dev Does In Git for every page.
Who Does What
| Automation | Kloker | You |
|---|---|---|
Every build on main updates the context graph and the documentation that Kloker reads. klok.dev keeps the conversation, relays the answer as it is written and stores it with the task, so the history has it even when a callback was lost |
Reads the map and drills down with read-only tools, as you; writes the answer with its links; beside a page, reads fields where you can see it, proposes changes as cards and fills form fields. It never saves, publishes, sends or merges anything, and never writes to Vault | Ask, check the answer against its links, decide whether to use a proposal, review your draft and merge |
Ask Kloker is Kloker as an interactive assistant: it answers and proposes, and every step that changes something is yours. See You, The Automation And Kloker.
How It Connects
Kloker reads Solutions first, follows the Context Graph for how projects, legs, topics and datamodels connect, and reads each project's documentation (Documentation). Every question shows under Kloker → Tasks, the starters come from Kloker → Prompts, and Home opens the same Kloker from the top bar. A change Kloker proposes beside an item page goes the item's way: draft, review, merge request (Integration Projects, Datamodels, Systems).
Read More
- klok.dev's reference: Ask Kloker, Kloker beside every page and Prompts
- The agent's side: How Kloker answers a landscape question
- What Kloker Does and Workbench, Chat And Prompt Templates