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.27.5: Developer Preview Stable Release — Full 6-gate operationalization milestone including VS Code / OpenVSX extension listing & distribution (v0.27.0), verified sub-15-minute quickstart onboarding loop (v0.27.1), prerequisite auditing & doctor self-healing remediation (v0.27.2), 5-way cross-harness journey matrix for Claude, Codex, Agy, Grok, and Muse (v0.27.3), comprehensive acceptance matrix and GOVERNS audit (v0.27.4), and stable distribution packaging (v0.27.5). 5399 tests collected.

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 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.27.5

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.27.5
File Size Uploaded Provenance Actions
synlynk-0.27.5.tar.gz 1.9 MB With provenance Details for synlynk-0.27.5.tar.gz

Built distribution (wheel)

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

Total release size: 3.1 MB

Release files / synlynk-0.27.5.tar.gz

Download URL synlynk-0.27.5.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
c5c56ecabf942c4fc979b0836d9d1a0093f978203c110e2d9f98b519c2f33b61
BLAKE2b-256 checksum
How to use checksums
c00c2990e9b3056cc9b1b5a649e4202a11ff0bedd321b6b24e58b782ac2daeb2
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 5, 2026.

Transparency log

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

Download URL synlynk-0.27.5-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dff21412d3619bfe5d8c761f8ae64257bc110b8e6790344d2a499444fa175a2d
BLAKE2b-256 checksum
How to use checksums
d7654f3701a98ca9fb5262ef5598e644bb87a24b143f7034cd4c80765a63f30a
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 5, 2026.

Transparency log

Security for synlynk 0.27.5

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.27.5.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 5, 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