Skip to main content

synlynk — neutral control plane for coding tasks

Synlynk is a neutral control plane that routes coding tasks across AI vendors and local models, then proves the result.

synlynk.com

Tests Version License Python

Synlynk is a neutral control plane that routes coding tasks across AI vendors and local models, then proves the result. The Python CLI injects scoped project context into every dispatch, uses empirical harness allocation only after a harness has at least five completed, merged jobs for the relevant task type, and follows the documented interim policy until then. See the empirical capability policy and routing policy. Synlynk also tracks costs and hallucination loops. A shared project-docs/ directory keeps every tool in sync: Claude Code, Codex, and AGY all read the same context, decisions, and progress.

v0.38.3: Harness Parity Phase 3: Live Routing & Manifest Mechanics — Live 14-day rolling capability router with rotation fallbacks (#5369, #5395), autonomous harness manifest schema validation and onboard/probe CLI mechanics, CLI-version preflight rediscovery, fail-closed local harness gates, and requested harness dual-ledger attribution.

v0.38.0: FinOps Dual-Ledger Telemetry & Autonomous Daemon Resilience — Decoupled autonomous heal and TPM wake loops, guarded role authority checks, full post-release SOP automation, and dual-ledger token calibration (#5328, #5331, #5333).

v0.37.0: Autonomous Operations & Universal Governance — Fail-closed preflight GOVERNS enforcement gate (#5119, #1990), continuous loop goal health verification, zero-mutation FTUE & Claude gateway passthrough (#5297–#5299), and workspace registry pruning (#5305).

v0.36.0: Intent-Based Product Development (IBPD) Engine (Track 4) — Master Roadmap Phase 3 self-serve delivery ladder (Tiers 1–3), hosted edition capabilities, and engagement quote evaluation (#5247).

v0.35.0: Fully-Derived Roadmap: Approach C Architecture (Track 3) — Eliminates structural drift via dynamic SQLite VIEWs (roadmap_arcs, roadmap_phases), moves roadmap placement to goals, and retargets foreign keys (#5245).

v0.34.0: Synlynk Constitution & Charter Governance (Track 2) — Canonical normative law registry (Asimov Laws 0–3 + Intent Invariant), session bearings card injection, citation drift gate, and Sentinel/RCA law telemetry (#5245).

v0.33.0: Synlynk Editions Registry & Gating Mechanics (Track 1) — Marginal cost-bearer capability classification engine, ordinal tier hierarchy, hosted infra gating, and doctor diagnostics (#5245, #5266).

v0.32.4: Architectural Research Foundation & Operational Resilience — CoW-sparse virtualized workspaces (#4056), OS sandboxing & credential isolation (#4089), SCIP & Tree-sitter code intelligence (#2929), 3-way AST semantic merge & speculative rebase (#2844), distributed state.db sync & enterprise FinOps (#4010), agent GitHub App token isolation (#5220), and autonomous daemon supervisor resilience (#5221).

Documentation

Start with the documentation hub, the 10-minute quickstart, or a task-oriented how-to. The complete command reference is generated from COMMAND_TAXONOMY.

Official Reference Command Reference Quick Start Guide
Official Reference Command Reference Quick Start Guide
14-page full reference: architecture, all commands, agent profiles, relay, SQLite schema, changelog 9-page command catalog: flags, options, usage scenarios 5-page getting started: install, init, dispatch, invite

Install

From PyPI (Standard / Global CLI):

pip install synlynk
# or isolated via pipx
pipx install synlynk

From Source / Git:

pipx install git+https://github.com/nikhilsoman/synlynk

Visual Studio Code Extension: Native IDE reach into agent dispatch, jobs, logs, and diagnostics is available in clients/vscode/.

Run directly without installing (contributor / checkout mode):

python3 bin/synlynk.py <command>

Requirements: Python 3.10+, stdlib only — zero required external dependencies.

Quick start

Get up and running in 60 seconds:

  1. Install synlynk globally:

    pipx install git+https://github.com/nikhilsoman/synlynk
    
  2. Initialize your project: Runs the interactive FTUE wizard to discover installed AI agent CLI tools, configure workspace topology, and bootstrap project state.

    synlynk init --wizard
    
  3. Analyze repository structure: Scans the codebase to build and update the static source map.

    synlynk scan
    
  4. Migrate existing flat-file projects (optional): If you have a project created using an older version of synlynk, migrate its project-docs/ markdown files to state.db.

    synlynk migrate
    
  5. Dispatch a task to an agent in the background:

    synlynk dispatch claude --task "refactor auth module"
    

    --task must be a non-empty string — dispatch_agent() fails closed on an empty or whitespace-only task before creating any job, worktree, or cost entry (see #720) If --task is built from a shell variable in automation, don't interpolate it unchecked — an unset variable silently expands to an empty string Sanity-check what a dispatch would actually send with --dry-run first:

    synlynk dispatch claude --task "$TASK_VAR" --dry-run
    

    Every dispatched agent is also asked to echo a receipt marker (SYNLYNK_TASK_RECEIVED: <task_sha256>) as its literal first line of output, confirming it received the exact task text before doing any work. If a job's log is missing this marker (or prints it late, or with the wrong digest) and no corroborating git activity shows up in its worktree, Synlynk marks the job task_delivery_failed and skips auto-finalize/push for that worktree — the files stay in place for audit. If real work did land despite a missing/late marker, the job is not blocked; it's flagged with a non-blocking WARN note instead (see #720).

  6. Check running jobs:

    synlynk jobs
    
  7. Tail a job's output:

    synlynk logs --job <job-id>
    

How it works

At the core of synlynk is a dual-storage model designed for agent speed and Git reliability:

  • state.db is the permanent source of truth for all project state, including stories, roadmaps, memories, devlogs, and costs.
  • project-docs/ flat files are write-through backups. Every write to state.db automatically updates the corresponding markdown files in project-docs/ (e.g., todo.md, roadmap.md, memory.md, costs.md). This ensures a human-readable, Git-trackable record of project state.
  • generate_context() resolves state dynamically. Once a project is migrated, it reads directly from the SQLite database to compile the current active context. For non-migrated repositories, it falls back to reading raw flat files.
  • synlynk exec <cmd> manages context injection. Before handing off to your AI tool, it compiles the active tasks and decisions, writes a compacted snapshot to .synlynk/context.md (active tasks only, no completed items), and checks cumulative spend limits in .synlynk/config.json. After the session ends, it detects flatline loops (3 consecutive failures of the same command) and writes alerts to sentinel.md.

The AI tool is instructed (via CLAUDE.md / GEMINI.md) to read .synlynk/context.md at session start. Cost tracking is fully automated: state.db records costs to the cost_entries table, which are written through to project-docs/costs.md.

Commands

Commands are grouped by where you'll reach for them in a typical project lifecycle.

Start here:

  • synlynk home
  • synlynk init
  • synlynk start
  • synlynk new
  • synlynk quickstart
  • synlynk brainstorm
  • synlynk brief
  • synlynk scan
  • synlynk join
  • synlynk governs
  • synlynk preflight
  • synlynk status
  • synlynk watch
  • synlynk viz

Full command reference: docs/reference/commands.md

Metadata

Release files for synlynk 0.38.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for synlynk 0.38.3
File Size Uploaded Provenance Actions
synlynk-0.38.3.tar.gz 2.1 MB With provenance Details for synlynk-0.38.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for synlynk 0.38.3
File Interpreter ABI Platform Actions
synlynk-0.38.3-py3-none-any.whl Python 3 none any Details for synlynk-0.38.3-py3-none-any.whl

Total release size: 3.4 MB

Release files / synlynk-0.38.3.tar.gz

Download URL synlynk-0.38.3.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
588115cc48c0541ee69eb95f086ac3ad8a0cf4a08e7b937ddc9ecffe8c4ad8e3
BLAKE2b-256 checksum
How to use checksums
d953785acd898a0a3940039c9f7f28cd8d70959191c633ae281e42e38d28a1f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / synlynk-0.38.3-py3-none-any.whl

Download URL synlynk-0.38.3-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e2571717c3d349ba75d36ac15f30144f55048108f831cd3375358828f4aaca2e
BLAKE2b-256 checksum
How to use checksums
c12700518325ef83d05858f3f9b8693d1e5028fa37bd32fef53f548d49764a6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for synlynk 0.38.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for synlynk-0.38.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page