Skip to content

Intelligence Begins With Context

Velr is a lightweight, blazingly fast Rust database that unifies Cypher graphs, SQL, vectors, and time-series on top of SQLite.
Built for edge systems and agent memory, integrates with Polars, Pandas, and Arrow for seamless data-science workflows.

velr = Velr.open("file:PlantA.db")  

velr.subscribe(
    Subscription.topic("claims.anomaly")
               .profile("velr:profile:industry4")
               .major(1)  # "1.x"
)

while True:
    velr.sync()  
    df = velr.to_polars("""
        MATCH (c:Claim {kind:'anomaly'})-[:ABOUT]->(a:Asset)
        WHERE c.ts > timestamp() - 5*60*1000
        RETURN c.claim_id AS id, a.asset_id AS asset, c.confidence AS conf
        ORDER BY conf DESC LIMIT 20
    """)
    handle_anomaly(df)

Learn More Get Started