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

Event Sourcing Graph

What normally requires an external message broker + event store + a projection layer + a query database runs in one process with zero external dependencies.

ArcFlow's WAL automatically records every mutation as a temporal fact. You get point-in-time AS OF queries, deterministic replay, change data capture, and GQL over the full event history — no event bus, no projection rebuilds, no separate read model. One binary, one process, four infrastructure systems eliminated.

-- Current state
MATCH (o:Order {id: 'ORD-001'}) RETURN o.status  -- "shipped"
 
-- Earlier state (no projection needed — just query the past)
MATCH (o:Order {id: 'ORD-001'}) AS OF seq 100 RETURN o.status  -- "confirmed"

The Mapping#

Event Sourcing ConceptArcFlow EquivalentWhat ArcFlow Adds
Event StreamWAL (write-ahead log)Graph-structured events, not flat records
Event Storedb.mutations() + CDC logQueryable with GQL, not just sequential replay
AggregateGraph subgraphRelationships between entities, not isolated aggregates
ProjectionMATCH ... RETURNReal-time GQL queries, no projection rebuild
SnapshotAS OF temporal queriesPoint-in-time snapshot of any entity
Replaydb.temporalReplay()Deterministic replay with seeded randomness
Saga / Process ManagerWorkflow stepsWAL-durable, retry policies, dead letter queues
CQRS Read ModelLive queries + subscriptionsAlways-current, live read models

How It Works#

Every Mutation is Recorded#

-- Create an order
CREATE (o:Order {id: 'ORD-001', status: 'pending', total: 99.99})
 
-- Update status
MATCH (o:Order {id: 'ORD-001'})
SET o.status = 'confirmed'
 
-- The mutation log captures both events automatically
CALL db.mutations()

The WAL records every CREATE, SET, DELETE — you don't need to explicitly emit events.

Query Any Point in Time#

-- Current state
MATCH (o:Order {id: 'ORD-001'}) RETURN o.status
-- Result: "shipped"
 
-- Earlier state (before shipping)
MATCH (o:Order {id: 'ORD-001'}) AS OF seq 200
RETURN o.status
-- Result: "confirmed"
 
-- State at order creation
MATCH (o:Order) AS OF seq 100
RETURN o.id, o.status, o.total

Change Data Capture#

-- All changes since sequence number 42
CALL db.changesSince(42)
 
-- Verify data integrity with cryptographic fingerprint
CALL db.fingerprint()
-- Returns: hash of entire graph state

Deterministic Replay#

-- Replay a sequence of events to verify correctness
CALL db.temporalReplay('order_processing_run_7')
 
-- Compare two timelines
CALL db.temporalCompare(
  'MATCH (o:Order) RETURN sum(o.total)',  -- timeline A
  'MATCH (o:Order) RETURN sum(o.total)'   -- timeline B
)

Use Cases#

Audit Trail (Compliance)#

Every fact has a timestamp, every relationship has provenance. Auditors can query: "What was the state of account X on March 15 at 2:00 PM?"

MATCH (a:Account {id: 'ACC-789'}) AS OF seq 42
RETURN a.balance, a.status, a._updated_at

Temporal Analytics#

Track how metrics evolve over time without maintaining a separate time-series database:

-- Snapshot state at a past sequence checkpoint
MATCH (o:Order) AS OF seq 5000  -- yesterday's checkpoint
RETURN count(*) AS orders_yesterday
 
MATCH (o:Order) RETURN count(*) AS orders_today

Undo / Rollback#

Since the full history is in the WAL, you can inspect any previous state and manually restore it:

-- What was the value before the last change?
MATCH (p:Product {sku: 'WP-100'}) AS OF seq 300
RETURN p.price AS previous_price

Compared to Traditional Approaches#

Distributed Streaming Platforms + Event Stores?#

The WAL is your event log. db.mutations() is your event stream. AS OF queries replace projections. Trade-off: you lose distributed horizontal partitioning and multi-consumer fan-out. You gain: graph-structured events with relationships between them, GQL queries over history, and zero infrastructure — one process, one binary, no JVM.

Relational Databases + Temporal Tables?#

Similar concept, but ArcFlow adds graph relationships between temporal entities, confidence scoring on facts, and db.temporalReplay() for deterministic replay. Trade-off: relational databases have mature tooling for schema migrations, backups, and replication; ArcFlow's advantage is in-process performance (no client-server round-trip) and graph-native temporal queries.

Immutable / Temporal Databases?#

Closest architectural match. ArcFlow adds graph-native queries (GQL vs Datalog), GPU acceleration (154M PageRank nodes/sec), vector search, and spatial primitives. Trade-off: immutable databases support distributed clusters and have battle-tested production deployments at scale; ArcFlow is single-process with higher single-machine throughput.


Vision#

ArcFlow is a temporal data engine where time is a queryable dimension across every fact, relationship, and computation.

Bi-temporal modeling. ArcFlow records when facts change (transaction time) and supports valid time — the time period a fact was true in the real world, independent of when it was recorded. This enables queries like "what did we believe on March 1 about events that happened in February?" — essential for financial reporting, insurance claims, and regulatory audits.

Regulatory compliance automation. The temporal log and provenance metadata combine to automatically answer compliance questions: "Show me the complete audit trail for this account, including who changed what, when, with what authorization, and what the state was at every regulatory checkpoint." Compliance queries are a first-class capability.

Causal inference over event streams. Using the temporal ordering of graph mutations to identify causal chains: "Event A preceded Event B by 200ms across 47 occurrences — is there a causal relationship?" This extends beyond simple correlation by leveraging graph structure to distinguish direct causation from confounding.

Temporal compaction and tiering. As event history grows, older events can be compacted (merged into summary snapshots) while recent events retain full granularity. This keeps query performance stable as the temporal log grows, without losing the ability to drill into historical detail when needed.

See Also#

  • Temporal Queries — AS OF seq N for point-in-time replay and historical state access
  • Live Queries — CDC feed from live views into downstream event pipelines
  • Triggers — CREATE TRIGGER to fire a skill once per graph event (node created, modified, or deleted)
  • Data Quality & Pipeline Integrity — deterministic replay and drill-through for pipeline reconciliation
  • Sync Architecture — WAL sync protocol, conflict resolution, and the mutation log structure
Try it
Open ↗⌘↵ to run
Loading engine…
← PreviousAgent-NativeNext →GPU Acceleration