On this page
Obi AI Assistant
Ask questions about your logs, dashboards and alert rules, and have Obi build dashboards and alerts that you approve first, using your own Anthropic or OpenAI account.
The Obi AI Assistant adds Ask Obi to the sidebar: a chat that answers questions about your workspace's logs and the things you have set up in it - dashboards, alert rules and saved queries.
- It shows its work. When an answer rests on a query, the query, its time range and its result appear in the conversation, with a link that opens the same search in the Explorer.
- It can make changes, and you approve every one. Obi can create and update dashboards and alert rules, silence an alert rule, and add, pause, resume, rename or remove a data input. Each change appears as a card showing exactly what will change. Nothing happens until you click Approve, and Obi can never do anything your own role cannot.
- It builds dashboards from a search. After running a search in the Explorer, click Generate dashboard. Obi drafts panels from that search, shows them live, and saves the dashboard only when you approve it.
- It changes the dashboard you are editing. In a dashboard's editor, click Ask Obi and describe the change - add a panel, fix a query, retitle everything. Each change arrives as an approval card, and the dashboard reloads with it once you approve.
- It reads search results for you. End any search with
| askObiand the results go to your AI model with a prompt; the answer comes back as a table of findings with a severity each. Use a prebuilt prompt -| askObifor anything you need to know,| askObi anomalies,| askObi security- or your own:| askObi "Which customers had a payment fail twice?". It works in saved queries, and in alert rules: a rule ending in| askObicounts the findings (low severity and above, or whatseverity=sets), so a condition of more than 0 fires whenever Obi reports something. Such rules are checked at most every 5 minutes. See the ObiQL reference for the options.
Obi cannot delete anything, and it cannot read or build anything over audit data.
The AI agents your team already uses - Claude Code, Cursor, VS Code Copilot and other MCP clients - can use Obi's tools with or without this add-on: they query the workspace, and with a full-access token they propose changes that you approve in ObiStack, as you would Obi's. See Connect AI agents (MCP).
Turn it on
A workspace Owner or Admin turns Obi on from Add-ons, then opens Ask Obi > Settings to choose:
-
AI connection. If your platform offers Obi AI, Obi works with it straight away: there is nothing to set up and no provider account to pay for. Choose Your own AI provider instead to use your own account. Some platforms turn Ask Obi on for every workspace; you can still turn it off from Add-ons, and it stays off.
-
Provider and model (your own AI provider). Anthropic (Claude) or OpenAI, and a model. Obi uses your own account: enter an API key, which is stored encrypted and never shown again.
-
Test connection sends one short request to check the key and model.
-
Advanced settings (optional). Set a custom API endpoint if your requests go through your own gateway or proxy in front of the provider. It must be an https address on the public internet. Enter the API key again when you change it. Leave it empty to use the provider's standard endpoint.
Control what it can do
Only a workspace Owner can change these:
-
Who can use Obi. Tick the built-in roles and custom roles that may use it. Owners can always use it.
-
Data sent to the AI model. How much of your log data Obi may send to the provider when it answers:
- Schema only: field names, types and configuration. Obi can write queries, dashboards and alerts but cannot see results.
- Schema and aggregates (the default): also counts, rates, percentiles and timecharts, with their group-by values. No individual log lines.
- Schema, aggregates and sample events: also up to 20 example log lines
per query, with long values cut short. A search ending in
| askObiover individual log lines sends the rows it asks for (200 unless it setsrows=), also with long values cut short; at the other levels it needs an aggregate, such as| stats count() by service | askObi.
Each person can choose less for their own conversations from the chat header. People always see full results in the conversation; the level only limits what leaves the platform.
-
Spending limits. A monthly limit for the workspace (50 USD when Obi is first set up) and, optionally, one per person, with per-person exceptions set from Usage. Spend is estimated from list prices. When a limit is reached, Obi stops until the next month or until an Owner raises it.
Investigate alerts
Obi can start looking into an incident the moment an alert rule opens it, so the first findings are waiting when someone opens the page.
Set it up. Open the alert rule, expand Incidents, and tick Investigate with Obi when this rule opens an incident. The option appears only while the Obi add-on is on, and it is off for every rule until you turn it on.
What happens when the rule fires. When the rule opens a new incident, Obi runs one investigation for it:
- It works with the access of the rule's owner (the person who created it): their role and their data access, nothing more. If the owner has left the workspace, or their role is not allowed to use Obi, there is no investigation and the incident says why.
- It only reads in ObiStack. It checks the rule, runs queries and reads the docs, but it never creates, changes or silences anything. When a change would help, such as a higher threshold, it describes it as a suggested fix. The one exception is a connection an Owner or Admin marked for investigations: Obi may use its tools that run without asking, for example to open a fix task in your task manager.
- Its summary, findings, suggested fix and the queries it ran appear on the incident under Obi investigation, for everyone who can see the incident. Open in Explorer reruns a query with your own access.
- The rule's email, Slack and webhook notifications get a short follow-up with the summary and a link to the incident, including the destinations in the rule's notification groups. PagerDuty is not paged again.
What changed before it started. With the Code Observability add-on on, an investigation can also check the builds and deploys of the affected services in the hours before the incident:
- A deploy is a service starting to report a new
service.versionorvcs.ref.head.revisionin its telemetry. For each one, Obi compares the service's error rate and p95 latency over the 30 minutes before and after, and says whether the change lines up with the problem. - A build is a CI build Code Observability recorded for a repository seen running on those services in the last 7 days, or for the commit a service started reporting.
- A finding that relies on a build cites it (commit, version and time) with a link to the repository's builds in the Code area.
Know the limits before you rely on it. A service that reports neither attribute shows builds but no deploys. A runtime that reports only its image digest is not seen as a deploy. Fewer than 20 records on either side of a deploy, and Obi draws no conclusion. And lining up in time is a lead, not proof of cause. With the Code Observability add-on off, Obi does not have this check at all.
Continue it. Click Continue in Ask Obi on the incident. The rule's owner picks up the investigation's own conversation; anyone else gets a new conversation of their own that starts from Obi's findings, and everything Obi runs there uses their access. To apply a suggested fix, ask Obi for it there: it appears as an approval card, as every Obi change does.
What the model sees. The same as in Ask Obi, at your workspace's data setting: the incident's title and start time, the rule's name, query and condition, and the results of the queries Obi runs. With Schema and aggregates, that means counts and breakdowns but no individual log lines.
Cost. Each investigation counts toward the workspace's monthly limit and the rule owner's own limit, like an Ask Obi question. To keep a noisy rule from running up a bill:
- Obi investigates once per incident. Firings that join an open incident do not start another.
- A rule that is flapping, or that already had an investigation in the last 30 minutes, is not investigated again.
- A workspace runs at most 10 investigations an hour.
Agents
An agent is a standing job for Obi: a prompt it runs on a schedule over the results of a search, with the answer kept on the agent's page and, if you like, sent to email, Slack, PagerDuty or a webhook. Open Assistant > Agents and click + New agent:
- Prompt. What to look for, in plain words: "what broke overnight and what should we look at first".
- Base query. The search whose results Obi reads, typed or picked from a
saved query, over a rolling window (the last 24 hours, say). Summarise it
with
| statsunless your workspace shares sample events with Obi. - Schedule. Hourly, daily, weekdays, weekly, monthly or a cron expression, in a time zone you choose, at most once an hour.
- When to send. Every run, or only when Obi reports something at or above a severity you choose. Send to the agent's own destinations, to notification groups, or both. With no destinations, the answer stays on the agent's page.
Each run is kept on the agent's page, newest first: open one to read Obi's
summary and its findings, each with a severity. Run now tries the agent
straight away. An agent runs as the person who last saved it, with their
access and against their spending limit, and each run costs about the same
as one | askObi search.
Connect your tools
Obi can use tools from other systems your team works in, such as a task manager, a ticketing system or a spreadsheet, through their remote MCP servers. Obi finds the problem in your logs, then acts where you work: it opens the fix task or logs the finding for you. Open Assistant > Connections and click + Add connection:
- Server. The server's https address and how Obi signs in: OAuth, HTTP headers such as an API key, or no authentication. With OAuth, a workspace connection can share one sign-in or have each person sign in with their own account.
- Who can use it. An Owner or Admin adds workspace connections and picks the roles that may use them. Owners and Admins can also let members add connections of their own, which only they can use.
- Tools. For each tool the server offers, choose Run without asking, Ask first (an approval card, like every Obi change) or Off. Tools the server marks read-only start as run without asking, the rest as ask first.
- Alert investigations can use it. Lets an alert investigation use the connection's tools that run without asking, so it can open a fix task when it finds the cause.
Each tool call is recorded with the tool's name and whether a person approved it, never what was sent.
What is recorded
Conversations are private to the person who had them, and they can delete
them. With Activity & Security History on, each question asked is recorded
with its token count and estimated cost - never the question or the answer -
as is each search that sent results to the model with | askObi and each
alert investigation, which is recorded as the rule owner's question. Spend on
| askObi counts toward the same limits: a search's to the person who ran it,
an alert rule's to the person who created it.
Every change Obi made is recorded as the person who approved it, marked
"via Obi".