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.28.4: Day 4 Truth Ledger Release — State database reconciliation, shadow DB elimination, single-source authority model, and roadmap/story sync CLI commands. 5458 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.28.4

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

Built distribution (wheel)

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

Total release size: 3.1 MB

Release files / synlynk-0.28.4.tar.gz

Download URL synlynk-0.28.4.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
e6f6880d8a411437b3b52fc6076fcbd65f28f59bd7cc877d3573728198c02bf1
BLAKE2b-256 checksum
How to use checksums
1fb55b9690ee7f0717a7d830d9d336bd19d92f6d40ed08b5bd9c30db12a06259
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 6, 2026.

Transparency log

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

Download URL synlynk-0.28.4-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3f95eceae7cd03dffa676ed608c4f319752d4b702d04096c57bbffbe6d8193e6
BLAKE2b-256 checksum
How to use checksums
274eb08787d1b28e94a324e92ce4120e0626d0329281436bdbac90fe378a3545
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 6, 2026.

Transparency log

Security for synlynk 0.28.4

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.28.4.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 6, 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