Skip to content

Examples

Worked, end-to-end examples of Odin applied to real problem shapes. Each one uses the same three-signal pipeline; only the seeds and interpretation change.

  • Healthcare Fraud Detection

    Surface providers billing unusual procedure combinations.

    Read more →

  • Supply Chain Risk

    Trace cascading dependencies across supplier tiers.

    Read more →

  • Regulatory Compliance

    Validate entity relationships against compliance rules.

    Read more →


The common shape

Every example follows the same skeleton:

from arango import ArangoClient
from odin import OdinEngine
from odin.backends.arango import ArangoBackend, ArangoGraphConfig

db = ArangoClient(hosts="http://localhost:8529").db(
    "my_graph", username="root", password=""
)
graph = ArangoGraphConfig(
    node_collection="entities",
    edge_collection="relationships",
    relation_field="relation",
    membership_collection="entity_communities",
    membership_entity_field="entity_id",
    membership_community_field="community_id",
)
backend = ArangoBackend(db, graph)
engine = OdinEngine(backend, community_id="...", community_mode="mapping")

result = engine.retrieve(seeds=[...], max_paths=..., hop_limit=...)
# → inspect result["triage"], result["paths"], result["aggregates"]["motifs"]

What differs between domains is the seeds (where you start), the hop limit (how far the interesting chains reach), and how the agent interprets the returned motifs.