ArcFlow
Company
Managed Services
Markets
  • News
  • LOG IN
  • GET STARTED

OZ brings Visual Intelligence to physical venues, a managed edge layer that lets real-world environments see, understand, and act in real time.

Talk to us

ArcFlow

  • World Models
  • Sensors

Managed Services

  • OZ VI Venue 1
  • Case Studies

Markets

  • Sports
  • Broadcasting
  • Robotics

Company

  • About
  • Technology
  • Careers
  • Contact

Ready to see it live?

Talk to the OZ team about deploying at your venues, from a single pilot match to a full regional rollout.

Schedule a deployment review

© 2026 OZ. All rights reserved.

LinkedIn
ArcFlow Docs
Get Started
  • Get Started
  • Quickstart
  • Installation
  • Project Setup
  • Platforms
  • Bindings
  • Licensing
  • Pricing
Capabilities
  • Vector Search
  • Graph Algorithms
  • Sync
  • MCP Server (AI Agents)
  • Live Queries
  • Programs
  • Temporal
  • Spatial
  • Trusted RAG
  • Behavior Graph
  • Agent-Native
  • Event Sourcing
  • GPU Acceleration
  • Intent Relay
Concepts
  • World Model
  • Graph Model
  • Query Language (GQL)
  • Graph Patterns
  • SQL vs GQL
  • Parameters
  • Query Results
  • Persistence & WAL
  • Error Handling
  • Observations & Evidence
  • Confidence & Provenance
  • Proof Artifacts & Gates
  • Skills
GQL / WorldCypher
  • Overview
  • MATCH
  • WHERE
  • RETURN
  • OPTIONAL MATCH
  • CREATE
  • SET
  • MERGE
  • DELETE
  • REMOVE
  • WITH
  • UNION
  • UNWIND
  • CASE
  • Spatial Queries
  • Temporal Queries
  • Algorithms Reference
  • Triggers
Schema
  • Overview
  • Indexes
  • Constraints
  • Data Types
Functions
  • Built-in Functions
  • Aggregations
  • Procedures
  • Shortest Path
  • EXPLAIN
  • PROFILE
Skills
  • Overview
  • CREATE SKILL
  • PROCESS NODE
  • REPROCESS EDGES
Operations
  • CLI
  • REPL Commands
  • Snapshot & Restore
  • Server Modes & PG Wire
  • Persistence
  • Import & Export
  • Docker
  • Architecture
  • Cloud Architecture
  • Sync Protocol (Deep Dive)
Guides
  • Agent Integration
  • World Model
  • Graph Model Fundamentals
  • Trusted RAG
  • Using Skills
  • Behavior Graphs
  • Swarm & Multi-Agent
  • Migration Guide
  • Filesystem Workspace
  • From SQL to GQL
  • ArcFlow for Coding Agents
  • Data Quality & Pipeline Integrity
  • Code Intelligence
Tutorials
  • Knowledge Graph
  • Entity Linking
  • Vector Search
  • Graph Algorithms
Recipes
  • CRUD
  • Multi-MATCH
  • MERGE (Upsert)
  • Full-Text Search
  • Temporal Queries
  • Batch Projection
  • GraphRAG
Use Cases
  • Agent Tooling
  • Knowledge Management
  • RAG Pipeline
  • Fraud Detection
  • Sports Analytics
  • Grounded Neural Objects
  • Behavior Graphs
  • Autonomous Systems
  • Digital Twins
  • Robotics & Perception
Reference
  • TypeScript API
  • GQL Conformance
  • Compatibility Matrix
  • Glossary
  • Data Types
  • Operators
  • Error Codes
  • Known Issues

Graph Model

ArcFlow stores data as a property graph — nodes connected by relationships, each carrying key-value properties.

Nodes#

Nodes represent entities. Each node has:

  • Labels — categories like :Person, :Company, :Fact (a node can have one label)
  • Properties — key-value pairs like {name: 'Alice', age: 30}
db.mutate("CREATE (n:Person {name: 'Alice', age: 30, email: 'alice@example.com'})")

Relationships#

Relationships connect two nodes with a direction and type:

// Alice works at Acme
db.mutate("MATCH (a:Person {name: 'Alice'}) MATCH (c:Company {name: 'Acme'}) MERGE (a)-[:WORKS_AT]->(c)")

Relationships can also carry properties:

db.mutate("MATCH (a:Person {name: 'Alice'}) MATCH (b:Person {name: 'Bob'}) MERGE (a)-[:KNOWS {since: 2020}]->(b)")

Properties#

Property values can be:

TypeExampleWorldCypher Literal
String'Alice''Alice'
Integer3030
Float3.143.14
Booleantruetrue / false
List (string)['a','b']'a,b' (comma-separated)

Querying the graph#

Pattern matching is how you read the graph. You describe the shape you're looking for:

// Find all people
db.query("MATCH (n:Person) RETURN n.name, n.age")
 
// Find who works where
db.query("MATCH (p:Person)-[:WORKS_AT]->(c:Company) RETURN p.name, c.name")
 
// Traverse 1-3 hops
db.query("MATCH (a:Person {name: 'Alice'})-[:KNOWS*1..3]->(b) RETURN b.name")

Schema-optional#

ArcFlow doesn't require a schema upfront. Create any node with any properties at any time. Use CALL db.schema() to inspect the emergent schema:

const schema = db.query("CALL db.schema()")
// Shows which labels exist and what properties they carry

In-memory vs. persistent#

import { open, openInMemory } from 'arcflow'
 
// In-memory: fast, ephemeral, great for tests
const mem = openInMemory()
 
// Persistent: WAL-journaled, survives restarts
const disk = open('./data/graph')

See Also#

  • Graph Patterns — MATCH patterns, path expressions, and variable-length traversals
  • Concepts: WorldCypher (GQL) — the query language that operates on this model
  • Confidence & Provenance — how _confidence and provenance edges extend the model
  • Persistence & WAL — how node and edge state survives restarts
Try it
Open ↗⌘↵ to run
Loading engine…
← PreviousWorld ModelNext →Query Language (GQL)