Siphyy
Open-source agentic framework for fleet telematics analytics — fuel anomaly detection, predictive maintenance, and driver behavior intelligence, with a provider-agnostic canonical schema and structured LLM reasoning.
What it does
Fleet operations data lives in dozens of telematics platforms (Samsara, Geotab, Trakzee, Verizon Connect, regional providers, raw OBD-II streams) — each with its own schema, polling cadence, and quirks. Siphyy normalises all of them into a single canonical event stream, runs cheap deterministic detectors over that stream, and uses an LLM agent grounded in a curated case base to interpret only the events that matter.
The output is structured, auditable, and ready to be wired into fleet management systems — not free-text mechanic advice.
Architecture in 30 seconds
[Telematics Provider] ← Samsara, Geotab, Trakzee, OBD-II, ...
│
▼
[Adapter] ← Translates provider → canonical schema
│
▼
[Tier 1: Detector] ← Cheap rule-based detection. No LLMs.
│
▼ (interesting events only)
[Tier 2: LLM Agent] ← Agentic RAG over case base + OEM manuals
│
▼
[Structured Output] ← FuelAnomalyReport, MaintenanceRiskReport, ...
Quickstart
The fastest way to see the framework in action:
git clone https://github.com/siphyy/siphyy-core.git
cd siphyy-core
uv sync # installs everything incl. dev tools
uv run python examples/quickstart.py
The quickstart loads examples/data/sample_trakzee.json (17 anonymised, synthetic rows), runs the full pipeline, and prints structured fuel-anomaly reports. It auto-detects which LLM provider to use:
OPENAI_API_KEYin env → usesOpenAILLMClient(real call againstgpt-4o-mini)ANTHROPIC_API_KEYin env → usesAnthropicLLMClient(real call againstclaude-haiku-4-5)- Neither → uses
MockLLMClientwith realistic canned verdicts, so the demo works with zero setup
Drop a .env at the repo root with your key(s) and the quickstart picks them up automatically (python-dotenv is in the dev extras).
Install just the library
pip install "siphyy[trakzee,llm]"
# or
uv pip install "siphyy[trakzee,llm]"
The minimal in-code version of what the quickstart runs:
from siphyy.adapters import TrakzeeAdapter
from siphyy.agents import FuelAnomalyAgent, OpenAILLMClient
from siphyy.detectors import FuelSiphonageDetector
from siphyy.knowledge import SEED_CASES
from siphyy.schema import CaseBase
# 1. Translate raw provider rows into canonical TelemetryReading events.
adapter = TrakzeeAdapter()
# 2. Tier 1: cheap, deterministic rules surface candidates.
detector = FuelSiphonageDetector()
# 3. Tier 2: an LLM-grounded agent interprets each candidate against
# historical cases. The LLMClient is pluggable — swap OpenAILLMClient
# for an Anthropic / Gemini / Ollama implementation without touching
# agent code (see "Bring your own LLM" below).
agent = FuelAnomalyAgent(
llm_client=OpenAILLMClient(), # reads OPENAI_API_KEY from env
case_base=CaseBase(SEED_CASES),
)
for event in adapter.adapt(trakzee_rows):
if (interesting := detector.process(event)) and (report := agent.process(interesting)):
print(report.assessment, report.confidence, report.summary)
Bring your own LLM
LLMClient is a Protocol with a single method. To use a different provider, implement it in ~20 lines:
from pydantic import BaseModel
from siphyy.agents import LLMClient
class MyAnthropicClient: # satisfies LLMClient structurally
def complete[T: BaseModel](self, *, system, user, response_model: type[T]) -> T:
... # call Anthropic's tool-use endpoint, return response_model(**parsed)
The agent itself doesn't import anthropic or openai — only the client implementation does, so optional extras stay optional.
Why open source
The framework is Apache 2.0 and always will be. The plumbing — canonical schema, adapters, detectors, agent code — is the commodity. What we sell separately is the Siphyy Knowledge Pack: curated case bases, indexed OEM manuals, calibrated detection thresholds, and the enterprise dashboard. You can use the OSS framework without ever paying us a cent.
Writing your own adapter
The whole point of the canonical schema is that you don't have to wait for us to support your telematics provider. Subclass TelematicsAdapter in ~50 lines and you're integrated. See docs/writing-adapters.md — TrakzeeAdapter is the reference implementation.
Project status
Alpha. The canonical schema, the Trakzee adapter, the FuelSiphonageDetector, and the FuelAnomalyAgent are stable today. Additional provider adapters, additional detectors and agents, the CLI, and the storage backend are still in active development — track CHANGELOG.md for what lands when. Pin to a specific version until 1.0.
License
Apache 2.0. See LICENSE.
Metadata
Release files for siphyy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| siphyy-0.1.0.tar.gz | 277.5 kB | With provenance | Details for siphyy-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| siphyy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for siphyy-0.1.0-py3-none-any.whl |
Total release size: 322.8 kB
Release files / siphyy-0.1.0.tar.gz
| Download URL | siphyy-0.1.0.tar.gz |
|---|---|
| Size | 277.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2806b2586599f7797774e17f789eedfed5b23eaccb5eafe8c5bb443e0d46e6a9
|
|
BLAKE2b-256 checksum How to use checksums |
5d36b9da002015d6b21381e96ede6a5bbac48e25aef09298e70cad61dd4ddf94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / siphyy-0.1.0-py3-none-any.whl
| Download URL | siphyy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 45.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1c9aa0e86f5d44137fff24dea35cd25ef151a50487b6cbf286319005718766f
|
|
BLAKE2b-256 checksum How to use checksums |
1358eb0f3a7b5bc614ce8c784132c0b1b00b58edd1a67c1b1f50f4c26fea395a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logSecurity for siphyy 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for siphyy-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.