VM0VM0
Integration

Axiom

Cloud-native observability platform for logs and analytics

Axiom is a cloud-native observability platform for storing, querying, and analyzing log and event data at scale using APL (Axiom Processing Language).

Required Environment

NameTypeDescription
AXIOM_API_TOKENsecretAPI token from Axiom Settings
AXIOM_PERSONAL_ACCESS_TOKENsecretPersonal access token for full account access (optional)
AXIOM_ORG_IDvarOrganization ID (required when using PAT)

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    provider: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/axiom

Run

vm0 run my-agent "query error logs from last hour" \
  --secrets AXIOM_API_TOKEN=xaat-xxx

Example Instructions

AGENTS.md
# Log Analysis Agent

You use Axiom to analyze application logs and events.

## Workflow

1. Receive log query requirements
2. Construct APL query for the dataset
3. Execute query and analyze results
4. Summarize findings and anomalies

## APL Query Examples

- Filter by level: `["logs"] | where level == "error"`
- Count by group: `["logs"] | summarize count() by service`
AGENTS.md
# Metrics Ingestion Agent

You use Axiom to ingest metrics and events.

## Workflow

1. Collect metrics data from the application
2. Format data as JSON array
3. Ingest to the appropriate dataset
4. Verify ingestion success

## Guidelines

- Batch events for better performance
- Include timestamps in events
- Use appropriate dataset names