Docs
DocumentationQuery ReferenceAPI Reference
Open Console→→
DocumentationQuery ReferenceAPI Reference

Platform overview

What is Axiom?QuickstartArchitectureFeatures
Fundamentals
Datasets
Edge deployments
Limits
Performance
Optimize usage
Requirements
Semantic conventions
Glossary
Tour
SecurityRoadmap

Send data

Reference architecturesMethods

Understand data

Console
Query
Builder
Editor
Query results
Visualize
Traces
Metrics
Correlations
Save queries
Stream
Dashboard
Create
Elements
Create
Configure
Element types
Gauge
Heatmap
Log stream
Monitor list
Note
Pie chart
Scatter plot
Statistic
Table
Time series
Sections
Configure
Filter
Annotate
Monitor
Overview
View status
Configure
Examples
Monitor types
Anomaly
Match
Threshold
Alerting
Overview
Configure
Notifier types
Custom Webhook
Discord
Email
Microsoft Teams
Opsgenie
PagerDuty
Slack
Manage
Datasets
Overview
Views
Virtual fields
Access
RBAC
Tokens
CLI
Organization
Audit log
Settings
Usage and billing
Profile
Extend
Overview
AWS Lambda
AWS PrivateLink
Cloudflare Workers
Cloudflare Logpush
Convex
Grafana
Hex
Netlify
Supabase
Tailscale
Terraform
Unkey
Vercel
Intelligence
Overview
Spotlight
AI agents
Overview
MCP Server
Query cost limits
Agent-created orgs
Skills
Overview
Axiom alerting
Build dashboards
Control costs
Query metrics
SRE
Translate SPL to APL
Splunk
Overview
Splunk app
Install and configure
Commands
Examples
Portal
How it works
Set up standard mode
Set up transparent mode
Observability Cloud
SPL command support
Examples
Monitor and troubleshoot

Use cases

ObservabilityProduct analytics
LLM observability
Overview
Use Axiom AI SDK
Manual instrumentation
GenAI attributes
Redaction policies

Miscellaneous

LLMs
Overview
List of docs pages
Full docs
Query reference
FAQs
Legal
Acceptable use policy
Cookies
Data processing
HIPAA
Partner agreement
Partner program guide
Privacy policy
SLA
Terms of service
Terms of use
Understand data/AI agents

System Reliability Engineering (SRE) skill

This page explains how to use the SRE skill to give AI coding agents expert investigation capabilities for incidents and debugging.

The SRE skill turns AI agents into expert SRE investigators:

  • Investigation methodology: Hypothesis-driven debugging with systematic triage using Golden Signals and USE/RED methods
  • APL query patterns: Reference materials for constructing effective Axiom queries
  • Memory system: Persistent storage that learns from debugging sessions, capturing what works and what doesn't
  • API helpers: Scripts for querying Axiom directly from the agent

Prerequisites

  • Create an Axiom account.
  • Create a dataset in Axiom where you send your data.
  • Create an API token in Axiom with permissions to ingest data to the dataset you have created.

Install Axiom Skills

Install all Axiom skills at once for Claude Code, Cursor, and other Claude-compatible agents:

shell
npx skills add axiomhq/skills

Configure Axiom credentials

All Axiom Skills share the same credential configuration. Create a configuration file at ~/.axiom.toml:

TOML
[deployments.dev]
url = "https://api.axiom.co"
token = "API_TOKEN"
org_id = "ORGANIZATION_ID"
edge_url = "AXIOM_DOMAIN"
Info

Replace API_TOKEN with the Axiom API token you have generated. For added security, store the API token in an environment variable.

Replace ORGANIZATION_ID with your organization ID. For more information, see Determine organization ID.

Replace AXIOM_DOMAIN with the base domain of your edge deployment. For more information, see Edge deployments.

For token creation and scoping guidance, see Token hygiene for AI agents.

Use SRE skill

The SRE skill activates automatically when you ask your AI agent about:

  • Incident response and debugging
  • Root cause analysis
  • Log investigation
  • Production troubleshooting

Example prompts:

  • "Investigate why API latency increased in the last hour"
  • "Find the root cause of the 500 errors in production"
  • "Analyze error patterns in the logs dataset"

Memory system

The SRE skill learns from every debugging session. The memory system initializes automatically on first use. Memory persists at ~/.config/amp/memory/axiom-sre/ (global) or .agents/memory/axiom-sre/ (project/local).

Tell the agent to remember things

  • Remember this for next time.
  • Save this query, it worked.
  • Add to memory: the orders team uses #orders-oncall.

Learn automatically

The SRE skill automatically captures what works and what doesn't when:

  • A query or approach finds the root cause.
  • You correct it, and it records what didn't work and what did.
  • A debugging session completes successfully.

Customize with your own knowledge

Customize the SRE skill by adding your own knowledge to the knowledge base files:

  • kb/facts.md: Team contacts, Slack channels, conventions.
  • kb/integrations.md: Database connections, API endpoints.
  • kb/patterns.md: Failure patterns you've seen before.
Was this page helpful?
Suggest edits on GitHub
PreviousQuery metrics skillNextTranslate SPL to APL skill
On this page
Use SRE skillMemory systemTell the agent to remember thingsLearn automaticallyCustomize with your own knowledge