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

Execution Options

Per-query execution options bound query work and surface what the engine actually did. Today's option is the deadline-over-completeness mode codified as PAT-0053; the option set will grow as the substrate's read fabric expands.

The options live alongside the query, not inside it — they're set via the SDK's QueryOptions constructor and don't change the Cypher pattern's semantics. The engine honors the bound; the result carries an explicit verdict about whether that bound short-circuited execution.

Deadline-over-completeness mode#

A wall-clock budget for query work. The engine returns the partial result it has when the deadline fires, with transport_outcome indicating whether the result is complete or truncated. Useful when "best available at deadline T" beats "wait for completeness" — live UX (frame-clock replay, partial-consensus aggregations, bounded counterfactual exploration), interactive analytics with budgeted latency, and ingestion pipelines that prefer freshness to throughput.

Python#

import arcflow
 
db = arcflow.connect("./workspace")
 
result = db.execute(
    "MATCH (f:Frame) WHERE f.play_id = 1024 RETURN f LIMIT 100",
    options=arcflow.QueryOptions(deadline_ms=500),
)
 
result.transport_outcome   # 'truncated' | 'complete' | None
result.io_stats            # IoStats(decoded_bytes=…, bytes_read=…,
                           #         row_groups_pruned=…, files_opened=…,
                           #         lane_used=…)

QueryOptions#

FieldTypeDefaultWhat it does
deadline_msint | NoneNoneWall-clock budget for query work in milliseconds. When None, the query runs to completion. When set, the engine short-circuits at the deadline and returns the partial result with transport_outcome = 'truncated'.

result.transport_outcome#

ValueMeaning
'complete'The query finished within the deadline (or no deadline was set). The result reflects the full work the query implied.
'truncated'The deadline fired before the engine finished. The result reflects what the engine had completed at the deadline; subsequent calls with the same query may return different rows.
NoneNo deadline was set AND the substrate-level deadline path was not exercised. Common case for queries with QueryOptions(deadline_ms=None).

result.io_stats#

An IoStats dataclass capturing the work the engine did at the byte layer for this query. Useful for understanding why a query was slow, where time went, and which transport lane served the read.

FieldWhat it counts
decoded_bytesBytes the engine actually parsed (post-decompression for ZSTD / brotli / lz4 partitions).
bytes_readBytes the transport pulled from storage (pre-decompression). The ratio decoded_bytes / bytes_read is the effective compression on the read path.
row_groups_prunedParquet row groups skipped by predicate pushdown against column statistics. Higher is better for selective queries.
files_openedNumber of distinct files the read plan touched. The catalog's lazy stats cache turns most repeat counts into zero-file scans.
lane_usedTransport lane the read used — cpu_mmap (default), cuda_gds (GPU-direct via cuFileRead), or arrow_ipc (shared-memory handoff to an inference sidecar).

Deadline mode at the substrate#

The deadline flows from the SDK's QueryOptions through the FFI boundary into the engine's DeadlineGuard. The guard propagates to the reader's ReadProvenance.deadline_ms, which the Smart Reader consults at every range-fetch boundary. When the deadline fires:

  • Reads in flight complete their current range fetch (no torn reads).
  • Subsequent ranges in the ReadPlan are skipped.
  • The transport returns TransportOutcome::Truncated to the engine.
  • The engine returns the partial result the query had accumulated.

The composition is deterministic for a given snapshot — two queries with the same pattern and the same deadline_ms against the same snapshot will produce the same truncated result. This is the property that makes deadline-mode safe for live UX (a replay at the same wall-clock budget reproduces the same display).

See also#

  • World Store · Smart Reader — the substrate that honors the deadline at the byte layer.
  • EXPLAIN — see the plan the engine chose for a query.
  • PROFILE — measure the execution of a chosen plan.
← PreviousOverviewNext →MATCH