Quickstart Guide
Get AgentXogs running in just a few minutes.Prerequisites
- Python 3.10+
- uv package manager
- Access to log sources you want to analyze
Installation
- Clone the repository
- Install dependencies
- Verify installation
CLI Usage
Interactive Mode
- Navigate using arrow keys
- Select from menu options
- Use chat commands
Direct Command Mode
CLI Options
Configuration
Using Default Configuration
The system usesconfig.json for default settings:
Configure Log Sources
Editsrc/agentX/config/log_sources.yaml:
Viewing Results
After running the pipeline, check theoutput/ directory:
Sample Data
The project includes sample data for testing:metadata/:
sample_logs.json- Sample raw logssample_parsed_events.json- Sample parsed eventssample_metrics.json- Sample metrics
Pipeline Stages
The analysis pipeline runs through these stages:- Log Source Discovery - Identifies available log sources
- Fetch Logs - Retrieves raw logs from sources
- Parse Logs - Normalizes log formats
- Aggregate Metrics - Computes statistics
- Detect Anomalies - Identifies issues
- Generate Hypotheses - Root cause analysis
- Create Summary - Human-readable report
Troubleshooting
No logs found
Ensure your log sources are correctly configured insrc/agentX/config/log_sources.yaml.
Permission denied
Make sure the user running the script has read access to log directories.Out of memory
Reducemax_logs in config.json or use a smaller time range.
Dependencies not found
Runuv sync to reinstall all dependencies.
Next Steps
CLI Reference
Learn to use the command-line interface.
Core Concepts
Learn how the system works.
Skills Reference
Explore all available skills.
Non-CLI Version
Switch to non-CLI pipeline version.
