Locy Use Cases¶
1. Compliance and Control Inference¶
Model control chains and remediation paths using recursive rules and abductive suggestions.
Notebook: - Python: Compliance Remediation - Rust: Compliance Remediation
2. RBAC / Policy Reasoning¶
Use prioritized rules to model allow/deny cascades with explainable outcomes.
Notebook: - Python: RBAC Priority - Rust: RBAC Priority
3. Infrastructure Blast Radius¶
Combine recursive reachability with ASSUME to evaluate outage scenarios before changes.
Notebook: - Python: Infrastructure Blast Radius - Rust: Infrastructure Blast Radius
4. Supply Chain Provenance¶
Track multi-hop lineage and derive trusted routes with ALONG + BEST BY.
Notebook: - Python: Supply Chain Provenance - Rust: Supply Chain Provenance
5. Fraud and Risk Propagation¶
Express propagation and exception logic with stratified negation and monotonic aggregation.
Notebook: - Python: Fraud Risk Propagation - Rust: Fraud Risk Propagation
6. Semiconductor Yield Excursion Triage (Planned)¶
Model excursion-driven failure triage in semiconductor manufacturing using real SECOM-derived data and full advanced Locy flow.
Notebook: - Python: Semiconductor Yield Excursion Triage
Plan + Data: - Detailed notebook blueprint: Semiconductor Yield Excursion Notebook Plan - Data bundle: SECOM-derived notebook data
7. Pharma Batch Genealogy Decisioning (Flagship #2)¶
Use recursive path reasoning and action selection to model batch-risk propagation and choose interventions by risk-first optimization.
Notebook: - Python: Pharma Batch Genealogy
Data bundle: - Pharma notebook data
8. Cyber Exposure-to-Remediation Decision Twin (Flagship #3)¶
Integrate hybrid evidence retrieval, columnar risk analytics, and Locy remediation reasoning in one flow for high-impact cyber prioritization.
Notebook: - Python: Cyber Exposure-to-Remediation Twin
Data bundle: - Cyber flagship notebook data
9. Knowledge-Augmented Incident Triage¶
Route support incidents to the best resolver by combining service-dependency graph traversal with semantic matching against runbooks and expertise profiles. Pure vector search finds similar runbooks but doesn't know which team owns them or which service is affected. Pure graph queries traverse service→team→runbook paths but can't score semantic relevance. Locy + similar_to does both: walk the dependency graph and score each candidate by how well their expertise matches the incident.
-- Find the best-matching runbook reachable through the affected service's dependency graph
CREATE RULE best_resolver AS
MATCH (incident:Incident)-[:AFFECTS]->(svc:Service)-[:DEPENDS_ON*]->(dep:Service)
<-[:OWNS]-(team:Team)-[:HAS_RUNBOOK]->(rb:Runbook)
WHERE similar_to(rb.embedding, incident.description) > 0.5
ALONG match_score = similar_to(rb.embedding, incident.description)
BEST BY match_score DESC
YIELD KEY incident, KEY team, KEY rb, match_score
QUERY best_resolver WHERE incident.id = $incident_id
RETURN team.name, rb.title, match_score
This pattern applies wherever routing decisions need both structural constraints (org hierarchy, dependency chains, escalation paths) and semantic relevance (matching descriptions, expertise, or domain knowledge).
See Vector Search guide for similar_to details.
Pattern Template¶
For each use case, model:
- Base graph entities and edges.
- Inference relations (
CREATE RULE). - Targeted questions (
QUERY). - Explainability (
EXPLAIN RULE). - Optional remediation (
ABDUCE).