Skip to main content
:::info Looking for the Non-CLI version? This version includes CLI support with interactive prompts and animations. If you prefer using the Python pipeline directly without the CLI, switch to the Non-CLI version. :::

Live Log Insight

An intelligent agent skills system that analyzes logs, detects anomalies, and produces actionable insights β€” using composable skills, not monolithic prompts.

Powered By

What is Live Log Insight?

Live Log Insight is a modular Agent Skills system designed for automated log analysis. It orchestrates specialized skills to transform raw logs into meaningful insights for operators and developers. Unlike traditional monitoring tools, it uses an AI-powered pipeline that can understand context, detect anomalies, and suggest actions.

Key Features

  • πŸ” Automated Discovery: Automatically identifies log sources across environments
  • πŸ“Š Intelligent Parsing: Normalizes diverse log formats into structured events
  • πŸ“ˆ Pattern Recognition: Aggregates logs to identify trends and metrics
  • 🚨 Anomaly Detection: Detects spikes, new errors, and unusual behavior
  • πŸ’‘ Root Cause Analysis: Generates plausible hypotheses for detected issues
  • πŸ“ Actionable Summaries: Produces clear, human-readable reports
  • βœ… Smart Recommendations: Suggests concrete next steps for operators

Architecture

The system follows a sequential pipeline workflow:
Live Log Insight Workflow
Each stage is implemented as a modular skill, making the system flexible and extensible.

When to Use

Activate Live Log Insight when:
  • User requests log analysis or system health insights
  • Daily/weekly operational summaries are needed
  • Investigating incidents, spikes, or unusual behavior
  • Monitoring production or staging systems
  • Troubleshooting application errors

Quick Example

Interactive CLI Mode

# Enter interactive CLI mode (default)
uv run run_cli.py

# Or use the -i flag
uv run run_cli.py -i
This will show an interactive menu with options to:
  • View system status
  • Run log analysis
  • Perform quick health checks
  • Discover log sources
  • Export results
  • Run analysis wizard
  • And more…

Direct Command Mode

# Run a complete log analysis pipeline
uv run run_cli.py analyze

# Show system status
uv run run_cli.py status

# Quick health check
uv run run_cli.py quickcheck

# Discover log sources
uv run run_cli.py discover

# Export results
uv run run_cli.py export --format json

# Run analysis wizard
uv run run_cli.py wizard

Available CLI Commands

CommandDescription
statusShow system status and configuration
analyzeRun the complete log analysis pipeline
quickcheckQuick health check
discoverDiscover available log sources
exportExport results (json/yaml/markdown)
wizardInteractive analysis wizard
verifyVerify installation and dependencies
demo-promptsDemonstrate interactive prompts
The pipeline will:
  1. Discover available log sources
  2. Fetch logs from the specified time range
  3. Parse and normalize log entries
  4. Aggregate metrics and patterns
  5. Detect anomalies
  6. Generate hypotheses (optional)
  7. Create a summary report
  8. Recommend next steps

Supported Log Sources

  • Filesystem: /var/log and custom paths
  • Elasticsearch: Index-based log retrieval
  • Custom sources: Extensible via configuration

Output Formats

OutputDescriptionLocation
summary.mdHuman-readable analysis reportoutput/summary.md
anomalies.jsonDetected issues with evidenceoutput/anomalies.json
recommendations.jsonPrioritized action itemsoutput/recommendations.json
metrics.jsonAggregated statisticsoutput/metrics.json
hypotheses.jsonRoot cause hypothesesoutput/hypotheses.json

Get Started

Quickstart

Get up and running in 5 minutes.

Non-CLI Version

Switch to non-CLI pipeline version.

Core Concepts

Learn about the system architecture.

Skills Reference

Explore all available skills.

Examples

See real-world usage examples.

Configuration

Configure log sources and thresholds.

API Reference

Integrate with your own tools.

Project Structure

live-log-insight/
β”œβ”€β”€ .agents/
β”‚   β”œβ”€β”€ AGENTS.md              # Agent orchestration instructions
β”‚   └── skills/
β”‚       β”œβ”€β”€ livelogs_insights/     # Orchestration skill
β”‚       β”œβ”€β”€ logsource_discovery/   # Log source discovery
β”‚       β”œβ”€β”€ fetch_logs/            # Log retrieval
β”‚       β”œβ”€β”€ parse_logs/            # Log normalization
β”‚       β”œβ”€β”€ aggregate_logs/        # Metrics computation
β”‚       β”œβ”€β”€ detect_anomalies/      # Anomaly detection
β”‚       β”œβ”€β”€ high_hypothesis/       # Root cause analysis
β”‚       β”œβ”€β”€ generate_summary/      # Report generation
β”‚       └── recommend_actions/     # Action recommendations
β”œβ”€β”€ src/agentX/                  # Python source code
β”‚   β”œβ”€β”€ config/                  # Configuration modules
β”‚   β”œβ”€β”€ pipeline/                # Pipeline orchestration
β”‚   └── shared/                 # Shared utilities
β”œβ”€β”€ config/                      # Configuration files
β”œβ”€β”€ metadata/                    # Sample data for testing
β”œβ”€β”€ output/                      # Generated outputs
└── docs/                        # Documentation

License

Apache-2.0