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

Using Skills

Skills have a single LLM cost: at creation time. You describe a relationship rule in natural language. ArcFlow sends that rule to your configured LLM endpoint once, receives a compiled WorldCypher graph pattern, and stores it in the skill. Every subsequent PROCESS NODE and REPROCESS EDGES executes the compiled pattern directly — no model calls, no token cost, sub-millisecond per node.

This guide walks through the full lifecycle using a robotics scenario: detecting which robots are operating in the same zone and should coordinate.


The scenario#

You have a world model with Robot nodes, each carrying position and observation state from sensors. You want to derive ZONE_PEER relationships between robots that share a zone — but not store them as raw assertions. Instead, you want them derived automatically, confidence-scored, and re-evaluable as sensor quality improves.


Step 1: Register the skill (one LLM call)#

CREATE SKILL ZonePeerDetector
  FROM PROMPT 'Link two Robot nodes as ZONE_PEER if they occupy the same Zone
               with combined sensor confidence above 0.75'
  ALLOWED ON [Robot]
  TIER SYMBOLIC

ArcFlow sends the prompt + your current schema to your configured LLM endpoint. The model returns a compiled WorldCypher graph pattern. ArcFlow stores both the original prompt and the compiled pattern in the skill node.

The skill is now registered. It does not run yet — registration and execution are separate. No further LLM calls happen at any point after this.


Step 2: Populate the world model#

-- Observed robots in zones (from sensor fusion)
CREATE (r1:Robot {
  name: 'Atlas-01', zone: 'assembly-floor',
  x: 12.4, y: 8.7,
  _observation_class: 'observed', _confidence: 0.95
})
CREATE (r2:Robot {
  name: 'Rover-02', zone: 'assembly-floor',
  x: 14.1, y: 9.2,
  _observation_class: 'observed', _confidence: 0.88
})
CREATE (r3:Robot {
  name: 'Welder-03', zone: 'staging-bay',
  x: 45.0, y: 3.1,
  _observation_class: 'observed', _confidence: 0.91
})
CREATE (r4:Robot {
  name: 'Scout-04', zone: 'assembly-floor',
  x: 13.0, y: 8.0,
  _observation_class: 'inferred', _confidence: 0.72
})

Step 3: Run the skill (zero LLM)#

PROCESS NODE (n:Robot)

The engine evaluates ZonePeerDetector against all Robot nodes using the compiled pattern — no model call, pure graph computation. It materializes ZONE_PEER edges between robots that satisfy the rule:

=> Created 2 ZONE_PEER edges (Atlas-01 ↔ Rover-02, Atlas-01 ↔ Scout-04)
   avg confidence: 0.83
   Scout-04 edge: confidence 0.68 (below threshold — not materialized for Rover-02 pair)

Each edge carries:

  • _confidence — the skill's certainty score
  • _skill_version — the version that built it
  • _created_at — timestamp

Step 4: Query derived edges with provenance#

MATCH (a:Robot)-[r:ZONE_PEER]->(b:Robot)
RETURN
  a.name AS robot_a,
  b.name AS robot_b,
  a.zone AS zone,
  r._confidence AS confidence,
  r._skill_version AS built_by_version,
  r._created_at AS derived_at
ORDER BY r._confidence DESC

Every derived relationship is traceable. If a coordination decision was made based on a ZONE_PEER edge, you can reconstruct exactly which skill version produced it, at what confidence.


Step 5: Re-evaluate as sensors improve (zero LLM)#

Over time, sensor fusion improves and Scout-04's confidence rises from 0.72 to 0.89. The existing ZONE_PEER edge to Rover-02 was never materialized because the original confidence was too low.

REPROCESS EDGES WHERE confidence < 0.75

This:

  1. Finds all dynamic edges below threshold
  2. Deletes them
  3. Re-runs their skills against the current world model state
  4. Materializes new edges with fresh confidence scores
=> Re-evaluated 1 edge pair
=> Created 1 new ZONE_PEER edge: Rover-02 ↔ Scout-04, confidence 0.86

The world model now reflects the higher-quality sensor state — without any manual update.


Step 6: Version the skill (one LLM call for the new version)#

When the coordination logic improves, create a new version. ArcFlow calls your LLM endpoint once more to compile the revised rule:

CREATE SKILL ZonePeerDetector_v2
  FROM PROMPT 'Link two Robot nodes as ZONE_PEER if they share a zone AND have overlapping sensor coverage, with combined confidence above 0.80'
  ALLOWED ON [Robot]
  TIER SYMBOLIC

Run it selectively, then reprocess to upgrade the weakest edges:

PROCESS NODE (n:Robot)
REPROCESS EDGES WHERE confidence < 0.80
-- => Upgraded 3 edges from ZonePeerDetector to ZonePeerDetector_v2
--    avg confidence: 0.73 → 0.88

Old edges carry _skill_version: 'ZonePeerDetector'. New edges carry _skill_version: 'ZonePeerDetector_v2'. Both coexist until reprocessed — the version trail is never lost.


Multiple skills on the same nodes#

Nodes can have multiple skills applied simultaneously. Each runs independently and produces its own edge type:

CREATE SKILL SensorCoverageLinker
  FROM PROMPT 'Link two Robots as SHARED_COVERAGE if a single Sensor has detected both within 60 seconds'
  ALLOWED ON [Robot]
  TIER SYMBOLIC
 
PROCESS NODE (n:Robot)
-- ZonePeerDetector    => ZONE_PEER edges
-- SensorCoverageLinker => SHARED_COVERAGE edges
-- Each edge type carries its own confidence and provenance

See Also#

  • Concepts: Skills — what skills are and why they matter
  • CREATE SKILL — full syntax reference
  • REPROCESS EDGES — re-evaluation reference
  • Confidence & Provenance — how scores flow through derived edges
  • Use Case: Knowledge Management — skills in an entity extraction pipeline
Try it
Open ↗⌘↵ to run
Loading engine…
← PreviousTrusted RAGNext →Behavior Graphs