An AI Production Debug Copilot
We don’t fix bugs.
We tell you why an error matters and where to look.
Modern production systems generate massive volumes of logs.
- Errors are buried in noise
- Alerts fire without context
- On-call engineers waste time correlating symptoms manually
- Existing tools tell you what happened, not why it matters
Logs are data-rich but insight-poor.
StackOracle is a CLI-first debugging copilot that:
- Ingests raw logs
- Normalizes noisy patterns
- Detects behavioral anomalies using deterministic logic
- Correlates anomalies with recent deploys
- Uses AI only to explain:
- why this anomaly matters
- where an engineer should look
No dashboards.
No magic alerts.
Just signal.
-
Deterministic detection
Anomalies are detected using explicit heuristics, not ML guessing. -
AI for explanation, not detection
AI never decides what is anomalous — only how to explain it. -
Human-readable output
Severity labels and signal strength replace raw numbers. -
CLI-first
Designed for engineers, terminals, and incident response.
-
Ingestion
- Logs are parsed into structured events
- High-cardinality values (IDs, UUIDs, latencies) are normalized
-
Pattern Store
- Events are bucketed over time
- Patterns maintain rolling baseline and recent activity
-
Anomaly Detection
- Compares recent behavior vs historical baseline
- Flags:
- new patterns
- spikes
- sustained increases
-
Correlation
- Detects deploy events
- Associates anomalies with nearby deployments
-
Explanation
- AI generates:
- summary
- why it matters
- where to look
- No fixes suggested — only direction
- AI generates:
log_ingest_v3/ ← ingestion layer (V3)
├── detect.py
├── parsers.py
├── normalize.py
└── ingest.py
core/ ← analysis engine (stable)
├── store.py
├── detector.py
├── context.py
└── details.py
cli.py ← orchestration / policyCRITICAL— immediate attention requiredHIGH— significant issueMEDIUM— noticeable degradationLOW— informational / suppressed
python3 cli.py --log-file demo.log#1 CRITICAL user-service ERROR
Pattern : timeout after <DURATION> user_id=<USER_ID>
Reason : spike
Deploy : user-service 1.4.2
Summary
• Timeouts spiked immediately after deployment
Why it matters
• User requests are failing under load
Where to look
• Request handling path
• Recent changes in user-service 1.4.2This project was built as a hackathon prototype with production-grade design intent.
- More log formats
- Rule packs
- CI / incident integrations
