SSyncropel Docs

Syncropel Documentation

Coordination protocol for hybrid human-AI teams. Build with immutable records, evidence-based trust, manifest-driven workspaces, and self-improving workflows.

Install

# Linux + macOS
curl -sSf https://get.syncropic.com/spl | sh

# Windows (PowerShell)
irm https://get.syncropic.com/spl.ps1 | iex

# Then
spl init && spl serve --daemon

Follow the Quickstart for a 10-minute walkthrough — install to first task with trust evidence. Or read Get Started for the deeper, multi-page onboarding journey.

If you're integrating from code, jump to the TypeScript SDK or Python SDK.


What a Syncropel thread looks like

Every coordination event — chat, task, code change, tool call, observation, intent — becomes a record. Records group into threads. Threads produce trust:

fix-checkout-timeout              5 records · 3 actors · trust 0.92

● you      INTEND  "Fix checkout timeout before launch"                14m ago
○ agent    DO      Profiled API — connection pool saturated at 10     12m ago
○ agent    DO      Patch applied: pool 10 → 50, deployed to staging    9m ago
○ monitor  KNOW    p99 latency 4.2s → 180ms — 340 users unblocked      6m ago
○ agent    LEARN   "Pool sizing must scale with replicas"              now
                   pattern crystallized (trust 0.92)

is human; is an AI agent or system. Every record is immutable, content-addressed, and signed by its actor. The LEARN at the end crystallizes into a reusable pattern — next time the same shape of issue appears, the solution replays automatically.

That same thread can federate to another instance with consent-gated sync, ship as a workspace others can install, or be queried via the TypeScript SDK / Python SDK / MCP-compatible AI clients (Claude Desktop, Cursor, Cline, Zed, OpenCode, and others).


Tutorials

Step-by-step learning — follow along from start to finish.

TutorialDescription
Your First TaskCreate, complete, and see trust grow
Working with ThreadsOpen, fork, and close coordinated workflows
Build your First WorkspaceScaffold, edit, test, publish, and share — the canonical workspace path
Multi-Namespace SetupTwo isolated environments under one ORG with the 5-level hierarchy
Your First Fan-Out5-minute version: boot a fleet, fan out a task, watch the barrier join
Parallel Dev Walkthrough20 minutes: 3-instance fleet, real fan-out, kill switch, barrier join, cleanup
First SDK Integration15 minutes: Node.js script that emits records and queries them back
First Iframe Extension30 minutes: build an iframe extension with @syncropel/extensions
First React Component Consumer30 minutes: Next.js task inbox using @syncropel/sdk + @syncropel/react

Templates

Ready-to-scaffold workspace examples.

SectionWhat's there
Templates GallerySeven worked workspace examples (tracker, multi-page, newsletter, course, recipe-collection, solo-tracker, catalog). Each scaffolds via spl workspace init and passes spl workspace test immediately.

Concepts

Understand how Syncropel works under the hood.

ConceptDescription
RecordsThe 8-field immutable, content-addressed unit
ThreadsGroup records into coordinated workflows
ActorsIdentity, trust profiles, and persistent memory
WorkspacesManifest-driven applications you ship by publishing a record
CatalogCurated discovery surface above the registry
TrustEvidence-based reputation with the dial
PatternsProven workflows that replay automatically
Namespaces5-level hierarchy for tenancy and policy isolation
GovernancePARC, scope tokens, and how decisions get authorized
FederationHow two instances sync records with consent and signatures
SecretsFour-layer credential handling — values never enter the record graph
The EngineFour loops from ingest to learning

Guides

Solve specific problems — task-oriented, practical.

Day-to-day operations

GuideDescription
Task ManagementFull lifecycle from creation to approval
Routing RulesControl how work flows to actors
Scheduled TriggersCron-style automation against the record stream
CEL ExpressionsAuthor rules for triggers, routing, fold, health, AITL, permissions
QueryMongoDB-style filter grammar for record retrieval
SearchSemantic + full-text search across threads
body.kind manifestRecord kind grammar and reserved scopes
NamespacesSet up multi-tenant scoping
Consent ManagementControl what crosses namespace boundaries

Federation

