Add dashboards and visualizations docs for Agent Builder 9.4#5915
Conversation
Add new page documenting how agents create, edit, and save dashboards and Lens visualizations through chat. Uncomment dashboard tools and create_visualization tool in the built-in tools reference. Add cross-reference from core dashboard docs. Closes elastic/docs-content-internal#1008 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
teresaalvarezsoler
left a comment
There was a problem hiding this comment.
Thanks @leemthompo. I left a few comments. I think we should also mention somewhere that dashboards are considered attachements, i.e., dashboards are inputs as well as outputs, the agent can reason about the panels you are looking at
|
|
||
| Agents create [{{esql}}](/explore-analyze/query-your-data-with-esql.md)-powered [Lens](/explore-analyze/visualize/lens.md) visualizations. If a dashboard contains DSL-based Lens panels, the agent asks to replace them with {{esql}} equivalents when making changes. | ||
|
|
||
| Agents can also create markdown panels and collapsible sections. |
There was a problem hiding this comment.
More panel types like controls coming soon.
There was a problem hiding this comment.
how soon is soon? does it make sense to tease here, or wait till they land?
There was a problem hiding this comment.
We could maintain a summarized list like this to avoid some users experiencing "bad" surprises? (maybe some are wrong there like already supported or not even planned, that's just for the idea)
| Panel type | Agent support |
|---|---|
| Visualizations (ES|QL-based) | Supported |
| Markdown text | Supported |
| Collapsible sections | Supported |
| Maps | Planned |
| Controls (all types) | Planned |
| Images | Planned |
| Links | Planned |
| Discover sessions | Planned |
| Alerts | Planned |
| Observability (SLO, synthetics) | Planned |
| Machine Learning (AIOps) | Planned |
There was a problem hiding this comment.
We are planning to add controls and links support before 9.5. Other like maps will take much more time.
There was a problem hiding this comment.
I haven't added anything yet but lemme know what you think, page is close to finish line now
florent-leborgne
left a comment
There was a problem hiding this comment.
This LGTM besides Teresa's comments. I created #5927 as companion PR to summarize all of the new "programmatic" ways to work with dashboards in the dashboards docs
…e warning - Rename to agent-builder-dashboards-and-visualizations.md - Remove Lens references per PM feedback (use "visualizations" instead) - Replace DSL terminology with "data view-based" and link to data view docs - Add important admonition: saving overwrites existing saved dashboard - Note that dashboards are inputs and outputs (agent reasons about panels) - Update create_visualization tool description from Kibana source - Update all inbound links and toc.yml Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
thanks @teresaalvarezsoler @florent-leborgne! I've addressed your comments, wired up screenshots and improved the IA a little bit in 4860d00 should be close to mergable now methinks I updated the screenshot, needs to be clicked on to see proper aspect ratio :D |
teresaalvarezsoler
left a comment
There was a problem hiding this comment.
Thanks @leemthompo for the changes. looks good to me!
### Contributes to elastic/docs-content-internal#1041 closes elastic/docs-content-internal#1008 > [!NOTE] > Dashboards component was approved in #5915 ## 👀 [URL preview](#5868 (comment)) ## Summary - Adds three new pages for the Agent Builder skills feature: `skills.md` (overview), `skill-creation-guidelines.md` (guidelines), and `builtin-skills-reference.md` (reference) - Adds Skills APIs section to `kibana-api.md` with examples for all five CRUD operations - Cross-links skills into `prompt-engineering.md`, `tools.md`, and `builtin-tools-reference.md` - Wires all new pages into `toc.yml` ## New pages **`skills.md`** — Overview: what skills are, how agents use them, built-in vs custom, create via UI and API, add to agent, Skills API list. **`skill-creation-guidelines.md`** — Structured guidance for writing effective skill descriptions and instructions. Covers deciding where to put instructions (skill vs system prompt), writing clear and semantically distinct descriptions, structuring instructions with trigger conditions and edge cases, scoping each skill to one task, using `referenced_content`, assigning only relevant tools, and testing the skill. Includes annotated code examples throughout. **`builtin-skills-reference.md`** — Full reference listing all located built-in skills with inline `applies_to` tags, section-level serverless scoping, `$$$anchor-ids$$$` for deep linking, and an inline tools section. ## Open items - 6 `search.*` skills (ES project): source files not yet located in Kibana — descriptions are from UI only, tools unconfirmed - `dashboard-management`: confirm whether the Experimental flag applies in all projects or only Security - `observability.rca`: confirm GA vs preview — marked `experimental: true` in Kibana source - `observability.investigation`: commented out pending [elastic/kibana#262293](elastic/kibana#262293) --------- Co-authored-by: Kenneth Kreindler <42113355+KDKHD@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com>
Summary
dashboards-and-visualizations.mdpage documenting how agents create, edit, and save dashboards and Lens visualizations through chatdashboard.create_dashboard,dashboard.update_dashboard) andplatform.core.create_visualizationin built-in tools referencecreate-dashboard.md)chat.mdpointing to the new pagetoc.ymlas a child ofchat.mdCloses elastic/docs-content-internal#1008
Note: Screenshot placeholders are wired up in the new page. Image files still need to be added to
explore-analyze/ai-features/agent-builder/images/:agent-builder-dashboard-canvas-preview.pngagent-builder-dashboard-save-dialog.pngagent-builder-dashboard-outdated-notification.pngTODO
🤖 Generated with Claude Code
Preview (click on me)