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
Start
  • Quickstart
  • Installation
  • Bindings
  • Platforms
  • Get Started
  • Cookbook
Concepts
  • World Model
  • Graph Model
  • Evidence Model
  • Observations
  • Confidence & Provenance
  • Proof Artifacts & Gates
  • SQL vs GQL
  • Graph Patterns
  • Parameters
  • Query Results
  • Persistence & WAL
  • Snapshot-Pinned Reads
  • Error Handling
  • Execution Models
  • Causal Edges
  • Adapter Discipline
  • Time Decay
  • Layers
  • 1. World Store
  • 1a. World Store · Smart Reader
  • 2. Perception Lake
  • 3. World Graph
  • 4. Query Engine
  • 5. Live Surface
  • 6. Event Bus
  • 7. Behavior Engine
  • 8. Algorithm Library
  • Virtual Computed Columns
  • Threading Model
  • Typed ID Contract
WorldCypher
  • Overview
  • Execution Options
  • Statements
  • MATCH
  • WHERE
  • RETURN
  • OPTIONAL MATCH
  • CREATE
  • SET
  • MERGE
  • DELETE
  • REMOVE
  • Composition
  • WITH
  • UNION
  • UNWIND
  • CASE
  • Schema
  • Schema Overview
  • Indexes
  • Constraints
  • Functions
  • Built-in Functions
  • Aggregations
  • Procedures
  • Shortest Path
  • EXPLAIN
  • PROFILE
  • Temporal Queriesfacet
  • Spatial Queriesfacet
  • Algorithmsfacet
  • Triggers
Capabilities
  • Live Queries
  • Vector Search
  • Trusted RAG
  • Spatial Knowledge
  • Temporal
  • Behavior Graphs
  • Graph Algorithms
  • Skills
  • CREATE SKILL
  • PROCESS NODE
  • REPROCESS EDGES
  • Sync
  • Programs
  • GPU Acceleration
  • Agent-Native
  • MCP Server
  • Event Sourcing
  • Intent Relay
  • Event Bus
Use Cases
  • Agent Tooling
  • Trusted RAG
  • Knowledge Management
  • Behavior Graphs
  • Autonomous Systems
  • Physical AI
  • Digital Twins
  • Robotics & Perception
  • Sports Analytics
  • Grounded Neural Objects
  • Fraud Detection
Walkthroughs
    Guides
  • Agent Integration
  • Building a World Model
  • Modeling a Social Graph
  • Build a RAG Pipeline
  • Using Skills
  • Behavior Graphs
  • Swarm & Multi-Agent
  • Fleet Coordination
  • Migrate from Cypher / Neo4j
  • From SQL to GQL
  • Filesystem Workspace
  • Data Quality
  • Code Intelligence
  • Scale Patterns
  • v0.7 → v0.8 Lakehouse Fast-Path
  • Tutorials
  • Knowledge Graph
  • Entity Linking
  • Vector Search
  • Graph Algorithms
  • Recipes
  • CRUD
  • Multi-MATCH
  • MERGE (Upsert)
  • Full-Text Search
  • Batch Projection
  • Multi-Source Observation
  • Sports Analytics
Operations
  • CLI
  • REPL Commands
  • Snapshot & Restore
  • Filesystem Projection
  • Plugin Management
  • Agent Governance
  • Server Modes & PG Wire
  • Persistence (ops)
  • Import & Export
  • Deployment
  • Deployment Modes
  • Daemon (UDS)
  • Why not Docker
  • Architecture
  • Engine Architecture
  • Cloud Architecture
  • Sync Protocol (Deep Dive)
  • World Graph Substrate (Preview)
Reference
  • TypeScript API
  • Glossary
  • Naming & Domain Map
  • Data Types
  • Operators
  • Error Codes
  • GQL Reference
  • Known Issues
  • Versioning
  • Licensing
  • Conformance
  • GQL Conformance
  • openCypher TCK
  • Extension Regressions
GQL Reference
    Conformance
  • Conformance Dashboard
  • openCypher TCK Results
  • Extension Regressions
  • Features
  • MATCH Basic
  • CREATE Nodes Edges
  • SET REMOVE Properties
  • DELETE Detach DELETE
  • RETURN WITH WHERE
  • Order BY Limit Skip
  • Order BY Nulls First Last
  • UNWIND
  • Aggregate Functions
  • OPTIONAL MATCH
  • Variable Length Paths
  • Label OR AND NOT Expressions
  • Label Wildcard
  • Quantified Path Sugar
  • Path Modes Walk Trail Simple Acyclic
  • Shortest Path Variants
  • IS Labeled Predicate
  • Element ID Function
  • IS Type Predicate
  • Binary Literals
  • Line Comments Solidus
  • Line Comments Minus
  • GQLSTATUS Result Codes
  • GQL Error Code Mapping
  • Transaction Control Syntax
  • SET Session
  • Conditional Execution WHEN THEN ELSE
  • RETURN NEXT Pipeline
  • Primary Key Constraint
  • Unique Constraint
  • Deterministic MERGE Via PK
  • Undirected Edge MATCH
  • Cast Type Conversion
  • GQL Directories
  • Multiple Labels Per Node
  • GQL Flagger
  • NEXT Linear Composition
  • Cardinality Function
  • INT64 BIGINT Type Names
  • FLOAT64 Double Type Names
  • Log10 Log2 Functions
  • Trim Leading Trailing Both
  • FILTER Clause
  • LET Statement
  • Group BY Explicit
  • EXCEPT SET Operations
  • INTERSECT SET Operations
  • ALL Different Predicate
  • Same Predicate
  • Property Exists Function
  • Path Variable Binding
  • USE Graph Clause
  • FOR IN List
  • Typed Temporal Literals
  • Session SET Value Params
  • Typed List Annotations
  • arcflow.cosine() function
  • arcflow.embed() function
  • arcflow.similar() procedure
  • arcflow.graphrag() procedure
  • ArcFlow Extensions
  • LIVE Queries
  • Triggered Write-Back Views
  • Evidence Algebra
  • Relationship Skills
  • AI Function Namespace
  • Graph Embedding Algorithms
  • ASOF JOIN
  • Durable Workflows
  • Incremental Z-Set Engine
  • GPU GraphBLAS
  • Triggers
  • HNSW Vector Index
  • Extensions Moat