GuideDescription
Pair two stewardsOne-command handshake — discovery, reciprocal tokens, persistent pair records
Federation discoveryFind peers by handle or directory
Async federationRecord sync via relay when peers are offline
Federation (legacy sync)Manual sync setup for reference

Inference

GuideDescription
Inference OverviewWhy infer.query.v1, what it solves, where it fits
Query AnatomyWalking through a query body
Fold FunctionsThe five aggregators in detail
Orchestration PatternsSix multi-step flows

Integration

GuideDescription
Actors & AdaptersRegister participants and connect them
Agent IntegrationConnect AI agents to dispatch and trust
Session CheckpointsSave + resume agent sessions
Debugging Syncropeldoctor → status → debug replay → audit export
Dispatch observabilityRecords-as-observations for every dispatch
Cookbook: dispatch recoveryResume from partial dispatch failure
Cookbook: Claude session correlationMap dispatches to Claude session IDs

SDKs + UI

GuideDescription
TypeScript SDKUniversal JS/TS client — Node, Deno, Bun, Workers, browsers
Python SDKEmit records and query threads from Python
ProjectionsSchema + validators for declarative UI documents
React ComponentsComponent palette that renders projection documents natively
Extensions SDKBuild iframe-embedded apps for a Syncropel workspace

Operations + Backup

GuideDescription
Backup & RecoveryProtect your data and recover safely
Docker DeploymentMulti-stage image, compose topology, smoke test
SIEM IntegrationPipe spl audit export into Splunk, Elastic, Loki, Datadog

Cookbook

Short, tested recipes for common operational shapes — copy, adapt, ship. See the full cookbook for all recipes.

RecipeProblem it solves
Route by domainDispatch code to one agent and ops to another without rule explosion
Trust-gated auto-approvalHigh-trust actors ship without blocking on review
Federate one threadShare a single task thread with a collaborator on a different instance
Scheduled daily digestCron trigger at 09:00 that summarises the last 24 hours
Audit export to ElasticPipe security-relevant records into your SIEM
3-LLM consensus summarizationFan out to three LLMs, consensus-fold, take the most-agreed answer
Translate with human verificationTwo LLMs translate + verify; human only when LLMs disagree
Cost-bounded query waterfallCheap LLM first, escalate stage-by-stage, hard-stop at a cost ceiling
Audit-critical with ensembleEnsemble-fold three LLMs, compliance officer audits
Escalate on low confidenceLLM handles the common case; human pulled in when LLM isn't sure

Integrate

Connect Syncropel to other tools.

PageDescription
AI clientsPlug Syncropel into MCP-compatible clients (Claude Desktop, Cursor, Cline, Zed, OpenCode, and others)
Programmatic agentsIntegrate code-execution-capable agents that emit records via the SDK in a sandbox

Operate

Day-2 operations for production instances.

PageDescription
Operator RunbookDaemon lifecycle, recovery from corruption, backup discipline, in-place upgrades
Persist InstanceAuto-start at login + auto-restart on crash (systemd, launchd, Windows Service)
Authentication & Service AccountsBearer-token auth, service accounts, device pairing, rotation, revocation
DoctorTop-down diagnostic tree — when something doesn't work, start here
Troubleshooting connectionBrowser-can't-reach-daemon, CORS, PNA, network failure modes
Audit exportStream the security-relevant record subset for compliance + SIEM
Actor portabilityMove an actor identity between instances
Workspace lifecycleDraft / published / archived, the transition matrix
Workspace testingNative test runner for workspace fold functions
Workspace sharingspl share for bug repro + collaboration
Extension publishingShip iframe extensions to a workspace registry
Fleet benchmarkingMeasure your fleet's parallel speedup honestly
Windows serviceRun spl serve as a Windows Service
Relay operator guideDeploy your own async-federation relay

Reference

Look things up — commands, endpoints, formats.

ReferenceDescription
CLIEvery spl command with flags and examples
HTTP APIAll endpoints with request examples
Record FormatThe 8 fields, types, and canonical JSON
ConfigurationSettings, rules, and data locations
infer.query.v1 schemaFull inference query schema with field tables
Iframe host snippetDrop-in code for hosting an extension iframe
GlossaryKey terms A to Z

On this page