# Browse Source: https://docs.rubixkube.ai/cli/browse Search your incidents, RCAs, Tasks, artifacts and chats full screen in the terminal, open one, and act on it with a single key. Browse lets you work through your incidents, RCAs and Tasks in the terminal the way you would in the console: find one, read it, and do the next thing. You don't have to remember a command for each action. ![Browse on the Incidents tab: open incidents grouped into Needs you and Open, with the selected crash-looping payments-api incident previewed beside the list, showing its summary, the journey from detection to cause found, and what Rubix found](https://mintcdn.com/rubixkube/D81XqyU3PwPNNRik/images/cli/browse.png?fit=max\&auto=format\&n=D81XqyU3PwPNNRik\&q=85\&s=91d6f145d780ef8575891b849384fc0c) ## When you'd use this * **You want to see what's open.** Open the Incidents tab, type `sev:high`, and move down the list with the preview beside it. * **You're picking up your work.** `rubix browse tasks owner:me` opens your Tasks. Move one to In progress with `s`. * **An incident needs a person.** Open it, read what Rubix found, then close it, run the RCA again or comment. * **An RCA got it right, or wrong.** Rate it with `v`, so Rubix learns from your answer. * **You want Rubix's take on a record.** Press `a`, and the record goes with your next chat message. ## Open Browse * Press the left arrow on an empty input in chat, or type `/browse`. * Run `rubix browse` from the shell. * Go straight to a tab: `/incidents`, `/rcas`, `/tasks`, `/artifacts` or `/chats`. Add a search, such as `/incidents sev:high env:prod`. * Go straight to a record: `/incident INC-12`, `/rca RCA-4`, `/task TSK-30`, or `rubix browse INC-12`. From the shell, `rubix browse tasks owner:me` opens the Tasks tab with that search. ## Find a record Browse has five tabs: **Incidents**, **RCAs**, **Tasks**, **Artifacts** and **Chats**. Tab and Shift+Tab move between them. One search box works on every tab. Start typing to search, and add filters: | Filter | Example | Works on | | - | - | - | | `sev:` | `sev:high` | Incidents, RCAs | | `env:` | `env:prod` | Incidents, RCAs, Tasks | | `status:` | `status:open`, `status:all`, `status:resolved` | Incidents, Tasks | | `owner:` | `owner:me` | Tasks | | `priority:` | `priority:high` | Tasks | The arrow keys move through the list. If the terminal is at least 100 columns wide, a preview of the selected record shows beside it. Ctrl+R refreshes. If nothing matches and you typed plain words, Enter asks Rubix instead. ## Read a record Enter, or the right arrow, opens the full record. An incident reads like it does in the console: what Rubix found, what was detected (with memory and CPU charts against the limit), its Tasks, and the activity with comments. The arrow keys and Page Up and Page Down scroll. Esc goes back to the list, and Esc again goes back to chat. ## Act on it The actions for a record show at the bottom of it. Press the letter. | Key | Action | On | | - | - | - | | `a` | Ask Rubix. The record goes with your next message. | Everything | | `m` | Comment | Incidents, RCAs, Tasks | | `o` | Open in the console | Everything | | `y` | Copy the link | Everything | | `c` | Close | Open incidents | | `w` | Answer **What fixed it?** | Incidents that ask | | `r` | Run RCA again | Incidents, RCAs | | `v` | Rate: Right, Partly or Wrong | RCAs | | `s` | Move to another status | Tasks | | `t` / `u` | Assign to me, or unassign | Tasks | Anything that changes a record asks first. Press `y` to go ahead. Each change is made as you, as if you'd done it in the console. ## Use the mouse The wheel scrolls. Click a tab, a row or an action to pick it. Drag across text to select it, and it's copied when you let go. Shift-drag uses your terminal's own selection instead. Set `RUBIX_MOUSE=0` to turn the mouse off in Browse. > [card] [Chat in the terminal](/cli/usage) > > Ask Rubix about what you found. > [card] [Commands](/cli/commands) > > The same lists as one-shot commands. > [card] [Incidents](/using/incidents) > > What each part of an incident means. > [card] [Tasks](/using/tasks) > > Statuses, owners and checks. # Commands Source: https://docs.rubixkube.ai/cli/commands Every Rubix CLI command, slash command and key, in one place. This page lists everything the CLI does. `rubix help` and `rubix help ` print the same list in your terminal, and `/help` or `?` shows the keys inside chat. ## Commands | Command | What it does | | - | - | | `rubix` | Opens chat | | `rubix chat [-s id] [-p text]` | Opens chat. `-s` opens an existing chat, `-p` sends a first message. | | `rubix -p "question"` | Asks Rubix once, prints the answer and exits | | `rubix ask "question"` | The same as `rubix -p` | | `rubix browse [tab] [search]` | Opens [Browse](/cli/browse), such as `rubix browse tasks owner:me` | | `rubix browse INC-12` | Opens one record in Browse | | `rubix status` | Open critical and high incidents, what needs you, Tasks waiting and your environments | | `rubix incidents [search]` | Lists incidents. Filters: `sev:high`, `env:prod`, `status:all` | | `rubix rcas [search]` | Lists RCAs. Filters: `sev:high`, `env:prod` | | `rubix tasks [search]` | Lists Tasks. Filters: `owner:me`, `priority:high`, `status:all` | | `rubix artifacts [search]` | Lists the artifacts Rubix made | | `rubix incident INC-12` | Shows an incident: what was detected, the RCA, Tasks and activity | | `rubix rca RCA-4` | Shows an RCA | | `rubix task TSK-30` | Shows a Task | | `rubix artifact ` | Shows an artifact | | `rubix sessions` | Lists your chats with their ids | | `rubix model` | Lists the models your organization can use | | `rubix login` / `rubix logout` | Signs in or out | ### Options | Option | Works with | What it does | | - | - | - | | `-e, --env ` | `-p`, `ask` | The environment to ask about | | `--json` | `-p`, `ask`, `status`, lists, records | Prints JSON | | `-n, --limit ` | lists | How many rows to show. 20 by default, up to 200. | In a terminal, output has colour and links. When you pipe it, you get plain text. With `--json`, you get JSON. ### Asking once `rubix -p` joins anything you pipe in to the question, so `cat error.log | rubix -p "what does this mean?"` sends the log with it. The chat is saved, and the CLI prints `rubix chat -s ` so you can carry on there. If Rubix needs an approval or asks a question, the CLI says so, prints `rubix chat -s ` to answer it in chat, and exits with code 2. Other errors exit with code 1. With `--json`, the answer looks like this: ```json theme={null} { "chat_id": "…", "answer": "…", "finished": true, "waiting": null } ``` `waiting` says what Rubix is waiting for when it stopped for you. ## Slash commands Type `/` in chat for the list. Your organization's saved commands from **Customize > Commands** show in the same list. | Command | What it does | | - | - | | `/new` | Starts a new chat | | `/resume` | Picks an earlier chat | | `/delete` | Deletes this chat for good, in the console too | | `/stop` | Stops Rubix's reply | | `/mode` | Observe, Assist or Auto, up to your organization's highest mode | | `/env [name]` | The environment Rubix looks at | | `/model` | The model for this chat | | `/effort` | How hard the model reasons | | `/style` | quiet, normal or verbose | | `/plan execute` / `/plan drop` | Runs or drops the plan Rubix wrote | | `/browse` | Opens Browse | | `/incidents`, `/rcas`, `/tasks`, `/artifacts`, `/chats` | Opens that tab in Browse, with an optional search | | `/incident INC-12`, `/rca RCA-4`, `/task TSK-30` | Opens one record | | `/refresh` | Refreshes environments and the home card | | `/pet` | Shows or hides Rubix above the input | | `/paste` | Pastes from the clipboard, for text too long for the terminal's paste | | `/send` | Sends the last shell command and its output to Rubix | | `/clear` | Clears the screen. The chat is kept. | | `/status` | Shows who you're signed in as and the chat you're in | | `/console`, `/docs` | Opens the console or these docs in your browser | | `/untrust` | Removes this folder from the trusted list | | `/login`, `/logout` | Signs in or out | | `/help` | Shows the keys | | `/exit`, `/quit` | Leaves the CLI | ## Keys in chat | Key | What it does | | - | - | | Enter | Sends the message, or queues it while Rubix is answering | | Shift+Enter | New line | | Tab | Uses a starter question on the home card | | Shift+Tab | Changes the mode | | Left arrow | Opens Browse, when the input is empty | | Up arrow | Edits the first queued message | | `@` | Adds an incident, RCA, Task, environment or file | | `!` | Runs a shell command, at the start of a line | | `?` | Shows the keys, when the input is empty | | Ctrl+G | Writes the message in your editor | | Ctrl+O | Shows or hides Rubix's full work on the last reply | | Ctrl+C | Stops Rubix's reply. Press it twice when idle to leave. | | Ctrl+D | Leaves, when the input is empty | | Ctrl+L | Clears the terminal | | Ctrl+A / Ctrl+E | Start or end of the line | | Ctrl+K | Deletes to the end of the line | | Esc | Closes a list or panel, or skips Rubix's question | When Rubix asks for approval: `y` approves once, `a` approves for this chat, `n` declines. > [card] [Browse](/cli/browse) > > Keys and actions in Browse. > [card] [Scripts and examples](/cli/examples) > > The commands in real use. # Settings Source: https://docs.rubixkube.ai/cli/configuration Where the Rubix CLI keeps your sign-in and settings, and the environment variables that change how it looks. The CLI works without any setup. This page is for when you want to know what it saves, or change how it shows things in your terminal. ## What the CLI saves Everything lives in `~/.rubix/`. | File | What's in it | | - | - | | `auth.json` | Your sign-in. `rubix logout` removes it. Treat it like a password. | | `settings.json` | Your response style, the environment you last picked, and whether `/pet` is on | | `sessions.json` | The titles and ids of your recent chats, so `/resume` opens quickly | | `trusted-folders.json` | The folders you trusted | You don't need to edit these files. Change the settings in chat with `/style`, `/env` and `/pet`. The chats themselves are saved with your organization, not on your machine. That's why they show in the console too. ## What your organization decides Some things come from your organization, not from the CLI: * **The highest mode.** `/mode` and Shift+Tab can't go above it. An admin sets it in **Settings > Modes**. See [Modes](/using/modes). * **The models.** `/model` lists the ones in **Settings > Models**. New chats start on the Primary model. See [Models](/using/models). * **Saved commands.** Commands from **Customize > Commands** show in the `/` list. See [Customize](/using/customize). ## Environment variables | Variable | What it does | | - | - | | `RUBIX_MOUSE=0` | Turns the mouse off in Browse | | `RUBIX_MASCOT=0` | Shows plain text instead of the pixel Rubix | | `RUBIX_LINKS=0` or `1` | Turns terminal hyperlinks off or on | | `NO_COLOR` | No colour, and no pixel Rubix | | `VISUAL`, `EDITOR` | The editor Ctrl+G opens. `vi` if neither is set. | Set one for a single run, such as `RUBIX_MOUSE=0 rubix browse`, or export it in your shell profile. > [card] [Commands](/cli/commands) > > Every command and key. > [card] [Troubleshooting](/cli/troubleshooting) > > When something doesn't work. # Scripts and examples Source: https://docs.rubixkube.ai/cli/examples Ways to use the Rubix CLI in a working day: quick checks, piping logs to Rubix, shell aliases and JSON for your own scripts. These examples use the one-shot commands, which print and exit. They follow the demo organization, Acme Payments, where `payments-api` and `orders-api` run in `prod-us-east-1`. ## Start the day ```bash theme={null} rubix status ``` You get the open critical and high incidents, what needs you, the Tasks waiting and your environments. Then pick up your own work: ```bash theme={null} rubix tasks owner:me ``` ## Ask about something in front of you Pipe logs, a diff or a manifest straight to Rubix: ```bash theme={null} kubectl logs deploy/payments-api -n payments --since=15m | rubix -p "why is this crash-looping?" ``` ```bash theme={null} git diff main -- deploy/orders-api.yaml | rubix -p "what could go wrong if I roll this out?" --env prod-us-east-1 ``` The CLI prints `rubix chat -s ` after the answer. Run it to carry on in chat. ## Look at one incident ```bash theme={null} rubix incidents sev:high env:prod rubix incident INC-12 ``` `rubix incident` shows what was detected, the RCA, the Tasks and the activity. To act on it, open it in Browse with `rubix browse INC-12`. ## Make an alias ```bash theme={null} alias what-changed='rubix -p "What changed in prod-us-east-1 in the last hour, and is any of it related to open incidents?"' ``` ## Use JSON in your own scripts Every list and record takes `--json`. Pick out what you need with `jq`: ```bash theme={null} rubix incidents sev:critical --json | jq -r '.items[] | .code + " " + .title' ``` A list prints `{ "total": …, "items": [ … ] }`, and each item has its `code`, `title`, `state` and `facts`. A record prints its fields, its link and its sections. ```bash theme={null} rubix -p "Summarise today's incidents in five lines." --json | jq -r .answer > summary.md ``` Check the exit code in case Rubix stops for you. `rubix -p` exits with 2 when Rubix needs an approval or asked a question, and prints the chat to open. ```bash theme={null} rubix -p "Restart the payments-api pods that are crash-looping." --json > answer.json if [ $? -eq 2 ]; then echo "Rubix is waiting for you: $(jq -r .waiting answer.json)" fi ``` > [!NOTE] > > The CLI signs in as you, so every command runs with your access and is recorded under your name. Run it where you'd sign in yourself, not on a shared machine. > [card] [Commands](/cli/commands) > > Every command and option. > [card] [Chat prompts](/tutorials/chat-prompts) > > More questions worth asking. # CLI questions Source: https://docs.rubixkube.ai/cli/faq Answers to common questions about the Rubix CLI: what it can change, how it signs in, and how it fits with the console. > [accordion] Is the CLI a different Rubix from the console? > > No. It's the same Rubix and the same chats. A chat you start in the terminal shows in the console, and the other way round. > [accordion] Can the CLI change my infrastructure? > > Rubix can change things only through the tools your organization connected, and only as far as the mode allows. In Observe, nothing that changes anything runs. In Assist, you approve each change with `y`. See [Modes](/using/modes). > > In Browse, actions such as closing an incident or moving a Task change the record in RubixKube, as you. Each one asks first. > [accordion] Does Rubix run commands on my machine? > > No. Commands you start with `!` run in your shell, and Rubix sees their output only when you send it with `/send`. Rubix reads a local file only when you name it with `@./path`. > [accordion] Can I sign in with an API key? > > No. The CLI signs in as you, with a code you approve in the browser. Everything it does is recorded under your name, as in the console. > [accordion] Can I use it in CI? > > The one-shot commands work in scripts, and `--json` and the exit codes are there for that. The CLI signs in as a person, though, so run it where that person would sign in, not on a shared runner. > [accordion] Does it work on Windows, and over SSH? > > It runs anywhere Node.js 22.12 or newer runs: macOS, Linux and Windows. Over SSH, copy the sign-in link into a browser on your own machine. > [accordion] Does using the CLI count towards my plan? > > The same as in the console. A chat isn't an investigation, so it doesn't count towards your monthly investigations, and its AI tokens show in **AI usage** like any other chat. **Run RCA again** writes a new RCA report, so it counts as one investigation. See [Usage and plan](/using/usage-and-plan). > [accordion] Can I use the CLI with more than one organization? > > The CLI uses your account's home organization. Use the console to work in another one. > [accordion] Where do I see what changed in a release? > > [What's new](/getting-started/whats-new) lists the main changes. The package's changelog on [npm](https://www.npmjs.com/package/@rubixkube/rubix) has every one. > [accordion] Where do I report a bug? > > Email [connect@rubixkube.ai](mailto:connect@rubixkube.ai) with `rubix --version`, `node --version`, your operating system and what you ran. > [card] [Overview](/cli/overview) > > What the CLI is for. > [card] [Troubleshooting](/cli/troubleshooting) > > When something doesn't work. # Install and sign in Source: https://docs.rubixkube.ai/cli/installation Install the Rubix CLI with npm, sign in with a code in your browser, and keep it up to date. The CLI is the npm package `@rubixkube/rubix`. It needs Node.js 22.12 or newer and a RubixKube account. ## Install > [tab] npm > > ```bash theme={null} > npm install -g @rubixkube/rubix > ``` > > This gives you the `rubix` command. > [tab] npx > > ```bash theme={null} > npx @rubixkube/rubix > ``` > > Runs the CLI without installing it. Each run fetches the package, so install it if you'll use it often. Check it worked: ```bash theme={null} rubix --version ``` If your shell says `rubix: command not found`, the folder npm installs global commands into isn't on your `PATH`. Run `npm prefix -g`, and add the `bin` folder inside it to your `PATH`. ## Sign in ```bash theme={null} rubix login ``` If you run `rubix` before you've signed in, it opens on this screen. Choose **Login to RubixKube**. ![The Rubix CLI before sign-in, with setup steps, the prompt keys for commands, files and shell, and the choice to log in to RubixKube or exit](https://mintcdn.com/rubixkube/D81XqyU3PwPNNRik/images/cli/sign-in.png?fit=max\&auto=format\&n=D81XqyU3PwPNNRik\&q=85\&s=7d55fd5a1ba08c21d76eb9905b092d7e) **1. Get a code** The CLI prints a link and a short code, and opens the link in your browser when it can. **2. Approve it in the browser** Sign in to RubixKube if you aren't already, check the code matches, and approve. **3. Back in the terminal** The CLI sees the approval and you're signed in. Running `rubix` for the first time does the same thing if you haven't signed in yet. The sign-in is kept in `~/.rubix/auth.json` and renews itself, so you don't sign in every day. `rubix logout` removes it. Over SSH, where no browser opens, copy the link into a browser on your own machine. The code works from any device. ## Trust the folder The first time you open chat in a folder, the CLI asks whether you trust it, because Rubix can read the files you name there with `@./path`. Choose **Trust this folder and continue**, or press Ctrl+C to leave. `/untrust` removes the current folder from the list. One-shot commands don't ask. ## Update ```bash theme={null} npm install -g @rubixkube/rubix@latest ``` The CLI checks npm once a day and tells you when a newer version is out. [What's new](/getting-started/whats-new) lists what changed. ## Uninstall ```bash theme={null} npm uninstall -g @rubixkube/rubix rm -rf ~/.rubix ``` The second line removes your sign-in and settings. Leave it out if you'll install the CLI again. > [card] [Chat in the terminal](/cli/usage) > > Your first chat, and the keys that help. > [card] [Troubleshooting](/cli/troubleshooting) > > When install or sign-in doesn't work. # Rubix CLI Source: https://docs.rubixkube.ai/cli/overview Work with Rubix and your incidents, RCAs and Tasks from a terminal: chat, browse records, or ask once from a script. The Rubix CLI is for when you're already in a terminal and don't want to switch to a browser to ask Rubix something or check an incident. It's the same Rubix and the same organization as the console, so a chat you start in one shows up in the other. ![Rubix, drawn in pixels, waving, thinking, working and hopping](https://mintcdn.com/rubixkube/D81XqyU3PwPNNRik/images/cli/rubix.gif?s=cfbe3e65b779747478062ac036ae81f0) ```bash theme={null} npm install -g @rubixkube/rubix rubix ``` ## When you'd use this * **You're reading logs and something looks wrong.** Pipe them in: `cat error.log | rubix -p "what does this mean?"`. * **You want to see what's open without leaving the shell.** `rubix status` lists the critical and high incidents, what needs you, the Tasks waiting and your environments. * **You're working an incident.** Open it in Browse, read what Rubix found, run the RCA again, comment, or ask Rubix about it with one key. * **You want Rubix in a script.** One-shot commands print plain text or JSON and exit, so they fit in an alias, a cron job or a runbook. * **You'd rather write in your editor.** Ctrl+G opens the message in `$VISUAL` or `$EDITOR`, and saving brings it back. ## Three ways to use it | | Start it with | What it's for | | - | - | - | | **Chat** | `rubix` | A conversation with Rubix. Approvals, questions and modes work as in the console. | | **Browse** | `rubix browse`, or the left arrow on an empty input | Full-screen lists of incidents, RCAs, Tasks, artifacts and chats, with actions on single keys. | | **One-shot commands** | `rubix -p "..."`, `rubix status`, `rubix incidents` | Print an answer or a list and exit. For scripts and quick checks. | ## Same Rubix as the console The CLI talks to the same Rubix as the console's chat. * **Chats are shared.** A chat started in the terminal is in the console's chat list, and the other way round. A reply keeps running if you close the terminal, and reopening the chat follows it. * **Same controls.** Pick the model and effort, the response style (quiet, normal or verbose) and the mode (Observe, Assist or Auto). The mode can't go above your organization's highest mode. See [Modes](/using/modes). * **Same records.** Incidents, RCAs and Tasks use the same codes, such as INC-12, RCA-4 and TSK-30. ## Requirements * Node.js 22.12 or newer. * A RubixKube account. Sign up at [console.rubixkube.ai](https://console.rubixkube.ai). > [card] [Install and sign in](/cli/installation) > > Install with npm and sign in with a code. > [card] [Chat in the terminal](/cli/usage) > > Approvals, @ mentions, environments and keys. > [card] [Browse](/cli/browse) > > Work through incidents, RCAs and Tasks. > [card] [Commands](/cli/commands) > > Every command, slash command and key. # Troubleshooting the CLI Source: https://docs.rubixkube.ai/cli/troubleshooting Fixes for the Rubix CLI when it won't install, won't sign in, or looks wrong in your terminal. Find what you're seeing, and try the fix under it. ## Install > [accordion] npm says the engine is unsupported, or the CLI won't start > > The CLI needs Node.js 22.12 or newer. Check with `node --version`. With nvm, run `nvm install 22` and `nvm use 22`, then install the CLI again. With Homebrew, run `brew upgrade node`. > [accordion] rubix: command not found > > npm's global `bin` folder isn't on your `PATH`. Run `npm prefix -g` and add the `bin` folder inside it to your `PATH` in your shell profile. With nvm or asdf, install the CLI again after you switch Node versions, because each version has its own global packages. > [accordion] The version is older than expected > > Run `npm install -g @rubixkube/rubix@latest`. With npx, run `npx @rubixkube/rubix@latest` once to skip a cached copy. ## Sign in > [accordion] The browser doesn't open > > Copy the link the CLI prints into any browser, on any device, and enter the code. This is the usual way over SSH. > [accordion] The code expired > > Run `rubix login` again for a new code, and approve it straight away. Codes expire. > [accordion] Not signed in. Run `rubix login` first. > > Your sign-in is missing or has ended. Run `rubix login`. If it keeps happening, run `rubix logout` and then `rubix login` for a clean start. > [accordion] I'm in the wrong organization > > The CLI uses your account's home organization, the one you signed up to or were first invited to. It doesn't switch between organizations. Use the console to work in another one. ## Chat > [accordion] Rubix won't make a change > > The mode decides what Rubix can do. In Observe, nothing that changes anything runs. Switch with `/mode` or Shift+Tab, up to your organization's highest mode. See [Modes](/using/modes). > [accordion] rubix -p exits with code 2 > > Rubix needs an approval or asked a question. Run the `rubix chat -s ` line it printed and answer there. > [accordion] Rubix looks at the wrong environment > > Pick one with `/env `, or pass `--env ` to `rubix -p`. `/env` on its own lists the names. > [accordion] A file I named with @ wasn't sent > > Text files go in up to 256 KB, and images and PDFs up to 20 MB. Check the path is relative to the folder you started `rubix` in, such as `@./logs/app.log`. > [accordion] Ctrl+G says it couldn't open an editor > > Set `VISUAL` or `EDITOR` to your editor, such as `export EDITOR=nano`. ## The terminal > [accordion] Long pastes get cut off > > Some terminals cut long pastes. Use `/paste` to read from the clipboard, or Ctrl+G to write in your editor. > [accordion] Mouse clicks do odd things, or I can't select text > > In Browse, dragging selects and copies. Shift-drag uses your terminal's own selection. Set `RUBIX_MOUSE=0` to turn the mouse off. > [accordion] Links show as raw text, or don't open > > Set `RUBIX_LINKS=1` to turn terminal hyperlinks on, or `RUBIX_LINKS=0` to turn them off. > [accordion] The pixel Rubix or colours look wrong > > Set `RUBIX_MASCOT=0` for plain text, or `NO_COLOR=1` for no colour at all. ## Network The CLI needs HTTPS access to three hosts: `console.rubixkube.ai` for everything it does, `rubixkube.us.auth0.com` to sign in, and `registry.npmjs.org` for the daily update check. It connects to them directly, so allow them on your firewall or VPN. ## Still stuck? Email [connect@rubixkube.ai](mailto:connect@rubixkube.ai) with the output of `rubix --version`, `node --version`, your operating system, and what you ran. > [card] [Install and sign in](/cli/installation) > > Start again from the top. > [card] [FAQ](/cli/faq) > > Common questions about the CLI. # Chat in the terminal Source: https://docs.rubixkube.ai/cli/usage Chat with Rubix from a terminal: answer approvals, add incidents and files with @, pick an environment, and write in your editor. Chat is where you ask Rubix things and work through them together, without leaving the terminal. Run `rubix` with no command to open it. ![The Rubix CLI home card: the mode and environment, one incident that needs you, what changed since you were last here, starter questions, shortcuts and recent chats, with the input below](https://mintcdn.com/rubixkube/D81XqyU3PwPNNRik/images/cli/home.png?fit=max\&auto=format\&n=D81XqyU3PwPNNRik\&q=85\&s=f656c136cc10c42b2a2ce9ac6270b285) ## When you'd use this * **You want to know how things stand.** The home card greets you with how things stand, what changed since you were last here, and a few starter questions. Press Tab to use one. * **You're looking into one incident.** Type `@INC-12` and ask what caused it. Rubix starts from that incident. * **You have a file Rubix should see.** Name it with `@./path`. Screenshots and PDFs are uploaded to the chat, and other files go in as text. * **Rubix wants to change something.** You answer the approval with one key, right there. ## Ask and follow up Type a question and press Enter. Shift+Enter starts a new line. Rubix shows its work as it goes, then the answer. Links Rubix writes to incidents, RCAs and Tasks show as cards. Keep asking in the same chat. Rubix remembers the conversation. You can type while Rubix is answering: Enter queues the message, and the up arrow edits the first one in the queue. Ctrl+C stops a reply. Chats are shared with the console. `/resume` picks an earlier chat, `rubix chat -s ` opens one from the shell, and `/new` starts a fresh one. Rubix gives each chat its title. ## Approvals and questions What Rubix can do without asking depends on the mode. Change it with `/mode`, or press Shift+Tab to go through Observe, Assist and Auto. You can't go above your organization's highest mode. See [Modes](/using/modes). When Rubix needs approval, the request shows above the input. Press a key: | Key | What happens | | - | - | | `y` | Approve this once | | `a` | Approve this tool for the rest of the chat | | `n` | Decline | When Rubix asks a question, answer with the number of a choice or type your own answer. Esc skips it. Choices and buttons Rubix sends work the same way. If Rubix wrote a plan, `/plan execute` runs it and `/plan drop` sets it aside. ## Add context with @ Type `@` anywhere in a message for a list of open incidents, Tasks, RCAs, environments and files in the current folder. Keep typing to narrow it, then pick one. | You pick | It goes in as | Rubix gets | | - | - | - | | An incident, RCA or Task | `@INC-12`, `@RCA-4`, `@TSK-30` | That record | | An environment | `@env:prod-us-east-1` | That environment | | A file | `@./deploy.yaml` | The file as text, up to 256 KB | | An image or PDF | `@./screenshot.png` | The file, uploaded to the chat, up to 20 MB | Chat opens in a folder only after you trust it. See [Install and sign in](/cli/installation#trust-the-folder). ## Pick an environment `/env prod-us-east-1` points Rubix at that environment. `/env` on its own lists them. The environment goes with your next message, as `/env` does in the console, and the CLI remembers it for the next chat. ## Model, effort and style * `/model` picks the model for this chat, from the ones your organization has. New chats start on the Primary model. See [Models](/using/models). * `/effort` sets how hard the model reasons: auto, or one of the model's levels. * `/style` sets how much Rubix says while it works: quiet, normal or verbose. ## Write in your editor Ctrl+G opens the message in your editor: `$VISUAL`, then `$EDITOR`, then `vi`. Save and close it, and the text comes back to the input, ready to send. It's easier than the input line for a long question or pasted YAML. ## Run a shell command Start a line with `!` to run it in your shell, such as `!kubectl get pods -n payments`. It runs in the folder you started `rubix` in and stops after 30 seconds. The output shows in the chat, and Rubix doesn't see it until you send it: `/send` sends the last command and its output to Rubix. Esc leaves shell mode. ## Rubix in pixels A small pixel Rubix sits in the home card's header. `/pet` puts it above the input, where it shows what Rubix is doing: thinking, working, waiting for you (it waves), done (it hops) or failed (it shakes). It sleeps when no environment is connected. `/pet` again hides it, and the CLI remembers which you chose. > [!NOTE] > > Set `RUBIX_MASCOT=0` or `NO_COLOR` to see plain text instead. The pixel Rubix also stays off when the output isn't a terminal. > [card] [Browse](/cli/browse) > > Lists of incidents, RCAs and Tasks, full screen. > [card] [Commands](/cli/commands) > > Every slash command and key. > [card] [Chat prompts](/tutorials/chat-prompts) > > Good questions to ask Rubix. > [card] [Modes](/using/modes) > > What Rubix can do without asking. # Sources and environments Source: https://docs.rubixkube.ai/concepts/environments A source is a cluster, cloud account, machine or tool you connect. An environment, such as staging, is a label across sources. Two words matter on this page. A **source** is one thing you connect: a Kubernetes cluster, a cloud account, a machine or a tool. An **environment** is a label you put on sources, such as `staging` or `production`, so you can work across them. Say your `production` label covers the `prod-us-east-1` cluster, the AWS account behind it and the Datadog account watching both. That's three sources and one environment. Every part of the product (Chat, Incidents, RCAs, Tasks) respects the environment you pick. ![Three sources labelled production and two labelled staging. Picking production narrows everything to those three](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/source-env-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=b46d6f705cbe55a7f86c946a46470ec4) ## What counts as a source * **Kubernetes cluster.** One EKS, GKE, AKS or self-managed cluster, with an [observer](/concepts/observer-agent) inside it. * **Cloud account.** One AWS account or Google Cloud project, watched by an observer. * **Machine.** A Linux or macOS host with an observer installed. * **Connected tool.** Datadog, PagerDuty, Grafana, Sentry, Jira, Linear, Observe or [your own webhook](/integrations/webhooks). Connected tools have no observer. You point the tool at a webhook address from **Environments > Connect**, and the source appears when the first message arrives. A built-in automation turns each message into an incident or a recovery. ## Multi-source organizations An organization is the top-level container. Inside it you can mix sources freely. A representative setup looks like: * One `prod-us-east-1` Kubernetes cluster, labelled `production`. * One `staging-gke` Kubernetes cluster, labelled `staging`. * One AWS account, labelled `production`. * One Datadog account that covers both labels. All four feed the same knowledge graph and the same memory. A chat question like "what changed in `orders-api` in the last hour" spans them. An RCA that starts on a pod can read from the AWS account and Datadog too, because Rubix reads every source it can reach. ## Source properties Every source carries a small set of things that shape how RubixKube works with it. | Property | Purpose | | - | - | | **Name** | Label used across the product. Rename it from the source's menu | | **Type** | Kubernetes, AWS, Google Cloud, machine or connected tool | | **Environments** | The labels on this source. Admins add and remove them on its page | | **Configuration** | Detection rules, timing, ignore lists and privacy. Kubernetes observers have all four | | **Links** | Which other sources describe the same thing | Configuration can be set for the organization, for an environment label or for one source. Settings made higher up can be locked, and the source shows where each value came from. ## How it scales ### 1. One source You see the whole product right away. Topology, incidents, chat, RCAs, Tasks. ### 2. A few sources Links between them start to pay off. Rubix follows a problem from a Datadog alert to the pod behind it. ### 3. Many sources Environment labels keep it tidy. Pick one to see only that part of your estate, and set configuration by label instead of source by source. ## Links between sources Two sources often describe the same thing. A Datadog host and a Kubernetes node, say. RubixKube finds those links so an incident on one can reach what the other knows. The **Correlate sources** automation runs on a schedule and when you connect something. Shared ids, such as a node's instance id, confirm a link in code. When only the names match, Rubix asks. You see a question on the source's page, and you answer Yes, No or Skip. Your answer is final. ![A Datadog host and a Kubernetes node linked as the same thing, and what changes with a link](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/guides/links-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=3a14db51accdaddb30af05cc4c09f4a6) Links change what happens to incidents. When sources are linked, a tool's alert joins the observer's group for the same thing, and it waits up to 3 minutes for the observer's incident before starting an RCA of its own. Critical incidents skip that wait. ## Common questions > [accordion] How many environments can I connect? > > Individual allows one, Business allows up to three, and Enterprise has no limit. See [Pricing](https://rubixkube.ai/pricing). > [accordion] Does correlation across sources work automatically? > > Partly. Links with shared ids confirm on their own. Links based on names wait for your answer. Rubix can read every source you've connected either way. > [accordion] Can I group sources by team or region? > > Yes. Environment labels are yours to name. An admin creates one from a source's page, and a source can carry several. > [accordion] What happens if an observer disconnects? > > After 5 minutes without a heartbeat the source reads disconnected. After 24 hours it's archived. Its incidents and RCAs stay available, and the observer keeps trying to reconnect. New incidents from it stop until it does. > [accordion] Can I delete a source without losing history? > > No. Deleting a source deletes its history and metrics, and it can't be undone. For a connected tool, its incidents, webhook and automation go too. An observer keeps running until you uninstall it. ## Related concepts > [card] [Observers](/concepts/observer-agent) > > What you install to watch a cluster, account or machine. > [card] [Environments in the console](/using/environments) > > How to manage, label and configure sources day to day. > [card] [Connect your environment](/getting-started/connect-your-environment) > > How to connect your first source. > [card] [Integrations](/integrations/overview) > > Connect the tools you already use. # Safety and control Source: https://docs.rubixkube.ai/concepts/guardrails What RubixKube can reach in your environment, what Rubix can change, where your data goes, and what's on the record. This page tells you what RubixKube can reach, what Rubix can change, and what gets recorded, so you can decide how far to trust it. If your question isn't answered here, email [security@rubixkube.ai](mailto:security@rubixkube.ai). ## What Rubix can do You choose how much Rubix does on its own. There are three modes. | Mode | Reads | Changes | Destructive actions | | - | - | - | - | | **Observe** | Runs | Blocked | Blocked | | **Assist** | Runs | Asks each time | Asks each time | | **Auto** | Runs | Runs without asking | Asks each time | New organizations start in Observe, with Assist as the highest mode anyone can use. Admins change both in **Settings > Modes**. People can switch a chat's mode up to that highest mode, never above it. See [Modes](/using/modes). ![Rubix asking for approval before a change in chat](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/console/approval-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=db7f5c524132c82c4f64eb48b826de08) > [!WARNING] > > In Auto, Rubix makes changes without asking. Only destructive actions stop for a person. Allow Auto only if you're comfortable with that for everything Rubix can reach. A few more rules apply in every mode. * **Allow in this chat.** When Rubix asks, you can approve one tool for the rest of the chat. This never applies to destructive actions, which ask every time. * **No answer means no.** If nobody answers an approval in time, the change doesn't run. * **Automations have nobody to ask.** An automation's Rubix step only reads, unless it's set to make changes and your highest mode is Auto. Anything that needs approval is refused. Add an approve step before it if a person should decide. * **RCAs only read.** An RCA investigation can't change anything. Custom agents in **Customize > Agents** only read too. * **Hooks.** On Business and Enterprise, a hook in **Customize > Hooks** can check Rubix's tool calls through a URL or a model. It can block a change, or require approval even in Auto. Rubix judges each tool from the labels on the tool itself. A tool with no labels is judged from a reviewed list of read tools, or for integrations from its name. If you connect a tool whose labels are wrong, Rubix relies on those labels, so review what you connect. Rubix makes changes through connected tools. If you connect GitHub or GitLab, one of those changes can be a pull request. It's a change like any other for the mode, and the review and merge then happen in your own pipeline. ## What an observer can reach An observer is the only part of RubixKube that runs in your environment. What it can reach depends on the type. ### Kubernetes The observer uses a `ServiceAccount` bound to a `ClusterRole`. It doesn't need cluster-admin. It isn't read-only in the Kubernetes sense either, so here's exactly what the role grants. | Access | Resources | What the manifest says it's for | | - | - | - | | `get`, `list`, `watch` | Pods, services, endpoints, nodes, namespaces, events, ConfigMaps, **Secrets**, persistent volumes and claims, service accounts | Monitoring | | `get`, `list`, `watch` | Deployments, replicasets, daemonsets, statefulsets, ingresses, network policies, jobs, cronjobs, autoscalers, storage classes, volume attachments | Monitoring | | `get`, `list`, `watch` | Roles, role bindings, cluster roles, cluster role bindings | Read-only security analysis | | `get`, `list`, `watch` | Custom resource definitions | Monitoring | | `get`, `list` | Pod and node metrics | Metrics, if metrics-server is available | | `get`, `list` | `pods/log` | On-demand log collection | | **`create`** | **`pods/exec`** | Advanced troubleshooting when needed | | `create`, `patch` | Events | Alerts about configuration failures | It also gets a role in its own namespace to manage Leases, for choosing a leader and listing running observer pods. So its service account can read every Secret in the cluster and can open an exec session in any pod. Here's what the observer's code does with that today. * **Secrets.** It watches Secrets by metadata only, so their content doesn't reach it for change tracking. Its built-in Kubernetes tools return a Secret's key names and never its values. * **Exec.** Its built-in tools don't use `pods/exec`. * **Its own tools only read.** Rubix reaches the cluster through those tools. If you add your own MCP servers through the `mcp-config` ConfigMap, what those do is up to you. The pod runs as a non-root user, with a read-only root filesystem, no added Linux capabilities and no privilege escalation. #### Review and trim the manifest The install command applies a manifest from a URL. You can download it and read it first. ```bash theme={null} curl -o observer.yaml "https://api.rubixkube.ai/install/observer.yaml?apiKey=YOUR_API_KEY" kubectl apply -f observer.yaml ``` The file is plain Kubernetes YAML, so you can edit it before you apply it. Two trims are safe. * Remove the `pods/exec` rule. The built-in tools don't use it. * Remove `secrets` from the first rule. The observer then logs a line and skips Secret change tracking, and everything else keeps working. Keep the rules for pods, nodes, deployments, services and replicasets, because detection depends on them. > [!WARNING] > > The file holds your API key in a Kubernetes `Secret`, so treat it as a credential. Keep your edited copy too. Applying a fresh manifest from the URL puts every rule back. ### Cloud accounts The install script sets up read access. * **AWS.** It shows a minimal IAM policy with only describe, get, list and similar read actions. You can use the `ReadOnlyAccess` managed policy instead. * **Google Cloud.** It creates a service account with viewer roles, such as `compute.viewer`, `monitoring.viewer` and `logging.viewer`. ### Machines The installer needs root, and the observer runs as a root service on the host. Rubix can ask it to run shell commands for diagnosis. The observer checks each command against its list of allowed commands and blocked patterns. Treat it like any other service running as root on that machine. ## Network Nothing outside your network connects in to an observer. It opens two outbound connections. | Endpoint | Purpose | Connection | | - | - | - | | `api.rubixkube.ai:443` | Registration, heartbeats, settings | HTTPS, outbound | | `nats.rubixkube.ai:4222` | Incidents, topology, requests from Rubix | Authenticated connection, outbound only | With several replicas, Kubernetes observer pods also talk to each other on port 8090 inside their namespace. Browser and API traffic uses HTTPS. ## Hide sensitive values The Kubernetes observer replaces sensitive values in your cluster, before logs or tool results reach RubixKube. It's on by default. `jane@example.com` is sent as ``, and the same value always gets the same tag. Open the source, then **Configuration > Privacy**. You can see what's hidden (keys, tokens, passwords, emails, cards, public IPs), turn each kind on or off, and add patterns of your own. If you turn it off, credentials and personal data in logs are sent as they are. This works by matching patterns, so a value in an unusual format can get through. **Configuration > Ignore** stops problems being raised for a namespace or workload, and it doesn't hide those pods from the topology. ## What RubixKube stores, and where RubixKube stores the following for your organization. * Incidents and their evidence, which can include log lines and tool results. * RCAs, Tasks, comments and chats. * Topology, inventory and metrics from your sources. Logs can contain whatever your applications write, so assume some application data reaches RubixKube unless your privacy rules hide it. Data is stored in Google Cloud `us-central1`. RubixKube runs as a hosted service, so an observer needs to reach the two endpoints above. There's no air-gapped option. By default Rubix runs on Google's Gemini models through Vertex AI. What Rubix reads, including evidence and tool results, goes to the model. On Business and Enterprise, you can add your own provider in **Settings > Models**, and then that provider receives it. See [Models](/using/models). ## Your organization Each record belongs to one organization. Members have one of two roles, admin or user. Admins control modes, members and sources. Deleting a source deletes its history and metrics. Deactivating an organization deletes nothing. To ask about deleting your organization's data, email [security@rubixkube.ai](mailto:security@rubixkube.ai). ## Rubix can be wrong An RCA is an investigation by a model, so treat it as a strong lead. Some checks help you judge it. * **Evidence.** Each finding cites the tool result behind it, and code checks that quotes match what the tools returned. * **Verdicts.** The report says whether the cause was found, is probable, or wasn't determined. * **Confidence.** Code caps it at 0.95, and holds it at 0.5 when the cause isn't settled or the claims aren't cited. * **Your rating.** Answer **Was this the cause?** on the RCA. Rubix reads it next time. See [Root cause analysis](/concepts/root-cause-analysis). ## What's on the record **Settings > Activity** lists Rubix's tool calls, and admins can open it. Each row shows what ran, on what, for whom, the outcome (Ran, Blocked, Needed approval or Failed) and who or what decided. Filter by Changes, Reads or Hooks, and export as CSV or JSON. ![The Activity page listing Rubix's tool calls and who decided each one](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/console/settings-activity-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=76f9fc5bb50b5caac006037edc01dd6a) Incidents and Tasks keep their own history next to their comments: who changed what, and when, with Rubix and automations named as well as people. ## Certifications and questionnaires For certifications, compliance questions or a security questionnaire, email [security@rubixkube.ai](mailto:security@rubixkube.ai). Our [security policy](https://github.com/rubixkube-io/docs/blob/main/SECURITY.md) explains how to report a vulnerability. Check live status on [System status](/support/system-status). ## Common questions > [accordion] Does Rubix ever change things without a person? > > Yes, if you allow it. In Auto, Rubix makes changes without asking, and destructive actions still ask. An automation can make changes when it's set to and your highest mode is Auto. In Observe, and by default, Rubix makes no changes. > [accordion] Is the observer read-only? > > Its built-in tools only read. Its Kubernetes permissions are wider: it can read Secrets, create `pods/exec`, and create and patch events. On a machine it runs as root. The sections above have the details. > [accordion] Can I run RubixKube in an air-gapped environment? > > No. Observers need outbound access to `api.rubixkube.ai:443` and `nats.rubixkube.ai:4222`. Private networks work as long as those two endpoints are reachable. > [accordion] Where is my data stored? > > In Google Cloud `us-central1`. > [accordion] Is there a way to limit what the observer sees? > > On Kubernetes, yes. Trim the manifest, use **Configuration > Privacy** to hide values, and use **Configuration > Ignore** to stop incidents for a namespace or workload. ## Related concepts > [card] [Modes](/using/modes) > > Set what Rubix can do. > [card] [Observers](/concepts/observer-agent) > > What runs in your environment. > [card] [Root cause analysis](/concepts/root-cause-analysis) > > How evidence works end to end. > [card] [Activity](/using/settings) > > Where Rubix's tool calls are recorded. # How RubixKube works Source: https://docs.rubixkube.ai/concepts/how-rubixkube-works What happens from the moment something breaks to the moment it's fixed, and where you stay in charge. RubixKube helps your team run infrastructure with an agent. Observers and connected tools report what breaks. RubixKube turns that into incidents, and **Rubix**, the agent, investigates them. This page is the five-minute tour of how the pieces fit. Each piece has its own page, linked as you go. ![The loop: something reports it, an incident opens, triage and grouping, Rubix investigates, you get Tasks, it recovers, and the next incident starts with all of this](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/guides/loop-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=8dc2ac4b03bc245c5dfb183621a1e684) ## The short version Here's the loop, using an ordinary example. A new `orders-api` version raises its database pool. Connections to `orders-db` run out, and `payments-api` starts crash-looping. ### 1. Something reports what broke The [observer](/concepts/observer-agent) in `prod-us-east-1` sees the crash loop. If you connected Datadog, PagerDuty or another tool, its alerts arrive by webhook as well. ### 2. RubixKube opens an incident Each report becomes an [incident](/concepts/incidents), or counts as another sighting of one that's already open. ### 3. It's triaged and grouped Triage sets the severity and decides what happens next. Incidents with the same cause or on the same resource join one group, so you get one investigation instead of five. ### 4. Rubix investigates Rubix reads logs, metrics, recent changes and past incidents, then writes a [root cause analysis](/concepts/root-cause-analysis). Every finding cites the evidence behind it, and the RCA says so when it can't settle the cause. ### 5. Rubix suggests Tasks The RCA suggests [Tasks](/concepts/tasks): a Fix for now, such as setting `DB_POOL_SIZE` back to 10, and Follow-ups so it doesn't happen again. ### 6. You decide how much Rubix does You pick how much Rubix does on its own. In [Observe](/using/modes) it reads. In Assist it asks before every change. In Auto it changes things without asking, and destructive actions still ask. ### 7. It's remembered The observer sees the recovery, and RubixKube records what fixed it. The next RCA on the same thing starts with that history, including how your team rated it. ## Why it's a loop Most tools see your infrastructure for the first time every time you log in. Dashboards don't remember, and every incident starts from scratch. RubixKube keeps what it learns. Your team's comments, your answers to "What fixed it?" and your ratings on RCAs are all stored in [RubixKube's memory](/concepts/memory-engine), so the next incident starts with more context than the last one did. ## What you see, and when ### 1. When you connect a source The observer reports what's running. The [knowledge graph](/concepts/knowledge-graph) fills with your services, nodes and how they connect, and the source's page shows it. ### 2. When something breaks An incident appears, and the incident page shows when the RCA will start and how far along it is. Critical incidents start right away. Lower severities wait a few minutes in case the problem clears by itself. ### 3. After a few incidents Past RCAs come up in new investigations. Rubix treats a past cause as a lead to test, and the new report says whether it held. ### 4. Ongoing Every answer you give feeds the next run. A problem that keeps coming back is marked Recurring, and Rubix asks you to decide instead of investigating it again and again. ## Where each piece fits Only the observer runs near your workload. Everything else runs in RubixKube, and you never install, upgrade or patch it. | Piece | What it does | Where it runs | | - | - | - | | [Observers](/concepts/observer-agent) | Watch a cluster, cloud account or machine and report what breaks | In your environment | | [Connected tools](/integrations/overview) | Send alerts by webhook, and give Rubix more to read | Your existing tools | | [Memory](/concepts/memory-engine) | Keeps incidents, RCAs, Tasks and what your team said | RubixKube | | [Knowledge graph](/concepts/knowledge-graph) | Connects your resources, incidents, changes and RCAs | RubixKube | | [Rubix](/using/rubix-chat-agent) | Investigates, answers in chat, and uses [skills](/concepts/skills) and tools | RubixKube | | [Automations](/using/automations) | Run triage, grouping, RCAs and the steps you build | RubixKube | Rubix is one agent, and you can add your own read-only specialists in **Customize > Agents**. Rubix hands them focused questions. [Custom integrations](/tutorials/add-custom-integrations) add tools Rubix can use. ## Where you start > [card] [Incidents](/concepts/incidents) > > Read next if you want to know what happens to each report. > [card] [Quickstart](/getting-started/quickstart) > > Read next if you want to see it running against a real environment. > [card] [Safety and control](/concepts/guardrails) > > Read next if you want to know what Rubix can reach and change. ## Common questions > [accordion] Is this another monitoring tool? > > No. Monitoring tells you something is wrong. RubixKube looks into what's wrong and why, and suggests what to do about it. Every RCA cites the evidence it came from, and Rubix can be wrong, so you can check it and rate it. > [accordion] Does RubixKube replace Prometheus, Datadog, or similar? > > It doesn't have to. Those systems stay in place. Connect them and their alerts become incidents next to what your observers report. See [Integrations](/integrations/overview). > [accordion] What can I connect? > > Kubernetes clusters (EKS, GKE, AKS, self-managed), AWS accounts, Google Cloud projects, Linux and macOS machines, and tools such as Datadog, PagerDuty, Grafana, Sentry, Jira, Linear and Observe. Any other tool can use [your own webhook](/integrations/webhooks). > [accordion] Can two incidents overlap? > > Yes. Related ones join a group and share one RCA. Unrelated ones each get their own, and each RCA can read the same knowledge graph. > [accordion] How is my data handled? > > Each record belongs to one organization. [Safety and control](/concepts/guardrails) lists what's collected, where it's stored and what's recorded. # Incidents Source: https://docs.rubixkube.ai/concepts/incidents An incident is something that broke, reported by an observer, a connected tool or a person, with the evidence behind it. An incident is RubixKube's answer to the question "what should I look at right now?" It's something that broke, shown with the evidence behind it and the resources it affects. Incidents come from three places. An observer rule fires, a connected tool sends an alert by webhook, or someone on your team reports one. All three look the same once they arrive, and all three go through the same steps. ![The four steps on an incident row, and the five stages with who has the next move](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/guides/incident-stages-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=56cce69fa8386febb343f6947c89fb12) ## What makes an incident * **Where it came from.** An observer, a connected tool, a person or an agent. The incident says which. * **Severity.** Low, Medium, High or Critical. * **Evidence.** What the observer or tool sent: the event, logs and recent changes it saw. * **Scope.** An incident names the affected resource and the source it lives on. * **A short code.** INC-12, unique in your organization. Use it in chat, or with any tool that takes an incident. ## How incidents differ from alerts | Aspect | An alert from one tool | A RubixKube incident | | - | - | - | | Trigger | One rule in one tool | An observer rule, an alert from any connected tool, or a person | | Repeats | Fires again | Counts as another sighting of the open incident | | Related problems | One alert each | Join one group, with one RCA | | Context | What that tool knows | Evidence from every source Rubix can read | | Follow-through | Requires a human to correlate | An RCA starts on its own and suggests Tasks | ## The incident lifecycle ### 1. Detected A rule fires or an alert arrives. The incident opens and subscribers get notified on the channels you set in [Notifications](/using/notifications). ### 2. Triaged and grouped Triage can change the severity and impact, hold the RCA, or mark the alert as known. Related incidents join a group. ### 3. Investigated After a short wait by severity, Rubix writes an [RCA](/concepts/root-cause-analysis). The incident page shows when it will start and how far along it is. ### 4. Worked The RCA suggests [Tasks](/concepts/tasks). Your team picks them up, or asks Rubix for help in chat. ### 5. Recovered and closed Recovery has its own section below. An incident stays open until someone closes it, unless your organization turned on auto-close. In the list, each incident sits under **Needs you**, **Investigating**, **Open**, **Resolved** or **Ignored**. Needs you means it recovered and RubixKube is asking what fixed it. ## Groups When one cause breaks several things, you don't want several investigations. Incidents join a group when they're on the same resource, or share a cause, within 30 minutes on one source. The list shows it as one row marked **Group**, with a stack icon. ![Four alerts from two sources become one group, with one RCA, one set of Tasks and one Slack thread](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/guides/grouping-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=3dfa63ebabc81028ca5c06b9d432072e) A group has one RCA for all its members. In our example, `payments-api` crash-looping and a Datadog alert on `orders-db` end up together, if the Datadog source and the cluster are [linked](/concepts/environments#links-between-sources). The **Classify incidents** automation handles bursts. When many incidents arrive at once from one source, it folds them into one group. If a member breaks again after its group's Fix, it leaves the group and gets looked at on its own. ## Recovery Observers keep checking every open incident. Connected tools send their own recovery messages, and those resolve the incident. ### 1. The observer sees it healthy It checks every minute. A first healthy reading shows the incident as **Verifying**, and any RCA that hasn't started waits to see if the recovery holds. ### 2. It stays healthy After 10 minutes healthy, the observer reports the recovery and the changes it saw. RubixKube records why: fixed by a change, recovered on its own, or the resource was removed. ### 3. Someone confirms, if needed When the reason isn't clear, the incident moves to Needs you and asks **What fixed it?**. Your answer is kept for next time. ### 4. It closes Turn on **Close incidents when they recover** in **Settings > Incidents** to close recovered incidents on their own. It's off by default. If a closed incident comes back, RubixKube opens a new incident linked to the old one. A problem that keeps coming back and has already had 3 RCAs in 7 days is marked **Recurring**. Rubix stops investigating it and asks you to snooze it, ignore it or run the RCA again. You can change these numbers in **Settings > Incidents**. ## Severity, and how it is set Severity starts with whoever reported the problem, and triage can change it. > [accordion] The rule or the alert > > An observer rule has its own severity. A connected tool's handler maps the tool's priority to ours. A Datadog Warn opens one severity lower than an Alert. > [accordion] Triage > > The **Triage incident** automation reads the incident and can raise or lower the severity and set the impact. > [accordion] What severity changes > > It decides how long the RCA waits. Critical starts right away, High waits 2 minutes, Medium 5, Low 10. You can change these waits in **Settings > Incidents**. ## What to do with an incident * **Read.** Open it. Skim the evidence, the affected resources and the RCA when it lands. * **Investigate.** Click **Ask Rubix** to ask questions. The chat starts with the incident in view. * **Route.** Assign a Task to a teammate, or leave a comment and mention them. Mention @Rubix in a comment to bring Rubix in. * **Close or ignore.** Close it when it's done. If it's expected, **Ignore** keeps that exact problem on record without an RCA. ## Common questions > [accordion] Why did I not get an incident for this? > > Usually one of four reasons. No rule matched. The problem cleared during the observer's hold. Its namespace or workload is on the source's ignore list. Or it counted as another sighting of an open incident on the same resource. > [accordion] Can I turn incidents off for a resource? > > Yes, on Kubernetes. Open the source, then **Configuration > Ignore**, and add namespaces or workloads. Problems there don't raise incidents, and their pods stay in the topology. > [accordion] How fast is detection? > > An observer holds a new problem for at least 30 seconds, so things that fix themselves don't flood the list. By default it reports after 3 checks or 5 minutes, and some rules wait longer, such as 2 minutes for a pending pod. You can change the timing in **Configuration > Timing**. > [accordion] Does every incident get an RCA? > > No. A group shares one RCA. An incident that recovers before its RCA starts doesn't get one, and neither does one triage marks as known or one that's Recurring. You can start one yourself with **Run the RCA again**. An RCA that can't settle the cause is still published, and it says so. ## Related concepts > [card] [Root cause analysis](/concepts/root-cause-analysis) > > How an incident becomes a report with cited evidence. > [card] [Incidents in the console](/using/incidents) > > The page where you work with incidents. # Knowledge graph Source: https://docs.rubixkube.ai/concepts/knowledge-graph A live model of your infrastructure: resources, how they connect, and the incidents, changes and RCAs around them. The knowledge graph is what RubixKube knows about your systems. It holds the resources across every source you connect, the relationships between them, and the incidents, RCAs and Tasks they've been part of. Rubix reads it during chats and RCAs. Because it's a graph, you can ask questions that cross boundaries: a Kubernetes pod talking to an RDS instance, or a VM behind a load balancer. Those questions get answered because the things are linked. ![A small graph linking payments-api, orders-api, orders-db, an incident, a rollout, an RCA, a Fix and a Datadog host](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/guides/knowledge-graph-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=fe379d54ca1c27a247f69cd0cfc9472d) ## What lives in the graph * **Resources.** Pods, deployments, services, EC2 instances, nodes, and everything in between. * **Relationships.** Manages, hosts, routes-to, runs-on. Each comes from what an observer sees. * **Incidents and RCAs.** Each incident, the RCA that explains it, and the resources they affect. * **Tasks.** What was suggested, tied to its incident and RCA. * **Changes.** The changes credited with fixing a problem, tied to the resource they touched. * **Links.** Which things in different sources are the same thing. * **Reads.** What each connected tool can read, so an RCA knows where to look. ## How the graph stays current ### 1. Topology arrives from observers Each observer sends its full topology, then the changes. Resources that disappear from the topology fall out of the graph. ### 2. Events add history Incidents, RCAs, Tasks and recoveries each add to the graph as they happen. ### 3. Links join sources When two sources describe the same thing, a [link](/concepts/environments#links-between-sources) connects them in the graph. ## Why a graph and not a table Three kinds of question that tables struggle with. > [accordion] What's connected > > "What sits next to `orders-db`?" Answered by walking the relationships from that resource. > [accordion] Across sources > > "Is this Datadog host the node `payments-api` runs on?" Answered through a link between the two sources. > [accordion] Past incidents > > "What has broken around `orders-api` before?" Answered by walking from the resource to its incidents and RCAs. ## What you can do with the graph directly The graph powers the product, and you can ask it questions yourself. * **Chat.** Ask in plain language. Rubix searches the graph. * **The source's page.** Environments shows what's running on each source and what each thing connects to. * **Your AI tools.** The [MCP server](/integrations/mcp) offers `search_knowledge`, `ask_knowledge`, `similar_incidents` and `what_changed`. ## Privacy and scope The graph is scoped to your organization. Every node belongs to one organization. See [Safety and control](/concepts/guardrails). ## Common questions > [accordion] Is the graph a CMDB? > > The resource part overlaps with what a CMDB holds. The graph also links resources to incidents and RCAs, and observers keep it up to date, so nobody has to. > [accordion] Can I see the whole graph as one picture? > > Not as one picture. Each source's page shows its own resources and connections, and Rubix reads across all of them. > [accordion] How does RubixKube handle multi-region and multi-account setups? > > Each cluster or cloud account you connect is its own source. Links join them where they share ids, or where you confirm a match. ## Related concepts > [card] [Observers](/concepts/observer-agent) > > What keeps the graph current. > [card] [RubixKube's memory](/concepts/memory-engine) > > The history that sits alongside the live graph. > [card] [Sources and environments](/concepts/environments) > > What feeds the graph, and how sources link up. # RubixKube's memory Source: https://docs.rubixkube.ai/concepts/memory-engine How RubixKube keeps every incident, RCA and correction, and uses them in the next investigation. Most infrastructure tools see your stack for the first time every time you log in. RubixKube remembers. Its memory turns each incident into something your team and Rubix can use next time. It belongs to your organization, and the more incidents you work through, the more it has to offer. ## What the memory stores * **Incidents.** What broke, the evidence, the history of who did what. * **RCAs.** Every report, with its verdict and citations. * **Tasks and outcomes.** What was suggested, what was done, and whether a Fix held. * **Your team's words.** Comments on incidents, plus answers to "What fixed it?". * **Ratings.** Whether people said an RCA was Right, Partly right or Wrong, and what the cause really was. * **Topology.** What's running on each source, and what changed. ## How memory helps the next incident Every incident adds to what Rubix starts with next time. ![The first time Rubix starts from scratch. What is kept, an RCA, a rating, a comment and what fixed it, shapes the next time](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/guides/memory-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=458a1a3a11d202969119790a6daf0c5d) ### 1. Past RCAs become leads When a problem shows up again, the RCA starts with past RCAs on the same thing and how they were rated. Rubix tests each past cause against live data and says whether it held. ### 2. Your ratings count A past RCA rated Wrong sends the next investigation to a deeper run. What you said it really was goes with it. Triage can use trusted past RCAs to mark an expected problem as known, so no RCA runs. ### 3. Context survives staff turnover What the team knows gets written down instead of staying in one engineer's head. When they move on, the context stays. ## A concrete example `payments-api` starts crash-looping. The first time, Rubix works through it from scratch: the logs, `orders-db` connections, recent deploys. It finds that a new `orders-api` version raised its database pool. The Fix is setting `DB_POOL_SIZE` back to 10, and someone comments that the pool setting changed in the same release as a load test. Weeks later the same thing happens. The new RCA starts with the old one, its rating and that comment. Rubix checks the current pool size first, because that's what the last RCA points to, and says whether the old cause holds this time. ## Privacy and scope > [accordion] Your memory is yours > > Each record belongs to one organization. RCAs read your organization's history, and nothing else. See [Safety and control](/concepts/guardrails). > [accordion] Sensitive content > > On Kubernetes, the observer hides passwords, tokens, emails and similar values before logs or tool results leave your cluster. Change what's hidden in **Configuration > Privacy** on the source's page. > [accordion] Export > > Each RCA exports as Markdown from its menu. Admins can export Rubix's activity as CSV or JSON from **Settings > Activity**. > [accordion] Deleting a source > > Deleting a source deletes its history and metrics, and it can't be undone. ## How to get the most out of memory Small habits make the memory far more useful. * **Comment on the incident.** One or two sentences on what worked and why, plus anything a newcomer wouldn't know. Rubix reads comments. * **Rate the RCA.** Answer **Was this the cause?**. If it's wrong, say what it really was. * **Answer "What fixed it?".** It takes a moment, and it's how RubixKube credits the right change. * **Teach it your runbooks.** Write them down as [skills](/concepts/skills), and Rubix loads them when they fit the problem. ## Common questions > [accordion] Can I query the memory directly? > > Yes, through Chat. Questions like "have we seen this before" or "what did we do last time" work well. Your AI tools can ask the same through the [MCP server](/integrations/mcp). > [accordion] What about infrastructure that no longer exists? > > Removed resources fall out of the live [knowledge graph](/concepts/knowledge-graph). Past RCAs still name them, so you can read an old incident as it was. Deleting the source is different, because that deletes its history. > [accordion] Does memory help across sources? > > Yes, inside your organization. Rubix can search all your past incidents and RCAs, and links between sources tie them together. ## Related concepts > [card] [Knowledge graph](/concepts/knowledge-graph) > > The live model of your stack, next to the memory. > [card] [Root cause analysis](/concepts/root-cause-analysis) > > How RCAs use what the memory holds. # Observers Source: https://docs.rubixkube.ai/concepts/observer-agent An observer runs near your workload, reports what breaks, keeps the knowledge graph current, and answers Rubix's questions. An observer is the only part of RubixKube that runs near your workload. Everything else lives in RubixKube and works from what the observer sends. There's one kind for Kubernetes and one for machines and cloud accounts. Each discovers what's running, reports what breaks, and answers Rubix when it needs to look closer. Tools such as Datadog don't need an observer. They [connect by webhook](/integrations/overview). ![An observer in your environment opens two outbound connections to RubixKube. Nothing connects in](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/observer-map-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=2c8703911c66dcd1f3be1c30b59a3e8d) ## What an observer does * **Discovers topology.** It builds a map of services, nodes and how they connect, and sends the changes. * **Reports incidents.** Its rules decide what's broken, and it sends each [incident](/concepts/incidents) with its evidence. * **Checks recovery.** Every minute it checks whether open incidents have become healthy. * **Answers Rubix.** During a chat or an RCA, Rubix asks it for logs, metrics and resources. * **Hides sensitive values.** The Kubernetes observer replaces passwords, tokens and similar values before logs or tool results leave your cluster. The Kubernetes observer's own tools only read. Its permissions go further than that, and [Safety and control](/concepts/guardrails) lists them. ## Where it runs, and how small | Source | Install shape | Footprint | | - | - | - | | Kubernetes | `kubectl apply` manifest into the `rubixkube-system` namespace | Requests 256Mi memory and 250m CPU. Limits 768Mi and 1 CPU. Sized for clusters up to about 50 nodes | | AWS, Google Cloud | Install script | Runs as a service or a container, watching the account | | Linux or macOS machine | Install script | Runs as a service on the host | Above about 50 nodes, raise the memory limit or run more replicas. The source's page says which. ## What an observer sees Each source type has a different set of signals, but the shape is consistent. > [accordion] Kubernetes > > * Pods, nodes, deployments, services and replicasets, watched live. > * Changes to deployments, statefulsets, daemonsets, nodes, services and autoscalers. > * Changes to ConfigMaps and Secrets, by name only. The observer doesn't see what changed inside them. > * Logs and metrics, read when Rubix asks. > * Service error rates and latency, where the metrics exist. > [accordion] AWS > > * EC2, EBS, load balancers, Lambda and RDS. > * CloudWatch alarms and logs. > * CloudTrail write events. > [accordion] Google Cloud > > * Compute Engine. > * Cloud Logging. > * Audit logs. > [accordion] Linux or macOS machine > > * CPU, memory and disk. > * Systemd services and restarts. > * Process crashes and OOM kills. > * Journald and syslog. ## How an observer decides what to report Not everything that looks wrong is worth an incident. On Kubernetes, three things decide, and you can change each in **Configuration** on the source's page. ### 1. Rules A rule says what counts as broken: a crash loop, an OOM kill, a pod that won't start or can't be placed, a high error rate, slow responses, or memory growing towards its limit. Turn rules on or off in the **Detection** tab. ### 2. Hold A new problem waits at least 30 seconds. By default it's reported after 3 checks or 5 minutes, whichever comes first. A shorter hold floods the list with things that fix themselves. Change it in the **Timing** tab. ### 3. Ignore lists Problems in the namespaces and workloads you list aren't raised. Their pods stay in the topology. Change them in the **Ignore** tab. ## Outbound network requirements An observer needs two outbound endpoints. * `api.rubixkube.ai:443` (HTTPS) for registration, heartbeats and settings. * `nats.rubixkube.ai:4222` (TCP, authenticated, outbound only) for incidents, topology and requests from Rubix. Nothing outside your network connects in. Rubix's requests arrive over the connection the observer opened. If you run several replicas, the pods also talk to each other on port 8090 inside the namespace. If an endpoint isn't reachable, the observer keeps trying to reconnect. ## Common questions > [accordion] Does an observer need privileged access to my cluster or cloud? > > It doesn't need cluster-admin, and the Kubernetes pod runs as a non-root user with a read-only root filesystem. The `ClusterRole` is still broad: it can read Secrets and create `pods/exec`. On a machine, the observer runs as root. Cloud installers set up read-only access. [Safety and control](/concepts/guardrails) has the details, including how to review the manifest first. > [accordion] Can I run several observers in one source? > > One per cluster, cloud account or machine is the normal setup. On a big Kubernetes cluster, run up to 5 replicas with `?replicas=` on the install address or with `kubectl scale`. One pod is chosen as leader and hands each workload to one pod. > [accordion] How often does an observer talk to RubixKube? > > Continuously. The connection on port 4222 stays open. A heartbeat goes over HTTPS every 60 seconds. > [accordion] What happens if an observer is unreachable? > > After 5 minutes without a heartbeat the source reads disconnected. After 24 hours it's archived. > [accordion] Can I upgrade the Kubernetes observer without downtime? > > Yes. Apply the manifest again. It upgrades the observer and keeps the source, and the Deployment rolls the new pod out. ## Related concepts > [card] [Knowledge graph](/concepts/knowledge-graph) > > What observers keep current. > [card] [Safety and control](/concepts/guardrails) > > What an observer can reach, in full. > [card] [Connect your environment](/getting-started/connect-your-environment) > > Install your first observer. # Root cause analysis Source: https://docs.rubixkube.ai/concepts/root-cause-analysis What's in an RCA, how Rubix builds one, and how to read it well. A root cause analysis (RCA) is the report Rubix writes for an [incident](/concepts/incidents) or a group. It's what your team acts on and refers back to later. Every RCA is built on cited evidence. Each finding points to the tool result, log or change that supports it. Rubix can be wrong, so every RCA shows its evidence and lets you rate it. ![A claim in an RCA links to its evidence, and code checks that the quote matches what the tool returned](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/rca-evidence-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=28f938ef75bafbfc7ca4b6a63c98bd83) ## What a report contains > [accordion] Verdict and confidence > > Whether Rubix settled the cause, and how sure it is. See the table below. > [accordion] Root cause > > What happened and why, with the evidence behind each step, so you can verify instead of trust. > [accordion] Fix and Tasks > > The steps to fix it, and the [Tasks](/concepts/tasks) Rubix suggests. An RCA can suggest none. > [accordion] Impact and current state > > Who and what was affected, and where things stand now. > [accordion] Contributing factors, rollback and timeline > > What made it worse, how to undo the Fix, and the order things happened in. > [accordion] What limited the investigation > > What Rubix couldn't see or settle. A source it couldn't read is named here, with what to check. ### Verdicts | The report says | The incident shows | What it means | | - | - | - | | Root cause found | Root cause | The tool results show the cause directly | | Probable cause | Likely cause | They point to it, but one link isn't shown | | Cause not determined | Not determined | They don't settle it | An unsettled RCA is still published, with what Rubix found and what it ruled out. Confidence is capped at 0.95. It's held at 0.5 when the verdict is Cause not determined or the claims aren't cited. ## When an RCA starts An RCA doesn't start the second an incident opens. Many problems clear by themselves, and an RCA on those is wasted work. ![Default wait before an RCA by severity: Critical none, High 2 minutes, Medium 5, Low 10](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/rca-wait-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=a237db79816e7771059db10470f66e96) Incidents from an observer then get a little longer, up to 10 minutes, for the observer to report a recovery. Critical skips that too. The incident page tells you when the RCA will start and what it's waiting for. Change the waits in **Settings > Incidents**. ![An incident with its RCA in progress](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/console/investigating-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=7dd5ee5e68a538d3ce9e8de4a4ad601b) ## How an RCA is built ### 1. Scope the incident Start from the incident or group, with its evidence, comments and every member. For a group, one RCA covers them all. ### 2. Gather context Pull past RCAs on the same thing and how your team rated them, the sources Rubix can read, and the links between them. ### 3. Investigate Rubix tests each explanation against live data from your sources, and rules out what doesn't hold. A past RCA or a comment is a lead to test, not a finding. Investigations only read. The RCA can't change anything. ### 4. Check the answer Code checks that quotes match what the tools returned, and sets the limits on confidence. ### 5. Publish The report lands on the incident. If the RCA can't finish, it retries. If it still stops, the incident says so and you can run it again. ## What makes an RCA easy to check * **Specific claims.** "`orders-api` raised `DB_POOL_SIZE` to 25 at 14:02" beats "a config change". The specific fact is the claim. * **Direct citations.** Each claim shows the tool result it came from, quoted. * **The same sections.** Root cause, Fix, Impact, Rollback, in the same order every time. ## How to read an RCA well ### 1. Read the verdict and the Fix first If the verdict is Root cause found and the Fix looks right, go to the Tasks. ### 2. Check one or two citations Pick the claims that surprise you. Confirm each matches the underlying data. ### 3. Read what limited it A missing source can change the answer. Connect it and run the RCA again. ### 4. Rate it Under the root cause, answer **Was this the cause?** with Right, Partly right or Wrong. For Partly right or Wrong, say what it really was. Rubix reads that the next time it looks at a problem like this. A Right raises the report's confidence, up to 0.95, and a Wrong from anyone stops it rising. ## Common questions > [accordion] Why did my incident not get an RCA? > > It recovered before the RCA started, triage found it was known and expected, or it's Recurring. The incident says which. You can start one with **Run the RCA again**. > [accordion] How long does an RCA take? > > It depends on how much there is to check. A larger group or a problem that keeps coming back gets a deeper investigation, and that takes longer. The incident page shows progress while it runs. > [accordion] Can I rerun an RCA with new context? > > Yes. Add what you know as a comment on the incident, then choose **Run the RCA again** from its menu. Rubix reads the comments. It skips every automated wait. > [accordion] Can I export an RCA? > > Yes. Use **Export as Markdown** on the report's menu. ## Related concepts > [card] [Incidents](/concepts/incidents) > > Where RCAs start. Every RCA belongs to an incident or a group. > [card] [Tasks](/concepts/tasks) > > What happens once the RCA suggests a Fix. # Skills Source: https://docs.rubixkube.ai/concepts/skills Short runbooks that teach Rubix how your team does things, in the open Agent Skills format. Skills are short, structured runbooks Rubix loads when it needs them. A skill turns "the way we do post-deploy verification on this team" or "the standard weekly cost review" into something Rubix follows consistently, every time, for everyone. Skills use `SKILL.md`, the file from the **open Agent Skills** format, which tools such as Claude Code also read. You can upload a `SKILL.md` file you already have. ![Skills, commands and agents compared: what each is, who starts it, and an example](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/skill-command-agent-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=ffbd11be856a74ca4bd16d5ec2ef5cfb) ## Why skills * **Consistent work.** The same runbook, regardless of who's asking. * **Shared knowledge.** What one person knows becomes something everyone gets. New members have it on day one. * **Used in RCAs too.** Rubix can load your skills during an investigation, so your runbooks shape the RCA. * **Portable format.** A `SKILL.md` is a plain file you can keep in a repo. ## Anatomy of a skill A skill is a short block of YAML plus plain-English instructions. Minimal shape: ```markdown theme={null} --- name: post-deploy-verification description: Compare error rate, latency and resource usage for a service against the last stable window. --- 1. Take a baseline from the last 30 minutes of the previous stable deployment. 2. Take the current window (10 minutes after the new rollout). 3. Compare error rate, p95 latency, CPU and memory. 4. Flag any metric worse than 20% against baseline. 5. Summarize in one short paragraph. ``` The skill editor in **Customize > Skills** has these fields: | Field | Purpose | | - | - | | **Name** | Unique handle. Lowercase letters, numbers and dashes | | **When to use it** | One sentence. Rubix reads this to decide when the skill fits | | **Agent** | **Any agent**, or one of your custom agents | | **Tools it may use** | A list stored with the skill. It doesn't limit tools today, see Safety boundaries below | | **Instructions** | Plain-English runbook. Numbered steps work best | ## Built-in skills and custom skills > [accordion] Built-in skills > > Shipped and maintained by RubixKube, and available in every organization. They cover Kubernetes, AWS, Google Cloud, machines, incidents and reviewing RCAs. > > See them in [Skills](/using/skills). > [accordion] Custom skills > > Written by your team for your work, and scoped to your organization. A custom skill with the same name as a built-in one replaces it. > > Walkthrough: [How to add custom agent skills](/tutorials/add-custom-agent-skills). ## How a skill is used Rubix sees the name and the **When to use it** line of every enabled skill. When a question or an investigation matches one, Rubix loads its instructions and follows them. So a clear description matters more than anything else on the page. To run something by name, use a command. [Commands](/using/customize) are `/` shortcuts for your team's playbooks. ## Safety boundaries A skill doesn't give Rubix any new access. Anything a skill tells Rubix to change still goes through the chat's [mode](/using/modes): Observe blocks it, Assist asks, and Auto goes ahead, with destructive actions still asking. The **Tools it may use** field doesn't enforce anything today, so don't rely on it to keep Rubix away from a tool. Use modes and [Hooks](/using/customize) for that. ## Design principles for good skills * **One clear job.** Post-deploy verification, handover notes, cost review. Not "general ops". * **Numbered steps.** Write instructions like a senior engineer's handover note. Imperative, ordered. * **Specific thresholds.** "20% worse than baseline" beats "significantly worse". Rubix follows the number. * **A clear "when".** Write **When to use it** the way someone would ask for it. ## Common questions > [accordion] Which agent runs skills? > > Rubix, in chat and in RCAs. A skill set to one of your custom agents is only for that agent. > [accordion] Can I port a skill from another tool? > > Yes. Upload the `SKILL.md`. The name, description and instructions come across. Check any tool names in the instructions, since yours can differ. > [accordion] What are the limits? > > A description can be 1,024 characters, and instructions 16 KB. ## Related concepts > [card] [Skills in the console](/using/skills) > > Turn built-in skills on and off, and manage your own. > [card] [How to add custom agent skills](/tutorials/add-custom-agent-skills) > > Step-by-step guide to writing your first skill. # Tasks Source: https://docs.rubixkube.ai/concepts/tasks A Task is a piece of work that comes out of an incident: a Fix for now, or a Follow-up so it doesn't happen again. A Task is a piece of work. Most come from an RCA, and anyone on your team can add one. There are two kinds. A **Fix** deals with the cause now. A **Follow-up** stops it happening again. A Task doesn't run by itself. Someone on your team does the work, or asks Rubix to, and [modes](/using/modes) decide what Rubix can change. An RCA that found nothing worth doing suggests no Tasks, and that's normal. ![An RCA suggests a Fix and a Follow-up, and you do them yourself or ask Rubix](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/task-flow-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=e2007a469b99055fc72c36760a608f0f) ## What a Task carries * **Kind.** Fix or Follow-up. * **Why Rubix suggested it.** The reasoning from the RCA, on the Task's page. * **Priority.** Critical, High, Medium or Low. * **Owner.** The person it's assigned to. * **Where it came from.** The incident and RCA behind it. * **A short code.** TSK-30, unique in your organization. ## The lifecycle of a Task ### 1. Todo The RCA or a person creates the Task. It shows on the incident and on the Tasks page. ### 2. Assigned Someone takes it, or it's given to them. ### 3. In progress Work has started. From here it can move to **Waiting** when it's blocked, or **Review** when someone needs to check it. ### 4. Completed, Failed or Cancelled The Task is done. When the incident resolves, RubixKube records the Task's outcome. If the problem comes back within 24 hours of a Fix, that Fix reopens and its outcome says it didn't hold. ## What can be a Task Anything your team needs to do because of an incident. In our example: > [accordion] A Fix > > Set `DB_POOL_SIZE` back to 10 on `orders-api`. > [accordion] A Follow-up > > Add an alert on `orders-db` connections, and review pool settings when `orders-api` changes. ## How a Fix gets done You have two ways. * **Do it yourself.** Follow the steps, using your normal tools, then move the Task along. * **Ask Rubix.** In chat, ask Rubix to make the change through its connected tools. The [mode](/using/modes) decides what happens: Observe blocks it, Assist asks you first, and Auto goes ahead, with destructive actions still asking. Rubix can also create, assign and move Tasks. Those count as changes too, so the same mode rules apply. ## Good to know The Task page keeps its status history, with who moved it and when, next to its comments. When Rubix makes a change, the tool call also appears in **Settings > Activity**. See [Safety and control](/concepts/guardrails). ## Common questions > [accordion] Can Tasks run without a person? > > Tasks don't run. Rubix can change things without asking only in Auto mode, and destructive actions still ask. See [Safety and control](/concepts/guardrails). > [accordion] What if a Fix doesn't work? > > Move the Task to Failed and add a comment, so the next RCA can read why. You can also run the RCA again from the incident. > [accordion] Can I add my own Tasks? > > Yes. Use **Add task** on the incident, or **New task** on the Tasks page. > [accordion] Does a Task have a rollback? > > A Task doesn't carry one. The RCA report has a Rollback section when Rubix suggests one. Read it before you make the change. ## Related concepts > [card] [Safety and control](/concepts/guardrails) > > What Rubix can change, and what gets recorded. > [card] [Tasks in the console](/using/tasks) > > Where you assign and track Tasks. # AWS Source: https://docs.rubixkube.ai/environments/aws Connect an AWS account by running the observer on a machine you have, or on a new EC2 instance. Connect an AWS account and the observer maps what's in it, then watches its metrics and CloudTrail. It reads through the AWS API, so you run one observer for the account. You pick where it runs: * **On this machine.** The observer runs as a Docker container named `rk-observer` on a Linux host you already have. It reads with an access key from an IAM user you create. * **A new EC2 instance.** The installer creates a `t3.micro` instance, the IAM role and policy. The observer runs there as a systemd service named `rk-observer`, and no AWS keys are stored. ## Install In the console, open **Environments**, click **Connect** and pick **Amazon AWS**. Copy the key from step 2 of the dialog. Then follow one path. > [tab] On this machine > > You need a Linux host with outbound access to `api.rubixkube.ai:443`, `nats.rubixkube.ai:4222`, `ghcr.io:443` and the AWS APIs. The installer installs Docker if it's missing, on systems with `apt-get`, `dnf` or `yum`. > > **1. Create an IAM user** > > Create a user, such as `rubixkube-observer`, and give it an access key. For its permissions, use the policy under [IAM permissions](#iam-permissions), or the `ReadOnlyAccess` managed policy. The installer can print the policy as JSON. > > **2. Run the installer as root** > > ```bash theme={null} > curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | sudo bash > ``` > > The dialog shows the command without `sudo`. Add it unless you're already root. > > **3. Answer the questions** > > Paste your RubixKube key, then: > > ``` > What would you like to do? > 1) Install Observer > 2) Uninstall Observer > > 1 > > Where do you want to deploy the observer? > 1) On this machine > 2) Create a new AWS EC2 instance > 3) Create a new GCP Compute Engine instance > 4) Create a new Azure Virtual Machine > > 1 > > Which platform are you monitoring? > 1) VM / host (Linux or macOS) > 2) AWS > 3) GCP > 4) Azure > > 2 > > AWS Region [us-east-1]: > ``` > > Then paste the access key ID and secret access key, and pick the regions to watch: this region only, all enabled regions, or a list. The keys are saved in `/etc/rk-observer/observer.env`, which only root can read. > > **4. Check the container** > > ```bash theme={null} > sudo docker ps --filter name=rk-observer > sudo docker logs -f rk-observer > ``` > [tab] A new EC2 instance > > You need the AWS CLI on your machine. `aws sts get-caller-identity` must work, with permission to create IAM policies, roles and instance profiles, and to launch an instance. > > > [!NOTE] > > > > The instance is in your account, so AWS bills you for it. The installer doesn't pick a subnet, so the region needs a default VPC. > > **1. Run the installer** > > Don't use `sudo` here. The installer needs your own AWS sign-in. > > ```bash theme={null} > curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | bash > ``` > > **2. Answer the questions** > > Paste your RubixKube key, then: > > ``` > What would you like to do? > 1) Install Observer > 2) Uninstall Observer > > 1 > > Where do you want to deploy the observer? > 1) On this machine > 2) Create a new AWS EC2 instance > 3) Create a new GCP Compute Engine instance > 4) Create a new Azure Virtual Machine > > 2 > > AWS Region [us-east-1]: > ``` > > Then pick the regions to watch: this region only, all enabled regions, or a list. > > **3. See what it created** > > * IAM policy `RubixKubeObserverPolicy` > * IAM role `RubixKubeObserverRole` > * Instance profile `RubixKubeObserverProfile` > * A `t3.micro` instance on Amazon Linux 2023, named `rk-observer-` plus the date and time, tagged `rubixkube=observer` > > **4. Check the instance** > > It connects once the instance boots, in about two minutes. > > ```bash theme={null} > aws ec2 describe-instances \ > --region us-east-1 \ > --filters "Name=tag:rubixkube,Values=observer" \ > --query 'Reservations[].Instances[].{ID:InstanceId,Status:State.Name,Name:Tags[?Key==`Name`]|[0].Value}' > ``` > > To look for errors during boot: > > ```bash theme={null} > aws ec2 get-console-output --region us-east-1 --instance-id i-0abc123 --query 'Output' --output text | grep -i error > ``` When the observer reports in, the dialog says the account is connected. Add an environment label, then click **Open it**. ## What the observer watches | Service | What | | - | - | | EC2 and EBS | Instances and volumes | | VPC | Networks, subnets, security groups, route tables | | RDS | Database instances and clusters | | S3 | Buckets | | Lambda | Functions | | ELB | Load balancers | | EKS | Clusters. For what's inside one, [install the Kubernetes observer](/environments/kubernetes) too | | IAM | Roles | | CloudWatch | Metrics, alarms and logs | | CloudTrail | Changes in the account | It refreshes the inventory every 10 minutes, metrics every 2 minutes and CloudTrail every 5 minutes. ## IAM permissions These are the read permissions the observer uses, with `Resource: "*"`: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Sid": "RubixKubeObserverReadOnly", "Effect": "Allow", "Action": [ "ec2:DescribeInstances", "ec2:DescribeVpcs", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups", "ec2:DescribeRouteTables", "ec2:DescribeNetworkAcls", "ec2:DescribeVolumes", "ec2:DescribeRegions", "elasticloadbalancing:DescribeLoadBalancers", "rds:DescribeDBInstances", "rds:DescribeDBClusters", "rds:ListTagsForResource", "s3:ListAllMyBuckets", "s3:GetBucketLocation", "s3:GetBucketPolicyStatus", "iam:ListRoles", "eks:ListClusters", "eks:DescribeCluster", "lambda:ListFunctions", "lambda:GetFunctionConfiguration", "cloudwatch:DescribeAlarms", "cloudwatch:GetMetricData", "cloudwatch:GetMetricStatistics", "cloudwatch:ListMetrics", "logs:FilterLogEvents", "logs:GetLogEvents", "logs:DescribeLogGroups", "logs:DescribeLogStreams", "cloudtrail:LookupEvents", "sts:GetCallerIdentity" ], "Resource": "*" } ] } ``` On a new EC2 instance, `RubixKubeObserverPolicy` also allows `aws-mcp:*`, so the observer can use the AWS MCP server. `logs:FilterLogEvents` and `logs:GetLogEvents` read the contents of CloudWatch logs, so check that fits your rules. ## More than one account Connect each account as its own source. Rubix can read across all of them, and you can put them under one [environment label](/using/environments#label-a-source). ## Troubleshooting > [accordion] The container isn't running > > ```bash theme={null} > sudo docker logs rk-observer --tail 50 > ``` > > Check the API key and AWS keys in `/etc/rk-observer/observer.env`, and that outbound `api.rubixkube.ai:443` and `nats.rubixkube.ai:4222` are open. > [accordion] The installer can't pull the image > > The host can't reach `ghcr.io`. The image is `ghcr.io/rubixkube-io/observer-agent:aws-latest`. Allow outbound HTTPS to `ghcr.io` and run the installer again. > [accordion] Permission errors > > Compare the IAM user or role with the policy above. On a new instance, check that `RubixKubeObserverRole` still has `RubixKubeObserverPolicy` attached. > [accordion] Timeouts to AWS APIs > > A host in a VPC with no NAT gateway or VPC endpoints can't reach the AWS APIs. Add them, or run the observer on a host with public egress. ## Uninstall Run the installer with `--uninstall`, so it doesn't ask for a key. Which steps you follow depends on where the observer runs. **On this machine:** ```bash theme={null} curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | sudo bash -s -- --uninstall ``` Pick **1) This machine (local install)**, then **2) GCP / Azure (Docker)**. The second label doesn't say AWS, but the AWS observer on a machine runs in Docker, so this is the right one. It removes the container and `/etc/rk-observer`. Then delete the IAM user yourself. **On a new EC2 instance:** ```bash theme={null} curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | bash -s -- --uninstall ``` Pick **2) AWS EC2 instance + IAM resources**, then enter the region and choose the instances. > [!WARNING] > > This permanently terminates the instances you pick, after you type `yes`. If you pick every instance in the region, it also deletes `RubixKubeObserverRole`, `RubixKubeObserverPolicy` and `RubixKubeObserverProfile`. Don't do that while observers run in another region, because they share those three. If you pick only some instances, the IAM resources stay. Then delete the source in the console. ## Related pages > [card] [Environments](/using/environments) > > The source page, labels and links. > [card] [Kubernetes](/environments/kubernetes) > > See inside your EKS clusters. > [card] [Observers](/concepts/observer-agent) > > What an observer does and where it runs. > [card] [Your first incident](/tutorials/first-incident) > > Follow an incident from start to finish. # Azure Source: https://docs.rubixkube.ai/environments/azure How to run RubixKube on Azure today: AKS through the Kubernetes install, and a conversation with us for the rest. If you run on **Azure Kubernetes Service**, you can connect now. An AKS cluster installs like any other cluster, with the same command. See [Kubernetes](/environments/kubernetes). Azure as a whole, meaning a subscription with its VMs and other services, isn't in the **Connect** picker in the console yet. To connect a subscription, email [connect@rubixkube.ai](mailto:connect@rubixkube.ai) and we'll work through it with you. A single Azure VM can also connect as a [server or VM](/environments/vm). You'll see that machine, not the subscription. ## Related pages > [card] [Kubernetes](/environments/kubernetes) > > Install the observer on AKS. > [card] [Servers and VMs](/environments/vm) > > Watch one Azure VM. # Google Cloud Source: https://docs.rubixkube.ai/environments/gcp Connect a Google Cloud project by running the observer on a machine you have, or on a new Compute Engine instance. Connect a Google Cloud project and the observer maps what's in it, then watches its metrics and logs. It reads through the Google Cloud APIs, so you run one observer for the project. You pick where it runs. Either way, the observer is a Docker container. * **On this machine.** It runs as a container named `rk-observer` on a Linux host you already have, and reads with the Google Cloud credentials on that host. * **A new Compute Engine instance.** The installer creates an `e2-micro` instance, a service account and the network it needs. ## Install In the console, open **Environments**, click **Connect** and pick **Google Cloud**. Copy the key from step 2 of the dialog. Then follow one path. > [tab] On this machine > > You need a Linux host with outbound access to `api.rubixkube.ai:443`, `nats.rubixkube.ai:4222`, `ghcr.io:443` and the Google APIs. The installer installs Docker if it's missing, on systems with `apt-get`, `dnf` or `yum`. > > This path doesn't create a service account or enable any APIs. Enable the APIs under [Permissions](#permissions), and give the credentials the roles listed there. > > **1. Sign in as root** > > The installer runs as root and mounts root's `~/.config/gcloud` into the container. > > ```bash theme={null} > sudo gcloud auth application-default login > ``` > > **2. Run the installer as root** > > ```bash theme={null} > curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | sudo bash > ``` > > The dialog shows the command without `sudo`. Add it unless you're already root. > > **3. Answer the questions** > > Paste your RubixKube key, then: > > ``` > What would you like to do? > 1) Install Observer > 2) Uninstall Observer > > 1 > > Where do you want to deploy the observer? > 1) On this machine > 2) Create a new AWS EC2 instance > 3) Create a new GCP Compute Engine instance > 4) Create a new Azure Virtual Machine > > 1 > > Which platform are you monitoring? > 1) VM / host (Linux or macOS) > 2) AWS > 3) GCP > 4) Azure > > 3 > > GCP Project ID: > ``` > > **4. Check the container** > > ```bash theme={null} > sudo docker ps --filter name=rk-observer > sudo docker logs -f rk-observer > ``` > [tab] A new Compute Engine instance > > You need `gcloud` on your machine, signed in with permission to enable APIs, create service accounts and custom roles, change IAM bindings, and create network resources and instances. The project needs the `default` network. > > > [!NOTE] > > > > Everything it creates is in your project, so Google bills you for it. That includes Cloud NAT. > > **1. Run the installer** > > Don't use `sudo` here. The installer needs your own `gcloud` sign-in. > > ```bash theme={null} > curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | bash > ``` > > **2. Answer the questions** > > Paste your RubixKube key, then: > > ``` > What would you like to do? > 1) Install Observer > 2) Uninstall Observer > > 1 > > Where do you want to deploy the observer? > 1) On this machine > 2) Create a new AWS EC2 instance > 3) Create a new GCP Compute Engine instance > 4) Create a new Azure Virtual Machine > > 3 > > GCP Project ID [your-project]: > Region [us-central1]: > ``` > > **3. See what it created** > > * Service account `rk-observer`, with the roles under [Permissions](#permissions) > * Custom role `RKObserverStorageViewer` > * Cloud Router `rk-observer-router` and Cloud NAT `rk-observer-nat`, because the instance has no public IP > * Egress firewall rules `rk-observer-allow-nats` (TCP 4222) and `rk-observer-allow-https` (TCP 443) > * An `e2-micro` instance on Container-Optimized OS in zone `-a`, named `rk-observer-` plus the date, labelled `rubixkube=observer` > > **4. Check the instance** > > It connects in about a minute. > > ```bash theme={null} > gcloud compute instances list --filter="labels.rubixkube=observer" > ``` > > To look for errors during boot: > > ```bash theme={null} > gcloud compute instances get-serial-port-output INSTANCE_NAME --zone=us-central1-a > ``` When the observer reports in, the dialog says the project is connected. Add an environment label, then click **Open it**. ## What the observer watches | Service | What | | - | - | | Compute Engine | Instances, networks and forwarding rules | | GKE | Clusters. For what's inside one, [install the Kubernetes observer](/environments/kubernetes) too | | Cloud SQL | Instances | | Cloud Run | Services | | Cloud Functions | Functions | | Cloud Storage | Buckets | | Pub/Sub | Topics | | Cloud Monitoring | Metrics | | Cloud Logging | Error logs | It refreshes the inventory every 10 minutes, metrics every 2 minutes and logs every 5 minutes. ## Permissions The observer needs these roles on the project. A new instance gets them on its service account: * `roles/compute.viewer` * `roles/monitoring.viewer` * `roles/logging.viewer` * `roles/cloudsql.viewer` * `roles/run.viewer` * `roles/cloudfunctions.viewer` * `roles/container.viewer` * `roles/pubsub.viewer` * `RKObserverStorageViewer`, a custom role with `storage.buckets.get` and `storage.buckets.list` `roles/logging.viewer` lets it read log contents, so check that fits your rules. These are the APIs the new-instance path enables. Run this yourself if you install on your own machine: ```bash theme={null} gcloud services enable compute.googleapis.com monitoring.googleapis.com \ logging.googleapis.com storage.googleapis.com sqladmin.googleapis.com \ run.googleapis.com cloudfunctions.googleapis.com container.googleapis.com \ pubsub.googleapis.com cloudresourcemanager.googleapis.com ``` ## More than one project Connect each project as its own source. Rubix can read across all of them, and you can put them under one [environment label](/using/environments#label-a-source). ## Troubleshooting > [accordion] The container isn't running > > ```bash theme={null} > sudo docker logs rk-observer --tail 50 > ``` > > Check the API key in `/etc/rk-observer/observer.env`, and that outbound `api.rubixkube.ai:443` and `nats.rubixkube.ai:4222` are open. > [accordion] The installer warned about gcloud credentials > > It found nothing at `~/.config/gcloud`, so the container has nothing to sign in with. Run `sudo gcloud auth application-default login`, then run the installer again. > [accordion] The installer can't pull the image > > The host can't reach `ghcr.io`. The image is `ghcr.io/rubixkube-io/observer-agent:gcp-latest`. Allow outbound HTTPS to `ghcr.io` and run the installer again. > [accordion] Permission errors > > Check what the service account has: > > ```bash theme={null} > gcloud projects get-iam-policy PROJECT_ID --flatten='bindings[].members' --filter='bindings.members:rk-observer@PROJECT_ID.iam.gserviceaccount.com' > ``` > > Add anything missing from [Permissions](#permissions). ## Uninstall Run the installer with `--uninstall`, so it doesn't ask for a key. Which steps you follow depends on where the observer runs. **On this machine:** ```bash theme={null} curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | sudo bash -s -- --uninstall ``` Pick **1) This machine (local install)**, then **2) GCP / Azure (Docker)**. It removes the container and `/etc/rk-observer`. **On a new Compute Engine instance:** ```bash theme={null} curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | bash -s -- --uninstall ``` Pick **3) GCP Compute Engine instance + IAM + network resources**, enter the project and region, then choose the instances. > [!WARNING] > > This permanently deletes the instances you pick, after you type `yes`. If you pick every instance, it also deletes the firewall rules, Cloud NAT, Cloud Router, the role bindings, the service account and the custom role. If you pick only some instances, those stay. Then delete the source in the console. ## Related pages > [card] [Environments](/using/environments) > > The source page, labels and links. > [card] [Kubernetes](/environments/kubernetes) > > See inside your GKE clusters. > [card] [Observers](/concepts/observer-agent) > > What an observer does and where it runs. > [card] [Your first incident](/tutorials/first-incident) > > Follow an incident from start to finish. # Kubernetes Source: https://docs.rubixkube.ai/environments/kubernetes Install the observer on an EKS, GKE, AKS or self-managed cluster with one kubectl command. Install the observer so RubixKube can see your cluster: what's running, what changed and what breaks. One `kubectl apply` puts it in its own namespace. Your cluster runs the observer, and everything else runs in RubixKube. ## Before you start * `kubectl` pointed at the cluster. `kubectl get nodes` should work. * Permission to create a namespace, a ClusterRole and a ClusterRoleBinding. * Outbound access from the cluster to `api.rubixkube.ai:443`, `nats.rubixkube.ai:4222` and `ghcr.io:443` (the image). * An admin account in the [console](https://console.rubixkube.ai). ## Install **1. Copy your command** In the console, open **Environments**, click **Connect** and pick **Kubernetes**. Copy the command. It already holds your API key. **2. Run it** ```bash theme={null} kubectl apply -f "https://api.rubixkube.ai/install/observer.yaml?apiKey=rk_YOUR_API_KEY" ``` You should see: ``` namespace/rubixkube-system created secret/rubixkube-observer-config created serviceaccount/rubixkube-observer created clusterrole.rbac.authorization.k8s.io/rubixkube-observer created clusterrolebinding.rbac.authorization.k8s.io/rubixkube-observer created role.rbac.authorization.k8s.io/rubixkube-observer-leases created rolebinding.rbac.authorization.k8s.io/rubixkube-observer-leases created service/rubixkube-observer-peers created deployment.apps/rubixkube-observer created ``` **3. Check the pod** ```bash theme={null} kubectl get pods -n rubixkube-system ``` Wait for **STATUS** to show `Running`. If it doesn't, read the logs: ```bash theme={null} kubectl logs -n rubixkube-system deployment/rubixkube-observer --tail=20 ``` **4. Open it in the console** The dialog updates by itself and says your cluster is connected, usually within a minute. Add an environment label, then click **Open it**. ## What runs in your cluster By default, one pod in `rubixkube-system`. It serves its own read-only Kubernetes tools, so no separate MCP server runs. | | Request | Limit | | - | - | - | | Memory | 256Mi | 768Mi | | CPU | 250m | 1 | This suits clusters up to about 50 nodes. It runs as a non-root user with a read-only root filesystem and no Linux capabilities. ### Run more than one pod On a big cluster the source page tells you how many pods to run. Add `&replicas=` to the install address, from 1 to 5: ```bash theme={null} kubectl apply -f "https://api.rubixkube.ai/install/observer.yaml?apiKey=rk_YOUR_API_KEY&replicas=3" ``` Or scale it: ```bash theme={null} kubectl -n rubixkube-system scale deployment rubixkube-observer --replicas=3 ``` With more than one pod, a Lease picks one as leader, and the leader hands each workload to one pod. You can also raise the memory limit instead. ## What the role can do The observer's ClusterRole, `rubixkube-observer`, reads most of the cluster: pods, nodes, Services, ConfigMaps, workloads, networking, storage, RBAC objects and pod logs. It can also create events. Two permissions deserve a plain mention. The role has `get`, `list` and `watch` on `secrets`, and `create` on `pods/exec`, so that is what the observer's token can do in your cluster. The observer itself uses less. It watches only the metadata of Secrets, so their contents never reach it, its tools return key names and never values, and no observer code runs `pods/exec`. See [Safety and control](/concepts/guardrails) for how Rubix's actions are limited. ## What the observer watches | What | Detail | | - | - | | Pods | State, restarts, resource use, owners | | Deployments, StatefulSets, DaemonSets | Replica health and rollouts | | Services and Ingresses | Which apps they send traffic to | | Nodes | Status and capacity | | Events | The cluster's own events | | ConfigMaps and Secrets | Metadata only, so RubixKube knows when one changed but not what's in it | Crash loops, out of memory, stuck pods and the other checks are all rules you can change. See [Change what an observer looks for](/using/environments#change-what-an-observer-looks-for). Those settings apply without a restart. ## Upgrade Run the install command again, copied from the console. It updates the observer in place and keeps the environment, its history and its settings. ```bash theme={null} kubectl apply -f "https://api.rubixkube.ai/install/observer.yaml?apiKey=rk_YOUR_API_KEY" ``` If you run more than one pod, keep `&replicas=` on the address. Without it, the apply sets the Deployment back to one pod. Installs from before observer 1.1.0 also ran a Kubernetes MCP server next to the observer. It's no longer needed. Remove it after the upgrade: ```bash theme={null} kubectl -n rubixkube-system delete deploy/kubernetes-mcp-server svc/kubernetes-mcp-server sa/kubernetes-mcp-server kubectl delete clusterrole,clusterrolebinding kubernetes-mcp-server-readonly ``` Then remove the `kubernetes` entry from the `mcp-config` ConfigMap, or delete the ConfigMap if that was its only entry: ```bash theme={null} kubectl -n rubixkube-system edit configmap mcp-config ``` ## Add your own MCP servers The observer reads extra MCP servers from the optional ConfigMap `mcp-config` (key `mcp.json`) in `rubixkube-system`. The install command never overwrites it. ```bash theme={null} kubectl -n rubixkube-system create configmap mcp-config --from-file=mcp.json=./mcp.json kubectl -n rubixkube-system rollout restart deploy/rubixkube-observer ``` ```json theme={null} { "mcpServers": { "grafana": { "url": "http://mcp-grafana.monitoring.svc.cluster.local:8000/mcp" } } } ``` Each server's state, connected or failing with the error, shows under **Tools** on the source's page. ## Try it on KIND The same command works on a local KIND cluster, so you can try RubixKube without touching a real one. ```bash theme={null} kind create cluster --name rubixkube-test kubectl apply -f "https://api.rubixkube.ai/install/observer.yaml?apiKey=rk_YOUR_API_KEY" ``` ## Troubleshooting > [accordion] Pod stuck in ImagePullBackOff > > The cluster can't reach the image at `ghcr.io/rubixkube-io/observer-agent`. Test it from inside the cluster: > > ```bash theme={null} > kubectl run test-curl --image=curlimages/curl -i --rm --restart=Never -- curl -I https://ghcr.io > ``` > > If this fails, a proxy or egress policy is in the way. Allow the three addresses listed under [Before you start](#before-you-start). > [accordion] Pod in CrashLoopBackOff > > Read the logs from the last run: > > ```bash theme={null} > kubectl logs -n rubixkube-system deployment/rubixkube-observer --previous > ``` > > If they point at the API key, run the install command again, copied fresh from the console. > [accordion] The dialog keeps waiting > > 1. Check that the pod is `Running` with `kubectl get pods -n rubixkube-system`. > 2. Check that outbound TCP to `nats.rubixkube.ai:4222` is open. The observer needs it as well as HTTPS. > [accordion] Observer running out of memory on a big cluster > > Run more pods, as above. The source page says how many. Or raise the limit: > > ```bash theme={null} > kubectl edit deployment rubixkube-observer -n rubixkube-system > ``` > > The next install command you run sets the limit back to 768Mi. ## Uninstall ```bash theme={null} kubectl delete -f "https://api.rubixkube.ai/install/observer.yaml?apiKey=rk_YOUR_API_KEY" ``` This removes everything the install created, including the namespace. The source stays in the console until you delete it there. An `mcp-config` ConfigMap goes with the namespace. ## Related pages > [card] [Environments](/using/environments) > > The source page and the observer's Configuration. > [card] [Observers](/concepts/observer-agent) > > What an observer does and where it runs. > [card] [Safety and control](/concepts/guardrails) > > What Rubix can and can't do. > [card] [Your first incident](/tutorials/first-incident) > > Follow an incident from start to finish. # Servers and VMs Source: https://docs.rubixkube.ai/environments/vm Install the observer on a Linux server, VM or Mac to watch CPU, memory, disk, load and processes. Use this for machines that live outside your cloud accounts: bare metal, a one-off VM, a build server. The installer puts a small binary on the machine and runs it as a service. ## Before you start * **Linux with systemd**, or **macOS**. On x86_64 or arm64. The installer stops on Linux without systemd, so Alpine doesn't work. Windows isn't supported yet. * `curl`, `bash`, and root or `sudo`. * Outbound access to `api.rubixkube.ai:443`, `nats.rubixkube.ai:4222`, and `github.com:443` for the download. * An admin account in the [console](https://console.rubixkube.ai). ## Install **1. Get your key** In the console, open **Environments**, click **Connect** and pick **Servers and VMs**. Copy the key from step 2 of the dialog. **2. Run the installer on the machine** ```bash theme={null} curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | sudo bash ``` The dialog shows the command without `sudo`. Add it unless you're already root, because this install needs root. **3. Paste the key and answer the questions** ``` RubixKube API Key: rk_... What would you like to do? 1) Install Observer 2) Uninstall Observer > 1 Where do you want to deploy the observer? 1) On this machine 2) Create a new AWS EC2 instance 3) Create a new GCP Compute Engine instance 4) Create a new Azure Virtual Machine > 1 Which platform are you monitoring? 1) VM / host (Linux or macOS) 2) AWS 3) GCP 4) Azure > 1 ``` **4. Open it in the console** The dialog updates by itself and says your machine is connected, usually within a minute. Add an environment label, then click **Open it**. The installer puts the binary at `/usr/local/bin/rk-observer` and its settings in `/etc/rk-observer/observer.env`. That file holds your API key and only root can read it. The machine's short hostname becomes the source's name. ## Check the service > [tab] Linux > > The service is called `rk-observer`. > > ```bash theme={null} > sudo systemctl status rk-observer > sudo journalctl -u rk-observer -f > ``` > [tab] macOS > > The service is a launchd daemon called `ai.rubixkube.observer`. Logs go to `/etc/rk-observer/observer.log`. > > ```bash theme={null} > sudo launchctl print system/ai.rubixkube.observer > sudo tail -f /etc/rk-observer/observer.log > ``` ## What the observer watches Every 30 seconds it checks the machine and reports a problem when a value crosses a limit. | Check | Default limit | Setting | | - | - | - | | CPU | 85% | `CPU_THRESHOLD` | | Memory | 85% | `MEMORY_THRESHOLD` | | Disk, per mount | 90% | `DISK_THRESHOLD` | | Swap | 50% | `SWAP_THRESHOLD` | | Load average | 2 × cores | `LOAD_AVG_THRESHOLD` (0 means 2 × cores) | | Zombie processes | Fixed | | It also sends a picture of the machine: processes, services, disks and network interfaces. You see these on the source's page. ## Change the settings Settings live in `/etc/rk-observer/observer.env`. For example, to check every minute on Linux: ```bash theme={null} sudo sed -i 's/^SYSTEM_POLL_INTERVAL=.*/SYSTEM_POLL_INTERVAL=60s/' /etc/rk-observer/observer.env sudo systemctl restart rk-observer ``` On macOS, edit the file and then run: ```bash theme={null} sudo launchctl kickstart -k system/ai.rubixkube.observer ``` The **Configuration** panel in the console doesn't apply to this observer. ## Many machines Install on each machine. Each one is its own source, and you can put them all under one [environment label](/using/environments#label-a-source). The installer asks its questions in a terminal, so run it by hand on each machine. ## Troubleshooting > [accordion] The installer says it requires root > > Run it again with `sudo`, as shown in [Install](#install). > [accordion] The installer says systemd is required > > On Linux the observer runs as a systemd service. A machine without systemd, such as Alpine, can't run this install. > [accordion] The service won't start > > ```bash theme={null} > sudo journalctl -u rk-observer -n 50 > ``` > > Check the API key in `/etc/rk-observer/observer.env`. On macOS, read `/etc/rk-observer/observer.log`. > [accordion] The source doesn't appear in the console > > 1. Check that the service is running. > 2. Check the connections: > > ```bash theme={null} > curl -I https://api.rubixkube.ai > nc -zv nats.rubixkube.ai 4222 > ``` ## Uninstall Run the installer with `--uninstall`, so it doesn't ask for a key: ```bash theme={null} curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | sudo bash -s -- --uninstall ``` Pick **1) This machine (local install)**, then **1) VM / AWS (binary + systemd)**. It stops the service and removes the binary and `/etc/rk-observer`. Then delete the source in the console. To remove it by hand on Linux: ```bash theme={null} sudo systemctl stop rk-observer sudo systemctl disable rk-observer sudo rm -f /etc/systemd/system/rk-observer.service sudo rm -rf /etc/rk-observer /usr/local/bin/rk-observer sudo systemctl daemon-reload ``` ## Related pages > [card] [Environments](/using/environments) > > The source page, labels and links. > [card] [Observers](/concepts/observer-agent) > > What an observer does and where it runs. > [card] [AWS](/environments/aws) > > Watch a whole AWS account. > [card] [Google Cloud](/environments/gcp) > > Watch a whole Google Cloud project. # Connect a source Source: https://docs.rubixkube.ai/getting-started/connect-your-environment Install an observer on Kubernetes, AWS, Google Cloud or a server, or connect a tool like Datadog by webhook. RubixKube needs something to watch. A source is a Kubernetes cluster, cloud account, machine or tool. You can connect two kinds: an observer you install, or a tool that sends alerts by webhook. An observer is a good place to start, because Rubix can then read what's running. Only admins connect sources. Open **Environments** and choose **Connect**, or pick a tile on the Welcome page. ![Connect a source dialog with tiles for each kind of source](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/console/connect-source-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=7155222f506e4be6948224b936f43c21) ## Install an observer An observer runs next to your systems, watches them and reports back to RubixKube. Pick one of these in the dialog: | Tile | What it covers | | - | - | | [Kubernetes](/environments/kubernetes) | EKS, GKE, AKS, self-managed | | [Amazon AWS](/environments/aws) | EC2, ECS, RDS, Lambda | | [Google Cloud](/environments/gcp) | Compute Engine, GKE, Cloud SQL | | [Servers and VMs](/environments/vm) | Linux and macOS, bare metal or cloud | The console shows the exact command, with your key in it. Copy it from there. > [tab] Kubernetes > > With `kubectl` pointed at the cluster, run the command from the dialog: > > ```bash theme={null} > kubectl apply -f "https://api.rubixkube.ai/install/observer.yaml?apiKey=rk_YOUR_API_KEY" > ``` > > To check it, look for a `Running` pod: > > ```bash theme={null} > kubectl get pods -n rubixkube-system > ``` > [tab] AWS or Google Cloud > > The command depends on where the observer will run. To create a new AWS EC2 or Google Compute Engine instance, run this from a machine signed in to the cloud account: > > ```bash theme={null} > curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | bash > ``` > > To run it on the machine you're on, add `sudo`, because that install needs root: > > ```bash theme={null} > curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | sudo bash > ``` > > Paste your key when the script asks for it, then answer its questions. On your own machine the observer runs in Docker, so check it with: > > ```bash theme={null} > sudo docker ps --filter name=rk-observer > ``` > > The [AWS](/environments/aws) and [Google Cloud](/environments/gcp) pages have every step. > [tab] Server or VM > > On the server, run this. It needs root: > > ```bash theme={null} > curl -fsSL "https://api.rubixkube.ai/install/observer.sh" | sudo bash > ``` > > Paste your key when the script asks for it. Choose to install, on this machine, as a VM or host. On Linux, check it with: > > ```bash theme={null} > sudo systemctl status rk-observer > ``` > > On macOS it runs as the launchd service `ai.rubixkube.observer`. The dialog waits for the observer to say hello, usually within a minute. When it does, you'll see that the source is connected, and you can add it to an environment there. Choose **Open it** to see the source. > [!WARNING] > > Treat your key like a password. It ties the observer to your organization. Anyone with it can connect an observer to your organization. ### What an observer needs Observers need outbound access to `api.rubixkube.ai:443` and `nats.rubixkube.ai:4222`. On Kubernetes, the observer is one pod in the `rubixkube-system` namespace. It requests 256Mi of memory and 250m of CPU, with limits of 768Mi and 1 CPU. That suits clusters up to about 50 nodes. Above that, the source page tells you how many pods to run. Its role allows `get`, `list` and `watch` on most resources, including Secrets, plus reading pod logs, `pods/exec` and writing events. Read the manifest at the install URL before you apply it if you want the whole list. [Safety and control](/concepts/guardrails) has more detail. ## Connect a tool by webhook Tools you already use can open incidents here. In the same dialog, under **Or connect a platform you already use**, you'll find Datadog, PagerDuty, Grafana, Sentry, Jira, Linear and Observe. **1. Name it** Pick the tile, name the source and choose **Make its webhook**. **2. Copy the URL** The URL is shown once, and anyone with it can post to it. Store it somewhere safe. **3. Add it to the tool** The dialog says where the webhook goes in that tool. For Datadog and Observe, it also gives you a payload to paste. **4. Wait for the first message** The source registers itself on the first message. The dialog also turns on the automation that turns the tool's events into incidents. The dialog can also set up reading from the tool, so Rubix can look things up in it during an RCA. See the [Integrations overview](/integrations/overview) for every tool. To send your own events, see [Your own webhook](/integrations/webhooks). ## Add sources to environments An environment, such as staging or production, is a label across sources. A cluster and the Datadog monitors that watch it can share one. Your plan sets how many you can use: Individual has 1, Business has 3, and Enterprise is set for your organization. ## What Rubix can do once connected The observer watches and reports. What Rubix can change is a separate choice, set by mode: Observe, Assist or Auto. New organizations start in Observe. See [Modes](/using/modes). ## Remove a source Open the source, then choose **Delete source** from its menu and type its name to confirm. > [!WARNING] > > Deleting can't be undone. For an observer source, its history and metrics are deleted, and the observer keeps running until you uninstall it. For a tool, its incidents, history, webhook and automation are deleted, and you should remove the webhook from the tool too. To uninstall an observer from Kubernetes, run `kubectl delete -f` with the same URL you installed from. Everywhere else, run the install script again and choose **Uninstall Observer**. ## Next > [card] [Your first incident](/tutorials/first-incident) > > See what happens when something breaks. > [card] [Environments](/using/environments) > > Work with sources and labels. > [card] [Integrations overview](/integrations/overview) > > Connect the tools Rubix can read. > [card] [Troubleshooting](/support/troubleshooting) > > Fix a source that won't connect. # What RubixKube does Source: https://docs.rubixkube.ai/getting-started/overview What RubixKube does in plain words, one incident followed from start to finish, and who it's for. RubixKube helps your team run infrastructure with an agent. This page explains what it does and walks through one real-looking incident, so you know what to expect before you connect anything. The product is RubixKube. The agent is Rubix. ![How RubixKube works: it detects failures, investigates them, suggests and applies fixes, and remembers what happened](https://mintcdn.com/rubixkube/n1lBdTf5cuAuB--i/images/architecture.png?fit=max\&auto=format\&n=n1lBdTf5cuAuB--i\&q=85\&s=1fd506b59c4f4e2636be3407f1d1994c) ## How it works **1. Something reports a problem** Observers run in your Kubernetes clusters, cloud accounts and servers. Tools you already use, such as Datadog or PagerDuty, send alerts by webhook. Each of these is a source. **2. RubixKube opens an incident** It sets severity and impact, and groups incidents that share a resource or a cause, so one problem doesn't turn into twenty RCAs. **3. Rubix investigates** After a short wait that depends on severity, Rubix reads what it can reach and writes an RCA. The RCA gives the cause, the evidence, and how sure Rubix is. **4. Rubix suggests Tasks** A Fix for the cause, and Follow-ups to stop it happening again. Your team assigns them and works through them. **5. The observer watches for recovery** When the resource is healthy again, RubixKube records it and asks what fixed it. You can turn on closing incidents automatically in **Settings > Incidents**. ## One incident, start to finish Acme Payments runs `orders-api`, `payments-api` and `orders-db` in `prod-us-east-1`. Here's a normal Tuesday. A new `orders-api` version goes out and raises its database pool. `orders-db` runs out of connections. `payments-api` can't connect, and it starts crash looping. The observer in the cluster sees the crash loop and reports it. An incident opens: "payments-api is crash looping". The incident page shows when the RCA starts and what it's waiting for. Rubix reads the pod's logs and events and what changed before the crash. It connects the new `orders-api` version to the exhausted connections. The RCA names that as the root cause and cites the logs and events it used. The RCA suggests a Fix: "Set `DB_POOL_SIZE` back to 10". Someone on the team takes the Task. They ask Rubix to open the pull request, Rubix asks for approval first, and they approve it. After the change rolls out, `payments-api` stops crashing. The observer sees it stay healthy and reports the recovery. RubixKube asks what fixed it, the team answers, and the incident closes. Next time something similar happens, Rubix can read this RCA. ![RCA for payments-api with impact, root cause and contributing factors](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/console/rca-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=1cb9fa125b60053d757f6aa6d924a450) ## What Rubix can change That depends on the mode. A mode is set in **Settings > Modes**, and each chat can move up to the highest mode your organization allows. | Mode | What Rubix does | | - | - | | **Observe** | Reads and investigates. Nothing that changes anything runs. | | **Assist** | Can change things, and asks a person before each change. | | **Auto** | Changes things without asking. Destructive changes always ask. | A new organization starts in Observe, and Assist is the highest mode until an admin changes it. RCAs are read-only in every mode. ## When Rubix gets it wrong Rubix can be wrong, so every RCA shows its evidence and says how sure it is. An RCA says **Root cause**, **Likely cause** or **Not determined**. When it can't tell, it says so. You can rate a stated cause with **Was this the cause?**, and read the evidence yourself. ## A system that learns your stack Most tools see your infrastructure fresh every time. RubixKube keeps what it learns, so the next incident starts with more to go on. > [card] Day one > > Your sources are connected, and RubixKube maps what's running in them. > [card] Week one > > Links between sources build up, so a Datadog alert and a pod in your cluster read as the same thing. > [card] Month one > > New investigations read past RCAs, and what your team said fixed things. > [card] Always > > Your comments and ratings stay with your organization and shape what Rubix does next. See [RubixKube's memory](/concepts/memory-engine) and the [knowledge graph](/concepts/knowledge-graph). ## What you can connect One organization can mix any of these. > [card] [Kubernetes](/environments/kubernetes) > > EKS, GKE, AKS and self-managed clusters. One `kubectl` command. > [card] [AWS](/environments/aws) > > Run the observer on a machine you have, or on a new EC2 instance. > [card] [Google Cloud](/environments/gcp) > > Run the observer on a machine you have, or on a new Compute Engine instance. > [card] [Servers and VMs](/environments/vm) > > Linux with systemd, or macOS. > [card] [Alert sources](/integrations/overview) > > Datadog, PagerDuty, Grafana, Sentry, Jira, Linear, Observe, or your own webhook. > [card] [Tools Rubix can read](/integrations/catalog) > > GitHub, GitLab, Notion, New Relic and more. ## Who it's for RubixKube is for teams who look after services in production: platform, infrastructure and SRE engineers, and developers who run what they ship. If your team spends its time working out why something broke, this is the part Rubix takes on. You can work where you already are: the console, Slack, or your own AI tools over MCP. ## Plans | Plan | Environments | Investigations a month | Users | | - | - | - | - | | **Individual** | 1 | 10 | 1 | | **Business** | 3 | 100 | 5 | | **Enterprise** | Set for your organization | Set for your organization | Set for your organization | Slack, Automations, Hooks, Webhooks, your own models, custom integrations and Members come with Business and Enterprise. See [pricing](https://rubixkube.ai/pricing). ## Next > [card] [Quickstart](/getting-started/quickstart) > > Get to your first incident. > [card] [How RubixKube works](/concepts/how-rubixkube-works) > > The full path of an incident. > [card] [Modes](/using/modes) > > Set what Rubix can do on its own. > [card] [What's new](/getting-started/whats-new) > > What changed recently. # Quickstart Source: https://docs.rubixkube.ai/getting-started/quickstart Sign up, name your organization, connect a source, see your first incident and ask Rubix a question. This is the fast path from a new account to your first answer from Rubix. Connecting your first source takes a few minutes. **1. Sign up** Go to [console.rubixkube.ai](https://console.rubixkube.ai) and sign in with your email, Google or GitHub. New to RubixKube? Choose **Create an account**. If you sign up with an email address, confirm it from the link we send you. **2. Name your organization** Your team works in it together, so it's usually your company's name. New organizations start on the Individual plan: 1 environment, 10 investigations a month and 1 user. See [pricing](https://rubixkube.ai/pricing) for the other plans. You land on the Welcome page. Its **Get ready** list is the rest of this guide, and Home keeps showing your progress until the list is done. ![Welcome page with the Get ready list](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/console/welcome-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=0ddf9cba5f053c16952b3ea0e59b9e59) **3. Connect a source** Under **Connect an environment**, pick a tile. For Kubernetes, run the command the console gives you, with `kubectl` pointed at your cluster. It usually reports in within a minute, and the dialog updates on its own. [Connect a source](/getting-started/connect-your-environment) covers the other kinds, including alerts from tools like Datadog. **4. Connect your tools** This one can wait, but Rubix does better work with more to read. Under **Connect your tools**, choose **Browse integrations** and connect GitHub, Datadog, Sentry, Linear or others. Rubix uses them when it investigates. **5. See your first incident** Open **Incidents**. When an observer or a connected tool reports a problem, it shows up here. Each row says where things stand. The RCA doesn't start right away unless the incident is critical. The wait depends on severity, and the incident page tells you when the RCA starts. When it's done, the incident shows the cause and any Tasks Rubix suggests. Nothing broken yet? That's fine. Choose **New incident** to report one by hand, or follow [Your first incident](/tutorials/first-incident). Rubix picks up a reported incident like any other, and its RCA counts as an investigation. **6. Ask Rubix** Go to Home and ask something. These are good first questions: ```text theme={null} How healthy is my environment right now? What changed in the last day? Is anything close to running out of memory or disk? ``` New organizations start in Observe mode, so Rubix reads and investigates but changes nothing. You can change that in [Modes](/using/modes). On a Business or Enterprise plan, the list also has **Invite your team**. See [Members](/using/members). > [!NOTE] > > Stuck? Write to [connect@rubixkube.ai](mailto:connect@rubixkube.ai) and include your Organization ID. It's in **Settings > General**. ## Next > [card] [Your first incident](/tutorials/first-incident) > > Follow an incident through its RCA and Fix. > [card] [What RubixKube does](/getting-started/overview) > > The full picture, with a worked example. > [card] [Chat with Rubix](/using/rubix-chat-agent) > > Get more from a session. > [card] [Slack](/integrations/slack) > > Get incidents where your team talks. # What's new Source: https://docs.rubixkube.ai/getting-started/whats-new The highlights of what changed in RubixKube, newest first. Here's what changed recently, newest first, and why you'd care. Some features need a plan: where that's so, the entry says **Business and Enterprise**. ## November 2026 ### Slack * **Incident threads.** Each new incident or group gets its own Slack thread. The first message follows the incident's status, and replies in the thread become comments on the incident. [Slack](/integrations/slack). Business and Enterprise. * **A channel per category.** Send Incidents, Reports, Account and Uptime messages to different channels from **Customize > Channels**. Anything you don't set goes with Incidents. [Slack](/integrations/slack). * **Cards in Slack.** RCAs, Tasks and artifacts now show as cards, so you can read the main points without leaving the thread. [Slack](/integrations/slack). ### Rubix CLI 0.1.2 * **Same chat as the console.** Chats started in the terminal show in the console, and the other way round. Model, effort, response style and mode work as they do there, and approvals and questions from Rubix show in the terminal. [Chat in the terminal](/cli/usage). * **Browse.** Press the left arrow on an empty input, or run `rubix browse`, to search incidents, RCAs, Tasks, artifacts and chats full screen. Open one and close it, run the RCA again, rate it, move a Task or comment, with one key each. [Browse](/cli/browse). * **Ask once from a script.** `rubix -p "question"` prints Rubix's answer and exits, and anything you pipe in goes with the question. `rubix status`, `rubix incidents` and the other one-shot commands print text or `--json`. [Commands](/cli/commands). * **@ and your editor.** Type `@` to add an incident, RCA, Task, environment or file. Ctrl+G writes the message in your editor. [Chat in the terminal](/cli/usage). * **Node.js 22.12 or newer** is now needed. Update with `npm install -g @rubixkube/rubix@latest`. [Install and sign in](/cli/installation). ## October 2026 ### Incidents and RCAs * **The journey on every incident.** The incident page shows each step from detection to report and how many minutes each took. It also says when the RCA starts and what it's waiting for. [Incidents](/using/incidents). * **Recovery you can see.** Rows and pages say **Recovered**, who closed the incident, and what fixed it. Answer **What fixed it?** yourself or ask Rubix to check. [Incidents](/using/incidents). * **Groups.** Incidents on the same resource or with the same cause share one group and one RCA, across sources. Closing a group closes its members. [Incidents](/using/incidents). * **Triage before the RCA.** Triage sets severity and impact, can hold an RCA, and can mark an alert as known. You spend less time on noise. [Incidents](/using/incidents). * **Known noise says so.** When earlier RCAs show an alert is expected, the incident tells you, with **Ignore** and **Run RCA again**. [Incidents](/using/incidents). * **Something broke, or works worse.** Incidents now carry an impact, and you can filter to degradations. [Incidents](/using/incidents). * **Problems that come back.** A closed incident that returns opens a new incident linked to the old one. You set how often Rubix investigates a repeat in **Settings > Incidents**. [Settings](/using/settings). * **Urgent RCAs go first.** The wait before an RCA depends on severity, and urgent work runs ahead of the rest. [Root cause analysis](/concepts/root-cause-analysis). * **Run RCA again.** Start it from the RCA page or a list row. It skips every automatic wait. [RCAs](/using/rca-reports). * **Clearer RCA reports.** Reports gained charts, citations, structured evidence, a **Full report** tab and **Export as Markdown**. **Was this the cause?** shows only when the report states a cause. [RCAs](/using/rca-reports). * **Short codes.** INC-12, RCA-4 and TSK-30 work everywhere, including Rubix and MCP. It's easier to say "look at INC-12". [Incidents](/using/incidents). * **Comments and mentions.** Tag people with @, and mention @Rubix to ask it something on the incident. Mentions reach people through the bell and email. [Incidents](/using/incidents). * **One toolbar for lists.** Incidents, RCAs, Tasks and My tasks now filter, sort and group the same way. [Tasks](/using/tasks). ### Rubix * **Rubix in the console.** Pin context with @, run commands with /, stop a reply partway, and see Rubix's work as quiet rows. Rubix can also make artifacts you can keep. [Chat with Rubix](/using/rubix-chat-agent). * **Modes.** Observe, Assist and Auto decide what Rubix can do on its own. An admin sets the default and the highest mode. [Modes](/using/modes). * **Response style.** Choose how much Rubix says while it works: Quiet, Normal or Verbose. [Modes](/using/modes). * **Commands, Agents and Hooks.** Turn common prompts into slash commands, add your own agents, and add your own checks before Rubix changes something. Hooks are for Business and Enterprise. [Customize](/using/customize). ### Automations * **The Automations page.** Build automations with a trigger and steps, then see them in Overview and Runs. **Try it** tests a draft before you publish. [Automations](/using/automations). Business and Enterprise. * **System built-ins.** The System tab shows what RubixKube runs for you. When a built-in has a newer version, you see **Update available**. [Automations](/using/automations). ### Integrations and webhooks * **Tools as sources.** Datadog, PagerDuty, Grafana, Sentry, Jira, Linear and Observe connect from **Environments** by webhook, and their alerts open incidents. Each source page shows its last messages. [Integrations overview](/integrations/overview). * **Your own webhooks.** Send events from your own tools from **Customize > Webhooks**. [Your own webhook](/integrations/webhooks). Business and Enterprise. * **See what a connection can read.** Each integration has a section showing what Rubix can read through it, so you know before an RCA needs it. [Integrations overview](/integrations/overview). * **Sign in the way each tool expects.** Connections now use each tool's own sign-in or token, so there's less to work out. [Sign-in and tokens](/integrations/oauth-and-auth-types). * **Custom MCP servers.** Add your own MCP servers. [Custom MCP servers](/integrations/custom-mcp-servers). Business and Enterprise. ### Slack * **Slack answers from Rubix.** Mention Rubix in a channel and you get the same agent as in the console. [Slack](/integrations/slack). ### MCP * **The RubixKube MCP server.** Read and update incidents, RCAs and Tasks from Claude Code, Cursor, VS Code and Claude. You sign in as yourself, and what you do is recorded under your name. [MCP](/integrations/mcp). * **Knowledge tools.** Your AI tool can search past incidents, find similar ones and ask what changed. [MCP](/integrations/mcp). ### Sources and observers * **Environments are labels.** A source is a cluster, cloud account, machine or tool. An environment, such as staging, is a label across sources, and you can filter by it. [Environments](/concepts/environments). * **One page for every source.** Each source shows what's happening right now and what changed. [Environments](/using/environments). * **Links between sources.** Rubix asks whether two sources are the same thing, and you answer Yes, No or Skip. [Environments](/using/environments). * **Observer settings in the console.** Change timings, watch lists and rule values, and test a query rule, without touching the install. [Observers](/concepts/observer-agent). * **Early recovery and more pods.** Observers report recovery sooner, and large clusters can run more than one observer pod. [Kubernetes](/environments/kubernetes). ### Analytics * **Five numbers.** Mean time to understand, Coverage, Noise removal, Speed and Accuracy, with a summary on top and a report you can download as a PDF. [Analytics](/using/analytics). * **A better weekly digest.** The email leads with what Rubix worked on and links to Analytics. [Notifications](/using/notifications). ### Settings * **Models.** Add your own providers, and set the Primary and Worker models for your organization. Each chat can pick its own model. [Models](/using/models). Own providers are for Business and Enterprise. * **Usage and plan.** See your limits and how much of each you've used, with AI token usage. [Usage and plan](/using/usage-and-plan). * **Activity.** Filter, page through and export the record of what happened in your organization. Admins only. [Settings](/using/settings). * **Many organizations.** One person can belong to several organizations and switch between them. Sign-up now asks you to name yours, and invites join you directly. [Members](/using/members). > [card] [Quickstart](/getting-started/quickstart) > > New here? Start with this. > [card] [Integrations overview](/integrations/overview) > > See everything you can connect. # Atlassian Rovo Source: https://docs.rubixkube.ai/integrations/atlassian-rovo Let Rubix read Jira tickets and Confluence pages while it investigates. Connect Atlassian Rovo so Rubix can read Jira tickets and Confluence pages. It's how Rubix finds a related ticket or a runbook in your Atlassian site. To open incidents from Jira, set up [Jira](/integrations/jira) as an alert source too. ## Connect it ### 1. Allow RubixKube in Atlassian An Atlassian admin adds `https://console.rubixkube.ai/**` under **Atlassian Administration > Rovo > Rovo MCP server > Domains**. You only need this for sign-in. ### 2. Connect it in RubixKube Go to **Customize > Integrations** and pick **Atlassian Rovo**. Choose **Sign in with Atlassian**, or paste a **Service account key**. ## What Rubix can read The **Reads** section shows one row for Jira tickets and one for Confluence docs, for each Atlassian site the connection reaches. See [the Reads check](/integrations/overview#see-what-a-connection-can-read). Anything that changes Jira or Confluence follows your [modes](/using/modes), and you can turn it off with its switch in the **Tools** list. ## Related pages > [card] [Jira](/integrations/jira) > > Open incidents from Jira issues. > [card] [Notion](/integrations/notion) > > The same for Notion. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # Catalog Source: https://docs.rubixkube.ai/integrations/catalog Everything you can connect to RubixKube, grouped by what it's for. This page lists the tools you can connect. **Customize > Integrations** is the live list for your organization, and it shows how each tool connects. ## Alert sources These send RubixKube a webhook, and their events become incidents. * [Datadog](/integrations/datadog): monitor alerts. * [PagerDuty](/integrations/pagerduty): PagerDuty incidents. * [Grafana](/integrations/grafana): alert rules. * [Sentry](/integrations/sentry): issues and alerts. * [Jira](/integrations/jira): issues marked as incidents. * [Linear](/integrations/linear): issues labelled `incident`. * [Observe](/integrations/observe): monitor alarms. * [Your own webhook](/integrations/webhooks): anything that can post JSON. ## Team and AI tools * [Slack](/integrations/slack): talk to Rubix and follow incidents in threads. * [Rubix MCP](/integrations/mcp): use RubixKube from Claude Code, Cursor, VS Code and other AI tools. ## Monitoring, logs and errors * [Datadog](/integrations/datadog): metrics, logs, monitors and traces. * [Grafana Cloud](/integrations/grafana): dashboards and queries. * [New Relic](/integrations/new-relic): query your New Relic data. * Honeycomb: events and traces. * [Observe](/integrations/observe): logs, monitors and docs. * [Sentry](/integrations/sentry): errors and issues. * Axiom: logs and events. * Cloudflare: your Cloudflare account, including Workers logs. ## Incidents and on-call * [PagerDuty](/integrations/pagerduty): incidents and change events. * incident.io: incidents. * Rootly: incidents. * [Atlassian Rovo](/integrations/atlassian-rovo): Jira and Confluence. ## Code and deploys * [GitHub](/integrations/github): repositories, commits and pull requests. * [GitLab](/integrations/gitlab): projects, merge requests and pipelines. * Buildkite: pipelines and builds. * Netlify: sites and deploys. * Render: services, logs and deploys. ## Cloud and data * DigitalOcean Kubernetes: clusters. * DigitalOcean Insights: monitoring. * DigitalOcean Databases: managed databases. * DigitalOcean Apps: App Platform. * Supabase: database logs and advisors, read only. * Neon: Postgres projects, read only. ## Docs and planning * [Notion](/integrations/notion): runbooks and team docs. * [Linear](/integrations/linear): issues and projects. * Asana: tasks and projects. * ClickUp: tasks and docs. * monday.com: boards. * Airtable: bases, such as a service list or on-call roster. ## Customer impact * Intercom: support conversations. * Stripe: payments and failed charges. ## Reference These help Rubix look things up while it works. * AWS Knowledge: AWS documentation. * Microsoft Learn: Microsoft documentation. * Cloudflare Docs: Cloudflare documentation. * Context7: library documentation. * DeepWiki: documentation for code repositories. * Exa: web search, such as for a vendor outage. * RubixKube Docs: this documentation. ## Connected another way * [Prometheus](/integrations/prometheus): through the Kubernetes observer. * [Dynatrace](/integrations/dynatrace): as a custom MCP server. * [Your own MCP server](/integrations/custom-mcp-servers) or [REST API](/integrations/custom-rest): **Business and Enterprise**. ## Related pages > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # Custom MCP servers Source: https://docs.rubixkube.ai/integrations/custom-mcp-servers Add your own MCP server so Rubix can use your internal tools. MCP (Model Context Protocol) is the open standard Rubix uses to reach tools. Add your own server when you have an internal tool or data source that isn't in the [catalog](/integrations/catalog). Custom integrations are **Business and Enterprise**. ## Before you start RubixKube calls your server from outside your network, so it needs a public `https` address. For a server that lives inside a Kubernetes cluster, [add it to the observer](/environments/kubernetes#add-your-own-mcp-servers) instead. That's available on every plan and needs no public address. ## Add the server ### 1. Start adding it Go to **Customize > Integrations**, choose **Add your own** and give it a name. Set **What it is** to **MCP server**. ### 2. Enter the address Enter the server's address, such as `https://mcp.example.com/mcp`. RubixKube asks the server how it signs in and fills in what it finds. **Transport** is **Streamable HTTP** or **SSE**. ### 3. Set the sign-in Choose **No sign-in**, **Token** or **OAuth**. A token is sent as a Bearer token and stored encrypted. See [Sign-in and tokens](/integrations/oauth-and-auth-types). ### 4. Add it and check it Choose **Add**. For OAuth, sign in with the provider. Then choose **Check connection**. Rubix finds the server's tools when it connects. The **Tools** list shows each one with a switch, and **Rubix can use it** turns the whole server on or off. ## What makes a good server * **Clear descriptions.** Rubix reads each tool's description to decide when to use it. "Look up which customers are affected by an outage" beats "customer tool". * **Narrow inputs.** Fixed choices and ranges work better than free text. * **Label your reads.** Set `readOnlyHint` on tools that only read. During an RCA, Rubix only calls tools labelled as reads. * **Useful errors.** Say what went wrong in words Rubix can act on. Anything that changes something follows your [modes](/using/modes), so a custom server gets the same checks as every other tool. ## Troubleshooting > [accordion] The server is added but no tools appear > > Rubix lists tools when it connects. Choose **Check connection**, then look at your server's log for errors in the MCP handshake. > [accordion] The address is refused > > It has to be a public `https` address. Private addresses and names such as `.internal` or `.local` aren't accepted. > [accordion] Rubix doesn't use a tool during an RCA > > Check that the tool is labelled as read-only. Without that label, it counts as a change. ## Related pages > [card] [Custom REST APIs](/integrations/custom-rest) > > Add an API without writing a server. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. > [card] [Add custom integrations](/tutorials/add-custom-integrations) > > A walkthrough of both. > [card] [Rubix MCP](/integrations/mcp) > > The other direction: RubixKube in your AI tools. # Custom REST APIs Source: https://docs.rubixkube.ai/integrations/custom-rest Add a REST API so Rubix can call its endpoints as tools. If your internal tool has a REST API, you can add it without writing an MCP server. Each endpoint you add becomes a tool Rubix can call. Custom integrations are **Business and Enterprise**. ## Add the API ### 1. Start adding it Go to **Customize > Integrations**, choose **Add your own** and give it a name. Set **What it is** to **REST API**. ### 2. Enter the address Enter the base address, such as `https://api.example.com`. Endpoint paths are added to the end of it. It has to be a public `https` address. ### 3. Set the sign-in Choose **No sign-in**, **Token**, **API key** or **Username and password**. See [Sign-in and tokens](/integrations/oauth-and-auth-types). ### 4. Add the endpoints Import an OpenAPI or Swagger file by link, or paste or drop it in as JSON or YAML. Or add endpoints by hand with a method, path, tool name, description and inputs. Imported endpoints that make changes start off, so you turn on only the ones you want. ### 5. Add extra headers Add any headers the API needs on every call. These aren't encrypted, so keep secrets in the sign-in. ### 6. Add it and check it Choose **Add**, then **Check connection**. ## What makes a good API * **Clear descriptions.** Rubix reads each endpoint's description to decide when to use it. * **Start with reads.** Add `GET` endpoints first, and turn on changes once those work. * **Narrow inputs.** Fixed choices and ranges work better than free text. * **Pages, not floods.** Long lists should page, so one call doesn't return everything. Anything that changes something follows your [modes](/using/modes). In Observe, Rubix can't call it. In Assist, it asks first. ## Troubleshooting > [accordion] The file won't import > > The file has to be JSON or YAML with a `paths` section. > [accordion] Calls fail with a sign-in error > > **Token** is sent as `Authorization: Bearer `, and **API key** as `Authorization: Token `. Use the one your API expects. > [accordion] Rubix calls the wrong endpoint > > Sharpen the description of the one it should prefer. Rubix chooses from what the description says. ## Related pages > [card] [Custom MCP servers](/integrations/custom-mcp-servers) > > When a REST API isn't enough. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. > [card] [Add custom integrations](/tutorials/add-custom-integrations) > > A walkthrough of both. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. # Datadog Source: https://docs.rubixkube.ai/integrations/datadog Turn Datadog monitor alerts into incidents, and let Rubix read your metrics, logs and traces. Connect Datadog so a monitor that fires opens an incident in RubixKube, and its recovery resolves it. Your team then gets an investigation for each alert, without opening Datadog to start digging. You can also connect Datadog as a tool Rubix reads while it investigates, so its RCAs can use your logs and metrics. ## When you'd use this * **Your monitors live in Datadog.** Keep them there, and get an investigation for each one that fires. * **You see the same problem twice.** Link Datadog to your cluster, and its alerts join the observer's group, with one RCA. * **You want RCAs to use your logs and metrics.** Add the connection as well, under [What Rubix can read too](#what-rubix-can-read-too). ## Connect it ![The webhook URL for Datadog, shown once, with a Copy button and a line saying it is waiting for the first message](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/webhook-url-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=688eb4845cf2d68b51d67e6201526cc8) ### 1. Make its webhook in RubixKube Go to **Environments > Connect** and pick **Datadog**. Give it a name, then choose **Make its webhook**. Copy the URL. It's shown once, and anyone who has it can post to it. ### 2. Add the webhook in Datadog In Datadog, go to **Integrations > Webhooks** and add a new webhook. Name it `rubixkube` and paste the URL. ### 3. Paste the payload Paste this into the webhook's **Payload** field. The Connect dialog shows the same text, with a copy button. RubixKube needs these fields to read the alert. ```json theme={null} { "event_id": "$ID", "transition": "$ALERT_TRANSITION", "monitor_id": "$ALERT_ID", "monitor": "$ALERT_TITLE", "cycle_key": "$ALERT_CYCLE_KEY", "priority": "$ALERT_PRIORITY", "alert_type": "$ALERT_TYPE", "title": "$EVENT_TITLE", "message": "$EVENT_MSG", "host": "$HOSTNAME", "scope": "$ALERT_SCOPE", "tags": "$TAGS", "link": "$LINK", "date": "$DATE" } ``` ### 4. Add it to your monitors Put `@webhook-rubixkube` in the message of each monitor you want. Monitors without it send nothing. ## What opens an incident and what resolves it | Monitor state | What happens | | - | - | | Triggered, Re-Triggered, No Data, Re-No Data, Renotify | Opens or updates the incident | | Warn, Re-Warn | Opens the incident one severity lower, with the RCA held | | Recovered | Resolves the incident | **Severity** comes from the monitor's priority: P1 is critical, P2 high, P3 medium, P4 and P5 low. With no priority set, an `error` alert is high, a `warning` alert is medium, and anything else is low. **Warnings.** A warning opens the incident one severity lower than the monitor's priority, so a P2 monitor warns at medium. Its RCA waits 15 minutes. If the monitor goes to Alert in that time, the RCA starts at once. You can turn this off or change the wait in the automation's settings. **Which alerts count as the same incident.** One monitor plus one scope is one incident. If `Payments errors` alerts for `service:payments-api` and fires again while that incident is open, it updates the same incident. If it alerts for `service:orders-api`, that's a second incident. **Several scopes at once.** Alerts one monitor sends for several hosts or pods become one group with one RCA. You can turn this off in the automation's settings. A monitor tagged `impact:degradation` opens as a degradation, so RubixKube treats it as something that got slower. Any other monitor opens as a breakage. ## What you'll see The source appears on **Environments** as soon as you make its webhook, then shows as connected when the first message arrives. Its page has an **Events** tab with the last 20 messages, so you can check what Datadog really sent. The automation **Datadog alerts become incidents** is on under **Automations**. If events arrive and no incident opens, the source page says so and offers **Turn on**. ![What Datadog sent card on an incident: the monitor, scope, value and a link back](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/guides/datadog-sent-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=a9b258524fce26d74fc76f1ad6616a97) Each incident carries the alert's details and a link back to Datadog. Triage, the RCA and Tasks then work as they do for any other incident. ## What Rubix can read too The webhook only carries alerts. To let Rubix look at Datadog while it investigates, open **Customize > Integrations**, pick **Datadog**, choose your Datadog site and connect in one of three ways. * **Sign in with Datadog.** A Datadog admin first adds `https://console.rubixkube.ai/oauth/callback` under **Organization Settings > MCP Server > MCP OAuth Redirect URLs**. * **Service account token.** * **API key and application key.** The connection's **Reads** section then shows what Rubix can reach: events, logs, monitors, metrics and traces. See [the Reads check](/integrations/overview#see-what-a-connection-can-read). ## Related pages > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Incidents](/using/incidents) > > What happens after an incident opens. > [card] [PagerDuty](/integrations/pagerduty) > > Bring in the incidents your on-call team already has. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # Dynatrace Source: https://docs.rubixkube.ai/integrations/dynatrace Let Rubix read Dynatrace by adding its MCP server as a custom integration. Connect Dynatrace so Rubix can query problems, logs, metrics and traces while it investigates. It connects as a custom MCP server, which is **Business and Enterprise**. ## Connect it ### 1. Create a token in Dynatrace Create a platform token in Dynatrace with read access to the data you want Rubix to see. ### 2. Add the server Go to **Customize > Integrations** and choose **Add your own**. Pick **MCP server** and enter this address, with your environment id: ```text theme={null} https://.apps.dynatrace.com/platform-reserved/mcp-gateway/v0.1/servers/dynatrace-mcp/mcp ``` ### 3. Paste the token Set **Sign-in** to **Token**, paste the platform token and choose **Add**. ### 4. Check it Choose **Check connection**. Rubix finds the server's tools when it connects. ## What Rubix can read The tools come from Dynatrace's own server, and the **Tools** list shows each one. Rubix sees what the token can see. To send Dynatrace problems to RubixKube as incidents, point a Dynatrace webhook at [your own webhook](/integrations/webhooks). ## Related pages > [card] [Custom MCP servers](/integrations/custom-mcp-servers) > > How custom servers work. > [card] [Your own webhook](/integrations/webhooks) > > Send incidents from anything that can post JSON. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # GitHub Source: https://docs.rubixkube.ai/integrations/github Let Rubix read your repositories, commits and pull requests while it looks for what changed. Connect GitHub so Rubix can see what changed before something broke. If `orders-api` starts failing after a release, Rubix can read the commits and pull requests in that release and cite them in the RCA. ## Connect it GitHub connects with a token. There's no sign-in option. ### 1. Create a token in GitHub Create a personal access token in GitHub. Give it read access to the repositories you want Rubix to see, and no more. ### 2. Paste it in RubixKube Go to **Customize > Integrations**, pick **GitHub** and paste the token as a **Personal access token**. ## What Rubix can read RubixKube connects in read-only mode, so Rubix can read repositories, commits, pull requests and issues but can't write to GitHub through this connection. The token decides what Rubix can see. If a repository is missing, give the token access to it, then use **Replace token**. Press **Test** to run [the Reads check](/integrations/overview#see-what-a-connection-can-read). ## Related pages > [card] [GitLab](/integrations/gitlab) > > The same for GitLab. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Root cause analysis](/concepts/root-cause-analysis) > > How Rubix uses what changed. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # GitLab Source: https://docs.rubixkube.ai/integrations/gitlab Let Rubix read your GitLab projects, merge requests and pipelines while it looks for what changed. Connect GitLab so Rubix can see what shipped before something broke, and cite it in the RCA. ## Connect it ### 1. Open GitLab in RubixKube Go to **Customize > Integrations** and pick **GitLab**. ### 2. Sign in Sign in to GitLab in the new tab and allow RubixKube. The page shows GitLab as connected on its own. For a self-managed GitLab, add it as a [custom MCP server](/integrations/custom-mcp-servers) at `https:///api/v4/mcp`, using your own OAuth application. Your server needs a public `https` address. ## What Rubix can read Rubix reads what the person who signed in can see. The connection's tools come from GitLab's own server, and the **Tools** list shows each one. Anything that changes GitLab follows your [modes](/using/modes), and you can turn it off with its switch. Press **Test** to run [the Reads check](/integrations/overview#see-what-a-connection-can-read). ## Related pages > [card] [GitHub](/integrations/github) > > The same for GitHub. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Root cause analysis](/concepts/root-cause-analysis) > > How Rubix uses what changed. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # Grafana Source: https://docs.rubixkube.ai/integrations/grafana Turn Grafana alerts into incidents, and let Rubix query Grafana Cloud while it investigates. Connect Grafana so a firing alert opens an incident in RubixKube, and its resolved message resolves it. This works with any Grafana that can send to a webhook. If you use Grafana Cloud, Rubix can also read it while it investigates. ## When you'd use this * **Your alert rules live in Grafana.** Keep them there, and get an investigation for each one that fires. * **You run Prometheus.** A Grafana contact point is the simplest way to get those alerts into RubixKube. * **You self-host Grafana.** Webhook alerts work with any Grafana, not only Grafana Cloud. ## Connect it ### 1. Make its webhook in RubixKube Go to **Environments > Connect** and pick **Grafana**. Give it a name, then choose **Make its webhook**. Copy the URL. It's shown once, and anyone who has it can post to it. ### 2. Add a contact point in Grafana In Grafana, go to **Alerting > Contact points** and add a **Webhook** contact point. Paste the URL. ### 3. Send one alert per message Under the webhook's optional settings, set **Max alerts per message** to 1. RubixKube reads only the first alert in a message, so a higher number hides the rest. ### 4. Route your alerts to it Add the contact point to the notification policy for the alerts you want. ## What opens an incident and what resolves it | Alert status | What happens | | - | - | | `firing` | Opens or updates the incident | | `resolved` | Resolves the incident | **Severity** comes from the alert's `severity` label: `critical` is critical, `high` or `error` is high, `warning` or `medium` is medium, `low` or `info` is low. With no label, it's medium. Each alert's own Grafana fingerprint decides which incident it belongs to, so a firing alert that repeats updates the same incident. ## What you'll see The source appears on **Environments** as soon as you make its webhook, then shows as connected when the first message arrives. Its page has an **Events** tab with the last 20 messages, so you can check what Grafana really sent. The automation **Grafana alerts become incidents** is on under **Automations**. If events arrive and no incident opens, the source page says so and offers **Turn on**. Each incident carries the alert's details and a link back to Grafana. Triage, the RCA and Tasks then work as they do for any other incident. ## What Rubix can read too To let Rubix read Grafana Cloud, open **Customize > Integrations**, pick **Grafana Cloud** and sign in. RubixKube asks for read and query access, not write access. For a Grafana you run yourself, add its MCP server to the observer. See [Add your own MCP servers](/environments/kubernetes#add-your-own-mcp-servers). ## Related pages > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Incidents](/using/incidents) > > What happens after an incident opens. > [card] [Prometheus](/integrations/prometheus) > > Reach metrics inside your Kubernetes cluster. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # Jira Source: https://docs.rubixkube.ai/integrations/jira Turn the Jira issues your team marks as incidents into RubixKube incidents. Connect Jira so an issue your team marks as an incident opens one in RubixKube, and moving it to Done resolves it. Every other issue is left alone, so a busy project doesn't fill your incident list. ## When you'd use this * **People report incidents in Jira.** Support or another team files an issue, and Rubix starts looking. * **You run incidents from Jira.** Mark an issue as an incident, and it gets an RCA and Tasks here. ## Connect it ### 1. Make its webhook in RubixKube Go to **Environments > Connect** and pick **Jira**. Give it a name, then choose **Make its webhook**. Copy the URL. It's shown once, and anyone who has it can post to it. ### 2. Add the webhook in Jira In Jira, go to **Settings > System > Webhooks** and create a webhook. Paste the URL. ### 3. Pick the events Tick **Issue created**, **Issue updated** and **Issue deleted**. To cover one project, add a JQL filter such as `project = OPS`. ## What opens an incident and what resolves it An issue counts when it has the label `incident`, or when its issue type is `Incident`. | Jira event | What happens | | - | - | | A counted issue is created | Opens the incident | | A counted issue moves to a status that isn't done | Opens or updates the incident | | A counted issue moves to a done status | Resolves the incident | | An issue is deleted | Resolves its incident, if it has one | | Anything else | Ignored | **Severity** comes from the issue's priority: Highest is critical, High is high, Low and Lowest are low, and anything else is medium. > [!NOTE] > > Editing an issue without changing its status does nothing. If you add the `incident` label to an existing issue, the incident opens at its next status change. ## What you'll see The source appears on **Environments** as soon as you make its webhook, then shows as connected when the first message arrives. Its page has an **Events** tab with the last 20 messages, so you can check what Jira really sent. The automation **Jira issues become incidents** is on under **Automations**. If events arrive and no incident opens, the source page says so and offers **Turn on**. Each incident carries the alert's details and a link back to Jira. Triage, the RCA and Tasks then work as they do for any other incident. ## What Rubix can read too Jira is read through Atlassian Rovo, which also covers Confluence. See [Atlassian Rovo](/integrations/atlassian-rovo). ## Related pages > [card] [Atlassian Rovo](/integrations/atlassian-rovo) > > Let Rubix read Jira and Confluence. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Linear](/integrations/linear) > > The same idea for Linear. > [card] [Incidents](/using/incidents) > > What happens after an incident opens. # Linear Source: https://docs.rubixkube.ai/integrations/linear Turn the Linear issues your team labels incident into RubixKube incidents, and let Rubix read Linear. Connect Linear so an issue labelled `incident` opens an incident in RubixKube, and completing or cancelling it resolves it. Other issues are left alone. You can also connect Linear as a tool Rubix reads while it investigates. ## When you'd use this * **Your team tracks work in Linear.** Add the `incident` label to an issue, and Rubix starts looking. * **You want Rubix to find related work.** With a connection, an RCA can read the issues around a problem. ## Connect it ### 1. Make its webhook in RubixKube Go to **Environments > Connect** and pick **Linear**. Give it a name, then choose **Make its webhook**. Copy the URL. It's shown once, and anyone who has it can post to it. ### 2. Add the webhook in Linear In Linear, go to **Settings > API > Webhooks** and create a new webhook. Paste the URL. ### 3. Pick what it covers Choose one team or all public teams, and tick the **Issues** resource type. ## What opens an incident and what resolves it | Linear event | What happens | | - | - | | An issue labelled `incident` is created | Opens the incident | | An issue labelled `incident` is updated | Opens or updates the incident, so adding the label to an existing issue opens one | | An issue labelled `incident` moves to completed or canceled | Resolves the incident | | An issue is removed | Resolves its incident, if it has one | | Anything else | Ignored | **Severity** comes from the issue's priority: Urgent is critical, High is high, Medium is medium, Low is low. With no priority, it's medium. ## What you'll see The source appears on **Environments** as soon as you make its webhook, then shows as connected when the first message arrives. Its page has an **Events** tab with the last 20 messages, so you can check what Linear really sent. The automation **Linear issues become incidents** is on under **Automations**. If events arrive and no incident opens, the source page says so and offers **Turn on**. Each incident carries the alert's details and a link back to Linear. Triage, the RCA and Tasks then work as they do for any other incident. ## What Rubix can read too To let Rubix read Linear while it investigates, open **Customize > Integrations**, pick **Linear**, and choose **Sign in with Linear** or paste an **API key**. The connection's tools come from Linear's own server, and the **Tools** list shows each one. Anything that changes Linear follows your [modes](/using/modes). ## Related pages > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Jira](/integrations/jira) > > The same idea for Jira. > [card] [Tasks](/using/tasks) > > Follow-ups Rubix proposes after an RCA. > [card] [Skills](/using/skills) > > Teach Rubix how your team uses this tool. # Rubix MCP Source: https://docs.rubixkube.ai/integrations/mcp Use RubixKube from Claude Code, Cursor, VS Code and other AI tools through its MCP server. If you spend your day in an AI coding tool, you shouldn't have to switch to the console to check an incident. The RubixKube MCP server lets you use RubixKube from the tools you already have. Ask what needs attention, read an RCA, report an incident or turn a Fix into a Task, all from your editor. Any tool that speaks MCP can use it. The server is at `https://mcp.rubixkube.ai/mcp`, over HTTP. It works with any RubixKube account, on every plan. ![A terminal session asking what needs attention, with RubixKube tools called and a Task assigned](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/guides/mcp-terminal-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=6c337feea2007ea4439bdc78ba075f12) ## Install The console's **Apps** page has a one-click install for Cursor, VS Code and Claude. > [tab] Claude Code > > Install the plugin, which adds the server, the skills and a read-only investigator agent: > > ```bash theme={null} > /plugin marketplace add rubixkube-io/rubixkube-for-ai > /plugin install rubixkube@rubixkube > ``` > > Or add only the server: > > ```bash theme={null} > claude mcp add --transport http rubixkube https://mcp.rubixkube.ai/mcp > ``` > [tab] Cursor > > Choose **Add to Cursor** on the **Apps** page, or add this to `.cursor/mcp.json`: > > ```json theme={null} > { > "mcpServers": { > "rubixkube": { > "type": "http", > "url": "https://mcp.rubixkube.ai/mcp" > } > } > } > ``` > [tab] VS Code > > Choose **Add to VS Code** on the **Apps** page. It adds RubixKube for Copilot. > [tab] Other tools > > Choose **Add to Claude** on the **Apps** page for Claude on the web and desktop. For anything else, point it at `https://mcp.rubixkube.ai/mcp` over HTTP. ## Sign in The first time you use it, your tool opens a browser window. Sign in with the same account you use at [console.rubixkube.ai](https://console.rubixkube.ai). You stay signed in after that. ## Acting as you Everything runs as the person who signed in, and every change is recorded under your name, the same as if you'd made it in the console. If you close an incident from Cursor, the incident's history says you closed it. [Modes](/using/modes) apply to Rubix, not to your AI tool. RubixKube asks for no approval here, so your AI tool's own confirmation is the check before a change. ## Tools There are 25 tools. Fifteen read and ten make changes. ### Reads | Tool | What it answers | | - | - | | `platform_status` | One overview: sources and health, open incidents by severity, Tasks waiting, RCAs from the last day | | `list_environments` | Your sources and their environment labels | | `environment_snapshot` | The latest infrastructure snapshot of one source | | `list_incidents`, `get_incident` | Incidents, open by default, with the RCA id when it's done | | `get_incident_resolution` | What fixed an incident, or the candidates while it waits for an answer | | `list_rcas`, `get_rca` | RCAs, one line each or in full with evidence | | `list_tasks`, `get_task` | Tasks with status, priority, owner and links | | `list_comments` | The comments on an incident, Task or RCA | | `similar_incidents` | Earlier incidents on the same fingerprint or resource | | `what_changed` | Deploys, config and scaling changes in the minutes before an incident | | `search_knowledge` | Find a service, host, person or resource, with its incidents, RCAs and changes | | `ask_knowledge` | A plain question answered from your organization's recorded history | ### Changes | Tool | What it does | | - | - | | `report_incident` | Report an incident. The RCA runs in the background, so fetch it a few minutes later | | `edit_incident`, `close_incident` | Correct or close an incident | | `answer_incident_resolution` | Say what fixed a resolved incident | | `retry_rca` | Run the RCA again | | `create_task`, `update_task`, `move_task`, `assign_task` | Create, rename, move and assign Tasks | | `post_comment` | Comment on an incident, Task or RCA | ## Prompts These show up as slash commands in tools that support them. | Prompt | What it does | | - | - | | `what_needs_attention` | Open incidents and Tasks, ranked by what to do first | | `investigate_incident` | Walks one incident: what happened, the RCA, the evidence, what to do | | `turn_rca_into_tasks` | Creates the Fix and Follow-ups an RCA proposes, after you confirm | | `morning_summary` | New incidents, finished RCAs and Tasks that moved since yesterday | ## Resources You can attach these to a chat as context: `rubixkube://environments`, `rubixkube://incidents/open`, `rubixkube://incidents/{id}`, `rubixkube://rcas/{id}` and `rubixkube://tasks/open`. ## Skills The plugin adds eight skills that tell your assistant when and how to use the tools: `status`, `incidents`, `investigate`, `environments`, `tasks`, `rca`, `changes` and `knowledge`. Claude Code also gets `rubixkube-investigator`, an agent that walks one incident and reports back without changing anything. The plugin is open source at [rubixkube-io/rubixkube-for-ai](https://github.com/rubixkube-io/rubixkube-for-ai). ## Related pages > [card] [Slack](/integrations/slack) > > Talk to Rubix in your Slack threads. > [card] [Rubix chat](/using/rubix-chat-agent) > > Talk to Rubix in the console. > [card] [Modes](/using/modes) > > What Rubix can do without asking. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. # New Relic Source: https://docs.rubixkube.ai/integrations/new-relic Let Rubix query your New Relic data while it investigates. Connect New Relic so Rubix can query what New Relic holds about a service while it works out why something broke. ## Connect it ### 1. Open New Relic in RubixKube Go to **Customize > Integrations**, pick **New Relic** and choose your region: US, EU or Japan. ### 2. Connect Choose **Sign in with New Relic**, or paste a **User API key**. ## What Rubix can read The connection's tools come from New Relic's own server, and the **Tools** list shows each one. Press **Test** to run [the Reads check](/integrations/overview#see-what-a-connection-can-read). New Relic isn't an alert source. To send its alerts to RubixKube, point a New Relic webhook at [your own webhook](/integrations/webhooks). ## Related pages > [card] [Datadog](/integrations/datadog) > > Another monitoring tool. > [card] [Your own webhook](/integrations/webhooks) > > Send incidents from anything that can post JSON. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # Notion Source: https://docs.rubixkube.ai/integrations/notion Let Rubix read your runbooks and team docs in Notion. Connect Notion so Rubix can read your runbooks, service notes and past post-mortems while it investigates and when you ask it something in chat. ## Connect it ### 1. Open Notion in RubixKube Go to **Customize > Integrations** and pick **Notion**. ### 2. Sign in Sign in to Notion in the new tab and allow RubixKube. The page shows Notion as connected on its own. ## What Rubix can read Rubix reads what Notion gives this connection. If it can't find a page, check that page's access in Notion. The connection's tools come from Notion's own server, and the **Tools** list shows each one. Anything that changes Notion follows your [modes](/using/modes), and you can turn it off with its switch. To teach Rubix where your runbooks live, write a [skill](/using/skills). ## Related pages > [card] [Atlassian Rovo](/integrations/atlassian-rovo) > > The same for Confluence and Jira. > [card] [Skills](/using/skills) > > Teach Rubix how your team uses this tool. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # Sign-in and tokens Source: https://docs.rubixkube.ai/integrations/oauth-and-auth-types How connections sign in to your tools: OAuth, tokens, and the address an admin allows. Every connection reaches its tool in one of two ways. With sign-in (OAuth), you approve RubixKube in the tool and never hand over a password. With a token, you paste a key you made in the tool. The console shows the ways each tool accepts, and the first one is the usual choice. ## Sign in with OAuth Open a tool under **Customize > Integrations** and choose its sign-in button. A new tab opens on the tool. Sign in there and allow RubixKube, then come back. The tool shows as connected on its own. RubixKube gets an access token you can revoke at any time, here or in the tool. It refreshes that token on its own, so you stay connected. ### The address to allow Some tools only accept sign-in from an address an admin has allowed. Add this one, once. The console shows it with a copy button. ```text theme={null} https://console.rubixkube.ai/oauth/callback ``` | Tool | Where an admin allows it | | - | - | | Datadog | **Organization Settings > MCP Server > MCP OAuth Redirect URLs** | | Atlassian Rovo | **Atlassian Administration > Rovo > Rovo MCP server > Domains**, as `https://console.rubixkube.ai/**` | | incident.io | **Settings > MCP**. Turn on MCP and add `console.rubixkube.ai` under allowed redirect domains | A connection made before this address existed keeps its old one and goes on working. To move it, choose **Use the new sign-in address** on the connection. ### Your own OAuth app When you add a [custom MCP server](/integrations/custom-mcp-servers) with OAuth, RubixKube first asks the server how it signs in. If the server can register RubixKube itself, you have nothing to fill in. Otherwise, or if you choose **Use your own app**, enter a client ID and, if it has one, a client secret. Then give an issuer URL, or the authorization and token URLs, and any scopes. Set your app's redirect address to the one above. ## Use a token Paste the token in the tool's form. Give it the least access it needs. RubixKube stores it encrypted and uses it only to call that tool. Tools expect tokens in different forms, and RubixKube sends the right one for each catalog entry, so you paste the token alone. | Form | Used by | | - | - | | `Authorization: Bearer ` | Most tools | | `Authorization: Token token=` | PagerDuty | | `Authorization: Sentry-Bearer ` | Sentry | | `api-key: ` | New Relic | | `DD-API-KEY` and `DD-APPLICATION-KEY` | Datadog, with an API key and application key | For your own integrations, the console offers these: | Sign-in | Custom MCP server | Custom REST API | How it's sent | | - | - | - | - | | No sign-in | Yes | Yes | Nothing is sent | | Token | Yes | Yes | `Authorization: Bearer ` | | API key | No | Yes | `Authorization: Token ` | | Username and password | No | Yes | Stored encrypted | | OAuth | Yes | No | Handled by sign-in | ## When a connection stops working | Status | What to do | | - | - | | Needs attention | The tool refused the sign-in or token. Choose **Sign in again** or **Replace token** | | Sign in to finish | The sign-in wasn't completed. Choose **Sign in** | | Turned off | Choose **Turn back on** | **Disconnect** stops Rubix using the tool and deletes the saved sign-in. ## Troubleshooting > [accordion] The tool refuses the redirect address > > An admin needs to allow `https://console.rubixkube.ai/oauth/callback` in the tool. Check for a trailing slash. > [accordion] The connection works but Rubix finds nothing > > Look at the tool's [Reads section](/integrations/overview#see-what-a-connection-can-read). A refused read shows the tool's own words and the fix. ## Related pages > [card] [Custom MCP servers](/integrations/custom-mcp-servers) > > Add your own server. > [card] [Custom REST APIs](/integrations/custom-rest) > > Add your own API. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Catalog](/integrations/catalog) > > Everything you can connect. # Observe Source: https://docs.rubixkube.ai/integrations/observe Turn Observe monitor alarms into incidents, and let Rubix read your Observe datasets. Connect Observe so a new alarm opens an incident in RubixKube, and the alarm ending resolves it. You can also connect Observe as a tool Rubix reads while it investigates. ## When you'd use this * **Your logs and monitors live in Observe.** Each alarm gets an investigation without anyone opening a worksheet. * **You want RCAs built on your own data.** With a connection, Rubix reads your Observe datasets as evidence. ## Connect it ### 1. Make its webhook in RubixKube Go to **Environments > Connect** and pick **Observe**. Give it a name, then choose **Make its webhook**. Copy the URL. It's shown once, and anyone who has it can post to it. ### 2. Create a shared action in Observe In Observe, go to **Monitors > View shared actions > New shared action** and choose **Webhook**. Paste the URL. ### 3. Paste the payload Paste this as the action's payload. The Connect dialog shows the same text, with a copy button. ```json theme={null} { "event": "{{alert.type.eventType}}", "alert_id": "{{{alert.id}}}", "monitor_id": "{{monitor.id}}", "monitor": "{{monitor.name}}", "severity": "{{alert.severity.level}}", "title": "{{alert.severity.level}}: {{monitor.name}}", "description": "{{monitor.description}}", "started_at": "{{alert.start.rfc3339}}", "ended_at": "{{alert.end.rfc3339}}", "url": "{{{alert.url}}}", "data_url": "{{{alert.dataUrl}}}", "values": [{{#alert.values}}{"name": "{{name}}", "value": "{{value}}"}{{^isLast}},{{/isLast}}{{/alert.values}}], "tags": [{{#alert.tags}}{"name": "{{name}}", "value": "{{value}}"}{{^isLast}},{{/isLast}}{{/alert.tags}}], "resources": [{{#alert.resources}}{"label": "{{label}}", "name": "{{value}}", "url": "{{{url}}}"}{{^isLast}},{{/isLast}}{{/alert.resources}}] } ``` ### 4. Attach it to your monitors Add the shared action to each monitor you want, and turn on end notifications. Without them, RubixKube never hears that the alarm ended. ## What opens an incident and what resolves it | Observe event | What happens | | - | - | | `NewAlarm` | Opens the incident | | `AlarmConditionEnded` | Resolves the incident | | Anything else | Ignored | **Severity** comes from the alarm: Critical is critical, Error is high, Warning is medium, and anything else is low. Each alarm is one incident. ## What you'll see The source appears on **Environments** as soon as you make its webhook, then shows as connected when the first message arrives. Its page has an **Events** tab with the last 20 messages, so you can check what Observe really sent. The automation **Observe alerts become incidents** is on under **Automations**. If events arrive and no incident opens, the source page says so and offers **Turn on**. Each incident carries the alert's details and a link back to Observe. Triage, the RCA and Tasks then work as they do for any other incident. ## What Rubix can read too To let Rubix read Observe while it investigates, open **Customize > Integrations**, pick **Observe**, and enter your customer id and region. Your customer id is the number at the start of your Observe address: for `https://123456789012.observeinc.com`, it's `123456789012`. Then choose **Sign in with Observe** or paste an **API token**. The connection's **Reads** section shows what Rubix can reach: logs from each dataset, monitors and Observe's docs. See [the Reads check](/integrations/overview#see-what-a-connection-can-read). ## Related pages > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Incidents](/using/incidents) > > What happens after an incident opens. > [card] [Datadog](/integrations/datadog) > > Send monitor alerts from Datadog. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # Integrations overview Source: https://docs.rubixkube.ai/integrations/overview The two ways to connect a tool to RubixKube: alert sources that open incidents, and connections Rubix can read. You already have tools that watch your systems and hold your team's knowledge. Connecting them means RubixKube hears about problems sooner, and Rubix has more to read when it works out why. There are two ways to connect a tool. An alert source sends RubixKube a webhook, and its events become incidents. A connection lets Rubix read a tool while it investigates and chats with you. Many tools can do both, and you set each one up separately. ![Alert sources send webhooks into RubixKube and create incidents. Connections let Rubix read the tool. Do both for the best result](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/two-ways-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=a8813b173899abfecd22f8b66badcd40) ## Which one do you need? * **You want Datadog alerts to become incidents.** Set up an alert source. * **You want Rubix to read Datadog logs in an RCA.** Add a connection. * **You want both.** An RCA is only as good as what Rubix can read, so a webhook alone gives it less to work with. * **You want Rubix to read your code or docs.** GitHub, GitLab and Notion are connections. * **Your tool isn't listed, or it's your own system.** Use [your own webhook](/integrations/webhooks) to send alerts, or a [custom integration](#your-own-tools) so Rubix can read it. ## Alert sources An alert source is a tool that tells RubixKube when something breaks. It connects like any other source, under **Environments > Connect**. You pick the tool and RubixKube makes it a webhook of its own. You paste that URL into the tool. The source registers itself and shows up on **Environments**, and a built-in automation turns its events into incidents. Each tool's page lists exactly which events open an incident and which resolve it. ## Connections A connection lets Rubix read a tool. It adds evidence to an RCA and answers to your questions in chat. For example, Rubix can look through Datadog logs for `payments-api` while it works out why the service is crash-looping. ![Customize, Integrations page with tools in use and more to add](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/console/customize-integrations-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=6a7e2c9187dc198ce6d796e236a5d029) An admin connects a tool under **Customize > Integrations**. Open a tool under **Add more** and sign in, or paste a token, depending on what the tool offers. Some tools ask for a site, region or customer id first. A few need an admin at the other tool to allow RubixKube before anyone can sign in, and the page tells you when that's the case. See [Sign-in and tokens](/integrations/oauth-and-auth-types). A connection's **Tools** list shows everything the tool offers, with a switch for each one. During an RCA, Rubix only calls tools that read. In chat, any tool that changes something follows your [modes](/using/modes). ## What's available in each | Tool | Alert source | Connection | | - | - | - | | [Datadog](/integrations/datadog) | Yes | Yes | | [PagerDuty](/integrations/pagerduty) | Yes | Yes | | [Grafana](/integrations/grafana) | Yes | Grafana Cloud | | [Sentry](/integrations/sentry) | Yes | Yes | | [Jira](/integrations/jira) | Yes | Through [Atlassian Rovo](/integrations/atlassian-rovo) | | [Linear](/integrations/linear) | Yes | Yes | | [Observe](/integrations/observe) | Yes | Yes | | [Your own webhook](/integrations/webhooks) | Yes | No | | [GitHub](/integrations/github), [GitLab](/integrations/gitlab), [Notion](/integrations/notion), [New Relic](/integrations/new-relic) | No | Yes | The [catalog](/integrations/catalog) has the full list. ## See what a connection can read A connection that signs in doesn't always reach anything useful. A token can have the wrong scope, or the logs can live somewhere else. So RubixKube checks. After you connect, sign in or press **Test**, RubixKube makes real reads against the tool over the last hour. The tool's **Reads** section shows one row for each kind of evidence, such as Logs, Metrics, Alerts or Tickets, and each row says what happened. | Status | What it means | | - | - | | Reads | Rubix read data from this place | | Nothing in the last hour | The read worked and came back empty | | Refused | The tool said no. The row shows its words and the fix | | Failed | The read didn't work. The row shows the error | The same rows appear on an alert source's page under **Environments**. Datadog, PagerDuty, Observe and Atlassian Rovo get a read for each kind of evidence. Other tools get one read that shows the connection answers. ## Your own tools To connect something that isn't in the catalog, choose **Add your own** under **Customize > Integrations**. You can add an [MCP server](/integrations/custom-mcp-servers) or a [REST API](/integrations/custom-rest). Custom integrations are **Business and Enterprise**. ## Related pages > [card] [Catalog](/integrations/catalog) > > Everything you can connect. > [card] [Your own webhook](/integrations/webhooks) > > Send incidents from anything that can post JSON. > [card] [Slack](/integrations/slack) > > Talk to Rubix and follow incidents in Slack. > [card] [Rubix MCP](/integrations/mcp) > > Use RubixKube from your AI tools. # PagerDuty Source: https://docs.rubixkube.ai/integrations/pagerduty Turn PagerDuty incidents into RubixKube incidents, and let Rubix read PagerDuty while it investigates. Connect PagerDuty so an incident there opens one in RubixKube, and resolving it there resolves it here. Rubix then works out the cause while your on-call process carries on as usual. This goes one way, from PagerDuty into RubixKube. Nothing triggers, acknowledges or resolves anything in PagerDuty. ## When you'd use this * **PagerDuty is how your team hears about problems.** Keep it. RubixKube adds the investigation behind each one. * **You want the cause next to the alert.** The person who picks up the incident can read what Rubix found so far. * **You use several tools.** PagerDuty incidents sit next to what observers and other tools report, and related ones group together. ## Connect it ### 1. Make its webhook in RubixKube Go to **Environments > Connect** and pick **PagerDuty**. Give it a name, then choose **Make its webhook**. Copy the URL. It's shown once, and anyone who has it can post to it. ### 2. Add the webhook in PagerDuty In PagerDuty, go to **Integrations > Generic Webhooks (v3)** and add a new webhook. Paste the URL. ### 3. Pick the events Choose whether it covers your whole account, a team or one service. Subscribe to `incident.triggered`, `incident.reopened` and `incident.resolved`. RubixKube ignores other events. ## What opens an incident and what resolves it | PagerDuty event | What happens | | - | - | | `incident.triggered`, `incident.reopened` | Opens the incident | | `incident.resolved` | Resolves the incident | | Anything else, such as `incident.acknowledged` | Ignored | **Severity** comes from the priority first: P1 is critical and P2 is high. Without those, high urgency is high, low urgency is low, and anything else is medium. Each PagerDuty incident is one RubixKube incident. Rubix's RCA stays in RubixKube. ## What you'll see The source appears on **Environments** as soon as you make its webhook, then shows as connected when the first message arrives. Its page has an **Events** tab with the last 20 messages, so you can check what PagerDuty really sent. The automation **PagerDuty incidents become incidents** is on under **Automations**. If events arrive and no incident opens, the source page says so and offers **Turn on**. Each incident carries the alert's details and a link back to PagerDuty. Triage, the RCA and Tasks then work as they do for any other incident. ## What Rubix can read too To let Rubix read PagerDuty while it investigates, open **Customize > Integrations**, pick **PagerDuty**, choose your region (US or EU) and paste a **User API key**. The connection's **Reads** section then shows what Rubix can reach: change events and incidents. See [the Reads check](/integrations/overview#see-what-a-connection-can-read). ## Related pages > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Incidents](/using/incidents) > > What happens after an incident opens. > [card] [Datadog](/integrations/datadog) > > Send monitor alerts straight to RubixKube. > [card] [Slack](/integrations/slack) > > Follow each incident in a Slack thread. # Prometheus Source: https://docs.rubixkube.ai/integrations/prometheus Let Rubix query Prometheus inside your cluster through the Kubernetes observer. Prometheus usually runs inside your cluster with no public address, so it doesn't connect from **Customize > Integrations**. It reaches Rubix through the [Kubernetes observer](/environments/kubernetes) instead, which already runs next to it. ## Connect it ### 1. Run a Prometheus MCP server Run an MCP server for Prometheus in your cluster. RubixKube doesn't ship one, so use the one you prefer. ### 2. Add it to the observer List it in the `mcp-config` ConfigMap in `rubixkube-system`, then restart the observer. [Add your own MCP servers](/environments/kubernetes#add-your-own-mcp-servers) has the exact commands. ### 3. Check it Open the environment's page in the console. Each server shows as connected or failing, with the error. ## What Rubix can read Rubix can use the tools your MCP server offers, usually PromQL queries and alert state. This also works for Thanos, Mimir, Loki and anything else with an MCP server in your cluster. Alertmanager's webhook format isn't one RubixKube reads. To open incidents from Prometheus alerts, send them through a [Grafana](/integrations/grafana) contact point, or use a small script that posts to [your own webhook](/integrations/webhooks). ## Related pages > [card] [Kubernetes](/environments/kubernetes) > > Install the observer. > [card] [Grafana](/integrations/grafana) > > Send alerts as incidents. > [card] [Your own webhook](/integrations/webhooks) > > Send incidents from anything that can post JSON. > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. # Sentry Source: https://docs.rubixkube.ai/integrations/sentry Turn Sentry issues and alerts into incidents, and let Rubix read Sentry while it investigates. Connect Sentry so a new issue opens an incident in RubixKube, and resolving it in Sentry resolves it here. You can also connect Sentry as a tool Rubix reads while it investigates. ## When you'd use this * **The problem is in your code, not your infrastructure.** An observer sees a healthy pod. Sentry sees the exception. * **A new error appeared after a release.** Rubix can look at what shipped and what else changed. * **You want errors and infrastructure in one place.** A Sentry issue and a crash-looping pod can land in the same group. ## Connect it ### 1. Make its webhook in RubixKube Go to **Environments > Connect** and pick **Sentry**. Give it a name, then choose **Make its webhook**. Copy the URL. It's shown once, and anyone who has it can post to it. ### 2. Create an internal integration in Sentry In Sentry, go to **Settings > Developer Settings > Custom Integrations** and create a new **Internal Integration**. Paste the URL as its webhook URL. ### 3. Set its permissions and webhooks Give it **Read** access to **Issue & Event**, turn on **Alert Rule Action**, and tick the **issue** webhook. Save it. ### 4. Add it to your alert rules To send alerts as well as new issues, add the integration as an action on the Sentry alert rules you want. ## What opens an incident and what resolves it | Sentry event | What happens | | - | - | | Issue created or unresolved | Opens the incident | | Issue resolved or archived | Resolves the incident | | Alert rule fires | Opens the incident for that issue | | Metric alert critical or warning | Opens the incident | | Metric alert resolved | Resolves the incident | **Severity** for an issue comes from its level: `fatal` is critical, `error` is high, `warning` is medium, and anything else is low. A metric alert is critical when it's critical and medium when it's a warning. Each Sentry issue is one incident, and each metric alert is one incident. ## What you'll see The source appears on **Environments** as soon as you make its webhook, then shows as connected when the first message arrives. Its page has an **Events** tab with the last 20 messages, so you can check what Sentry really sent. The automation **Sentry issues become incidents** is on under **Automations**. If events arrive and no incident opens, the source page says so and offers **Turn on**. Each incident carries the alert's details and a link back to Sentry. Triage, the RCA and Tasks then work as they do for any other incident. For an alert rule, the incident includes the exception and the last frames of the stack trace. ## What Rubix can read too To let Rubix read Sentry while it investigates, open **Customize > Integrations**, pick **Sentry**, and choose **Sign in with Sentry** or paste a **User auth token**. The connection's **Reads** section shows what Rubix can reach. See [the Reads check](/integrations/overview#see-what-a-connection-can-read). ## Related pages > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Incidents](/using/incidents) > > What happens after an incident opens. > [card] [Linear](/integrations/linear) > > Open incidents from labelled tickets. > [card] [Sign-in and tokens](/integrations/oauth-and-auth-types) > > How connections sign in. # Rubix in Slack Source: https://docs.rubixkube.ai/integrations/slack Talk to Rubix in Slack, approve its changes with buttons, and follow each incident in its own thread. If your team talks in Slack, incidents should be there too. Nobody should have to keep a console tab open to know what's going on. Rubix in Slack does two things. It answers in the thread when you ask, with what it sees in your environments. And it gives every incident a thread of its own, so your team can follow it and add to it from Slack. ![A Slack incident thread: the incident card with its root cause and Fix, then replies saved as comments, and Rubix answering a question](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/slack-thread-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=1aa4bbc1607101d3ac3913f3d5c3d5ff) Slack is **Business and Enterprise**. Rubix uses a large language model and its answers can be wrong, so check before you act, and use the Approve step as the check for any change. ## Install ### 1. Open Channels In the console, an admin goes to **Customize > Channels** and chooses **Add to Slack**. ### 2. Allow Rubix in your Slack workspace Slack shows what Rubix asks for. If your Slack workspace requires it, a Slack admin approves the install. RubixKube then creates a private channel, `rubix-incidents`, and invites the person who installed it. ### 3. Choose your channels Back in **Customize > Channels**, pick where each kind of message goes. See [Channels](#channels). ### 4. Invite Rubix where you want it In each channel where you want to mention it, run `/invite @Rubix`. Rubix only sees channels it's in. Direct messages need no invite. The agent experience (the Messages tab, sessions and the Stop button) needs a paid Slack plan. Mentions, incident threads and cards work on every Slack plan. If the console says Slack needs new permissions, an admin chooses **Reconnect**. That's needed once for a workspace connected before incident threads arrived. ## Incident threads Every new incident or group gets one thread in your Incidents channel. The first message is the incident's card, and the card follows its status. It shows what Rubix is doing while it investigates, the root cause and the Fix once there is one, and the outcome once it's closed. The thread collects what happens, one line at a time: * Triage's decision and any change of severity * Why an RCA is waiting, and when Rubix starts it * Rubix's progress notes, or a line saying the RCA run failed * The root cause, with the RCA's card * Comments people add in the console * Who closed the incident and why, or that it reopened An incident that joins a group says so with a link, and later updates go to the group's thread. ### Replies become comments A reply in an incident thread is saved as a comment on the incident, under your name. It shows in the console, and Rubix reads comments during an RCA. The first time you reply in a thread, Rubix tells you, in a note only you can see. To ask Rubix something, mention `@Rubix` in the thread. The mention is saved as a comment too, and Rubix answers there. ## Channels An admin picks a channel for each kind of message under **Customize > Channels**. A category with no channel of its own follows Incidents. | Category | What goes there | | - | - | | Incidents | New incidents and groups, each in its own thread | | Reports | Weekly digests | | Account | Members, sources and tools | | Uptime | Uptime alerts | If Rubix isn't in a channel you picked, the console says so. Run `/invite @Rubix` there. ## Cards Paste a link to an incident, RCA, Task or artifact from the console and Slack shows it as a card. It works in any channel Rubix can see. The card has the facts, buttons such as **Ask Rubix**, and a side pane with the details. **Ask Rubix** starts a conversation about it in that thread. ## Talk to Rubix ### In a channel Mention Rubix with a question. It answers in the thread, and the thread is one conversation: later mentions continue it, and Rubix reads what the thread said in between. ``` @Rubix what needs attention right now? @Rubix why is payments-api crash-looping? ``` ### In the Messages tab Open Rubix from the apps list and ask there. Suggested prompts sit at the top, Rubix shows a working state with a Stop button while it thinks, and the channel you're looking at is passed along as context, so "what is going on in this channel?" works. ### Approvals When Rubix proposes a change (closing an incident, moving a Task, running a command), the thread gets a card with the exact command and three buttons: **Approve**, **Approve for this chat** and **Deny**. Nothing runs until someone approves. The card then shows who decided, and the decision is recorded in your organization's activity log with that person's name. ### Questions When Rubix needs a choice, the thread gets the options as buttons, with **Let Rubix decide** as a way out. In a direct message, a plain reply answers. In a channel, mention Rubix with the answer. ### Words in a thread | Say | Rubix | | - | - | | `stop` | stops what it's doing in this thread | | `status` | says what it's waiting on (an approval, a question) | | `settings` | lets you pick the model and the source for this thread | | `help` | explains what it can do | `/rubixkube help`, `/rubixkube stop` and `/rubixkube settings` work from anywhere. ## Modes A new conversation takes your organization's default mode, set by an admin under **Settings > Modes**: **Observe** (reads and explains, makes no changes), **Assist** (asks before each change) or **Auto** (makes changes without asking, and asks before anything destructive). The first reply in a thread says which mode the conversation is in. ## Permissions and data Rubix asks Slack for these permissions: | Permission | What it's for | | - | - | | `app_mentions:read` | Hear mentions | | `im:history` | Hear direct messages | | `channels:history`, `groups:history` | See replies in incident threads, and read a thread when mentioned (at most fifteen messages) | | `channels:read`, `groups:read` | List channels so you can pick them under **Customize > Channels** | | `groups:write` | Create the private `rubix-incidents` channel | | `chat:write` | Post and stream replies, and incident threads | | `assistant:write` | Run the Messages tab | | `commands` | The `/rubixkube` command | | `links:read`, `links:write` | Show cards for RubixKube links | | `reactions:write` | Add a reaction to acknowledge a mention | | `users:read`, `users:read.email` | Show who asked, and match a Slack reply to its author | | `incoming-webhook` | Post to a channel for a Slack workspace still being set up | Rubix receives messages from channels it's in and keeps only what's listed below. It doesn't join channels on its own, apart from the `rubix-incidents` channel it creates, and it can't see channels it isn't in. Replies in incident threads are saved as comments on the incident. What you say to Rubix, and the thread messages sent along as context, become part of that conversation in RubixKube, kept as long as your organization keeps the conversation. Nothing else from Slack is stored. Rubix writes one thing into Slack apart from its messages: a conversation identifier in the metadata of its own replies. No Slack data is used to train models. See the [privacy policy](https://rubixkube.ai/privacy). ## Troubleshooting > [accordion] Rubix doesn't answer a mention > > Check that the Slack workspace is connected under **Customize > Channels**, and that Rubix was invited to the channel with `/invite @Rubix`. > [accordion] This Slack workspace is not connected to RubixKube > > An admin connects it under **Customize > Channels**. > [accordion] Incidents aren't reaching Slack > > Open **Customize > Channels** and check the Incidents row. If it says to invite Rubix, run `/invite @Rubix` in that channel. If the page asks you to reconnect, choose **Reconnect**. > [accordion] Rubix is still answering in this thread > > Say `stop` in the thread, or press Stop. > [accordion] Remove Rubix > > Choose **Disconnect** under **Customize > Channels**, or remove the app in Slack. Either stops it at once. ## Related pages > [card] [PagerDuty](/integrations/pagerduty) > > Bring your on-call incidents into RubixKube. > [card] [Notifications](/using/notifications) > > What reaches you, and where. > [card] [Modes](/using/modes) > > What Rubix can do without asking. > [card] [Rubix MCP](/integrations/mcp) > > Use RubixKube from your AI tools. # Your own webhook Source: https://docs.rubixkube.ai/integrations/webhooks Send incidents and events to RubixKube from your own tools, and get what happens posted back to you. Not everything you run has a connector. A webhook connects RubixKube to anything that can make an HTTP request: a deploy script, a home-grown monitor, a tool we don't list. An incoming webhook is a secret URL your tools post to. An outgoing webhook is an address RubixKube posts to when something happens. Webhooks are **Business and Enterprise**, and only admins can see and change them. You'll find them under **Customize > Webhooks**. ## When you'd use this * **Your own monitor found a problem.** Send it in, and it gets triage, an RCA and Tasks like any other incident. * **A deploy finished.** Send an event, and an [automation](/using/automations) checks that nothing broke. * **You want RubixKube's events in your own system.** An outgoing webhook posts to an address of yours. ![A message posted to your webhook opens an incident, resolves one, or starts your automations, depending on what it contains](https://mintcdn.com/rubixkube/SyizuPSfyhbZBL9u/images/guides/webhook-flow-light.png?fit=max\&auto=format\&n=SyizuPSfyhbZBL9u\&q=85\&s=6a5cf20dcdc38bf276d9dc13c5f56e82) ![Customize, Webhooks page with incoming and outgoing webhooks](https://mintcdn.com/rubixkube/uw89AXMFP3BXpNNP/images/console/customize-webhooks-light.png?fit=max\&auto=format\&n=uw89AXMFP3BXpNNP\&q=85\&s=fb0ca6fa9a48296da7ceb75750a66821) ## Connect it ### 1. Make the webhook Go to **Customize > Webhooks** and choose **New webhook**. Pick **Incoming** and give it a name, such as `Deploy pipeline`. ### 2. Choose who uses it Under **Used by**, pick a source or environment, or type a new source id. With one source, everything the webhook receives belongs to it. With several, each message says which one. With none, messages belong to `default`, which is every environment. ### 3. Save and copy the URL Choose **Save**. The URL is shown once, and anyone who has it can post. If you lose it, **New URL** replaces it and the old one stops working at once. ### 4. Send something Post JSON to the URL. The drawer has a **Try it** command you can paste into a terminal. ## What opens an incident and what resolves it A message opens an incident when it has `"kind": "insight"`. That value is the older name for an incident, so keep it exactly as written. ```bash theme={null} curl -X POST https://api.rubixkube.ai/webhooks/ \ -H "Content-Type: application/json" \ -d '{ "kind": "insight", "type": "DeployFailed", "message": "orders-api rollout failed on 3 of 12 pods", "severity": "high", "fingerprint": "orders-api-2.14.0" }' ``` | Field | What it's for | | - | - | | `kind` | `insight` makes it an incident | | `source` | Which source it's for, when the webhook is used by several. You can send an `X-Source` header instead | | `type` | What kind of problem, in a word or two: `DeployFailed`, `DiskFull` | | `message` | What happened, as you'd tell a colleague | | `severity` | `low`, `medium`, `high` or `critical` | | `fingerprint` | Your own id for the problem. A repeat with the same one updates the incident instead of opening another | To close it, send a `Resolution` with the same fingerprint: ```json theme={null} { "kind": "insight", "type": "Resolution", "fingerprint": "orders-api-2.14.0" } ``` ### Events A message without `"kind": "insight"` is an event. It can be any JSON, and it starts your [automations](/using/automations). If no automation is listening, it's dropped. ```json theme={null} { "event": "deploy finished", "service": "orders-api", "version": "2.14.0" } ``` ### Turn your own events into incidents If your tool can't send the fields above, add the built-in automation **Your webhook events become incidents** under **Automations**. It reads the JSON your tool already sends. ```json theme={null} { "title": "orders-api rollout failed", "severity": "high", "key": "orders-api-2.14.0", "service": "orders-api", "environment": "production", "url": "https://ci.example.com/runs/4821" } ``` | Field | What it's for | | - | - | | `title`, `summary`, `message` or `event` | The incident's title. A message with none of these is ignored | | `key`, `fingerprint`, `id` or `event_id` | Which incident it belongs to. Without one, the title is used | | `severity` or `priority` | `critical`, `p1`, `sev1`, `fatal` are critical. `high`, `p2`, `sev2`, `error`, `major` are high. `low`, `p4`, `p5`, `info`, `minor` are low. Anything else is medium | | `status` or `resolved` | `resolved`, `ok`, `recovered`, `closed` or `"resolved": true` resolves the incident | | `service`, `host`, `environment`, `url` | Details kept on the incident | > [!WARNING] > > With this automation on, every event with a title opens an incident, across all your own webhooks. A plain `{"event": "deploy finished"}` counts. Leave it off if your webhooks also carry events that aren't problems. ### Limits A body can be up to 256 KB, and each webhook takes 60 events a minute. RubixKube answers `202` when it accepts a message. A retry with the same `id`, `event_id` or `X-Event-Id` header counts as one delivery. If your tool can set headers, you can keep the token out of the URL. Post to `https://api.rubixkube.ai/observers/events` with `Authorization: Bearer `. ## What you'll see The webhook's row shows when the last event arrived. A source it registers appears on **Environments**, and its **Events** tab keeps the last 20 messages. Deleting a webhook stops its URL at once. Incidents it opened stay. ## Outgoing webhooks An outgoing webhook posts to your own address when something happens in RubixKube. Choose **New webhook**, pick **Outgoing**, enter an `https` address and pick the events. **Save** shows the signing secret once. | Event | Sent when | | - | - | | `incident.opened` | An incident opens | | `incident.resolved` | An incident closes | | `rca.ready` | An RCA is finished | | `task.created` | A new Task is created | The console also lists **Automation finished**, but nothing sends that event today. ```json theme={null} { "id": "evt_01JA3...", "type": "incident.opened", "created_at": "2026-10-08T10:12:00Z", "data": { "incident_id": "6ac6a2...", "title": "orders-api rollout failed", "severity": "high" } } ``` Each request has an `X-RubixKube-Event` header with the event name, and an `X-RubixKube-Signature` header of the form `sha256=...`. That's an HMAC-SHA256 of the raw body with your secret, so check it to be sure the request came from RubixKube. Answer with a 2xx within 10 seconds. Any other answer, or none, is tried again up to six attempts, over about 43 minutes, and then recorded as failed. The drawer's **Deliveries** list shows recent results, and **Send a test** posts one now. ## Related pages > [card] [Integrations overview](/integrations/overview) > > The two ways to connect a tool. > [card] [Automations](/using/automations) > > Do something with the events you send. > [card] [Incidents](/using/incidents) > > What happens after an incident opens. > [card] [Datadog](/integrations/datadog) > > A ready-made alert source. # Automations: checks and briefs that run without you Source: https://docs.rubixkube.ai/kepler/automations Build an automation from a plain description: a trigger (a schedule, a webhook, a check that changes, or a /command in chat) and a list of steps. Kepler runs it without you in the room and only changes things you said it may. An automation is a job Kepler runs without you in the room: a morning brief of what broke overnight, a triage of every alert that arrives by webhook, a check that tells you when a rollout stalls, or a `/triage` command anyone you allowed can send from a chat. You describe it in plain words, check the steps Kepler drafts, and press **Go live**. Automations are different from [watchers](/kepler/watchers). A watcher belongs to one conversation and wakes it. An automation belongs to the whole app and starts a conversation only when it needs you. ## Build one **1. Open Automations** Click **Automations** in the sidebar. **2. Describe it, or pick a template** Write what you want in the box, for example "Every weekday at 09:00, list pods that are not running in prod and send me a short summary". Or start from one of 15 templates, such as **Incident first responder**, **Deploy guard** or **Certificate expiry check**. Each template card shows the services it touches, and picking one puts its full brief in the box for you to change. **3. Check the flow** Kepler drafts the automation as a flow of steps on a canvas. Open any step to change it, and press **Try it** to see what it returns. Reads run for real. Nothing is sent or changed. **4. Go live** Every edit, yours or Kepler's, lands in a draft. What runs changes only when you press **Go live**. An automation opens on **Flow**. **Runs** is its history, with totals for the last day, week and month. **Settings** says what it is for, when it runs, the services it reaches, and the folder its commands run in. Where a service is not connected yet, Settings offers to connect it. ### The automation builder Each automation has its own chat beside the canvas, answered by the **automation builder**, an agent of its own. Ask it to add a step, explain a failed run, or change the schedule. It starts in Assist and changes only the draft, never what is live. The builder tries each step before it adds it. Reads run for real, and anything that would change something is only previewed. It can look up an integration's tools and their inputs, read what each step returned on the last run, and see which of your chats are connected, so it can catch a post that would never arrive. For a chat-triggered automation, it can try a step with a sample message. It cannot run, delete or take an automation live, approve a step, or grant a permission. Those stay with you. Pick its model in **Settings > Customize**, under **Agents**. By default it uses your chat model. ### Your automations ![The Kepler Automations home. Under the title, a box to describe a new automation. Below it, the list: Checkout health check comes first and is marked Waiting on you, then a draft marked Not live yet that needs a fix before it can run, then Warning events digest and Weekday pod check with when each runs next. The pointer is on Weekday pod check, which shows Run now and a menu. Template cards follow under Start from a template.](https://mintcdn.com/rubixkube/qklCvauT75F-xPff/images/kepler/automations-home.png?fit=max\&auto=format\&n=qklCvauT75F-xPff\&q=85\&s=e86c555a5c87fb96c5961b307d12f9e5) The Automations home. Automations waiting on you come first. The Automations home lists every automation with the services it reaches, when it runs, and what comes next: the next run, **Waiting on you**, or why the last run failed. The ones waiting on you come first. A draft that has never gone live is marked **Not live yet**, and says so when it needs a fix before it can run. * **Waiting on you** opens the approval in the Feed. * Point at a row for its actions. **Latest** opens its latest report in the Feed, and **Run now** runs the live version. * The menu beside them has **Open latest on canvas**, and **Pause** or **Resume**. ## Triggers | Trigger | When it runs | | - | - | | A schedule | "Runs every weekday at 09:00 UTC". Edit the sentence in place. If Kepler was closed at that time, it runs once when Kepler starts again. | | When a webhook arrives | Your alert source (Alertmanager, PagerDuty, Grafana) posts to the automation's address. See [Webhooks](#webhooks). | | When a check changes | A read-only command or integration read runs on its own every few minutes (one minute at least). The automation runs when the output changes, or starts or stops showing some text. It remembers what it last saw, so a restart never starts the same run twice. | | When a message arrives in a chat | Someone sends the automation's `/command` in Kepler or a connected chat. See [Run one from a chat](#run-one-from-a-chat). | | Run now | Start it by hand from its page or from chat. | What a webhook or a chat message carries is treated as data, never as instructions. ### Webhooks Go live to get the webhook's address and token. The sender posts JSON to the address, with the token in a header. Both have a copy button on the trigger, and **Copy a curl command** gives you a request to try from a terminal. * **Send a test** sends a test event and starts a real run, marked as a test. It shows under **Runs**. * **New token** replaces the token. The old one stops working at once, so update your alert source after you press it. * Only this machine can reach the address, so a sender elsewhere needs a tunnel or a relay. Fields from the payload can be used in any step as `${trigger.payload.}`, for example `${trigger.payload.status}`. A step can also run only for some events, such as "only if the payload's `status` is `firing`". ## Steps | Step | What it does | | - | - | | Run a command | Runs a shell command in the automation's folder. | | Use an integration | Reads from a connected service, or posts, creates or updates with your OK. | | Ask the model to decide | The model judges what earlier steps found, and can answer in named fields. | | Decide with a decision model | Typed questions (yes or no, pick one, score) answered in about a second. Needs a [decision model](/kepler/decision-model). | | Ask a specialist to look it up | A specialist with its own read-only tools. | | Wait | Pause for a while, or until a read-only check shows what you expect. | | Ask me first | Pause until you approve. It always has a time limit. | | Notify me | A notification, from quiet to loud. | | Post in the chat | Answer in the chat that started the run, send to you on a channel, or post to a conversation. See [Post in a chat](#post-in-a-chat). | | Publish to the Feed | A page that keeps a version for every run. | | Design a report | Kepler's designer lays out a page from what earlier steps found. | Any step can run only when a condition holds, such as "only if the verdict is not healthy". A step whose condition is false is shown as skipped, not failed, and a step that depends on a skipped step is skipped too. If a step fails, you choose whether the run stops, keeps going, or jumps ahead. A run that stops unexpectedly, or that a restart left open, is marked failed. A decision step can judge a list **item by item**: every pod, every log line, up to 200 items in one step. Later steps can then check whether any item was flagged. ## Run one from a chat Add the trigger **When a message arrives in a chat** and give it a command, such as `/triage`. Then anyone on a channel's allowed list can run it from that chat: ``` /triage checkout is throwing 502s ``` The rest of the message is what the automation gets. The run is tied to that chat, so a **Post in the chat** step answers there, threaded onto the message. The conversation you were having in that chat carries on untouched. Send `/help` in a chat to see the automations it can run. The same command works on the desktop. Type `/` in the composer and chat-triggered automations are listed under **Automations**. Sending one runs the automation, and its answer lands in the session you sent it from. A chat trigger hears commands only. Chat apps deliver Kepler direct messages and @mentions from people you allowed, not every message in a room, so alerts posted in a room by a bot never reach it. Feed alerts in through the alert source's webhook instead. > [!NOTE] > > A command cannot use one of the chat's own names, such as `/new`, `/help`, `/sessions` or `/approve`. See [Channels](/kepler/channels#commands-in-a-chat). ## Post in a chat A **Post in the chat** step sends a message. Leave the text empty to send the result of the step before it. It can go to one of three places: | Send it to | Where it lands | Needs | | - | - | - | | The chat that started the run | Threaded onto the message that started it. | A chat trigger. A run nothing started from a chat fails the step and says so. | | Me, on a channel | Your own chat on that channel, like a notification. | Nothing extra. | | A conversation | A named room or chat on that channel, such as `#incidents`. | Your OK at Go live, because other people read it. Rewording the text does not ask again. Changing where it goes does. | A post that cannot be delivered fails the step, and the message lands in the Feed so nothing is lost. **Try it** on a post step shows the message and sends nothing. ## What an automation may change Automations run with nobody watching, so the limits are tighter than in a chat: * An automation runs in Observe or Assist, never Yolo. * A step that changes something, such as a command that is not a read, an integration call that creates or updates, or a post to a conversation, runs only with the permission you give at **Go live**: **Every run**, or **Ask me each time**. Ask me each time pauses the run and asks you in the Feed and on your phone, for up to an hour. If nobody answers, the step is skipped and the run finishes, or the run stops, as you chose. * The permission is tied to exactly what that step does. Edit the step and Go live asks again. Kepler cannot give or widen it. To take a permission back, press **Take back this permission** on the step. * Commands on the [always-blocked list](/kepler/permissions#always-blocked) are refused when you save, and again when the step would run. * Each run has a budget for model tokens and run time. A run that hits either ends and says so. Kepler never switches to a cheaper model to finish. A good pattern for a fix is to have the automation press a button your team already built: pause with **Ask me first**, trigger your existing rollback pipeline, then wait until a check confirms the fix. ## Where results land * **Notify me** sends you a notification. It shows in Kepler, as a system notification, and on your phone only when you are away and the step is urgent or needs an answer. An alert from this step clears itself when a later run finds the problem gone, because the step's condition no longer holds. * **Publish to the Feed** and **Design a report** post a page to the [Feed](/kepler/workspace#the-feed) that keeps a version for every run. By default the post notifies you with its headline. For a routine report, switch off **Tell me when it's published** and it lands in the Feed without ringing the bell. * **Ask me first** and every **Ask me each time** permission wait under **Waiting** in the Feed, and reach your phone when you are away. ## Where they are kept Each automation is a YAML file in `~/.kepler/workflows/`, named after the automation. You can read, diff and edit it, and Kepler shows problems before anything goes live. A small one looks like this: ```yaml theme={null} title: Service triage on: chat: {command: triage} binding: posture: observe budget: {tokens: 30000, runtime: 5m} steps: - id: look agent: use: investigator prompt: Investigate what the message describes. Read only. Answer in five lines or fewer. input: ${trigger.payload.text} - id: answer post: "${steps.look.output}" ``` ## Where to go next > [card] [Channels](/kepler/channels) > > Connect the chats an automation can answer in. > [card] [Watchers](/kepler/watchers) > > A check tied to one conversation. > [card] [Decision model](/kepler/decision-model) > > Fast typed answers for decision steps. > [card] [Hooks](/kepler/hooks) > > Run your own check before and after each step. # Kepler changelog Source: https://docs.rubixkube.ai/kepler/changelog What is new in each Kepler release: MCP sign-in and war room fixes in 0.1.10-beta, hooks, plugins and chat-triggered automations in 0.1.9-beta, the decision model in 0.1.8-beta, remote access and a richer topology map in 0.1.7-beta, tabs and split panes in 0.1.6-beta, and automations in 0.1.5-beta. Download the latest version from the [releases page](https://github.com/rubixkube-io/kepler-releases/releases/latest). See [Installation](/kepler/installation) for updates. **0.1.10-beta** MCP sign-ins and larger war rooms * **MCP servers that need a sign-in get Connect.** Kepler now asks a remote MCP server that does not say how it signs in whether it needs one. If it does, its row in **Settings > Tools & MCP** shows **Sign in** and a **Connect** button. Before, Kepler treated these servers as open, and every request failed with 401 Unauthorized. See [Signing in](/kepler/extend#signing-in). * **Plugin servers that declare a sign-in work.** A plugin's MCP server that declares its sign-in the Claude Code way, with an `oauth` block, gets a working **Connect**. Installing or updating a plugin, and `/plugins`, say which of its servers still need a sign-in. See [Servers that need a sign-in](/kepler/plugins#servers-that-need-a-sign-in). * A server whose sign-in settings are wrong or unsupported shows **Config error** and says what to fix, instead of sending requests with no token. * Slack's MCP server signs in through Kepler's own Slack app, so the consent page names Kepler. * **War rooms with more than four members.** The room shows the lead and the first four members, and the rest keep working without a pane. Before, a fifth member took over the room: the lead, its composer and the other members disappeared. See [What you see](/kepler/war-room#what-you-see). **0.1.9-beta** Hooks, plugins, channels and chat automations **Extend Kepler** * **Hooks.** Run your own check at moments in Kepler's work: before a tool runs, when a message arrives, when a run ends, when a watcher fires. Hooks can block or ask, never approve. Hooks written for Claude Code run unchanged. Describe one with `/hook` and Kepler drafts it for you to confirm. See [Hooks](/kepler/hooks). * **Plugins and marketplaces.** Install bundles of skills, commands, agents, hooks, MCP servers and chat channels from a marketplace, GitHub, a git URL or a folder. You see everything a plugin runs before it runs. Plugins can ask for settings, and secrets go to the keychain. Plugins in the Claude Code and Cursor formats install too. Ask with `/plugins`. See [Plugins](/kepler/plugins). * **Customize.** **Settings > Customize** is now one place for plugins, skills, hooks, commands and agents, with one search and a workspace filter. Commands get an editor. Agents moved here from their own settings page, and Signature moved to **Settings > General**. See [Customize](/kepler/customize). * **AGENTS.md.** Kepler reads a workspace's `AGENTS.md` alongside its `kepler.md`. See [Memory](/kepler/memory#agentsmd). **Channels** * **Channel plugins.** A plugin can bring a new chat channel. **Add channel** on the Gateway page installs one, wraps a channel server you already have, or has Kepler build one with `/channels`. See [Add a channel](/kepler/channels#add-a-channel). * **Warm and cold sessions.** A chat keeps its session while you keep talking. After six quiet hours the next message starts a fresh one, and `/sessions` and `/switch` take you back. Each thread is its own session. See [Which session a message goes to](/kepler/channels#which-session-a-message-goes-to). * **Kepler can post first.** In Assist and Yolo, Kepler can send a message to a channel. Anything other than your own chat or a conversation you approved waits for your OK. * **Approvals on plugin channels.** A channel with its own approval buttons shows them, and Kepler accepts the answer only for a request it asked on that channel. * **One account, one channel.** Connecting a second channel with a bot token already in use is refused. * A message that cannot be delivered lands in the Feed instead of being lost. A channel that keeps failing stops and shows why. **Automations** * **Chat trigger.** Give an automation a `/command` and anyone you allowed can run it from a connected chat, or you from the desktop `/` menu. See [Run one from a chat](/kepler/automations#run-one-from-a-chat). * **Post step.** Answer in the chat that started the run, send the result to you on a channel, or post to a named conversation, which asks your OK at Go live. See [Post in a chat](/kepler/automations#post-in-a-chat). * **Decide item by item.** A decision step can judge each item in a list, up to 200, in one step. **Also** * Background lanes over the limit wait in a queue and start in order, instead of being refused. See [Specialist agents](/kepler/extend#specialist-agents). * The hook log is on the **Hooks** tab of Activity, under **Settings > Plan & Usage**. * Kepler's own tools can no longer read or use the key Kepler signs in with. **0.1.8-beta** The decision model * **Decision model.** An optional second model, picked under **Settings > Models**, that answers typed questions in about a second. See [Decision model](/kepler/decision-model). * It double-checks shell commands and MCP calls. It can only make a decision stricter: a confident "write" on a command the rules would have let through asks you instead. Its verdict shows as a pill on the tool row. * On the unknown-command card it suggests whether the command reads or writes. You still decide. * In chat and war rooms Kepler can use it to classify, score and pick across many items in one call. * Automations get a **Decide with a decision model** step. * A watcher that checks for a condition in plain words uses it when one is picked. * **Run once everywhere.** The unknown-command card offers **Run once** in every posture, Observe included. Watchers and automations still never run a command Kepler cannot vouch for. See [The unknown-command card](/kepler/postures#the-unknown-command-card). * **Reasoning effort** is a slider in the model picker. **Auto** lets the model decide on OpenAI and OpenRouter too. * An MCP tool call shows its server's icon, and its label names the action. * A System One endpoint lists the models it serves. * A model that can draw images does so without an image model set up. * A topology source that fails to scan offers **Try again**, **Ignore** and **Ask Kepler**. * A run you cancel still counts the tokens it spent in **Plan & Usage**. * **Settings > General > About** shows the product version. **0.1.7-beta** Remote access and a map that knows more **Work on other machines** * **Remote access.** Turn on **Work on other machines** in **Settings > Remote access**, then pick a host, a cloud VM, a container or a sandbox from the control beside **Send**, or type `/connect `. Kepler connects with your own logins and never asks for or stores a password. See [Remote access](/kepler/remote-access). * Machines come from your SSH config, Google Cloud and AWS, Teleport, Docker, Kubernetes pods, Ansible inventories, and groups made from SSH config patterns. Windows hosts work over SSH. * Connected is not the same as allowed. A thread uses a machine only after you pick it or approve it there, and each machine can carry its own limits. * **Save a machine** appends a `Host` block to your own `~/.ssh/config`, after showing it to you. * **Commands that keep running.** Kepler can keep a port-forward or a log tail running for up to twelve hours, with a **Stop** button. End a shell-mode line with `&` to do the same yourself. See [Commands running in the background](/kepler/remote-access#commands-running-in-the-background). **Topology** * **How things got there.** CI workflows from GitHub Actions, GitLab CI, CircleCI and Jenkins, Helm releases, and Argo CD and Flux applications are on the map. See [Topology](/kepler/topology#how-things-got-there). * **Where the data lives.** Databases, caches, queues and buckets on AWS and Google Cloud, with their addresses. Azure joins the scan, one source per subscription. * **Where to look.** Prometheus, Grafana, Alertmanager, Loki, Jaeger and similar tools found in your clusters, with their addresses. * **Things no scan can see.** Add them to Kepler's own list, or accept what Kepler proposes from your conversations under **Activity > Needs you**. See [Add what no scan can see](/kepler/topology#add-what-no-scan-can-see). **Also** * The composer fits a narrow panel, and the conversation's card stays beside it in narrower windows. * Choosing a command that takes an argument puts it in the composer and waits. `Tab` completes any command and `Enter` runs it. * Rows from a connected Grafana, Datadog, Prometheus or OpenTelemetry integration reach the map. * One integration tool with an unusual schema can no longer make every turn fail. **0.1.6-beta** Tabs and split panes * **Tabs.** `Cmd+T` opens a tab, `Cmd+1` to `Cmd+9` pick one, and `Cmd+W` closes one. `Cmd`-click a session in the sidebar, or choose **Open in new tab**, to open it in a tab. See [Tabs and split panes](/kepler/workspace#tabs-and-split-panes). * **Split panes.** `Cmd+D` splits right and `Cmd+Shift+D` splits below. Drag a session onto a pane to place it. Panes you are not typing in keep streaming. * Tabs and splits come back after a relaunch. * **Every shortcut in one place.** Press `Cmd+/` or type `/shortcuts`. On Windows and Linux, keys are written as `Ctrl`, `Shift` and `Alt` everywhere in the app. See [Commands and shortcuts](/kepler/commands#keyboard-shortcuts). * Your own messages sit on the right, and code blocks use the editor's colours. * **What Kepler can do** (`/help`) has walkthroughs for Automations and for tabs and panes. * `Ctrl+D` splits on Windows and Linux. `Cmd+W` closes the pane or tab, never the window. **0.1.5-beta** Automations * **Automations have their own place.** Describe one, or start from one of 15 templates. The list puts the ones waiting on you first. See [Automations](/kepler/automations). * **The automation builder.** The chat on an automation's page tries each step before adding it, and cannot run, delete or take an automation live. See [The automation builder](/kepler/automations#the-automation-builder). * **Automations can change things, with your permission.** **Go live** lists every step that changes something and asks how each may run: **Every run** or **Ask me each time**. See [What an automation may change](/kepler/automations#what-an-automation-may-change). * **Event triggers.** An automation can start when a check's result changes, or when a webhook arrives. Webhooks have **Send a test** and **New token**. See [Webhooks](/kepler/automations#webhooks). * **Approvals and reports in the Feed.** **Waiting** is the one place to answer an approval. Reports can land quietly, and an alert clears itself when a later run finds the problem gone. See [The Feed](/kepler/workspace#the-feed). * **Integrations stay signed in.** Sign-ins renew in the background. See [Signing in](/kepler/extend#signing-in). * **Spike and Oodle** join the integrations catalog. * **Sources in web answers** show as chips with each site's icon and name. # Chat with Kepler from your phone Source: https://docs.rubixkube.ai/kepler/channels Connect WhatsApp, Slack, Telegram, Discord or a channel from a plugin, and carry on the same session from your phone: ask questions, answer approvals, run automations, get woken by watchers while you are away. Kepler runs on your desk. The Gateway lets you reach it from your phone through WhatsApp, Slack, Telegram, Discord, or any chat a [plugin](/kepler/plugins) brings, in the same session you were working in. Ask a question on the train, approve a command from the sofa, get woken by a watcher when you have stepped away. Kepler answers as long as it is running on your machine. The reliable choices first: **Telegram** is the most dependable option and takes three steps. **Slack** and **Discord** are official bot integrations and work well. **WhatsApp** is the most convenient but is not an official integration, so read the warning below before relying on it. ## Connect a channel Open **Settings > Gateway** and choose **Connect a channel**. Each channel walks you through its own steps. Tokens go to your operating system keychain, never to a file. One bot account runs in one channel. If you try to connect a second channel with a token that is already in use, Kepler refuses and names the channel using it. > [tab] Telegram > > **1. Create a bot** > > Open Telegram and message **@BotFather**. Send `/newbot` and give it a name. > > **2. Paste the token** > > BotFather replies with a bot token. Paste it into Kepler as the **Bot token**. > > **3. Add yourself** > > Under **Who can message**, add your @username or numeric user ID. Telegram never gives a bot your phone number, so a phone number here will not match. > > Message your bot from Telegram. Kepler answers. > [tab] Slack > > **1. Create a Slack app** > > At api.slack.com/apps, create an app **From scratch**. > > **2. Make an app-level token** > > Under **Settings > Basic Information > App-Level Tokens**, generate a token with the `connections:write` scope. This is the `xapp-` token. > > **3. Turn on Socket Mode** > > Under **Settings > Socket Mode**, enable it. > > **4. Add bot scopes** > > Under **Features > OAuth & Permissions > Bot Token Scopes**, add `chat:write`, `im:history`, `users:read` and `files:read`. To use Kepler in channels, also add `app_mentions:read`. > > **5. Subscribe to events** > > Under **Features > Event Subscriptions**, turn it on and subscribe to the bot event `message.im`. For channels, also add `app_mention`. > > **6. Allow direct messages** > > Under **Features > App Home > Messages Tab**, turn it on and tick **Allow users to send Slash commands and messages from the messages tab**. Without this Slack refuses direct messages to the app. > > **7. Install and paste both tokens** > > Install the app to your workspace. The **Bot User OAuth Token** starts with `xoxb-`. Paste the `xapp-` and `xoxb-` tokens into Kepler. > > > [!NOTE] > > > > If you add a scope later, reinstall the app to your workspace or the new permission never takes effect. > > Under **Who can message**, add your Slack member ID (starts with `U`) or @handle. > [tab] Discord > > **1. Create an application** > > At discord.com/developers/applications, create an application. > > **2. Add a bot and copy its token** > > Open **Bot** and click **Reset Token** to reveal one. Discord shows it only once. Paste it into Kepler as the **Bot token**. > > **3. Turn on Message Content Intent** > > On the same Bot page, enable **MESSAGE CONTENT INTENT**. Without it Discord delivers every message with the text blank, which looks exactly like Kepler ignoring you. > > **4. Invite the bot** > > Under **OAuth2 > URL Generator**, tick **bot**, then the permissions **Send Messages** and **Read Message History**. Open the generated URL and add the bot to your server. > > Under **Who can message**, add your Discord user ID or @handle. Kepler answers DMs and @mentions. > [tab] WhatsApp > > > [!WARNING] > > > > WhatsApp is not an official integration. Kepler links as an extra device, the same way WhatsApp Web does, so the link can drop out on its own, and heavy use may put your WhatsApp account at risk. Use it for convenience, not for anything you cannot afford to miss. > > **1. Press Connect** > > In **Settings > Gateway**, choose WhatsApp and press **Connect**. A QR code appears. > > **2. Link the device** > > On your phone, open WhatsApp, then **Linked devices**, then **Link a device**. > > **3. Scan the code** > > Scan the code with your phone. Kepler shows as connected. > > Under **Who can message**, add phone numbers with the country code. WhatsApp routes by number. Messaging Kepler from your own number works through your self-chat. ![Settings > Gateway in Kepler with Telegram connected under a Connected heading, marked No senders yet. Below it the per-channel options: What it can do set to Observe, Default workspace, Show typing, and Who can message reading Nobody yet.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/gateway-connected.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=9902c77c4249a8117847137d02922816) A connected channel and its options. Connecting is only half of it: until you add yourself under **Who can message**, nobody can reach Kepler through the channel. ## Add a channel Kepler can talk on more than the four built-in chats. A channel for another platform comes as part of a plugin. Press **Add channel** on the Gateway page and pick one of three ways in: | Option | What it does | | - | - | | **Install one** | Opens the plugin browser, showing only plugins that bring a channel. | | **Run a channel server** | For a server you already have that speaks Kepler's channel format. Give its name, command, arguments, and the settings it needs, and mark which are secret. Kepler wraps it in a small plugin for you to review. | | **Build one with Kepler** | Opens `/channels`. Describe the platform. Kepler looks for an existing channel plugin first. If there is none, it writes the channel in your workspace, checks that it works, and proposes it. | Each way ends in the same plugin review, so a channel you make yourself keeps its secrets in the keychain and gets the same row on the Gateway page as a built-in one, tagged with its plugin's name. Kepler never asks for a token in chat. You enter it when you connect the channel. You can also start from any session: ``` /channels add a channel for our in-house chat server ``` `/channels` on its own lists your channels and what each one is doing. A channel runs on your machine, so it has to reach out to its platform, by polling an API or holding a connection open. A platform that can only push webhooks to a public address needs a tunnel. ## Bind a session to your phone By default a message from your phone starts or continues a chat in the channel's default workspace. To drive a specific session you already have open, run this in that session: ``` /otg whatsapp ``` Kepler binds the session to that channel. Messages from your phone arrive in the session, replies go back to your phone, and the session's watchers can reach you there too. Swap `whatsapp` for `telegram`, `slack` or `discord`. Turn it off with: ``` /otg off ``` ## What you can do from the channel * Ask anything you would ask at your desk. The session keeps its context, so "and the logs?" means what it would mean in the app. * Answer approvals. When Kepler is waiting on a command in Assist, the approval reaches the chat the run came from. Reply `yes` or `no`, or `/approve` or `/deny`, and it counts the same as pressing the button in the app. A plugin channel that has its own approval buttons shows those instead, and Kepler accepts the answer only for a request it asked, on that same channel. * Run an automation. An [automation](/kepler/automations#run-one-from-a-chat) with a chat trigger is a command in every connected chat: `/triage checkout is throwing 502s` runs it with that text, and its answer comes back in the same chat. Your conversation carries on untouched. * Be woken by a watcher. With **Reach me when I'm away** on under **Settings > General > When you're away**, alerts that need action go to a connected channel once your screen is locked or idle. Routine notifications never do. ## Which session a message goes to Each chat talks to one session. Where the platform has threads, such as a Slack thread under an @mention, each thread gets its own session. * While you keep talking, the session stays warm and Kepler remembers what you were doing. * After six quiet hours, the next message starts a fresh session, so the next morning's question does not carry yesterday's incident. Kepler tells you when this happens. `/sessions` and `/switch` take you back. * A thread never goes cold. A new thread is a new session, and a reply in it continues that one. * `/new` always starts fresh. Kepler never moves a chat to another session on its own. Only a command does, and Kepler names the session when it changes. ## Commands in a chat Send these as a message in any connected chat. They answer at once and never start a model run. | Command | What it does | | - | - | | `/sessions` | List your recent sessions. | | `/switch ` | Move this chat to session number `n` from the list. | | `/new [title]` | Start a fresh session here. | | `/status` | What is running right now. | | `/model` | Show this session's model. `/model ` switches it, `/model default` resets it. | | `/info` | Posture, model, context and stats for this session. | | `/pending` | What Kepler is waiting on you for. | | `/approve [why]` | Let the waiting step run. | | `/deny [why]` | Refuse it. Anything after the command is passed on as a note, such as "wrong namespace". | | `/cancel` | Stop the run in this session. | | `/otg off` | Stop driving the session pushed from the desktop. | | `/help` | This list, plus the automations this chat can run. | ## Who can reach Kepler Every message is checked against the channel's **Who can message** list before anything else happens. A message from anyone else is dropped with no reply, no read receipt and no typing indicator. A message in a group never adds anyone new to the list. Kepler also tells the model where each message came from and to treat the text as outside input. A message from a chat cannot change the posture, approve anything, or give instructions on your behalf. ## When Kepler posts first In Assist and Yolo, Kepler can send a message to a channel on its own, for example to post a summary to `#incidents` when you ask it to. A message to your own chat, or to a conversation you already approved, goes out at once. Anything else waits for your OK on a card, Yolo included. If a message cannot be delivered, Kepler tries once more. If it still fails, it lands in the Feed as "Could not deliver", so it is never lost. A channel whose connection keeps dropping is restarted with a growing wait. After five failures in ten minutes it stops and shows the last error on its row. ## Channel options Each connected channel has its own settings in **Settings > Gateway**. | Option | What it does | | - | - | | What it can do | The posture for this channel: **Observe**, **Ask before changes**, or **Act within bounds**. Observe is the default, because you are not watching this surface. A channel can never act more freely than the posture you set here. | | Default workspace | Where new chats from this channel land. | | Reply in channels | Answer @mentions in Slack or Discord channels, not only direct messages. | | Show typing | Show a typing indicator while Kepler works. | | Read receipts | Mark messages as read when Kepler has seen them. | | Who can message | The allowlist. Only these people get an answer. Everyone else is ignored. | **Disconnect everything** turns off every channel at once. The people you allowed are kept, so reconnecting is quick. ## How Kepler signs its replies Kepler stamps a name and emoji on the replies it sends, so a message from Kepler never reads as one from you. Set them under **Signature** in **Settings > General**. On WhatsApp self-chat every reply is signed. On Telegram, Slack and Discord the bot already has its own name, so **Sign replies everywhere** stays off unless you want it. ## Build your own channel A channel is an MCP server that a plugin names under `channels` in its `.kepler-plugin/plugin.json`. The server declares the `kepler/channel` capability, sends each incoming message as a `notifications/kepler/channel` notification, and offers a `reply` tool that takes `chat_id` and `text`. It can also relay approvals and show a typing indicator. Kepler never offers a channel's server to the model as tools. ```json theme={null} { "mcpServers": { "mychat": { "command": "node", "args": ["${KEPLER_PLUGIN_ROOT}/server.js"], "env": { "BOT_TOKEN": "${user_config.bot_token}" } } }, "channels": [{ "server": "mychat", "displayName": "My Chat", "userConfig": { "bot_token": { "type": "string", "title": "Bot token", "sensitive": true } } }] } ``` The easiest start is `/channels` with a description of the platform. Kepler writes the server against this format and checks it before proposing it. Channel servers written for Claude Code use the same format under `claude/` names, and run in Kepler as they are. ## Where to go next > [card] [Automations](/kepler/automations) > > Run an automation from a chat, and post its answer back. > [card] [Watchers](/kepler/watchers) > > The thing most worth being woken for. > [card] [Postures](/kepler/postures) > > What Observe, Assist and Yolo mean for a channel. > [card] [Troubleshooting](/kepler/troubleshooting#my-whatsapp-link-dropped) > > Dropped links and silent bots. > [card] [Settings reference](/kepler/settings#gateway) > > The Gateway section in Settings. # Slash commands and keyboard shortcuts Source: https://docs.rubixkube.ai/kepler/commands Every built-in Kepler slash command, how to write your own in .kepler/commands, how skills, plugin commands and automations show up in the / menu, and the full keyboard shortcut table for macOS, Windows and Linux. Type `/` in the composer and a menu lists every command, with the arguments it expects. Keep typing to filter. `Tab` completes the highlighted command and `Enter` runs it. A command that takes an argument, such as `/connect`, is put in the composer and waits for you to type the argument. Commands come in two kinds. Some **expand into a prompt**: `/triage checkout` becomes a full triage request with your argument filled in, and the message you sent still reads `/triage checkout` so you can see what shaped it. Others **do something in the app**: `/mode yolo` changes the posture and sends nothing. ## Built-in commands | Command | Arguments | What it does | | - | - | - | | `/investigate` | `` | Starts a structured incident investigation. | | `/triage` | `` | Checks pods, recent events, logs and recent changes for a service, then gives a confidence-scored hypothesis. | | `/rca` | `` | Produces a root-cause analysis: timeline, what changed, the root cause, the remediation. | | `/rollback` | ` ` | Finds the recent change, proposes the exact rollback, and executes it under approval. | | `/runbook` | `` | Finds and summarises the relevant runbook, with the exact steps. | | `/handoff` | | Writes an on-call handoff: open issues by severity, recent changes, work in flight, what to watch. | | `/plan` | `` | Investigates read-only and writes a reviewable plan. Nothing runs until you approve the plan. | | `/init` | | Scans the workspace and drafts a `kepler.md` with conventions worth keeping. | | `/command` | `` | Creates a new slash command from a description. See [Custom commands](#custom-commands). | | `/agent` | `` | Creates a read-only specialist agent you can delegate to later. | | `/hook` | `` | Drafts a hook: your own check at a moment in Kepler's work. Nothing is saved until you confirm the card. See [Hooks](/kepler/hooks). | | `/plugins` | `` | Finds, installs and manages plugins and marketplaces. Bare `/plugins` lists what is installed. See [Plugins](/kepler/plugins). | | `/channels` | `` | Lists your chat channels, or adds one for a new platform. See [Channels](/kepler/channels#add-a-channel). | | `/mode` | `` | Switches the posture for this conversation. Bare `/mode` cycles to the next one. | | `/model` | | Opens the model picker for this conversation. | | `/workspace` | ` ` | Grants Kepler another folder, or takes one away. `/workspace add` with no path opens a folder picker. | | `/otg` | ` ` | Drives this session from a phone channel, for example `/otg whatsapp`. `/otg off` unbinds it. See [Channels](/kepler/channels). | | `/new` | | Starts a new session. | | `/clear` | | Clears the current conversation. | | `/compact` | | Compacts the context now to free up space. | | `/memory` | | Opens memory settings. | | `/settings` | | Opens settings. | | `/help` | `` | Opens the catalog of what Kepler can do. Add a question and it jumps to the matching feature. | | `/shortcuts` | | Opens the keyboard shortcuts sheet. `Cmd+/` does the same. | | `/effort` | `` | Sets how hard the model reasons for this session. Higher levels are offered where the model supports them. `auto` hands the choice back to Settings. Bare `/effort` opens the picker. | | `/connect` | `` | Connects to a machine so Kepler can work there: a machine it already knows, by name or prefix (`/connect pi5`), or a new `user@host`. A terminal tab opens only if the host asks you for something. See [Remote access](/kepler/remote-access). | A few examples as you would type them: ``` /triage checkout /rollback payments-api v2.14.0 /plan move the ingress controller to the new node pool /mode assist ``` ## Custom commands A custom command is a Markdown file. The file name is the command name, and the body is the prompt Kepler receives. Put `$ARGUMENTS` where your input should go. Two places to keep them: | Location | Scope | | - | - | | `~/.kepler/commands/.md` | Every workspace. | | `/.kepler/commands/.md` | This workspace only. Overrides a global command with the same name. | A file looks like this: ```markdown theme={null} --- description: Weekly capacity brief for one namespace argument-hint: --- Write a capacity brief for the $ARGUMENTS namespace: CPU and memory requests versus usage over the last 7 days, pods near their limits, and what to resize. ``` Save it as `capacity-brief.md` and `/capacity-brief checkout` appears in the menu. `description` is what the menu shows, and `argument-hint` is the placeholder next to it. Both are optional. If there is no description, the first line of the body is used. Positional arguments work too: `$1`, `$2` and so on pick out the first, second and later words, and quoted arguments count as one word. `{{args}}` is accepted as an alias for `$ARGUMENTS`. A command with no placeholder gets your arguments appended to the end. The quickest way to make one is to ask: ``` /command write a weekly capacity brief for a namespace ``` Kepler picks a name, writes the description and body, and saves the file. It defaults to the global folder unless you say "this workspace". You can also write and edit commands in **Settings > Customize**, under the **Commands** chip. See [Customize](/kepler/customize). ## Plugin commands Commands that come with a [plugin](/kepler/plugins) carry the plugin's name in front, such as `/ops-kit:capacity-brief`. They work like your own. ## Automations in the menu An [automation](/kepler/automations#run-one-from-a-chat) with a chat trigger is listed in the `/` menu under **Automations**. Sending it runs the automation with the rest of the line, instead of sending a prompt to the model, and its answer lands in the session you sent it from. ``` /triage checkout is throwing 502s ``` ## Skills in the menu Skills also appear in the `/` menu, marked **Skill**. A skill is not a request, it is an approach: picking one tells Kepler how to handle the message you write yourself. A skill takes no arguments, can sit anywhere in the line, and several can ride one message. ``` /postmortem-format write up yesterday's checkout outage ``` Skills live in `~/.kepler/skills//SKILL.md` for every workspace, or `/.kepler/skills//SKILL.md` for one. Drop a folder there, or manage them under **Settings > Customize**. Skill folders made for other agents, such as Claude Code, work as they are. See [Extend Kepler](/kepler/extend) for writing one. ## Keyboard shortcuts macOS shortcuts use `Cmd`. On Windows and Linux use `Ctrl` in its place, except where the table says otherwise. ### Window and panels | Shortcut | Action | | - | - | | `Cmd+N` | New session | | `Cmd+O` | Open a workspace folder | | `Cmd+K` | Search sessions, messages, workspaces and settings | | `Cmd+\` | Show or hide the sidebar | | `Cmd+J` | Show or hide the Terminal | | `Cmd+B` | Show or hide the Browser | | `Cmd+E` | Show or hide the Editor | | `Cmd+M` | Show or hide Memory | | `Cmd+,` | Open Settings | | `Cmd+/` | Show every keyboard shortcut | | `Esc` | Return a center-staged panel to the side | | `Cmd+=` / `Cmd+-` | Zoom the interface in or out | | `Cmd+0` | Reset zoom | ### Tabs and panes | Shortcut | Action | | - | - | | `Cmd+T` | New tab | | `Cmd+1` to `Cmd+9` | Pick a tab | | `Cmd+Shift+[` / `Cmd+Shift+]` | Previous or next tab | | `Cmd+W` | Close the focused pane, or the tab when it has one pane | | `Cmd+D` | Split the pane to the right | | `Cmd+Shift+D` | Split the pane below | | `Cmd+[` / `Cmd+]` | Previous or next pane | | `Cmd+Option` + arrow key | Move to the pane in that direction | | `Cmd+Option+Enter` | Zoom the focused pane, and back | | `Cmd+Option+=` | Even out the panes | On Windows and Linux, use `Ctrl` for `Cmd` and `Alt` for `Option`. See [Tabs and split panes](/kepler/workspace#tabs-and-split-panes). ### Composer | Shortcut | Action | | - | - | | `Enter` | Send | | `Shift+Enter` | New line | | `Shift+Tab` | Cycle posture: Observe, Assist, Yolo | | `/` | Open the command menu | | `@` | Attach context: a file or folder, another chat, a browser tab, a terminal, or a service, incident, runbook or watcher Kepler knows | | `!` at the start of an empty line | Operator shell mode. Run a command yourself and Kepler reads the output. | | `Tab` on an empty composer | Accept the suggested prompt | | `Esc` | Stop the running turn, cancel an edit, or leave shell mode | | Any letter, anywhere in the window | Focuses the composer and starts typing | ### Approvals | Shortcut | Action | | - | - | | `Cmd+Enter` | Run the pending command once | | `Cmd+Shift+Enter` | **This session**: allow the command's prefix for this conversation, or trust an unrecognised command as read-only | | `Esc` | Reject | ### Terminal panel | macOS | Windows and Linux | Action | | - | - | - | | `Cmd+C` | `Ctrl+Shift+C` | Copy the selection | | `Cmd+V` | `Ctrl+Shift+V` | Paste | Plain `Ctrl+C` in the terminal goes to the running program, as it does in any shell. ## Where to go next > [card] [Extend Kepler](/kepler/extend) > > Skills, specialist agents and MCP servers. > [card] [Postures](/kepler/postures) > > What /mode changes and what each posture asks you about. > [card] [The workspace](/kepler/workspace) > > The panels these shortcuts open. > [card] [Workflows](/kepler/workflows) > > Prompt recipes built on /triage, /rca and /runbook. # Customize: skills, commands, agents, hooks and plugins in one place Source: https://docs.rubixkube.ai/kepler/customize Settings > Customize is where you manage everything that changes how Kepler works: plugins, skills, hooks, slash commands and specialist agents. One search, one list per kind, and a workspace filter. **Settings > Customize** is where you manage everything that changes how Kepler works: the plugins you installed, your skills, your hooks, your slash commands and your specialist agents. Open it with `Cmd+,` (`Ctrl+,` on Windows and Linux) and pick **Customize** in the sidebar. ## How the page works A row of chips across the top picks what you are looking at: **Plugins**, **Skills**, **Hooks**, **Commands** and **Agents**. **Rules** is marked Soon and is not available yet. One search box covers every chip. Type in it and the page moves to a chip with matches, with a count on each chip that has any. Every chip draws the same kind of list. Items are grouped by where they come from, each row has a switch and a menu, and long groups show five rows before **Show more**. | Group | What is in it | | - | - | | Installed | Plugins you installed. | | All workspaces | Yours, saved in `~/.kepler`. Used everywhere. | | The workspace's name | Saved in that workspace's `.kepler` folder. Used only there. | | From plugins | Brought by a [plugin](/kepler/plugins), grouped per plugin. Read-only. | | Built-in | What ships with Kepler. | | From integrations | Skills that come with a connected integration. | | From runbooks | Runbooks saved in memory, offered as slash commands. | | From Claude Code | Found on this machine in Claude Code's folders. Not used until you import them. | ### The workspace filter Settings belongs to the whole app, so Customize starts on global items only. The menu inside the search box adds one workspace's own items to the list, or goes back to global only. When you create something, **Save for** picks where it is written: **All workspaces (global)** or one workspace. ## Plugins Install, view, update, switch and remove [plugins](/kepler/plugins). **Add plugin** opens the plugin browser. Plugins you already installed for Claude Code are listed with an **Import** button. ## Skills Create a skill from a template, import one, edit its `SKILL.md`, add a script beside it, or switch it off. Skills you have in Claude Code's folders show under **From Claude Code** until you import them. See [Extend Kepler](/kepler/extend#skills). ## Hooks Create a hook with **New hook**, edit or delete your own, and switch each one on or off. **Hooks on** switches all of them at once. Two banners can appear here: * A workspace has hooks waiting for review. Workspace hooks do not run until you trust them. Press **Review** to see each one and trust it. * Kepler skipped a broken entry. **Show** lists the file and the error. Every other hook keeps running. The log of hook runs is on the **Hooks** tab of Activity, under **Settings > Plan & Usage**. See [Hooks](/kepler/hooks). ## Commands Your slash commands, with an editor: name, description, argument hint and the prompt itself. Built-in commands are listed too, so search finds them. See [Commands](/kepler/commands#custom-commands). ## Agents Specialists Kepler can delegate to, each with its own tools and instructions. Create one with **New agent**, or edit and delete your own and a workspace's. A built-in specialist opens to show its tools and lets you pick its model. Below the list, **Kepler's own agents** set the model for each part of Kepler: | Agent | What it does | | - | - | | Kepler | The agent you chat with. Toggle thinking and set its default effort. | | Automation builder | The chat on an automation's page. Uses the chat model unless you pick another. | | Memory | The background worker that turns your conversations into lasting knowledge. A small, fast model is enough. | | Topology | The worker that keeps your infrastructure map current. | | Shadow | A read-only watcher that pre-investigates incidents before you ask. | ## Where to go next > [card] [Plugins](/kepler/plugins) > > Install a bundle of skills, commands, agents and hooks. > [card] [Hooks](/kepler/hooks) > > Your own checks at moments in Kepler's work. > [card] [Extend Kepler](/kepler/extend) > > Integrations, skills, commands and specialists. > [card] [Settings reference](/kepler/settings) > > Every other settings page. # The decision model Source: https://docs.rubixkube.ai/kepler/decision-model An optional second model that answers typed questions in about a second. Kepler uses it to double-check commands and MCP calls before they run, and you can use it in chat, war rooms and automation steps to classify, score and pick. A decision model is an optional second model beside your chat model. It writes no text. Give it a piece of material and a typed question, such as "is this a real outage, yes or no?", and it answers in about a second with how sure it is. Kepler uses it in two ways. It double-checks commands and MCP tool calls before they run, and it gives you fast yes-or-no, pick and score answers in chat, in war rooms and in [automation](/kepler/automations) steps. ## Turn it on It is off by default, and nothing is sent anywhere until you pick one. **1. Connect a provider that serves one** In **Settings > Models**, under Providers, connect a provider that serves decision models. Those providers show a **Decision models** line on their card. **2. Pick it** Under **Models**, set **Decision model**, the same way you pick the image model. **3. Test it** **Test** sends one fixed command and shows the answer, how long it took, and which model answered. | Provider | What you need | | - | - | | TypeSafe | Its own API key. It has no chat models, so it never shows in the chat model picker. | | OpenRouter | The OpenRouter key you already connected. | | A System One endpoint | Its URL, added under Providers like an OpenAI-compatible endpoint, and the model ids it serves. | ## A second check on commands Kepler's rules and the [always-blocked list](/kepler/permissions) still decide what runs. The decision model can only make a decision stricter: * It answers a few questions about a shell command or MCP call: does it write, which environment does it touch (prod, staging, local), and can it be undone. * If it is confident a command writes, and the rules would have let it run without asking, Kepler asks you instead. The card says the decision model raised it. * A "read" answer never skips a card, never clears a block, and never touches the always-blocked list. * On the [unknown-command card](/kepler/postures#the-unknown-command-card) it adds a suggestion, such as "The decision model reads it as read-only (96% sure)". You still decide. It never writes a rule on its own. Its verdict shows as a small pill on the tool row in the chat. To keep it fast and cheap, Kepler asks only where the answer adds something. A command shape like `kubectl get` is checked once and remembered for seven days. SQL clients such as `psql` are checked on every call, because the statement decides. An MCP tool is checked once from its name and description, unless its arguments decide what it does. ### What leaves your machine The command with secrets masked, the name of the environment it targets, and what Kepler's own rules said. Not the output and not the conversation. If the decision model times out or fails, Kepler carries on with its rules alone. ## Use it yourself With a decision model picked, Kepler can answer typed questions about material in chat and war rooms, in every posture, with no approval card. They read nothing and change nothing. Batches are where it pays off: ``` Classify these 200 log lines as noise, warning or outage, and show me the outages. ``` That is one call, not 200. Kepler can ask yes-or-no questions, pick a label (or none, or several), and score against levels you describe. In an automation, add the step **Decide with a decision model**. Write the questions, choose whether it judges the material as a whole or **item by item**, and set where "unsure" starts. Later steps can branch on any answer, or send a doubtful call to you with **Ask me first**. Without a decision model the step fails and says why. It never falls back to a chat model. ## Where to go next > [card] [Permissions](/kepler/permissions) > > The rules the decision model sits on top of. > [card] [Automations](/kepler/automations) > > Decision steps in a flow. > [card] [Settings reference](/kepler/settings#models) > > The Models page. > [card] [Postures](/kepler/postures) > > The unknown-command card and the approval dock. # Extend Kepler: integrations, skills, plugins and specialists Source: https://docs.rubixkube.ai/kepler/extend Connect Kepler to your stack with MCP integrations, keep credentials in the system keychain, add skills, custom slash commands, hooks and plugins, and save specialist agents for questions you ask often. Kepler works with what is already on your machine: kubectl, cloud CLIs, ssh, the files in your workspaces. When you need more, you connect an integration, drop in a skill, teach it a command, add a hook, or install a plugin that bundles several of these. Everything except integrations and secrets is managed in one place, **Settings > Customize**. See [Customize](/kepler/customize). ## Integrations (MCP servers) An integration gives Kepler tools for one part of your stack: query Grafana, list PagerDuty incidents, read a GitHub pull request, describe an EC2 instance. Integrations speak MCP, so anything with an MCP server can be connected. Open **Settings > Tools & MCP**. The catalog lists the integrations Kepler knows how to set up: | Category | Integrations | | - | - | | Cloud and clusters | AWS, Google Cloud, Azure, Kubernetes | | Observability | Grafana, Prometheus, Datadog, New Relic, Honeycomb, Dynatrace, Elastic, Sentry, Oodle | | Incidents and delivery | PagerDuty, Spike, GitHub, GitLab, CircleCI, Argo CD, Terraform | | Team and knowledge | Slack, Linear, Atlassian (Jira and Confluence), Notion | | RubixKube | The RubixKube platform: active issues, cluster health, evidence-backed RCAs and pending actions | ![Settings > Tools & MCP in Kepler. Progressive tool discovery at the top, then Configured with two integrations marked Enabled, a Detected on this machine row counting 19 command-line tools, and the catalog below starting with RubixKube and Grafana.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/integrations-catalog.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=dc22d1bcba30e68b4d259a73374306c2) The integrations catalog. Configured integrations sit at the top with their status; the tools Kepler found on your machine are one row below. ### Add an integration **1. Pick it from the catalog** Open **Settings > Tools & MCP** and choose the integration. Each card tells you what credential it needs. **2. Add the credential as a secret** Kepler stores tokens in your operating system keychain and refers to them by name. See [Secrets](#secrets) below. **3. Ask for it in chat** You do not need to restart anything. On the next turn, Kepler can use the new tools. You can also skip the settings page and ask directly: ``` Add the Grafana MCP server. The URL is https://grafana.internal and the token is in my keychain as GRAFANA_TOKEN. ``` Anything not in the catalog can be added as a custom MCP server on the same page. The page also lists the command-line tools it detected on your machine, such as kubectl, helm and your cloud CLIs, which Kepler can use directly without any setup. ### Signing in Integrations that sign in through your browser, such as Spike, show a **Connect** button. So does a remote MCP server you add yourself that needs a sign-in, even when it does not say so. Kepler asks the server, without opening a browser, and the server's row shows **Sign in** until you connect. ![Settings > Tools & MCP in Kepler. Under Configured, Kubernetes is Enabled, and slack-demo, a remote server added by hand at https://mcp.slack.com/mcp, is marked Custom with a Sign in badge. Its expanded row reads Remote · HTTP, with Edit, Connect, a delete button and its switch.](https://mintcdn.com/rubixkube/qklCvauT75F-xPff/images/kepler/mcp-sign-in.png?fit=max\&auto=format\&n=qklCvauT75F-xPff\&q=85\&s=499f5b0e75e1fb226e3ff3ae1eaa03d7) Kepler found that this server needs a sign-in. Press Connect to finish it in your browser. When you add a remote server under **Add server**, pick **OAuth (browser)** if you know it signs in through a browser, then press **Connect** on its row after saving. Leave it on **Token / header** with no headers and Kepler checks with the server for you. Once you are signed in: * Kepler renews the sign-in in the background, the way the MCP standard describes, so you are not asked to reconnect an hour later. * A brief network problem does not show **Reconnect**. If a server turns down a sign-in in the middle of a run, Kepler renews it and tries once more. * RubixKube still asks you to reconnect about once a day, because its server does not yet issue the token Kepler needs to renew the sign-in. Some integrations take a URL and a key instead. For **Oodle**, paste the MCP URL from Oodle's integration card and an API key. The key decides what Kepler can do there: a Viewer key only reads. Kepler asks before an integration call that changes something, such as Spike resolving, escalating or muting an incident, or Oodle saving a dashboard. A server whose sign-in settings Kepler cannot use shows **Config error** on its row, with what to fix, and does not start until it is fixed. See [Troubleshooting](/kepler/troubleshooting#an-mcp-server-shows-config-error). ### What integrations look like in practice ``` Pull the p99 latency for checkout from the Grafana dashboard for the last 6 hours and tell me when it jumped. ``` ``` Who is on call for payments right now, and what PagerDuty incidents are open on that service? ``` ``` Show me the pull requests merged to the checkout repo in the last 24 hours. ``` ``` Which EC2 instances in the prod account changed state this week? ``` MCP tools ask for your approval before they run, unless you change that in **Settings > Permissions**. The approval shows the tool and its arguments so you can see exactly what will be sent. > [!NOTE] > > Large servers hand over their tools a few at a time, so the conversation stays fast even with many integrations connected. **Progressive tool discovery** in **Settings > Tools & MCP** controls this. Leave it on. ## Secrets Credentials never sit in a config file. **Settings > Secrets** keeps named credentials in your operating system keychain. An integration config only ever holds the name, written as `${NAME}`. **1. Add a credential** In **Settings > Secrets**, add a name such as `GRAFANA_TOKEN` and paste the value. **2. Reference it by name** In the integration's settings, use `${GRAFANA_TOKEN}` wherever the token is needed. The Secrets page shows which integrations use each credential, so you know what breaks before you delete one. ## Skills A skill is a capability written in Markdown: a `SKILL.md` file, and optionally scripts beside it, in its own folder. Kepler loads a skill the moment it is needed, or when you trigger it as a slash command. Skills live in `~/.kepler/skills` for everything you do, or in `.kepler/skills` inside a workspace for one project. Skill folders made for other agents work as they are. If you have skills in Claude Code's folders, **Settings > Customize** lists them under **From Claude Code** so you can import them. A skill worth writing is one you would otherwise explain every time: ```markdown theme={null} # pod-crashloop-triage When a pod is crashlooping: 1. Describe the pod and read the last termination reason. 2. Pull the previous container's logs, not the current ones. 3. Check the ConfigMap and Secret it mounts for a recent change. 4. Report cause, evidence and a one-line fix. Do not restart anything. ``` Save that as `~/.kepler/skills/pod-crashloop-triage/SKILL.md`. It appears in the `/` menu as `/pod-crashloop-triage`, and Kepler also reaches for it on its own when the situation fits. Manage skills in **Settings > Customize**, under the **Skills** chip: create one from a template, import one, edit the file, add a script. ## Custom slash commands A custom command is a prompt you keep retyping, saved under a name. The quickest way to make one is to describe it: ``` /command write a weekly capacity brief for the cluster I name, covering CPU, memory and PVC headroom ``` Kepler drafts the command and saves it. From then on you call it by name, with arguments: ``` /capacity-brief gke-prod-eu ``` Commands are Markdown files. The file name is the command name, and `$ARGUMENTS` inside the file is replaced by whatever you type after the command. | Scope | Location | | - | - | | Everywhere | `~/.kepler/commands/.md` | | One workspace | `/.kepler/commands/.md`. Overrides a global command of the same name. | See [Commands and shortcuts](/kepler/commands) for the full built-in list. ## Specialist agents A specialist is a read-only agent with its own persona and tools. Kepler builds one-off specialists on its own when it fans out an investigation, so you do not have to think about them. Save one yourself when you ask the same kind of question often: ``` /agent a cost analyst who reads our AWS bill by tag and cluster and explains week-over-week changes ``` Saved specialists appear in **Settings > Customize**, under the **Agents** chip, where you can also write one by hand with **New agent**. Ask for parallel work and Kepler hands side questions to specialists that run in the background while the main conversation keeps moving: ``` Check three things in parallel: the checkout pods, the last deploy diff, and the Grafana error-rate panel. Bring me one summary. ``` Up to six background lanes run at once in one conversation, and eight across the app. Ask for more and the rest wait in a queue and start in order as others finish. A queued lane shows a clock and "queued" on its card, and you can cancel it like a running one. ## Hooks A hook runs your own check at a moment in Kepler's work: before a tool runs, when a message arrives, when a run ends. It can block, ask you first, or add context. It can never approve anything. Describe one and Kepler drafts it: ``` /hook ask me before any kubectl command on a prod context ``` See [Hooks](/kepler/hooks). ## Plugins A plugin bundles skills, commands, agents, hooks, MCP servers and chat channels, so a whole toolkit installs in one step. You see everything it runs before anything runs. ``` /plugins something for terraform reviews ``` See [Plugins](/kepler/plugins). ## Identity on your channels When Kepler reaches you on WhatsApp, Slack, Telegram, Discord or a plugin's channel, it signs its replies with a name and emoji you choose under **Signature** in **Settings > General**, so its messages never read as yours. See [Chat from your phone](/kepler/channels). > [!NOTE] > > Standing rules are listed under **Settings > Customize** as coming soon. They are not available in this release. ## Where to go next > [card] [Permissions](/kepler/permissions) > > Set MCP servers to allow, ask or block. > [card] [Commands and shortcuts](/kepler/commands) > > Every built-in slash command. > [card] [Everyday workflows](/kepler/workflows) > > Prompts that use your integrations. > [card] [Customize](/kepler/customize) > > Plugins, skills, hooks, commands and agents in one place. # Kepler FAQ Source: https://docs.rubixkube.ai/kepler/faq Answers to common questions about Kepler: getting started, safety and approvals, models and cost, data and privacy, and platform support. Short answers to the questions we hear most. If yours is not here, the [Troubleshooting](/kepler/troubleshooting) page covers specific failures, and support is at the bottom. ## Getting started > [accordion] Do I need a RubixKube platform account to use Kepler? > > No. A Kepler sign-in (Google, GitHub, or email) and a model are all you need. The [RubixKube platform](/getting-started/overview) is a separate product that watches your environments continuously. If you use both, Kepler ships with RubixKube skills so you can pull the platform's active issues and RCAs into a chat, but Kepler works fully on its own. > [accordion] What do I have to give Kepler access to? > > Two things: a model, and any folders you want it to read or edit (`Cmd+O`). You do not hand over kubeconfigs, cloud credentials, or SSH keys. Kepler uses whatever `kubectl`, `aws`, `gcloud`, and `ssh` already have on your machine, and only looks at what you already have access to. > [accordion] What should I ask first? > > Something you would ask a colleague on shift. `Why is checkout crashlooping in prod?`, `What changed in the payments namespace today?`, or `/triage api-gateway` are all good openers. Start in Observe, the default, so nothing writes while you get a feel for how Kepler works. The [Quickstart](/kepler/quickstart) walks through a full first session. > [accordion] How is Kepler different from a coding agent? > > Coding agents work on a repo that holds still and remembers everything for them. Kepler works on live clusters and dashboards that drift and forget, so it builds its own memory of your systems and can watch things in the background. It can read and edit files in folders you grant, but it is built for operating systems, not for shipping features. ## Safety and control > [accordion] Can Kepler change something in production without asking me? > > Not unless you tell it to. Every new conversation starts in Observe, which is read-only. In Assist, Kepler stops before every write and shows you the exact command. Only Yolo runs writes without a per-step approval, and you switch into it deliberately, per conversation, with `Shift+Tab` or `/mode yolo`. > [accordion] What can it never do, in any mode? > > With `kubectl`: delete, scale, drain, cordon, taint, and `rollout restart` or `rollout undo`. With `helm`: delete, uninstall, and rollback. Also `rm -rf`, `terraform destroy`, and delete, terminate, or stop calls on AWS, GCP, and Azure. Windows equivalents such as recursive `Remove-Item` are on the list too. No posture, no permission setting, and no rule you write can unlock these. The full list is in [Permissions](/kepler/permissions). > [accordion] What happens when Kepler meets a command it does not recognise? > > It stops and asks. A card shows the command and says plainly that Kepler cannot tell whether it is safe. You can trust it as read-only, which saves a rule that applies everywhere and survives restarts, run it just once with nothing saved, or say no. **Run once** is offered in every posture, Observe included, because pressing it is you running the command. Watchers and automations never get it: nobody is at the card. With a [decision model](/kepler/decision-model) picked, the card also shows its suggestion. > [accordion] Can I make Kepler ask about everything, even reads? > > Yes. **Settings > Permissions** has four switches, Files, Shell, MCP servers and Secrets, each set to allow, ask, or block. Ask is the default for all four. Set a switch to ask and Kepler pauses for that kind of tool regardless of posture. These settings only ever tighten what a posture allows. Nothing in the app can loosen them on Kepler's behalf. For a rule of your own, such as "ask before any `kubectl` on a prod context", write a [hook](/kepler/hooks). ## Models and cost > [accordion] Which models can I use? > > The hosted Kepler models, available with your sign-in and no key. Or bring your own key for Anthropic, OpenAI, Google (Gemini API or Vertex AI), xAI, AWS Bedrock, OpenRouter, or any OpenAI-compatible endpoint, as many as you like. If you pay for ChatGPT, sign in with that plan under **OpenAI Codex**. Ollama gives you fully local models. Set it up in **Settings > Models** or with `/model`. An optional [decision model](/kepler/decision-model) can sit beside your chat model for fast yes-or-no checks. > [accordion] Will Kepler switch models on its own to save money or when one fails? > > No, ever. You choose the model, so you control the spend. When a request fails, Kepler retries the same model or tells you it could not finish. It never silently downgrades to a cheaper or different model. > [accordion] How much does Kepler cost? > > Kepler runs locally and is free, with no seats or cloud limits. Cloud plans add team sync, shared memory, and hosted automations. Model usage is separate: keys you bring are billed by that provider directly. **Settings > Plan & Usage** shows your plan and what this month has cost so far. > [accordion] Do watchers burn tokens while nothing is happening? > > Most do not. A watcher is usually a plain background check with no model involved, and the model only runs when it fires. A watcher whose condition is in plain words needs a model to judge new output. With a [decision model](/kepler/decision-model) picked, that costs no tokens. Without one, it uses your worker model within a token budget for each watcher. Output that has not changed is never judged twice. See [Watchers](/kepler/watchers#watchers-that-judge-in-plain-words). ## Data and privacy > [accordion] Where does my data go? > > It stays on your machine. Conversation history, memory, watchers, and settings live in a single folder in your home directory. The only outbound traffic is to the model you chose and to your own tools and integrations. There is no RubixKube server in the middle of your chats. > [accordion] Where are my API keys stored? > > In your operating system's keychain, under Kepler's name. They are never written to a plain-text file and never sent anywhere except to the provider they belong to. > [accordion] Can I use Kepler without anything leaving my laptop? > > Yes. Run a local model with Ollama and pick it in the model picker. With a local model and no channels connected, Kepler makes no outbound calls beyond what your own `kubectl` and cloud CLIs make. > [accordion] Can I have a conversation Kepler does not remember? > > Yes. Press the ghost button beside **New session** in the sidebar. An incognito session reads no memory and writes none, so nothing from it shows up later. You must start it as incognito. An ordinary session cannot be made incognito after the fact. > [accordion] How do I wipe memory, or bring it in from another assistant? > > **Settings > Memory** has import, rebuild, and wipe. Wipe asks for confirmation and removes everything Kepler has learned. To move memory in from another assistant such as ChatGPT or Claude, use **Import from another assistant**, which gives you a prompt to run there and a place to paste the result. ## Platform > [accordion] Which operating systems are supported? > > macOS 13 or later on Apple Silicon, 64-bit Windows, and Linux as .deb or .rpm packages on x86-64. Windows support is early: background running and full PowerShell parity are still in progress, and there is no WSL integration yet. See [Installation](/kepler/installation). > [accordion] Can I work in more than one conversation at once? > > Yes. Press `Cmd+T` for a new tab, or `Cmd+D` to split the pane you are in. Each pane is its own conversation with its own composer, and the ones you are not typing in keep streaming. Tabs and splits come back after a restart. See [Tabs and split panes](/kepler/workspace#tabs-and-split-panes). > [accordion] Can I use Kepler from a terminal instead of the app? > > Yes. **Settings > Experiments > CLI helper** installs a `kepler` command that drives the same local agent, the same sessions, and the same approval gate. Run `kepler help` for its commands. It is a client for the desktop agent, not a separate product, so the app still needs to be installed. > [accordion] Can I talk to Kepler from my phone? > > Yes. Connect WhatsApp, Slack, Telegram, Discord, or a channel from a [plugin](/kepler/plugins) in **Settings > Gateway**, then type `/otg whatsapp` (or another channel) in a session to drive it from there. Approvals arrive as a message and you reply yes or no. Automations with a chat trigger run from there too. Channels work while Kepler is running on your machine. WhatsApp uses the same linking as WhatsApp Web and is not an official WhatsApp feature, so it can drop and heavy use may put your account at risk. See [Channels](/kepler/channels). > [card] Contact Support > > Email: \[[connect@rubixkube.ai](mailto:connect@rubixkube.ai)]\(mailto:[connect@rubixkube.ai](mailto:connect@rubixkube.ai)) > > Please include your Tenant ID (Settings → Organization), timestamp, and screenshots. > [card] [Troubleshooting Guide](/support/troubleshooting) > > Step-by-step fixes for common issues across Dashboard, Insights, Agents, and more. > [card] [FAQ](/support/faq) > > Answers to common questions about setup, RCA, agents, and docs. > [card] [Docs Navigation](/getting-started/overview) > > Browse all guides to learn workflows and best practices. # Hooks: your own checks in Kepler's work Source: https://docs.rubixkube.ai/kepler/hooks Run your own script, HTTP call, MCP tool or model check at moments in Kepler's work: before a tool runs, when a message arrives, when a run ends, when a watcher fires. Hooks can block or ask. They never approve. A hook runs your own check at a moment in Kepler's work: before a tool runs, when your message arrives, when a run finishes, when a watcher fires. Use one to ask before any `kubectl` on a prod context, to log every command to your audit system, or to add a line of context to every new chat. A hook can block an action, ask you first, rewrite a tool's input, or add context. It can never approve something on your behalf. A hook that answers "allow" counts as no opinion, and Kepler's normal rules decide. Hooks only make Kepler stricter. ## Let Kepler write one The quickest way to make a hook is to describe it: ``` /hook ask me before any kubectl command on a prod context ``` You can also just ask in chat. Kepler checks the hooks you already have, drafts the new one, and shows it on a card. The card says when the hook runs, what it runs, and what Kepler makes of the command: reads only, can change things, or reads secrets. Nothing is saved until you confirm the card. That holds in every posture, Yolo included. * The hook goes into this workspace's `.kepler/hooks.json` by default. A hook for all workspaces needs you to ask for that, and the card says so. * A hook command on the [always-blocked list](/kepler/permissions#always-blocked) is refused. * Kepler can add hooks only in Assist and Yolo. In Observe it can explain and list your hooks, not add them. ## Add one in Settings Open **Settings > Customize** and pick the **Hooks** chip. **New hook** builds a hook from fields: when it runs, which tools it applies to, the hook type, a timeout, **Block if it fails**, and **Save for** (all workspaces, or one). Each hook has its own switch, and **Hooks on** at the top switches every hook at once. See [Customize](/kepler/customize). ## Where hooks live | File | Who writes it | When it runs | | - | - | - | | `~/.kepler/hooks.json` | You | As soon as it is saved. | | `/.kepler/hooks.json` | Anyone with the repository | Only after you trust it in **Settings > Customize > Hooks**. | A workspace hook is trusted by a fingerprint of its exact content. If a `git pull` changes it, or adds a new one, it stops running until you review it again. Customize shows a banner when a workspace has hooks waiting for review. The fingerprint covers the hook entry, not a script it calls, so if a hook runs `./guard.sh`, review that script too. Kepler's own file and shell tools can read these files but never write them. Only you change your hooks. ### Hooks you wrote for other agents Kepler reads the same hook format Claude Code uses, so hooks you already wrote work here unchanged. Kepler finds them in `~/.claude/settings.json` and a project's `.claude/settings*.json`, but never runs them from there. Customize lists them under **From Claude Code** with an **Import** button, which copies the hook into the matching Kepler file. ## A first hook by hand This hook asks you before any `kubectl` command that mentions `prod`. Put it in `~/.kepler/hooks.json`: ```json theme={null} { "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "python3 ~/bin/prod-guard.py" } ] } ] } } ``` And the script it runs, `~/bin/prod-guard.py`: ```python theme={null} import json, sys event = json.load(sys.stdin) command = event["tool_input"].get("command", "") if "kubectl" in command and "prod" in command: print(json.dumps({"hookSpecificOutput": { "permissionDecision": "ask", "permissionDecisionReason": "prod context", }})) ``` * `PreToolUse` is the event: before a tool runs. * `"matcher": "Bash"` limits it to shell commands. * The script gets the event as JSON on stdin and prints its answer as JSON. * `ask` puts an approval card in front of you that reads "A hook asked: prod context". ## Events Events that can block may stop or change the action. The rest are for context, logging and alerts. | Event | Fires when | Can block | | - | - | - | | `SessionStart` | A chat's first run. | No. Its output becomes context. | | `Setup` | First-run setup completes. | No | | `UserPromptSubmit` | Your message arrives, from the app or a channel. | Yes | | `UserPromptExpansion` | A custom slash command expands. | Yes | | `PreToolUse` | Before any tool, built-in or MCP. | Yes: deny, ask or rewrite. | | `PermissionRequest` | An approval card is about to show. | Deny only | | `PermissionDenied` | You decline a card, or a rule or the always-blocked list stops a call. | No | | `PostToolUse`, `PostToolUseFailure` | After a tool returns or fails. | No. Can add context. | | `PostToolBatch` | Every tool call in one model step is done. | No | | `Notification` | Kepler sends you a notification. | No | | `MessageDisplay` | An answer is shown. | No | | `Stop` | A run finishes its answer. | Yes: keep going, at most 3 times. | | `StopFailure` | A run ends on an error. | No | | `SubagentStart`, `SubagentStop` | A background lane starts or finishes. | `SubagentStop`: keep going once. | | `TaskCreated`, `TaskCompleted` | A plan step is added or done. | No | | `TeammateIdle` | A war room member ends its turn. | No | | `InstructionsLoaded` | `kepler.md` or a skill is loaded. | No | | `ConfigChange` | Settings, rules or hook files change. | No | | `CwdChanged` | A chat's workspace folder changes. | No | | `FileChanged` | A file watcher fires. | No | | `PreModelSwitch`, `PostModelSwitch` | A chat's model changes. | `PreModelSwitch`: yes. | | `Elicitation`, `ElicitationResult` | Kepler asks you a question in a card. | `Elicitation`: yes | | `PreCompact`, `PostCompact` | The context is compacted. | No | | `SessionEnd` | A chat is deleted. | No | Kepler adds four events of its own, in the same format: | Event | Fires when | Can block | The matcher matches | | - | - | - | - | | `WatcherFire` | A [watcher](/kepler/watchers) fires. | Yes: the wake is skipped. | The watcher's name | | `AutomationStep` | Before and after each [automation](/kepler/automations) step. | Before: yes, and the step fails. | The step kind | | `ChannelMessage` | A message arrives on a [channel](/kepler/channels) from someone you allowed. | Yes: the message is dropped and the sender told. | The channel name | | `ApprovalResolved` | You approved or declined a card. | No | The tool name | ## What a hook receives A hook gets JSON on stdin. It includes `session_id` (the chat), `transcript_path`, `cwd`, `hook_event_name` and `permission_mode` (the posture). Kepler adds `kepler_agent`. Tool events add `tool_name`, `tool_input`, `tool_use_id` and `kepler_tool_name`, and `tool_response` afterwards. Tool names are mapped so matchers written for Claude Code work. A matcher may use either name. | Name in the matcher | Kepler tool | Input | | - | - | - | | `Bash` | `run_command`, `run_read`, `run_read_on` | `{command}` | | `Write` | `write_file` | `{file_path, content}` | | `Edit` | `edit_file` | `{file_path, old_string, new_string}` | | `WebFetch` | `web_fetch` | `{url}` | | `AskUserQuestion` | `ask_user` | unchanged | | `mcp____` | That MCP tool | unchanged | A matcher made of letters, digits, `_`, `|` and `,` means exact names, such as `Bash|Edit`. Anything else is a regular expression searched anywhere in the name, so `Edit.*` also matches `NotebookEdit`. Anchor it (`^Edit$`) when that matters. Secrets are masked in everything a hook receives and everything it prints. ## What a hook can answer | Exit code | Meaning | | - | - | | `0` | The JSON on stdout is the answer. For `SessionStart` and `UserPromptSubmit`, plain text becomes context. | | `2` | Block, with stderr as the reason. | | Anything else | An error. The action continues and the error is shown. | The JSON can carry `decision: "block"` with a `reason`; `hookSpecificOutput.permissionDecision` (`deny` or `ask`) with `permissionDecisionReason`, `updatedInput` or `additionalContext`; `continue: false` with a `stopReason`; and `systemMessage`. Where Kepler differs from Claude Code: * `allow` and `defer` are ignored. Hooks can only make Kepler stricter. * A hook's ask is not cleared by your allow rules or by a session allow. Posture, block rules and the always-blocked list still win over everything. * A rewritten input (`updatedInput`) is checked again by Kepler's rules. * Add `"failClosed": true` to a hook to turn a crash, a timeout or unreadable JSON into a deny. Use it for security hooks. * On runs nobody is watching (watchers, automations, channels), a hook's ask counts as a deny. * Context over 10,000 characters is saved to a file and Kepler gets its path. Nothing is cut. * Tools that run on the model provider's side, such as native web search, skip hooks. * When several hooks match, they run in parallel and the strictest answer wins. Timeouts are 60 seconds by default, 30 for `UserPromptSubmit`, and 600 at most. ## Hook types | Type | What it does | | - | - | | `command` | Runs a shell command in your login shell, with `KEPLER_PROJECT_DIR` set. A command on the always-blocked list never runs, in a hook either. | | `http` | POSTs the event to `url`. The response body is the answer. Header values can read only the environment variables you list in `allowedEnvVars`. | | `mcp_tool` | Calls `tool` on a connected MCP `server` with the event as input. Tools that look like writes are refused. | | `prompt` | Your worker model reads the event and your `prompt` and answers ok or not. Not ok blocks. | | `agent` | Like `prompt`, but a short read-only helper can look things up first. It never writes and never asks you anything. | An `http` hook looks like this: ```json theme={null} { "type": "http", "url": "https://audit.example.com/hook", "headers": { "Authorization": "Bearer $AUDIT_TOKEN" }, "allowedEnvVars": ["AUDIT_TOKEN"] } ``` ## When a hook misbehaves * Every hook run is logged. See them under **Settings > Plan & Usage**, on the **Hooks** tab of Activity, or in `~/.kepler/hooks/log-YYYY-MM-DD.jsonl`. * A mistake in `hooks.json` shows as a banner in Customize. The broken entry is skipped and every other hook keeps running. * If your login shell prints text before your JSON, Kepler reads the last line that is a JSON object. * A hook in a workspace that stopped running usually changed and needs review again. ## Where to go next > [card] [Customize](/kepler/customize) > > Where hooks, skills, commands, agents and plugins are managed. > [card] [Permissions](/kepler/permissions) > > The rules hooks sit on top of. > [card] [Plugins](/kepler/plugins) > > Plugins can bring hooks too, held to the same rules. > [card] [Postures](/kepler/postures) > > Observe, Assist and Yolo. # Install Kepler Source: https://docs.rubixkube.ai/kepler/installation Download and install Kepler on macOS, Windows, or Linux. System requirements, first launch, automatic updates, and how to uninstall. Kepler is a desktop app. Download the installer for your operating system from the [releases page](https://github.com/rubixkube-io/kepler-releases/releases/latest), open it, and sign in. The current version is **0.2.0**. ## Download and install > [tab] macOS > > Requires **macOS 13 Ventura or later** on Apple Silicon. > > 1. Download `Kepler--arm64.dmg` from the [releases page](https://github.com/rubixkube-io/kepler-releases/releases/latest). > 2. Open the disk image and drag **Kepler** into **Applications**. > 3. Launch Kepler from Applications or Spotlight. > [tab] Windows > > Requires **64-bit Windows**. > > 1. Download `Kepler--setup.exe` from the [releases page](https://github.com/rubixkube-io/kepler-releases/releases/latest). > > 2. Run the installer and follow the prompts. > > 3. Launch Kepler from the Start menu. > > > [!WARNING] > > > > Windows support is early. Kepler's terminal on Windows is PowerShell (it falls back to `cmd.exe` on hosts without PowerShell). Running Kepler in the background on Windows and full PowerShell parity are still in progress, and there is no WSL integration yet. If your tools live in WSL, tell us. > [tab] Linux > > Kepler ships as a **.deb** (Debian, Ubuntu) and an **.rpm** (Fedora, RHEL, openSUSE), 64-bit x86. It needs **WebKitGTK 4.1** and **GTK 3**, which the packages declare as dependencies. > > ```bash theme={null} > # Debian / Ubuntu > sudo apt install ./Kepler--amd64.deb > > # Fedora / RHEL > sudo dnf install ./Kepler--x86_64.rpm > ``` > > If your package manager does not pull the dependencies in, install them first: `libwebkit2gtk-4.1-0` and `libgtk-3-0` on Debian-based systems, `webkit2gtk4.1` and `gtk3` on RPM-based systems. > > Launch Kepler from your application menu. ## Verify the first launch On first launch Kepler shows a sign-in screen. Sign in with Google, GitHub, or email through your browser. After that, Kepler asks three short questions about you (your name, where you sit in the stack, what you look after), then drops you on the chat landing where you connect a model. If you get as far as the chat landing, the install is good. The [Quickstart](/kepler/quickstart) picks up from there. To confirm the version at any time, open **Settings > General > About**, or on macOS use **Kepler > About Kepler** in the menu bar. ## Updates Kepler checks for a new version on its own, every few hours while it is open. Nothing installs without a click. * **macOS and Windows**: when an update is available, a pill appears in the sidebar and a row in **Settings > General > Updates**. Click it to download. When the download finishes, Kepler offers a restart and installs in place. * **Linux**: Kepler tells you a newer version exists and links to the release page. Install it with your package manager the same way you installed the first time. You can also trigger a check from **Settings > General > Updates**. > [!NOTE] > > Updating Kepler never touches your conversations, memory, or settings. They live outside the app bundle. ## Requirements > [card] Operating system > > macOS 13 or later (Apple Silicon). 64-bit Windows. Linux with WebKitGTK 4.1 and GTK 3. > [card] Account > > A Kepler sign-in (Google, GitHub, or email). Free. It unlocks the hosted models and nothing else is required. > [card] A model > > Use the hosted Kepler models with your sign-in, or bring your own key for Anthropic, OpenAI, Google, xAI, AWS Bedrock, OpenRouter, or any OpenAI-compatible endpoint. Ollama works for fully local models. > [card] Your existing tools > > Kepler uses what is already on the machine: `kubectl` and your kubeconfig, cloud CLIs, SSH config. There is nothing to install in your clusters. ## Uninstall Removing the app and removing your data are two separate steps. Uninstalling the app leaves your data in place so a reinstall picks up where you left off. > [tab] macOS > > Quit Kepler, then drag **Kepler** from Applications to the Trash. > [tab] Windows > > Quit Kepler, then remove it from **Settings > Apps > Installed apps**, or run the uninstaller from the Start menu. > [tab] Linux > > Quit Kepler, then remove the package with the same package manager you installed it with (`apt remove` or `dnf remove`). ### Where your data lives Everything Kepler knows about you is in one folder in your home directory: `~/.kepler` on macOS and Linux, `%USERPROFILE%\.kepler` on Windows. It holds your conversations, memory, `kepler.md` and preference files, watchers, workflows, artifacts, and settings. API keys and channel tokens are kept in your operating system's keychain, not in that folder. To remove Kepler completely, delete that folder after uninstalling the app. This is irreversible: memory, session history, and every rule you taught Kepler go with it. If you only want a fresh start on memory, use **Settings > Memory > Wipe memory** instead and keep the rest. If you installed the optional `kepler` command-line helper from **Settings > Experiments**, it lives on your `PATH` and is removed separately. Run `kepler help` to see whether it is present. ## Where to go next > [card] [Quickstart](/kepler/quickstart) > > Sign in, connect a model, open a workspace, ask your first question. > [card] [Troubleshooting](/kepler/troubleshooting) > > Kepler will not start, sign-in loops, the model is not responding. # Memory and kepler.md Source: https://docs.rubixkube.ai/kepler/memory How Kepler remembers your services, incidents, conventions and runbooks, the three files you own (kepler.md, pref.md, user.md), the Memory panel, and incognito sessions. Kepler keeps a local record of your services, incidents, conventions and runbooks. It reads that record on every turn, so on day 30 it already knows what it had to ask on day 1. Everything lives on your machine and every part of it is yours to edit by hand. Open the Memory panel with `Cmd+M` (`Ctrl+M` on Windows and Linux). `/memory` in the chat opens the Memory settings. ![The Kepler Memory panel on the Graph tab. You sits at the centre with services, infrastructure, technologies, an incident and two runbooks connected to it by labelled edges. Legend chips above count each kind and can filter the graph.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/memory-graph.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=2951b1589cafcd1fa5671fe6433316ee) The Memory panel. Graph, Pages and Artifacts are the three tabs. ## What Kepler remembers Memory grows quietly as you work. After an investigation, Kepler records what broke, what the cause turned out to be and what fixed it. When you tell it how you like to work, it writes that down too. You can also ask for something to be saved on purpose: ``` Save this as a runbook: how we drain a node in the payments cluster. ``` ``` Remember that api-prod-2 and api-prod-3 sit behind the same load balancer. ``` Later, you ask in plain words and Kepler pulls the right thing back: ``` What did we do the last time checkout started crashlooping? ``` ``` Is there a runbook for rotating the Redis password? ``` ## The three files you own Kepler's standing knowledge about you and your projects lives in three Markdown files. Open and edit them from the Memory panel, or with any editor. | File | What it holds | Where it lives | | - | - | - | | `kepler.md` | Conventions and rules for a project (one per workspace) or for everything you do (one global file). | Global: `~/.kepler/kepler.md`. Workspace: `.kepler/kepler.md` inside the workspace folder. | | `pref.md` | How you like Kepler to work. | `~/.kepler/pref.md` | | `user.md` | Who you are: your role, your stack, what you look after. Kepler fills this in from what you tell it. | `~/.kepler/user.md` | ### kepler.md: global or per workspace? | | Global `kepler.md` | Workspace `kepler.md` | | - | - | - | | Use it for | Rules that follow you everywhere: naming conventions, the cluster you mean by "prod", how you want write-ups formatted. | One project's conventions: where its manifests live, how it deploys, what to check first when it misbehaves. | | Created by | Kepler, the first time it has something to record. | `/init`, run in a new workspace. Kepler reads the folder and drafts a briefing. | | Read when | Every run. | Every run inside that workspace. | Start a new workspace with: ``` /init ``` Kepler looks at the folder, writes a first draft of the briefing and shows it to you. Edit anything you like. ### AGENTS.md If a workspace has an `AGENTS.md` at its root, the file many coding agents share for project instructions, Kepler reads it too, after the workspace `kepler.md`. Where the two disagree, `kepler.md` wins. If `AGENTS.md` is a link to `kepler.md`, or has the same content, it is read once. `AGENTS.md` files deeper in the folder tree are not loaded up front. Kepler reads the nearest one when it works on files in that part of the tree. ### The managed block Kepler only ever edits its own clearly marked block inside `kepler.md`. Anything you write above or below that block stays exactly as you left it. You can rewrite the whole rest of the file and Kepler will keep working from it the next turn. ### pref.md: say it once and it sticks Tell Kepler how you like to work, in chat, and it records the preference: ``` Always show me the kubectl command before you run it, even in Yolo. ``` ``` Keep RCA write-ups under one page. ``` ``` When I say "the cluster" I mean gke-prod-eu. ``` Each of these lands as a line in `pref.md`. Open the file from the Memory panel to review or remove any of them. ## The Memory panel | Tab | What you see | | - | - | | Graph | Your services, hosts, incidents and runbooks, and how they connect. Click a node to see what Kepler knows about it. | | Pages | The written record: incident notes, conventions, runbooks, and the three files above. | | Artifacts | Documents Kepler produced, such as an RCA or a designed report, kept under a stable name and versioned each time it publishes again. | > [!TIP] > > Paste a long block of logs or a postmortem into the chat and Kepler will offer to keep the useful part in memory rather than just answer once. ## Incognito sessions Some conversations should not teach Kepler anything. An incognito session is sealed: memory stays outside it, and nothing that happens inside it is written to memory, `user.md` or `pref.md`. Start one with the ghost button beside **New session** in the sidebar. Incognito has to be chosen before the first message. A chat that has already run cannot be made incognito after the fact. ## Settings > Memory | Action | What it does | | - | - | | Import memories | Bring memories across from another assistant you have been using. Preferences go to `pref.md`, identity goes to `user.md`, the rest becomes pages. | | Export memories | Write everything Kepler remembers to a file you can read or back up. | | Reindex | Rebuild the search index over your pages. Use it if recall seems to miss things you know are there. | | Rebuild graph | Rebuild the graph from your pages and sessions. | | Wipe memory | Delete everything Kepler remembers. Kepler asks you to confirm first. | | Shadow briefs | Kepler follows the work you do in your own terminal and turns what it learns into memory and short briefs. Read the recent ones here. | ## Troubleshoot memory **Kepler does not remember something I told it.** Check that the session was not incognito, then look in the Pages tab for the note. If it is missing, say it again and ask Kepler to save it. If it is there but Kepler does not use it, run **Reindex** in **Settings > Memory**. **A remembered fact is wrong.** Open the page in the Memory panel and edit it. Kepler reads the corrected page on the next turn. For a wrong preference, edit `pref.md` directly. **I want to start clean.** Use **Wipe memory** in **Settings > Memory**. Export first if you might want it back. ## Where to go next > [card] [Everyday workflows](/kepler/workflows) > > Prompts that put memory to work: triage, RCA, handoff. > [card] [Extend Kepler](/kepler/extend) > > Skills, custom commands and integrations. > [card] [Settings reference](/kepler/settings) > > Every Memory setting, in context. > [card] [Postures](/kepler/postures) > > How much Kepler does on its own. # Kepler overview Source: https://docs.rubixkube.ai/kepler/overview Kepler is RubixKube's desktop AI agent for SREs and on-call operators. Chat with your infrastructure, run read-only checks, drive a real terminal and browser, and keep a memory of every incident, all on your own machine. **Kepler** is a desktop app for the people who keep systems alive: SREs, platform engineers, on-call operators. It looks like a chat window. It behaves like a careful colleague with a terminal, a browser, an editor, and a long memory of your infrastructure. Ask it what is wrong with a live system and it runs read-only commands, reads the dashboards you already have open, recalls what happened last time, and comes back with a diagnosis and a suggested fix. By default it suggests. You decide what runs. ![The Kepler home screen. The sidebar lists New session, New war room, Search, Feed, Automations, Memory and Topology, then the workspaces. In the middle, a greeting by name, the question What should we look into, and the composer in Observe with a suggested prompt: apply the checkout-config remediation patch in prod.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/hero-investigation.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=f00ef2540da4d878d499298aaf732965) Where every day starts. The suggested prompt is Kepler picking up where yesterday's investigation left off. ## What can Kepler do? > [card] [Chat with your infrastructure](/kepler/quickstart) > > Ask in plain English. Kepler runs kubectl, shell, and cloud reads, shows every command as a card, and answers with the output as evidence. > [card] [A real terminal](/kepler/workspace) > > A full terminal panel (`Cmd+J`) that you and Kepler share. Click a command in the scrollback to send it and its output into chat. > [card] [A real browser](/kepler/workspace) > > A browser panel (`Cmd+B`) Kepler can read and drive. Log in to Grafana once, then ask "what did p99 do in the last hour?" > [card] [Memory that grows](/kepler/memory) > > Services, incidents, runbooks, and your conventions accumulate locally. Day 30 Kepler knows things Day 1 Kepler had to ask about. > [card] [War rooms](/kepler/war-room) > > For an incident, Kepler leads and spawns specialist agents on separate angles, each in its own pane, with one shared approval queue. > [card] [Watchers](/kepler/watchers) > > "Keep an eye on the checkout rollout." A background check that costs nothing while quiet and wakes the conversation when something changes. > [card] [Automations](/kepler/automations) > > A morning brief, an alert triage, or a `/triage` command your team can send from chat. Runs without you and changes only what you allowed. > [card] [Chat from your phone](/kepler/channels) > > Connect WhatsApp, Slack, Telegram, Discord, or a channel from a plugin, and drive a session from wherever you are. Approvals work there too. > [card] [Skills and commands](/kepler/extend) > > Bring your team's runbooks and formats as Markdown skills. Mint your own slash commands in one sentence. > [card] [Hooks and plugins](/kepler/plugins) > > Add your own checks at moments in Kepler's work, or install a whole toolkit in one step after you see what it runs. ## Kepler is for you when... | I want to... | Use | | - | - | | Find out why a service is unhealthy right now | Ask in chat, in Observe. Try `/investigate` or `/triage `. | | Check a rollout, a dashboard, or a log without leaving the app | The terminal and browser panels. | | Make a small, reviewed change | Switch to Assist and approve each command in the dock. | | Write an RCA or an on-call handoff | `/rca ` or `/handoff`. | | Get a written plan before anything runs | `/plan `, in any posture. | | Run an incident with several angles at once | New war room from the sidebar. | | Be told when something changes, without polling by hand | Ask Kepler to watch it. | | Get a brief every morning, or triage every alert as it arrives | An automation. | | Ask a question from the couch | Connect a channel and use `/otg`. | | Ask something new while a long run is still going | Open a tab with `Cmd+T`, or split the pane with `Cmd+D`. | | Know what deployed a workload, or which services use a database | Ask, or open Topology from the sidebar. | | Work on a server or a cloud VM, not this laptop | Turn on Remote access and pick the machine beside Send. | | Keep tribal knowledge somewhere the next person can find it | Memory, `kepler.md`, and saved runbooks. | ## What Kepler is not * **Not a monitoring service.** Kepler does not collect metrics or store telemetry. It reads the tools you already have: kubectl, your cloud CLIs, Grafana, Prometheus, Datadog, and others through integrations. * **Not APM.** There is no agent to install in your workloads and no data leaving your clusters to us. * **Not a coding agent.** It can read and edit files in folders you grant, but it is built for operating live systems, not for shipping features. * **Not a cloud service.** Kepler runs on your machine. Conversation history, memory, and settings stay there. The only outbound traffic is to the model you choose and to your own tools. * **Not autonomous by default.** New conversations start in Observe, which is read-only. Assist and Yolo are opt-in, per conversation, and delete, scale, restart, and `rm -rf` stay blocked in every mode. ## How Kepler relates to RubixKube Kepler is the desktop sibling of the [RubixKube platform](/getting-started/overview) and the [Rubix CLI](/cli/overview). The platform watches your environments continuously and produces insights and RCAs. Kepler runs on an operator's laptop, works with whatever access that laptop already has, and keeps its memory locally. If you use both, Kepler ships with RubixKube skills so you can ask "what's broken in production right now?" and get the platform's active issues, cluster health, and RCA reports inside the same chat. You do not need a RubixKube platform account to use Kepler. A Kepler sign-in and a model are enough. ## Where to go next > [card] [Installation](/kepler/installation) > > Download for macOS, Windows, or Linux. Requirements and updates. > [card] [Quickstart](/kepler/quickstart) > > Sign in, connect a model, ask your first question, approve your first change. > [card] [Postures](/kepler/postures) > > Observe, Assist, and Yolo. What each one runs without asking. > [card] [Permissions](/kepler/permissions) > > Per-tool allow, ask, and block. Command rules and the always-blocked list. # Permissions and the always-blocked list Source: https://docs.rubixkube.ai/kepler/permissions Per-tool allow, ask and block for files, shell and MCP servers, the command rules you teach Kepler, and the always-blocked list of destructive commands that no setting can unlock. Kepler has two controls and a floor. **Posture** decides how much Kepler does on its own in a conversation. **Permissions** decide, per tool, whether Kepler may use it, must ask first, or may not use it at all. The **always-blocked list** is the floor under both: a set of destructive commands that never run, whatever the posture, whatever the rule, whatever you click. Leave the defaults on to start. Files, Shell, MCP servers and Secrets all ask by default, so the first time Kepler reaches for your terminal you see exactly what it wants to run. Approve a command prefix for the session and the prompts thin out fast. Loosen one control at a time once you know what a normal session looks like. The controls only tighten. A posture cannot loosen a permission, a permission cannot loosen the floor, and Kepler cannot change any of them itself. ## Settings > Permissions Open **Settings > Permissions** (`Cmd+,`, or `/settings`). The page has four parts, top to bottom: what you have allowed for good, your command rules, the always-blocked list, and the tool switches. ![The Permissions settings page on a fresh profile. Always allowed and Your rules are both empty with a note on what fills them, the rules file path is shown, and the Always blocked list is expanded to show the first of its commands and the start of the Never trusted whole list.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/permissions-settings.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=20e7b0a7e3c654cc32abf0086531c05f) Always allowed and your rules at the top, the floor expanded below them. The tool switches follow further down the page. ### Tools Each switch is Allow, Ask or Block. Allow never means writes run freely: it lets reads through without a prompt, and writes still follow the conversation's posture. | Tool | Covers | Default | What Ask means | | - | - | - | - | | **Files** | Reading, listing and searching files in your workspace. | Ask | Every file read docks a card before it runs. | | **Shell** | Commands Kepler runs in your terminal. | Ask | Every command asks, reads included. Set this to Allow once you trust the session and want read-only commands like `kubectl get` to flow without a prompt. | | **MCP servers** | Tools from connected MCP integrations such as Grafana, AWS or PagerDuty. | Ask | Every MCP tool call asks. | | **Secrets** | Commands and files that print credentials: `env`, `git credential fill`, `.ssh`, `.aws`, `.kube`. | Ask | Asks in every posture. Kepler sees the value once, then it is masked. | The switches sit on top of posture and never loosen it. Shell on Allow in Observe still means no write command runs: Allow lets reads through without a prompt, and Observe keeps writes off the table. Shell on Ask in Yolo means Yolo asks about every command, which is the point of Ask. **Block** removes the tool. Kepler is told it is unavailable and works around it or tells you it cannot continue. > [!NOTE] > > Browser and memory tools are allowed by default. They are Kepler's own surfaces, and the browser drives only what is on screen in the Browser panel. ## Always allowed Press **Always** on an approval card and the thing you approved stops asking, in every conversation, across restarts. This section lists what you have said that about. Two kinds of entry land here: | Entry | Example | What it allows | | - | - | - | | Command prefix | `kubectl label *` | Every command starting with that verb. Saved from the **Always** button on a command approval. | | Folder | `/srv/manifests` | Kepler may reach that folder from any workspace. Saved from **Always** on the card that appears when a command reaches outside your workspace. | An entry here only removes the prompt. It never loosens the posture or the floor: Observe still runs no write, and the always-blocked list still wins. Remove an entry from its row when you no longer want it. **Always** is not offered for shells and interpreters such as `bash` or `python`, for the same reason [This session](/kepler/postures#the-approval-dock) is not: approving those would approve anything they run. ## Your rules Kepler ships with a table of what common commands do: `kubectl get` is a read, `kubectl apply` is a write, `helm list` is a read, and so on. That table decides whether a command runs silently, asks, or is refused in the current posture. When Kepler meets a command that is not in the table, it stops and shows the [unknown-command card](/kepler/postures#the-unknown-command-card). Choosing **Trust as read-only** there writes a rule, and this section is where those rules live. A rule is one line about one command shape: | Field | Example | Meaning | | - | - | - | | Binary | `argocd` | The program. Required. | | Verb | `app` | The first subcommand. Optional. Without it the rule covers every use of the binary. | | Sub-verb | `list` | The subcommand after the verb, for tools like `argocd app list`. Optional. | | Effect | Read, Write or Destructive | What that shape does. Read runs in every posture. Write follows the posture. Destructive joins the floor. | | Escalating flags | `-X --data` | Flags that turn this read into a write. `curl` is a read until it carries `-X POST`. | Rules apply everywhere at once: chat, watchers, workflows, and `!` shell mode. The table shows when each rule was added and whether it came from a card, from this page, or from a hand edit. To add one without waiting for a card, click **Add rule**, fill in the binary and optional verb and sub-verb, pick the effect, and add any escalating flags. Search the table with the box above it, sort by any column, and change a rule's effect in place from its row. ### Editing the rules file by hand The rules are a JSON file at `~/.kepler/command-rules.json`. Open it from the page and edit it in any editor. Kepler notices a changed file within a second and uses the new rules on the next command, with no restart. Two things are refused, on the page and in the file. A rule that names a command on the always-blocked list is dropped. And a rule that trusts a whole shell or interpreter, such as `bash`, `python`, `sudo` or `git`, is refused: trusting `bash` would trust every script it runs. Those binaries appear under **Never trusted whole** in the floor, and you can only write rules for specific verbs of them. ## Always blocked The **Always blocked** panel at the bottom of the page lists the floor. Click **Show list** to expand it. It has three parts: the commands that are blocked, the binaries that can never be trusted whole, and the patterns that are checked before any rule or table lookup. No posture, no rule, no per-tool Allow and no approval unlocks anything on this list. Yolo does not run these. Trusting a binary does not run these. If Kepler concludes that one of them is the right fix, it tells you it is blocked and suggests the exact command for you to run yourself. It also applies to `!` shell mode in the composer, because the floor protects the machine, not just the agent. | Family | Never runs | | - | - | | Files | `rm -r`, `rm -f`, `rmdir`, `dd if=`, `mkfs`, and any write into `/etc`, `/dev`, `/sys`, `/boot`, `/bin`, `/lib` or `/usr` | | Kubernetes | `kubectl delete`, `kubectl scale`, `kubectl drain`, `kubectl cordon`, `kubectl uncordon`, `kubectl taint`, `kubectl rollout restart`, `kubectl rollout undo`, any `kubectl` command with `--force`, `kind delete` | | Helm | `helm delete`, `helm uninstall`, `helm rollback` | | Terraform | `terraform destroy` | | Containers | `docker` and `podman` `rm`, `rmi`, `kill`, `prune`, `system prune` | | Git | `git reset --hard`, `git clean -f`, `git push --force` and `git push -f` | | Cloud CLIs | `aws ... delete`, `terminate`, `stop`, `remove`; `gcloud ... delete`; `az ... delete` | | Databases and caches | `DROP` or `TRUNCATE` of a table, database or schema; `FLUSHALL`, `FLUSHDB` | | Host | `shutdown`, `reboot`, `halt`, `poweroff` | | Windows | `Remove-Item -Recurse` or `-Force`, `del /s` and `/q`, `rmdir /s`, `format`, `diskpart`, `Stop-Computer`, `Restart-Computer`, `Clear-RecycleBin`, registry removal, `net user` and `net localgroup` add or delete | The list in the app is the one that counts for your version. This table is a summary. > [!WARNING] > > The floor is a list of commands, not of outcomes. A script you have trusted as read-only that deletes something inside it is not caught by the floor, which is why whole interpreters can never be trusted and why the effect you give a rule matters. ## How the three layers meet A single `kubectl` command passes through all three before it runs: **1. The floor** If the command matches the always-blocked list, it stops here. Kepler is told it will never run. **2. Posture** Kepler works out whether the command is a read or a write, using the built-in table with your rules on top. A read runs in any posture. A write is unavailable in Observe, asks in Assist, and runs in Yolo. A command Kepler does not recognise stops on the [unknown-command card](/kepler/postures#the-unknown-command-card) in every posture. **3. Permissions** The Shell switch is applied last and can only make things stricter. Ask adds a prompt even for a read. Block removes the shell entirely. Paths outside your workspace ask in every posture, on top of all three. Two optional pieces can make a decision stricter, never looser: * **Hooks.** A [hook](/kepler/hooks) you wrote can block a call or put it in front of you. A hook's ask is not cleared by an allow rule. A hook that answers "allow" counts as no opinion. * **The decision model.** If you picked a [decision model](/kepler/decision-model) and it is confident a command writes, a command the rules would have let through asks you instead. A "read" answer from it never skips a card. See [Workspaces](/kepler/workspace#workspaces). ## Where to go next > [card] [Postures](/kepler/postures) > > Observe, Assist and Yolo, and the approval dock. > [card] [Settings](/kepler/settings) > > Every settings page, including Tools & MCP and Secrets. > [card] [Watchers](/kepler/watchers) > > Background pollers that only ever run read-only commands. > [card] [Troubleshooting](/kepler/troubleshooting) > > When a command will not run and you do not know why. # Plugins and marketplaces Source: https://docs.rubixkube.ai/kepler/plugins Install bundles of skills, slash commands, agents, hooks, MCP servers and chat channels in one step, from a marketplace, GitHub, a git URL or a folder. See everything a plugin runs before it runs. A plugin bundles skills, slash commands, specialist agents, hooks, MCP servers and chat channels into one thing you install, update or remove together. Install one from a marketplace, a GitHub repository, a git URL or a folder on your machine. Nothing in it runs until you have seen what it contains. ## Ask Kepler for one Say what you need after `/plugins`: ``` /plugins something for terraform reviews ``` Kepler lists what you already have, searches the marketplaces you added, and proposes an install. `/plugins` on its own tells you what is installed and what is worth adding. Kepler can look at plugins in any posture. It can propose installing, updating, switching, removing a plugin or adding a marketplace only in Assist and Yolo, and each of those waits for you to confirm a card, Yolo included. The install card lists the plugin's hooks and MCP servers with the exact commands they run, then its skills, commands and agents. ## Install from Settings Open **Settings > Customize**, pick the **Plugins** chip, and choose **Add plugin**. The browser has two ways in: * **Marketplaces.** Add a marketplace once, as `owner/repo`, a git URL or a folder, and browse it any time with search and its categories. Kepler keeps a local copy. **Refresh** fetches it again. Removing a marketplace keeps the plugins you installed from it. * **From a link.** Install one plugin from a GitHub `owner/repo`, a git URL or a folder. Before anything is installed you see what the plugin contains: its hooks and MCP servers with the exact commands they run, then its skills, commands and agents. Parts Kepler does not run yet are listed too. Each installed plugin has a switch and a menu with **Settings** (when the plugin asks for any), **Check for update** and **Remove**. ## What a plugin adds | Part | Where it shows | Its name | | - | - | - | | Skills | **Customize > Skills**, under the plugin | `plugin:skill` | | Commands | The `/` menu, and **Customize > Commands** | `/plugin:command` | | Agents | **Customize > Agents**. Kepler can delegate to them. | `plugin:agent` | | Hooks | **Customize > Hooks** | As written | | MCP servers | **Settings > Tools & MCP**, tagged with the plugin's name | As written. A server of yours with the same name wins. | | Channels | **Settings > Gateway**, tagged with the plugin's name | See [Channels](/kepler/channels#add-a-channel) | Plugin items are read-only. Switch a skill or hook off, or update the plugin, to change it. A plugin's agents keep to the chat's posture. An agent that asks for shell or file tools can still change nothing in Observe. ## Plugin settings A plugin can ask for settings, such as a region, a URL or a token. Those plugins get a **Settings** action. Values marked sensitive go to your operating system keychain and are never shown again, only "Saved". A channel's own settings, such as its bot token, are asked for when you connect it on the Gateway page. ### Servers that need a sign-in A plugin's MCP server that signs in through your browser is listed in **Settings > Tools & MCP**, tagged with the plugin's name, and shows **Sign in** until you press **Connect** on its row. The install card, an update, and `/plugins` say which of a plugin's servers still need a sign-in. A plugin can declare the sign-in in its `.mcp.json` the way Claude Code reads it, with an `oauth` block: ```json theme={null} { "mcpServers": { "tracker": { "type": "http", "url": "https://mcp.tracker.example.com/mcp", "oauth": { "clientId": "abc123", "callbackPort": 3119, "scopes": "read write" } } } } ``` * `clientId` is an app the vendor registered. With one, Kepler skips registering an app of its own. * `callbackPort` is the local port the sign-in returns to. `scopes` is one space-separated string. * A server that declares nothing is asked whether it needs a sign-in, the same as one you add yourself. * Where Kepler has its own registered app for a server, such as Slack's, it signs in with that one instead, so the consent page names Kepler. A client you declare in your own `~/.kepler/mcp.json` still wins. * A malformed or unsupported `oauth` block shows **Config error**, and that server does not start. ## Trust * Nothing changes without you. Kepler can only propose, and every change waits for your card. * Kepler keeps its own copy of each plugin and records a fingerprint of its files. If those files change on disk afterwards, the plugin stops loading and shows **Changed on disk** until you review it again. Kepler's own file tools cannot write there. * **Check for update** fetches the source again. A change comes back as a review, and nothing changes until you approve it. * Plugin hooks follow the same rules as yours: they can block or ask, never approve, and commands on the [always-blocked list](/kepler/permissions#always-blocked) are refused. ## Make a plugin A plugin is a folder: ``` my-plugin/ .kepler-plugin/plugin.json name, description, version, settings, channels skills/ commands/ agents/ hooks/hooks.json .mcp.json ``` `plugin.json` is optional. Without it, Kepler reads the folders above by name. A marketplace is a repository with `.kepler-plugin/marketplace.json` listing its plugins. Inside the plugin, `${KEPLER_PLUGIN_ROOT}` is the plugin's folder and `${KEPLER_PLUGIN_DATA}` is a folder for its own state, deleted with the plugin. Hook commands and MCP servers also get both as environment variables. A setting the plugin asks for is filled into its MCP servers as `${user_config.KEY}` and reaches its hooks as `KEPLER_PLUGIN_OPTION_`. To give a plugin an icon, add `logo` or `icon` to its manifest, or put `assets/logo.svg` (or `.png`) in the plugin folder. SVG, PNG, JPEG and WebP up to 256 KB work. ### Plugins made for other agents Kepler also installs plugins and marketplaces in the Claude Code and Cursor formats. When a plugin has no `.kepler-plugin/` folder, Kepler reads `.claude-plugin/`, then `.cursor-plugin/`. The contents are the same format. Plugins you already installed for Claude Code on this machine are listed under **From Claude Code** with an **Import** button. ## Where things live | Path | What | | - | - | | `~/.kepler/plugins//` | The installed copy. | | `~/.kepler/plugin-data//` | The plugin's own state. Deleted with the plugin. | | `~/.kepler/plugins.json` | What is installed, from where, on or off, and your marketplaces. | | `~/.kepler/plugin-marketplaces//` | The local copy of each marketplace you added. | ## Where to go next > [card] [Customize](/kepler/customize) > > Where plugins and everything they bring are managed. > [card] [Hooks](/kepler/hooks) > > What a plugin's hooks can and cannot do. > [card] [Channels](/kepler/channels) > > Plugins that bring a new chat channel. > [card] [Extend Kepler](/kepler/extend) > > Integrations, skills, commands and specialists. # Postures: Observe, Assist, and Yolo Source: https://docs.rubixkube.ai/kepler/postures How much Kepler does on its own. Observe is read-only, Assist asks before every change, Yolo acts within limits. How to switch, what the approval dock asks, and what each answer remembers. Start in **Observe**. It is the default, it is read-only, and it is enough for most investigations: Kepler runs read commands, reads dashboards, and tells you what it found and what it would do. Switch to **Assist** when you want it to make a change and you want to approve each step. Use **Yolo** when you trust the task and want fewer prompts. Whatever the posture, the [always-blocked list](/kepler/permissions#always-blocked) still holds. Delete, scale, restart, `rm -rf` and their relatives never run. ## The three postures | Posture | What Kepler does on its own | What it asks you about | Use it when | | - | - | - | - | | **Observe** | Runs read-only commands, reads pages and files, recalls memory, writes a plan if you ask for one. | Nothing. Anything that would change state is not offered, so there is nothing to approve. | Triage, investigation, on-call questions, anything where you want the answer and will act yourself. | | **Assist** | Everything Observe does. | Every change: a write command, a file edit, a command Kepler does not recognise. Each one docks above the composer for a yes or no. | Applying a fix, editing a manifest, running a rollback, when you want to see each step before it runs. | | **Yolo** | Everything Assist does, plus writes, without a prompt per step. | Commands it does not recognise, paths outside your workspace, and any tool you set to Ask in [Permissions](/kepler/permissions). | A task you have done with Kepler before, in a non-production environment, or when you are watching the terminal anyway. | In Observe a write is not just gated, it is off the table: Kepler is told the tool is unavailable and advises instead. In Assist a write shows up as an approval. In Yolo it runs. ## Switching posture The posture chip sits on the composer toolbar and shows the current posture with a short hint: **Observe** read-only, **Assist** asks each step, **YOLO** acts freely. Three ways to change it: * Click the chip. It cycles Observe, Assist, Yolo, Observe. * Press `Shift+Tab` with the composer focused. Same cycle. * Type `/mode assist`, `/mode yolo` or `/mode observe`. A bare `/mode` cycles. Posture is per conversation. Changing it in one session does not touch another, and a new session starts in Observe. The one exception is a [war room](/kepler/war-room), which opens in Assist or Yolo and cannot be set to Observe: a room exists to act, and its member agents share the room's posture without being able to widen it. ![The composer with /mode typed and its argument hint, and the posture chip reading Observe, read-only, hovered. Its tooltip says Observe: Read-only. Investigate and advise; ask for a plan and it writes one. Shift+Tab to cycle.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/posture-chip.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=d0164c066d5e4f345ac8aa111c319d2a) The posture chip on the composer, here in Observe. Click it, press Shift+Tab, or type /mode. ## The approval dock When Kepler wants to do something the posture does not let it do silently, a card docks above the composer. It shows the exact command, character for character, with a `$` prompt. For a file edit it shows the diff. For a tool with no command it shows the tool name and its arguments. If the command is a write to a file, some approvals also show a preview of the change. You have four answers, in order of how long they last: | Answer | What happens | What Kepler remembers | | - | - | - | | **Run** (`Cmd+Enter`) | Runs this command, once. | Nothing. The next command asks again. | | **This session** (`Cmd+Shift+Enter`) | Runs it and allows every command starting with the same verb, such as `kubectl apply`, until this conversation ends. | The prefix, until the session ends. Not offered for shells and interpreters like `bash` or `python`, because approving those would approve anything. | | **Always** | Runs it and allows that same verb prefix from now on, in every conversation. | A rule, permanently. It shows up under **Always allowed** in **Settings > Permissions** and you can delete it there. | | **Reject** (`Esc`) | Does not run it. You can type a short note first, and Kepler takes the note as direction. | Your note, for this turn. | **Always** is the one to read twice: it is the only button here that outlives the conversation, and it applies in watchers and workflows too. **This session** is the safer habit when you just want Kepler to stop asking about the same verb for the next ten minutes. For a command Kepler does not recognise, the [unknown-command card](#the-unknown-command-card) offers **Trust as read-only**, which saves a rule of its own. Rules from either route sit in [Settings > Permissions](/kepler/permissions), in a list you can read and change later. ![The approval dock above the composer showing a kubectl label command against the staging namespace, a server dry-run preview reading deployment.apps/checkout labeled (server dry run), and four buttons: Reject, Always, This session, and Run. The posture chip reads Assist.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/approval-dock.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=206399d36bbec2ed5eaf9eac8f00323b) The dock shows the exact command, and a dry run of what it would do. Run it once, allow the verb for this session, allow it for good, or reject with a note. ## The unknown-command card Kepler knows what most commands do. When it meets a binary it does not recognise, it cannot tell whether the command is read-only, so it stops and asks rather than guessing. The card says **Unrecognised command** and names the binary. | Answer | What happens | What Kepler remembers | | - | - | - | | **Trust as read-only** | Saves a rule that this binary (or this verb of it) is read-only, then runs the command. | The rule, permanently. It applies in every conversation, in watchers, in workflows and in `!` shell mode. Change it later under **Settings > Permissions**. | | **Run once** | Runs the command with no rule saved. | Nothing. | | **Don't run** | Skips it. | Your note, if you left one. | **Run once** is offered in every posture, Observe included, whenever you are at the card. Pressing it is you running the command, not Kepler loosening its own limits, and nothing is saved. Watchers and automations never get **Run once**: nobody is at the card, so they only run commands Kepler can vouch for. With a [decision model](/kepler/decision-model) picked, the card also shows its suggestion, such as "The decision model reads it as read-only (96% sure)". You still decide. ![The Unrecognised command card for the shell command vm_stat. It says Kepler doesn't recognise vm_stat, so it can't tell if it's read-only, and that trusting it saves a rule that applies everywhere. Below a field for an optional note are three buttons: Don't run, Trust as read-only and Run once.](https://mintcdn.com/rubixkube/qklCvauT75F-xPff/images/kepler/unknown-command-card.png?fit=max\&auto=format\&n=qklCvauT75F-xPff\&q=85\&s=95e2c32352dbfaa5977622068f24b30a) Kepler names the exact part it does not know. Run once runs it with nothing saved. Trust as read-only saves a rule you can edit later under Settings > Permissions. ## A worked example Send the same prompt in two postures. ``` Checkout pods are restarting in prod. Find out why and fix it if it's config. ``` In **Observe**, Kepler runs `kubectl get pods`, `kubectl describe`, and pulls logs. It finds a bad environment variable in a ConfigMap and stops there. The reply ends with the exact `kubectl` command that would fix it, for you to run yourself, or you can ask for a plan with `/plan`. In **Assist**, Kepler does the same investigation, then docks a card with the `kubectl apply` for the corrected ConfigMap. You read the command, press `Cmd+Enter`, and it applies. Kepler then re-checks the pods and reports whether the restarts stopped. If the fix had been a `kubectl rollout restart`, the card would never appear: that command is on the always-blocked list, and Kepler tells you so and suggests you run it yourself. > [!TIP] > > Do investigations in Observe and switch to Assist only for the fix. That keeps the noisy part of the work free of prompts and puts the one prompt where it matters. ## Where to go next > [card] [Permissions](/kepler/permissions) > > Per-tool allow, ask and block, your command rules, and the always-blocked list. > [card] [The workspace](/kepler/workspace) > > Where the posture chip, the approval dock and the panels live. > [card] [Commands and shortcuts](/kepler/commands) > > /mode, /plan and the rest of the slash commands. > [card] [Workflows](/kepler/workflows) > > Prompt recipes for triage, rollbacks and runbooks. # Kepler quickstart Source: https://docs.rubixkube.ai/kepler/quickstart Go from a fresh install to your first approved change in ten minutes. Sign in, connect a model, open a workspace, ask a read-only question, then make one small change in Assist. This walkthrough takes a fresh Kepler from sign-in to a small, reviewed change against a real cluster. Every step is safe to do against production: nothing writes until step 6, and even then you approve each command. If you have not installed Kepler yet, start with [Installation](/kepler/installation). Shortcuts below use `Cmd`. On Windows and Linux, use `Ctrl`. **1. Sign in** Launch Kepler and click **Sign in to Kepler**. Your browser opens. Continue with Google, GitHub, or email, then return to the app. It picks up the session on its own. ![Kepler sign-in screen. The left side reads Find calm in the chaos. The right side has a Sign in to Kepler button and a note that you can continue with Google, GitHub, or email.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/signin.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=f8f0fe920a50dc80c6d9ba44a3305187) One step through your browser. Kepler remembers the sign-in from then on. Signing in is what unlocks the hosted Kepler models. Your conversations and memory never go to the sign-in service. To sign out later, use **Settings > General > Account**. **2. Answer three questions** Kepler asks what to call you, where you live in the stack, and what is under your watch. Pick from the chips or type your own. The answers seed your profile so Kepler talks to you like someone who runs Kubernetes, not someone who is asking what a pod is. ![Kepler onboarding scene on a dark starfield. It reads Hi, I'm Kepler, What should I call you, with a name typed in. An orbit on the right shows the name at its centre.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/onboarding-name.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=b0a3210c38be2c83af91fe1f1e87209d) The first of three questions. You can change any of them later in your profile file. ![The second onboarding question, Where do you live in the stack, with role chips including SRE, DevOps, Platform Eng and Backend. SRE is selected.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/onboarding-role.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=4f38fab239bbc1577fdf8a0ae8480969) Your role sets the altitude Kepler explains things at. ![The third onboarding question, What's under your watch, with technology chips. Kubernetes, GCP and GitHub are selected, and the orbit on the right has filled in with those systems around your name.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/onboarding-systems.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=568564621087fd72ccb1a685ac2787cf) Every system you name becomes a node in your world model. You can add more later. If you quit partway through, Kepler resumes at the same question next launch. **3. Connect a model** You land on the home screen. It greets you by name, lists what Kepler noticed on your machine, and says **Choose an AI to start**. Pick one there. Later, the model pill on the composer reads **Connect a model** whenever nothing usable is set up; click it, or type `/model`. ![The Kepler home screen after onboarding. It greets the operator by name and reports that memory is ready and that it noticed an SSH host, two clusters and gcloud. Below, the hosted Kepler model is offered alongside providers detected on the machine.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/first-run-home.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=9756b0092d2e534d76102a615febcc00) Kepler reports what it found on your machine, then lets you pick what to run on. You have two choices: * **Hosted Kepler models.** Available right away with your sign-in, no key needed. Pick `kepler-expert` and go. * **Your own key.** Open **Settings > Models > Providers** and add a key for Anthropic, OpenAI, Google (Gemini API or Vertex AI), xAI, AWS Bedrock, OpenRouter, or an OpenAI-compatible endpoint. If you pay for ChatGPT, sign in with that plan under **OpenAI Codex**. Ollama shows up under **Found on this machine** if it is running. ![The Kepler model picker open over the composer. Hosted Kepler models are listed first under your Kepler plan, then a provider group from your own plan, then Google Vertex AI under your API key. Below the list sit a Reasoning slider and a Max mode toggle for this session.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/model-picker.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=c99e162681f73a99b4bcd4725a0a84bb) Pick a model once. Kepler never switches models on its own after that. > [!NOTE] > > Keys you add stay on this machine, in your operating system's keychain. Kepler never uploads them. Whichever model you pick, Kepler keeps using it until you change it. It does not fall back to a different model when one fails. It retries the same one or tells you. **4. Open a workspace** Press `Cmd+O` and pick a folder, or type `/workspace add ` in the composer. Your infra repo or a folder with your manifests is a good first workspace. Kepler can only read and edit files inside folders you have granted. It starts with your home folder as a default workspace. When a command reaches outside the granted folders, Kepler stops and asks, and you can allow it once, for this session, or add the folder to the workspace. You do not need to hand over kubeconfigs or cloud credentials. Kepler uses whatever `kubectl`, `aws`, `gcloud`, and `ssh` already have on your machine. **5. Ask a read-only question** New conversations start in **Observe**, the read-only posture. The chip on the composer shows it. Kepler will run reads (`kubectl get`, `kubectl logs`, `describe`, log greps) without asking, and will not run anything that writes. Type something you would ask a colleague: ``` Why is checkout crashlooping in prod? ``` What you will see, in order: 1. **The thinking orbit** while Kepler works out what to check. 2. **Tool cards**, one per command. Each shows the exact command and its output. Expand any of them to read the raw text yourself. 3. **A diagnosis with evidence.** Kepler quotes the lines it is relying on (an OOMKilled event, a missing secret, a bad image tag) so you can check its reasoning against what actually ran. 4. **A suggested fix.** In Observe this is a proposal, not an action. Nothing changes until you say so. ![Kepler's reply in Observe to why checkout is crashlooping in prod. A row for each kubectl command it ran, a Not run row for a configmap patch it was not allowed to run, then a Finding that the ConfigMap provides DATABASE_URI while checkout needs DATABASE_URL, an Evidence list quoting the pod log, and a safe remediation.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/observe-answer.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=8d2b6b564088c7e140d610d730857410) Observe is read-only. Every claim points at a command you can expand, and the one write Kepler wanted shows as Not run. The fix is proposed, not applied. Try a few more while you are here: ``` What changed in the payments namespace in the last two hours? ``` ``` /triage api-gateway ``` ``` /plan bump the checkout memory limit to 1Gi and roll it out safely ``` `/plan` makes Kepler investigate and then write a reviewable plan with steps, blast radius, and rollback, and stop there. **6. Make one small change in Assist** Press `Shift+Tab` to move the posture chip from **Observe** to **Assist**, or type `/mode assist`. Assist lets Kepler act, but it asks before every change. Ask for something small and reversible: ``` Add the label owner=payments to the checkout deployment in staging. ``` Kepler runs the reads it needs, then stops. An **approval dock** slides in above the composer showing the exact `kubectl` command it wants to run, and a preview where one is available. You have four choices: * **Run**: run this one command and continue. `Cmd+Enter` does the same. * **This session**: run it, and stop asking about `kubectl label` for the rest of this conversation. `Cmd+Shift+Enter` does the same. * **Always**: run it, and allow `kubectl label` from now on in every conversation. This one saves a permanent rule, so use it only for verbs you are happy for Kepler to run unattended. * **Reject**: stop. Type a note first if you want to steer what Kepler tries next. ![The approval dock above the Kepler composer. It shows a pending kubectl label command, a server dry-run preview of its effect, and four buttons: Reject, Always, This session, and Run. The posture chip reads Assist.](https://mintcdn.com/rubixkube/EZBC58R8Zd_C4bv-/images/kepler/approval-dock.png?fit=max\&auto=format\&n=EZBC58R8Zd_C4bv-\&q=85\&s=206399d36bbec2ed5eaf9eac8f00323b) In Assist, every write pauses here. You see the exact command, and a dry run of what it would do, before it runs. Click **Run**. Kepler applies the label, verifies it with a read, and reports back. Approvals come in three lifetimes: this once, for the rest of the session, or from now on. Which ones the dock offers depends on what is pending. A command outside your workspace folders can be added to the workspace for good, and a command Kepler has never seen gets its own card with **Trust as read-only**, which saves a rule that applies everywhere. Rules live in **Settings > Permissions**. Delete, scale, restart, and `rm -rf` are never offered in any posture. ## Essential shortcuts and commands | Action | Shortcut or command | | - | - | | Cycle posture (Observe, Assist, Yolo) | `Shift+Tab` or `/mode ` | | Open a workspace folder | `Cmd+O` or `/workspace add ` | | Terminal panel | `Cmd+J` | | Browser panel | `Cmd+B` | | Editor and file tree | `Cmd+E` | | Memory panel | `Cmd+M` | | Search sessions and more | `Cmd+K` | | Toggle the sidebar | `Cmd+\` | | Settings | `Cmd+,` or `/settings` | | Switch model | `/model ` | | New session | `/new` | | Run a shell command yourself, from the composer | Start the line with `!` | | Approve the pending command | `Cmd+Enter` | | Reject the pending command | `Esc` | | See everything Kepler can do | `/help` | ## Where to go next > [card] [Postures](/kepler/postures) > > Observe, Assist, and Yolo in detail, and when to use each. > [card] [The workspace](/kepler/workspace) > > Panels, center stage, and how you and Kepler share the terminal and browser. > [card] [Permissions](/kepler/permissions) > > Per-tool switches, command rules, and the always-blocked list. > [card] [Commands](/kepler/commands) > > Every slash command, from `/investigate` to `/handoff`. # Remote access: work on other machines Source: https://docs.rubixkube.ai/kepler/remote-access Point a Kepler thread at a server, a cloud VM or a sandbox instead of your laptop. Kepler uses your own logins, asks before it uses a machine, shows which machine every command ran on, and lets you cap what it may do on each one. Kepler works on your own machine until you tell it otherwise. Turn on **Remote access** and any thread can work on a server, a cloud VM or a sandbox instead: the commands run there, the files it reads are there, and every tool row says so. Kepler never holds a password or a key. It connects the way you would, with the logins already on your machine, and opens a terminal for you when a host asks for something it cannot answer.