System intelligence for backend systems, starting with incident analysis from logs.
Project description
Sydes
System intelligence for backend systems, starting with incident analysis from logs.
Sydes helps engineers investigate suspected issues in logs using structured evidence, timelines, and AI-assisted reasoning.
Installation
pip install sydes
Before you run
Choose one model path.
--model is required for sydes incident analyze.
OpenAI
export OPENAI_API_KEY=your_openai_api_key
Run with:
--model openai:gpt-4.1-mini
Ollama
Make sure Ollama is running and a model is available:
ollama serve
ollama pull llama3.1
Run with:
--model ollama:llama3.1
Quickstart
sydes incident analyze \
--model openai:gpt-4.1-mini \
--query "Why is checkout returning 503 errors?" \
logs/incident.log
Example with a filtered incident window:
sydes incident analyze \
validation/incident/fixtures/window_filter/*.log \
--from "2026-03-31T10:05:00" \
--to "2026-03-31T10:15:00" \
--model openai:gpt-4.1-mini
Sample output:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INCIDENT SUMMARY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Gateway upstream timeout likely contributed to API checkout errors in the incident window
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INCIDENT WINDOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Mode: filtered
Requested window: from=2026-03-31T10:05:00+00:00 to=2026-03-31T10:15:00+00:00
Retained seeds: 7/14
Excluded untimed: 0
Start: 2026-03-31T10:05:00+00:00
End: 2026-03-31T10:14:30+00:00
Timeline events: 7
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TOP HYPOTHESIS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Gateway upstream timeout likely contributed to API checkout errors in the incident window
The earliest high-severity signal is a gateway error indicating an upstream timeout for the /checkout endpoint at 10:10:15, followed shortly by high-severity API errors returning checkout failures.
Source: openai:gpt-4.1-mini
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONFIDENCE / STRENGTH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Strength: 0.70
Sydes works best with focused inputs such as:
--queryfor a suspected issue--grepfor a known error pattern--servicefor a specific component--levelfor higher-signal log lines
Whole-log analysis is supported, but focused analysis is usually more reliable and actionable.
CLI
sydes --help
sydes incident analyze --help
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sydes-0.1.3.tar.gz.
File metadata
- Download URL: sydes-0.1.3.tar.gz
- Upload date:
- Size: 126.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9ca5faa0ec7e18b006669f7c4695d9ac450e52ae7df064006004e869269a6f0
|
|
| MD5 |
1b0d902b941d9842ca52d2528887cabf
|
|
| BLAKE2b-256 |
ba542635722d50e4f279b71aeec8281f7602fb73b123c137ddc507d8d09a263a
|
File details
Details for the file sydes-0.1.3-py3-none-any.whl.
File metadata
- Download URL: sydes-0.1.3-py3-none-any.whl
- Upload date:
- Size: 142.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caede2d43f395fd9e77346807c5e8db310b4e4e3b2874ec7a6c3683aea6b16ce
|
|
| MD5 |
6e31fe9568de09891e21287dd2573126
|
|
| BLAKE2b-256 |
70e00e83ae55498a71d9d499dabed9ec5c389d792d8816df81446e2645553b6b
|