Splunk AI/ML Toolkit Setup
Prerequisites
| Tool or access |
Purpose |
Verify |
| Bash and Python 3 |
Run bundled setup and validation helpers |
bash --version && python3 --version |
| Required product/platform access |
Inspect or configure the selected target |
Complete the documented preflight |
| Credential files for live modes |
Keep secrets out of chat |
Verify paths only |
Workflow Overview
┌───────────┐ ┌───────────────┐ ┌───────────────┐ ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘ └───────────────┘ └───────────────┘ └─────────────────┘
When to Activate
- MLTK, Splunk AI Toolkit, Machine Learning Toolkit, PSC, Python for Scientific Computing, DSDL, Deep Learning
Toolkit, Splunk anomaly detection assistants, AI Toolkit Agent Launchpad, the
aiagent command, Cisco Time
Series Model, Cisco Deep.
- Preview and review the splunk ai ml toolkit setup workflow before any live apply phase.
- Diagnose failed prerequisites, generated assets, configuration, or validation evidence.
Scope
Follow the documented read-only or render-first path whenever it is available.
This skill does not imply permission to mutate live systems. Require explicit
apply flags, protected credentials, and operator review for state changes.
Examples
Inspect the supported setup modes before selecting one:
bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh --help
Expected output: usage, supported modes, and required arguments are displayed
without changing the target environment.
Inspect validation modes before running completion checks:
bash skills/splunk-ai-ml-toolkit-setup/scripts/validate.sh --help
Expected output: offline, live, and completion options are displayed when the
skill supports them; help exits without mutation.
Troubleshooting
| Issue |
Cause |
Resolution |
| Preflight fails |
A required tool or access path is missing |
Resolve it before rendering or applying |
| Rendered assets are incomplete |
Required non-secret inputs are absent |
Complete intake and render again |
| Apply is blocked |
Review, credentials, or explicit acceptance is missing |
Use the documented handoff |
| Validation is incomplete |
Live evidence is unavailable |
Record the gap and keep completion open |
Shared add-on completion gate
Whenever this workflow installs, configures, or hands off a registry-listed
Splunk app or add-on, follow the
shared completion gate. Package delivery
alone is not success; capture applicable configuration, data/readiness, and
shipped-view evidence, or explicit package evidence that no dashboards ship.
Use this skill for Splunk-owned AI and machine-learning platform workflows
that are not Splunk AI Assistant. It owns coverage reporting, install
orchestration, compatibility validation, DSDL runtime handoffs, and migration
guidance for legacy anomaly apps.
For newer Cisco Data Fabric wording, this is the AI Toolkit / model-workflow
route. Federated search, edge/ingest pipelines, and MCP server setup remain in
their dedicated skills.
AI Toolkit Agent Launchpad is owned here. It became generally available in AI
Toolkit 6.0.0, replacing the earlier Agent Builder feature preview. It is not
Cisco Cloud Control Studio Agent Builder, which belongs to
cisco-cloud-control-setup.
Coverage Boundary
This skill covers Splunk-owned and Splunk-supported AI/ML products:
- Splunk AI Toolkit / MLTK (
Splunk_ML_Toolkit, Splunkbase 2890)
- Python for Scientific Computing (PSC) add-ons:
- Linux 64-bit (
2882, Splunk_SA_Scientific_Python_linux_x86_64)
- Windows 64-bit (
2883, Splunk_SA_Scientific_Python_windows_x86_64)
- Mac Intel (
2881, Splunk_SA_Scientific_Python_darwin_x86_64)
- Mac Apple Silicon (
6785, Splunk_SA_Scientific_Python_darwin_arm64)
- Linux 32-bit (
2884) as legacy migration/blocking coverage only
- Splunk App for Data Science and Deep Learning / DSDL (
4607,
package id mltk-container)
- AI Toolkit Smart Assistants, ML-SPL commands, model management, ONNX apply,
LLM
ai command readiness, Connections tab, Container Management tab,
external LLM/provider connection handoffs, ML alerting, and Cisco Deep Time
Series forecasting/anomaly detection readiness
- AI Toolkit Agent Launchpad readiness, generally available since
6.0.0,
including supported LLM and MCP providers, Agent Skills, the
edit_agent_connections and run_agents capabilities, the aiagent ML-SPL
command, the in-product run-history surface, and the Splunk Cloud region and
egress-allowlist prerequisites
- Cisco Time Series Model 1.0 as an available Apache-2.0 open-weight model,
kept distinct from the AI Toolkit-integrated Cisco Deep Time Series Model
and its hosted Splunk Cloud or self-hosted Enterprise paths
- Hosted foundation model readiness where available in the Splunk Platform
boundary, including Foundation-Sec and GPT-OSS review handoffs; CDTSM is not
represented as an LLM connection, and this skill never renders external
model API keys
- Legacy Splunk App for Anomaly Detection (
6843) and Smart Alerts Assistant
beta (6415) as audit and migration-only coverage
Third-party AI-tagged Splunkbase apps are out of scope unless another skill
explicitly routes them.
Splunk 10.5 Legacy Package Guardrail
Splunkbase does not list Splunk 10.5 support for PSC Linux 32-bit (2884),
Splunk App for Anomaly Detection (6843), or Smart Alerts Assistant beta
(6415). Do not install any of these three packages on a new or upgraded
Splunk 10.5 deployment. They remain in this skill only so an existing estate
can inventory dependencies and render a migration plan. Use a supported
64-bit PSC package and current Splunk AI Toolkit workflows for replacement
coverage.
Safety Rules
- Never ask for Splunk passwords, Splunkbase passwords, HEC tokens, LLM API
keys, cloud provider secrets, DSDL container credentials, or model registry
tokens in chat.
- Never pass secrets on the command line or as environment-variable prefixes.
- LLM provider credentials, HEC tokens, Splunk access tokens, Docker registry
secrets, Kubernetes kubeconfigs, and TLS key material must be file-backed or
delegated to the owning setup skill.
- Do not install legacy EOL/beta anomaly apps by default, and never install
2884, 6415, or 6843 on Splunk 10.5. Audit and migrate them to current
AI Toolkit workflows.
- Do not claim DSDL runtime automation for Docker, Kubernetes, OpenShift, HPC,
GPU, air-gapped images, Jupyter notebooks, or model governance unless the
workflow is rendered as a handoff or an owning runtime skill applies it.
- Do not report Agent Launchpad as ready from a package install alone. The
public package ships the views and the
aiagent command, but Splunk Cloud
still needs a supported AWS region plus the region's egress IP in the stack
allowlist, and Splunk Enterprise needs the Splunk Cloud Connect app.
- Do not pair AI Toolkit
6.0.2 with a PSC release below 4.3.4, and do not
downgrade the audited AI Toolkit/PSC pair based on older documentation.
- Do not conflate the open Cisco Time Series Model 1.0 release with the Cisco
Deep Time Series Model integration. Both are available, but the open model
weights, the model service, and the AI Toolkit experience remain separately
validated layers.
- Do not create or redirect the agent run-history index, and do not save
knowledge-base, MCP, LLM, or model-server credentials from this render-only
handoff.
Primary Workflow
Render and validate a complete coverage plan:
bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh \
--render --validate \
--spec skills/splunk-ai-ml-toolkit-setup/template.example \
--output-dir splunk-ai-ml-toolkit-rendered
Install or update AI Toolkit with the right PSC add-on:
bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh \
--install \
--psc-target linux64
Include DSDL package delivery and runtime handoff artifacts:
bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh \
--render --validate \
--include-dsdl \
--dsdl-runtime kubernetes \
--output-dir splunk-ai-ml-toolkit-rendered
Audit legacy anomaly apps without installing them:
bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh \
--doctor \
--legacy-anomaly-audit
Apply Model
--install renders, runs the offline structural check, delegates package
delivery, then runs a live post-install validation (skipped under
--dry-run) that confirms the PSC prerequisite is installed (a missing PSC
add-on fails) and that AI Toolkit — and DSDL when planned — are present in
Splunk. Live validation requires Splunk credentials.
--validate always renders before validating, so the offline structural
check never runs against a stale or missing rendered directory.
- Package delivery delegates to
splunk-app-install.
- Package delivery intentionally omits
--app-version so Splunkbase/ACS pulls
the latest compatible release; audited version metadata is used for reports
and regression checks, not as a live install pin.
- AI Toolkit and PSC belong on the search tier/search head cluster only.
- Install order is PSC first, AI Toolkit second, optional DSDL third.
- DSDL external runtimes are rendered handoffs by default:
docker, kubernetes, openshift, hpc, gpu, airgap, or handoff.
- Legacy Anomaly Detection and Smart Alerts beta are never part of the default
install plan; the skill emits migration reports instead.
Validation Rules
Validation must fail for:
- Unknown coverage statuses in
coverage-report.json
- AI Toolkit install plans without a selected compatible PSC target
- PSC Linux 32-bit as a new install target; on Splunk 10.5 it is inventory and
migration coverage only
- DSDL requested without AI Toolkit and PSC coverage in the same plan
- Direct-secret flags such as
--token, --api-token, --password,
--client-secret, or --llm-api-key
- Missing or unsupported upstream
product_stage values in the rendered
coverage report, including any report that fails to keep the Agent Launchpad
surfaces and integrated CDTSM at ga and open CTSM 1.0 at available for
the verified 2026-08-20 source baseline
Validation must warn for:
- DSDL Docker runtime in production because TLS, image provenance, and network
isolation must be handled by the operator
- AI Toolkit/PSC versions lower than the latest audited compatibility pair
- Any attempted Splunk 10.5 install of legacy Anomaly Detection or Smart
Alerts Assistant beta
- MLTK model objects created before the MLTK 5.3 compatibility break, which
may need retraining
- Agent Launchpad requests without a confirmed supported Splunk Cloud region
and egress allowlist entry, or without Splunk Cloud Connect on Enterprise
References
- Read
reference.md before changing product coverage, compatibility rules,
generated artifacts, or live install behavior.
- Use
scripts/render_assets.py --discover to print the built-in product
catalog and coverage surface.
1---2name: splunk-ai-ml-toolkit-setup3description: Use when the user asks about MLTK, Splunk AI Toolkit, Machine Learning Toolkit, PSC, Python for Scientific Computing, DSDL, Deep Learning Toolkit, Splunk anomaly detection assistants, AI Toolkit Agent Launchpad or the earlier Agent Builder preview, the `aiagent` command, Cisco Time Series Model, Cisco Deep Time Series Model, Smart Alerts Assistant, or AI/ML product coverage outside Splunk AI Assistant, including Cisco Data Fabric requests about AI Toolkit or machine-data model workflows. Install, render, validate, and audit Cisco Data Fabric AI Toolkit and Splunk-owned AI and machine-learning workflows beyond Splunk AI Assistant: Splunk AI Toolkit / MLTK (`Splunk_ML_Toolkit`), Python for Scientific Computing (PSC), Splunk App for Data Science and Deep Learning (DSDL), MLTK anomaly workflows, LLM/`ai` command readiness, external model runtimes, and legacy anomaly app migration.4---56# Splunk AI/ML Toolkit Setup78## Prerequisites910| Tool or access | Purpose | Verify |11|---|---|---|12| Bash and Python 3 | Run bundled setup and validation helpers | `bash --version && python3 --version` |13| Required product/platform access | Inspect or configure the selected target | Complete the documented preflight |14| Credential files for live modes | Keep secrets out of chat | Verify paths only |1516## Workflow Overview1718```text19┌───────────┐ ┌───────────────┐ ┌───────────────┐ ┌─────────────────┐20│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │21└───────────┘ └───────────────┘ └───────────────┘ └─────────────────┘22```2324## When to Activate2526- MLTK, Splunk AI Toolkit, Machine Learning Toolkit, PSC, Python for Scientific Computing, DSDL, Deep Learning27 Toolkit, Splunk anomaly detection assistants, AI Toolkit Agent Launchpad, the `aiagent` command, Cisco Time28 Series Model, Cisco Deep.29- Preview and review the splunk ai ml toolkit setup workflow before any live apply phase.30- Diagnose failed prerequisites, generated assets, configuration, or validation evidence.3132## Scope3334Follow the documented read-only or render-first path whenever it is available.35This skill does not imply permission to mutate live systems. Require explicit36apply flags, protected credentials, and operator review for state changes.3738## Examples3940Inspect the supported setup modes before selecting one:4142```bash43bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh --help44```4546Expected output: usage, supported modes, and required arguments are displayed47without changing the target environment.4849Inspect validation modes before running completion checks:5051```bash52bash skills/splunk-ai-ml-toolkit-setup/scripts/validate.sh --help53```5455Expected output: offline, live, and completion options are displayed when the56skill supports them; help exits without mutation.5758## Troubleshooting5960| Issue | Cause | Resolution |61|---|---|---|62| Preflight fails | A required tool or access path is missing | Resolve it before rendering or applying |63| Rendered assets are incomplete | Required non-secret inputs are absent | Complete intake and render again |64| Apply is blocked | Review, credentials, or explicit acceptance is missing | Use the documented handoff |65| Validation is incomplete | Live evidence is unavailable | Record the gap and keep completion open |6667## Shared add-on completion gate6869Whenever this workflow installs, configures, or hands off a registry-listed70Splunk app or add-on, follow the71[shared completion gate](../shared/ta_completion_gate.md). Package delivery72alone is not success; capture applicable configuration, data/readiness, and73shipped-view evidence, or explicit package evidence that no dashboards ship.7475Use this skill for Splunk-owned AI and machine-learning platform workflows76that are not Splunk AI Assistant. It owns coverage reporting, install77orchestration, compatibility validation, DSDL runtime handoffs, and migration78guidance for legacy anomaly apps.7980For newer Cisco Data Fabric wording, this is the AI Toolkit / model-workflow81route. Federated search, edge/ingest pipelines, and MCP server setup remain in82their dedicated skills.8384AI Toolkit Agent Launchpad is owned here. It became generally available in AI85Toolkit `6.0.0`, replacing the earlier Agent Builder feature preview. It is not86Cisco Cloud Control Studio Agent Builder, which belongs to87`cisco-cloud-control-setup`.8889## Coverage Boundary9091This skill covers Splunk-owned and Splunk-supported AI/ML products:9293- Splunk AI Toolkit / MLTK (`Splunk_ML_Toolkit`, Splunkbase `2890`)94- Python for Scientific Computing (PSC) add-ons:95 - Linux 64-bit (`2882`, `Splunk_SA_Scientific_Python_linux_x86_64`)96 - Windows 64-bit (`2883`, `Splunk_SA_Scientific_Python_windows_x86_64`)97 - Mac Intel (`2881`, `Splunk_SA_Scientific_Python_darwin_x86_64`)98 - Mac Apple Silicon (`6785`, `Splunk_SA_Scientific_Python_darwin_arm64`)99 - Linux 32-bit (`2884`) as legacy migration/blocking coverage only100- Splunk App for Data Science and Deep Learning / DSDL (`4607`,101 package id `mltk-container`)102- AI Toolkit Smart Assistants, ML-SPL commands, model management, ONNX apply,103 LLM `ai` command readiness, Connections tab, Container Management tab,104 external LLM/provider connection handoffs, ML alerting, and Cisco Deep Time105 Series forecasting/anomaly detection readiness106- AI Toolkit Agent Launchpad readiness, generally available since `6.0.0`,107 including supported LLM and MCP providers, Agent Skills, the108 `edit_agent_connections` and `run_agents` capabilities, the `aiagent` ML-SPL109 command, the in-product run-history surface, and the Splunk Cloud region and110 egress-allowlist prerequisites111- Cisco Time Series Model 1.0 as an available Apache-2.0 open-weight model,112 kept distinct from the AI Toolkit-integrated Cisco Deep Time Series Model113 and its hosted Splunk Cloud or self-hosted Enterprise paths114- Hosted foundation model readiness where available in the Splunk Platform115 boundary, including Foundation-Sec and GPT-OSS review handoffs; CDTSM is not116 represented as an LLM connection, and this skill never renders external117 model API keys118- Legacy Splunk App for Anomaly Detection (`6843`) and Smart Alerts Assistant119 beta (`6415`) as audit and migration-only coverage120121Third-party AI-tagged Splunkbase apps are out of scope unless another skill122explicitly routes them.123124## Splunk 10.5 Legacy Package Guardrail125126Splunkbase does not list Splunk 10.5 support for PSC Linux 32-bit (`2884`),127Splunk App for Anomaly Detection (`6843`), or Smart Alerts Assistant beta128(`6415`). Do not install any of these three packages on a new or upgraded129Splunk 10.5 deployment. They remain in this skill only so an existing estate130can inventory dependencies and render a migration plan. Use a supported13164-bit PSC package and current Splunk AI Toolkit workflows for replacement132coverage.133134## Safety Rules135136- Never ask for Splunk passwords, Splunkbase passwords, HEC tokens, LLM API137 keys, cloud provider secrets, DSDL container credentials, or model registry138 tokens in chat.139- Never pass secrets on the command line or as environment-variable prefixes.140- LLM provider credentials, HEC tokens, Splunk access tokens, Docker registry141 secrets, Kubernetes kubeconfigs, and TLS key material must be file-backed or142 delegated to the owning setup skill.143- Do not install legacy EOL/beta anomaly apps by default, and never install144 `2884`, `6415`, or `6843` on Splunk 10.5. Audit and migrate them to current145 AI Toolkit workflows.146- Do not claim DSDL runtime automation for Docker, Kubernetes, OpenShift, HPC,147 GPU, air-gapped images, Jupyter notebooks, or model governance unless the148 workflow is rendered as a handoff or an owning runtime skill applies it.149- Do not report Agent Launchpad as ready from a package install alone. The150 public package ships the views and the `aiagent` command, but Splunk Cloud151 still needs a supported AWS region plus the region's egress IP in the stack152 allowlist, and Splunk Enterprise needs the Splunk Cloud Connect app.153- Do not pair AI Toolkit `6.0.2` with a PSC release below `4.3.4`, and do not154 downgrade the audited AI Toolkit/PSC pair based on older documentation.155- Do not conflate the open Cisco Time Series Model 1.0 release with the Cisco156 Deep Time Series Model integration. Both are available, but the open model157 weights, the model service, and the AI Toolkit experience remain separately158 validated layers.159- Do not create or redirect the agent run-history index, and do not save160 knowledge-base, MCP, LLM, or model-server credentials from this render-only161 handoff.162163## Primary Workflow164165Render and validate a complete coverage plan:166167```bash168bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh \169 --render --validate \170 --spec skills/splunk-ai-ml-toolkit-setup/template.example \171 --output-dir splunk-ai-ml-toolkit-rendered172```173174Install or update AI Toolkit with the right PSC add-on:175176```bash177bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh \178 --install \179 --psc-target linux64180```181182Include DSDL package delivery and runtime handoff artifacts:183184```bash185bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh \186 --render --validate \187 --include-dsdl \188 --dsdl-runtime kubernetes \189 --output-dir splunk-ai-ml-toolkit-rendered190```191192Audit legacy anomaly apps without installing them:193194```bash195bash skills/splunk-ai-ml-toolkit-setup/scripts/setup.sh \196 --doctor \197 --legacy-anomaly-audit198```199200## Apply Model201202- `--install` renders, runs the offline structural check, delegates package203 delivery, then runs a **live** post-install validation (skipped under204 `--dry-run`) that confirms the PSC prerequisite is installed (a missing PSC205 add-on fails) and that AI Toolkit — and DSDL when planned — are present in206 Splunk. Live validation requires Splunk credentials.207- `--validate` always renders before validating, so the offline structural208 check never runs against a stale or missing rendered directory.209- Package delivery delegates to `splunk-app-install`.210- Package delivery intentionally omits `--app-version` so Splunkbase/ACS pulls211 the latest compatible release; audited version metadata is used for reports212 and regression checks, not as a live install pin.213- AI Toolkit and PSC belong on the search tier/search head cluster only.214- Install order is PSC first, AI Toolkit second, optional DSDL third.215- DSDL external runtimes are rendered handoffs by default:216 `docker`, `kubernetes`, `openshift`, `hpc`, `gpu`, `airgap`, or `handoff`.217- Legacy Anomaly Detection and Smart Alerts beta are never part of the default218 install plan; the skill emits migration reports instead.219220## Validation Rules221222Validation must fail for:223224- Unknown coverage statuses in `coverage-report.json`225- AI Toolkit install plans without a selected compatible PSC target226- PSC Linux 32-bit as a new install target; on Splunk 10.5 it is inventory and227 migration coverage only228- DSDL requested without AI Toolkit and PSC coverage in the same plan229- Direct-secret flags such as `--token`, `--api-token`, `--password`,230 `--client-secret`, or `--llm-api-key`231- Missing or unsupported upstream `product_stage` values in the rendered232 coverage report, including any report that fails to keep the Agent Launchpad233 surfaces and integrated CDTSM at `ga` and open CTSM 1.0 at `available` for234 the verified 2026-08-20 source baseline235236Validation must warn for:237238- DSDL Docker runtime in production because TLS, image provenance, and network239 isolation must be handled by the operator240- AI Toolkit/PSC versions lower than the latest audited compatibility pair241- Any attempted Splunk 10.5 install of legacy Anomaly Detection or Smart242 Alerts Assistant beta243- MLTK model objects created before the MLTK 5.3 compatibility break, which244 may need retraining245- Agent Launchpad requests without a confirmed supported Splunk Cloud region246 and egress allowlist entry, or without Splunk Cloud Connect on Enterprise247248## References249250- Read `reference.md` before changing product coverage, compatibility rules,251 generated artifacts, or live install behavior.252- Use `scripts/render_assets.py --discover` to print the built-in product253 catalog and coverage surface.