Skip to main content
subagent CX Codex

crdt-synchronizer — Claude Code subagent: how it works and setup

crdt-synchronizer — a Claude Code subagent for conflict-free state synchronization across nodes using CRDT structures and vector clocks.

no license ★ 850 updated 2026-10-26

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/crdt-synchronizer.md
Open on GitHub

What crdt-synchronizer does

This subagent guides the creation and synchronization of conflict-free data structures across independent peers. It manages state convergence without centralized locking, tracking operation history through vector clocks and computing delta updates instead of shipping full payloads.

The implementation covers standard types: G-Counter, PN-Counter, OR-Set, LWW-Register, OR-Map, and RGA. Merging relies on a causal tracker and deterministic tie-breaking logic.

Notice that GCounter throws an error on negative values, making PNCounter mandatory whenever decrements are required.

What it helps with

  • build an OR-Set structure for concurrent element tracking
  • coordinate multi-node counters using G-Counter or PN-Counter
  • send incremental state deltas instead of full database snapshots
  • order concurrent distributed updates through vector clocks

Example prompts for the agent

  • Help me implement an OR-Set with tombstone tags for distributed updates
  • Write merge and compare logic for two GCounter replicas
  • Configure delta state computation using vector clocks across nodes

How to install crdt-synchronizer

Manually: put the files in place

.claude/agents/crdt-synchronizer.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about crdt-synchronizer

How to install crdt-synchronizer in Claude Code?

Add the subagent definition file to .claude/agents/crdt-synchronizer.md inside your repository root.

What does crdt-synchronizer do?

It assists in setting up replicated data types that converge deterministically across network peers without merge conflicts.

Which data structures are supported?

The subagent provides implementations for G-Counter, PN-Counter, OR-Set, LWW-Register, OR-Map, and RGA.

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set76

The whole set →
hierarchical-coordinator hierarchical-coordinator — a coordinator subagent that splits a job into sub-tasks and hands them to worker agents through the claude-flow MCP server. Fits work that runs top-down. CX Codex ★ 850repo stars refinement SPARC methodology subagent for iterative code refinement. Optimizes architecture, runs test suites, and learns from refactoring history. CX Codex ★ 850repo stars workflow-automation workflow-automation is a Claude Code subagent that creates and updates GitHub Actions workflows. It handles CI/CD setup requests and workflow run analysis. CX Codex ★ 850repo stars Topology Optimizer Topology Optimizer — a subagent that scores swarm topologies — hierarchy, mesh, ring, star, hybrid — against your workload and says which one to switch to. CX Codex ★ 850repo stars sublinear-goal-planner sublinear-goal-planner — a Claude subagent that breaks a big goal into actions with dependencies and looks for the cheapest route through the action graph. CX Codex ★ 850repo stars performance-benchmarker performance-benchmarker is a Claude Code subagent that measures throughput, latency, and resource use to compare Byzantine, Raft, and Gossip consensus protocols. CX Codex ★ 850repo stars quorum-manager The quorum-manager subagent adjusts quorum settings, manages membership, and checks network conditions for distributed consensus workflows. CX Codex ★ 850repo stars mesh-coordinator mesh-coordinator — a coordinator subagent that links agents into a peer-to-peer mesh: decisions go through voting, peers find each other, and the network keeps going when a node drops. CX Codex ★ 850repo stars

Project sponsors

Companies that keep this analytics open