AI Notebooks are an interactive investigation tool in ClickStack that combines an AI agent with manual analysis. You can describe an issue in plain language, and the AI agent will query logs, traces, and metrics on your behalf — surfacing relevant data, charts, and summaries as a series of tiles. You can also add your own tiles (charts, tables, searches, and markdown notes) alongside the AI-generated output, building a complete record of an investigation.Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Managed ClickStack onlyAI Notebooks are only available in Managed ClickStack deployments.
Setup
AI Notebooks are currently in private preview in ClickHouse Cloud. AI models and providers are managed automatically by the platform. Before using AI Notebooks:- Generative AI enabled — A team admin must enable the Generative AI consent toggle. See Enabling Generative AI.
- Notebook access — Your role must have read/write permissions for Notebooks.
Enabling Generative AI
A team admin must enable the Generative AI consent toggle before notebooks (and other AI features) can be used.- Navigate to Team Settings > Security Policies.
- Toggle Generative AI to on.
- Review and accept the consent dialog.
Using AI Notebooks
Creating a notebook
- Select Notebooks from the left sidebar.
- Click New Private Notebook (visible only to you) or New Shared Notebook (visible to your team).
Running an AI investigation
At the bottom of a notebook, enter a prompt describing what you want to investigate — for example, “Why did error rates spike in the checkout service over the last hour?” Press Send (or hit Enter). The AI agent will:- Examine your available data sources.
- Run search and aggregation queries against your logs, traces, and metrics.
- Produce a series of tiles showing its thought process, the queries it ran, intermediate charts, and a final summary with conclusions.
Branching an investigation
As the AI investigates, you may notice an intermediate step that surfaces something interesting — but the agent continued down a different path. Branching lets you restart from that point with a different prompt, without losing the original investigation path. To create a branch:- Expand a thought process tile and click Restart from Here.
- In the dialog, enter a modified prompt that steers the investigation in the new direction.
- Click Interrupt & Create Branch. The AI starts a new investigation branch from that point.
Adding manual tiles
In addition to AI-generated tiles, you can add your own analysis blocks using the buttons at the bottom of the notebook:| Button | Shortcut | Description |
|---|---|---|
| Search | S | A log/trace search view, equivalent to the search page. |
| Chart | L | A time series line chart, using the same visualization builder as Dashboards. |
| Table | T | A tabular aggregation view. |
| Markdown | M | Freeform text for notes, hypotheses, or conclusions. |
If an AI investigation is currently running, adding or editing a manual tile will cancel the investigation. A confirmation dialog will appear before proceeding.
Sharing and organizing
- Private vs. Shared — Toggle the lock icon in the notebook header to switch between private (only you) and shared (visible to the team). Only the notebook creator can change this setting.
- Tags — Add tags to notebooks for easy filtering on the list page.
- Naming — Click the notebook title to rename it. If you start an investigation on an untitled notebook, the AI will suggest a name automatically.
Custom agent context
Team admins can provide additional context that is included in every AI notebook investigation for the team. This is useful for giving the AI background on your system architecture, naming conventions, or known issues. To configure this:- Navigate to Notebooks from the left sidebar.
- Open Agent Settings (available to team admins).
- Enter your custom context (up to 50,000 characters) and save.