KoskenDocs Open the app

Ask Kosken

Ask about your machines in plain words, name things with @, manage your chats, and see how a change that you ask for waits for approval.

5 min readUpdated on Español

On this page
  1. Ask a question
  2. Name a machine, an incident, a recipe or a signal
  3. Run a check without the model
  4. Delegation to specialists
  5. Ask for a change
  6. Manage your chats
  7. When an answer fails

After you read this guide, you can ask Kosken about your machines, keep your chats in order, and know what happens when you ask for a change.

Ask a question

  1. In the sidebar, select Ask. The page opens a new, empty chat.
  2. Write your question in the box, for example What is the status of @server:web-01?. On an empty chat, you can also select one of the example questions.
  3. Press Enter or select Send. To add a line, press Shift+Enter.

The lead agent, Kosken SRE, reads your fleet with read-only tools and answers. While it works, the page shows The agent is working…. Each tool that it uses shows as one line above the answer. Open a line to see its arguments and its output. Each answer shows the tokens that it used, and the bottom of the chat shows the total of the chat.

Kosken saves the chat when you send the first message. After the first answer, the chat gets a short title.

Any member of the workspace can use Ask. Each person sees only their own chats. Ask uses the model key of your workspace. See Your AI model key.

To see the tools of the agent on an empty chat, open What the agent can do.

Name a machine, an incident, a recipe or a signal

Type @ in the box. A list of machines, incidents, recipes, signals and tool groups opens. Use the arrow keys and Enter or Tab, or click an item. You can also type the mention:

MentionExampleThe chip opens
Machine@server:web-01The machine page
Incident@incident:INC-12The incident page
Recipe@recipe:docker.startThe recipe page
Signal@signal:sig-3f2aThe Signals page
Tool group@tools:backupsNo chip. The group loads for this message.

In the sent message, each mention shows as a chip. The chip of a machine shows its current name, also after a rename. A machine that is archived shows a muted chip. Kosken reads at most 10 mentions in one message.

When no machine has the name, or more than one machine has it, Kosken answers at once with an error and does not call the model. Correct the name and send the message again.

The tool groups and their modes are on the Agents page. See Tool groups.

Run a check without the model

A message that is only a command and machine mentions runs one recipe of the catalog directly. Kosken does not call the model. Examples:

  • uptime @server:web-01
  • df @server:web-01 @server:db-01
  • docker ps @server:web-01

A direct command runs on at most 5 machines. A read-only recipe runs as a check, and the answer shows its output. A command that changes a machine, such as restart nginx @server:web-01, needs write access and goes through the gates like any other change. The text never runs as a shell command. It only selects a recipe and fills its parameters, and the recipe checks them. See the recipe catalog.

Delegation to specialists

Kosken SRE can give a task to a specialist: the Diagnostician, the Historian, Triage or the Risk reviewer. The chat shows one line: Delegated to, the specialist and the task. The line shows a spinner while the specialist works, a check mark when it is done, or Failed. Open the line to see the steps of the specialist and its Result.

A specialist never executes or approves, and delegation goes one level deep. See the whitepaper. The number of delegations for one message is on the Agents page.

Ask for a change

A member with write access can ask for a change, for example Restart nginx on @server:web-01. The agent never changes a machine by itself. It asks for a signed recipe, and Kosken opens an incident for the request. The gates check it. The step line in the chat shows the incident and its state:

  • When an automatic rule covers the change and the gates pass, the change runs without an approval. See Automation.
  • In any other case, the change waits for a person. Select Review approval to open the request. See Approvals.
  • When the gates refuse the change, nothing runs. The answer gives the reason.

Select Open incident to follow the change. A member with read-only access can ask questions, but Kosken refuses a request for a change from that member.

Manage your chats

  • To start a chat, select New chat above the list.
  • The list shows your chats in the groups Today, Yesterday and Older, the latest first. The day is the UTC day of the last message.
  • To find a chat, write a word in Search chats and press Enter. The search looks in the titles and in the text of the messages.
  • To rename a chat, open its ⋯ menu, write the new title (at most 80 characters), and select Rename.
  • To delete a chat, open its ⋯ menu and select Delete. Confirm the question Delete this chat and all its messages?.
  • On a narrow screen, select Chats to open the list.

Kosken keeps at most 50 chats for each person. A new chat above that number deletes the chat with the oldest last message. Kosken deletes a chat 30 days after its last message.

When an answer fails

  • The workspace has no model key, or the key does not work: the answer shows Open settings. An owner fixes the key on the LLM settings.
  • The agent stopped at the step limit for one message: send the message again to continue.
  • Another error: select Try again. Kosken sends your last message again.
  • The answer takes more than 2 minutes: the page says so. Reload the page, or ask again.

A message has at most 2000 characters. One person can send 30 messages in one hour. One workspace can run 3 answers at the same time.

Something here does not match the app? Tell us