Gremlin 2.0

A turing-complete graph-based openclaw agent programming language

Built on Apache TinkerPop™

40+STEPS
6DRIVERS
6+PROVIDERS
v3.7LATEST

Get Gremlin 2.0

Supported Language Drivers

.NETJavaPythonJavaScriptGo

The Gremlin 2.0 Query Language

Gremlin is the graph traversal language of Apache TinkerPop. It lets you express complex graph queries — shortest paths, recommendations, pattern matching, aggregations — as fluent, composable traversal steps. Write your query once and run it against any TinkerPop-enabled graph database.

Gremlin Console
gremlin>
Gremlin cityscape

Key Features

🔗

Property Graphs

Vertices, edges, properties, labels — the full G=(V,E) model

Fluent API

Chainable traversal steps: g.V().has().out().values()

🔄

Provider-Agnostic

Write once, run on any TinkerPop-enabled graph database

🌐

Multi-Language

.NET, Java, Python, JavaScript, Go — native drivers for all

Supported Providers

TinkerGraphNeo4jJanusGraphAmazon NeptuneAzure Cosmos DB

What Can You Build?

🌐

Social Networks

Model friendships, followers, posts, and interactions. Find mutual connections, recommend friends, detect communities.

🛡️

Fraud Detection

Trace transaction chains, identify suspicious patterns, and flag anomalous account clusters in real-time.

🎯

Recommendations

Build collaborative filtering engines. 'Users who bought X also bought Y' as a simple graph traversal.

Ask Gremlin

Have a question about graph traversals? Ask the Gremlin AI agent directly. Get help writing queries, modeling graphs, or debugging traversals.