Types

Core type primitives used across the ArcFlow engine.

Identifiers#

IdentifierDisplayDescription
NodeIdn42Unique node identifier, monotonically assigned
RelIdr7Unique relationship identifier
SkillIds3Unique skill identifier
Timestamp1711234567:000Milliseconds since UNIX epoch

Property value types#

14 types across three families: scalars, homogeneous lists, and spatial geometries. The columnTypes field on QueryResult reports the per-column tag using these same names (lowercased camelCase, e.g. 'int', 'intList', 'point3d').

Scalars and lists#

TypeGQL literalsNotes
NullnullMissing or unknown
Booleantrue, false
Integer42, -764-bit signed
Float3.14, -0.564-bit
String'hello'Single-quoted
IntList[1, 2, 3]Homogeneous list
FloatList[1.0, 2.5]Homogeneous list
StringList['a', 'b']Homogeneous list

Spatial geometries#

TypeGQL literalsNotes
Pointpoint({x: 10.0, y: 5.5})2D / 2.5D point
Point3dpoint({x: 1.0, y: 2.0, z: 3.0})Explicit 3D location
Vector3ddirection or velocity (no positional meaning)Stored, not spatially indexed
Extentaxis-aligned bounding boxStored, not spatially indexed
LineStringordered chain of 2D pointsIndexed by centroid; exact tests post-filter
Polygonclosed ring of 2D points (with optional holes)Indexed by centroid; exact tests post-filter

Each spatial value carries a coordinate reference system (Cartesian, Wgs84, or LocalFlat). Mixing frames in a single query raises a validation error. See Data Types and Spatial Reference.

Execution tiers and backends#

ConceptValuesWhere used
Skill tierSYMBOLIC, WASMCREATE SKILL ... TIER
Hardware backendCpu, Cuda, MetalArcFlow Adaptive Dispatch routing

Errors#

TypeDescription
ErrorClassValidation, Integration, Architecture, Timeout
TypedError{ class, code, message, failing_field, recovery_suggestion }

TypeScript SDK Types#

QueryCursor#

Paginated iteration over large result sets. See db.cursor().

interface QueryCursor {
  pageSize: number        // Rows per page
  pagesFetched: number    // Pages retrieved so far
  done: boolean           // True when all pages exhausted
  next(): QueryResult | null   // Fetch next page
  all(): QueryResult           // Collect all remaining pages
  close(): void                // Release the cursor
}

LiveQuery#

Handle returned by db.subscribe(). Tracks a live view subscription.

interface LiveQuery {
  viewName: string   // Internal live view name
  cancel(): void     // Stop the subscription and drop the live view
}

DeltaEvent#

Delivered to the SubscriptionHandler on every change.

interface DeltaEvent {
  added: SubscriptionRow[]     // Rows newly entering the result set
  removed: SubscriptionRow[]   // Rows leaving the result set
  current: SubscriptionRow[]   // Full current result set
  frontier: number             // Monotonic mutation sequence number
}
 
type SubscriptionRow = Record<string, string | number | boolean | null>
type SubscriptionHandler = (event: DeltaEvent) => void

SubscribeOptions#

interface SubscribeOptions {
  pollIntervalMs?: number   // How often to check for updates (default: 50ms, min: 10ms)
}

Code Intelligence Types#

Used by CodeGraph — see Code Intelligence Guide.

interface NodeSpec {
  label: string
  id: string
  contentHash?: string
  properties?: Record<string, string | number | boolean | null>
}
 
interface EdgeSpec {
  fromId: string
  toId: string
  edgeType: string
  properties?: Record<string, string | number | boolean | null>
}
 
interface GraphDelta {
  addedNodes?: NodeSpec[]
  removedNodeIds?: string[]
  addedEdges?: EdgeSpec[]
  removedEdges?: Array<{ fromId: string; toId: string; edgeType: string }>
}
 
interface DeltaStats {
  nodesAdded: number
  nodesUpdated: number
  nodesSkippedByHash: number
  nodesRemoved: number
  edgesAdded: number
  edgesRemoved: number
}
 
interface ImpactNode {
  id: string
  hop: number
}
 
interface ImpactSubgraph {
  nodes: ImpactNode[]
}

See Also#

  • TypeScript API Reference — methods that accept and return these types
  • Data Types — GQL-level types (Integer, Float, String, List, Map)
  • Error Codes — typed error model with ErrorClass and recovery hints
Try it
Open ↗⌘↵ to run
Loading engine…
← PreviousNaming & Domain MapNext →Operators