Repository avatar
Communication
v0.2.4
active

synloq

io.github.OBenner/synloq

Visible coding-agent chats coordinating on your machine. Not an orchestrator.

Documentation

Synloq

CI npm License: Apache-2.0 Node.js >= 24 M8ven Score

Let your coding-agent chats talk to each other on your machine — visibly, durably, and under your control.

Synloq gives each role in your project an ordinary, visible chat in the coding host you already use. A local relay keeps durable SQLite state, per-role credentials, delivery receipts, and an audit trail. The CTO can ask the Architect; the Architect can answer the Developer; you can open any chat, read the discussion, and steer it directly.

No hidden replacement chats. No autonomous workflow runner. No remote service. The human operator remains in the loop by design.

Alpha (0.x). Synloq is pre-1.0: the wire protocol and on-disk formats may change between releases, and database migrations are forward-only. Pin a commit and read the release notes before upgrading.

Demo

Operator
  ├─ asks the CTO in a visible chat
  ├─ CTO → Architect: review the storage boundary
  ├─ Architect → Developer: implement and report back
  └─ watches, answers, or redirects any role chat directly

Synloq launch demo — one operator prompt creates three visible role chats (Kimi Work, Claude Code, Codex Desktop), they coordinate through one local relay, the operator can step into any chat, and a killed relay is brought back by the supervisor without losing the queue

Recorded on Windows with a disposable stand and synthetic data; full MP4 in the release assets. The longer story lives in #167.

Quickstart

Prerequisite: Node.js 24 or newer (node:sqlite is required).

  1. Initialize a project from the published package:

    npx synloq@latest init --project-root /absolute/path/to/project
    
  2. Connect the generated role channels in your host. For Kimi Work, register the generated plugins/synloq directory as a personal plugin source and press Install/Update once. For other hosts, use the generated native MCP configuration shown by init.

  3. Open the visible role chats and send work between them. The local relay starts automatically with the role channels; synloq doctor and synloq status show what is running and waiting.

Full setup and host-specific instructions: docs/guide/installation.md.

What Synloq does

  • Visible roles, not hidden subagents. Each role is a normal chat you can read and steer. Synloq does not create replacement sessions behind your back.
  • Durable local coordination. A loopback relay stores messages, delivery state, sessions, and role notes in SQLite. Restarts do not erase the team.
  • Safe retries. Idempotency keys deduplicate sends; acknowledgements and writer-session checks make delivery state explicit.
  • Operator controls. Pause or resume delivery, rotate or revoke role credentials, inspect audit denials, and use a read-only dashboard for local status. The dashboard never changes project state; steering stays in the visible chats.
  • A team manifest that travels with the repo. synloq.yaml declares the default role roster; credentials, bindings, and message state stay local.
  • A small MCP tool surface. Role chats use Synloq tools for listing, sending, replying, inbox reads, waiting, acknowledgement, and local memory.

What Synloq is not

  • Not an autonomous orchestrator or background agent swarm.
  • Not a replacement for your coding host's UI, permissions, or model account.
  • Not a remote delivery service, cloud queue, or hosted control plane.
  • Not an auto-merge, auto-push, or production automation tool.
  • Not a host-isolation guarantee by itself: host-enforced per-chat MCP scoping is still a known Kimi Work limitation; Synloq applies application-layer binding checks and fail-closed authorization.

Why not X?

A2A

A2A is a solid standard for agent communication across organizations and frameworks, and its Linux Foundation governance is the right home for that layer. Synloq solves a narrower, more immediate problem: visible coding roles inside one local project, using the coding hosts you already have. We do not try to replace cross-vendor federation. Agent Card export is a possible future bridge, gated on external demand.

Control planes

Control planes such as T3 Code give you one cockpit for running and supervising agent threads. That model is useful when you want a new desktop, web, or mobile interface for your agents. Synloq keeps the conversation in the visible chats you already have and lets roles talk to each other, not only to you.

Native Agent Teams or host swarms

If your whole workflow lives inside one host, use its native feature — it is built in and tightly integrated. Synloq exists for the surrounding reality: real projects mix Claude Code, Codex, Kimi Work, OpenCode, and other hosts. Synloq provides an independent cross-host layer with a specified wire protocol, durable role manifests, per-role credentials, an audit trail, and visible chats you can enter directly.

Multi-agent frameworks

Frameworks such as CrewAI, LangGraph, AutoGen, or Semantic Kernel help you build an agent application in code: you design the graph, runtime, UI, host integration, and delivery semantics yourself. Synloq is not another framework. It packages coordination around the coding chats you already use, with install → init → visible roles, durable relay state, delivery receipts, and operator control.

tmux and a script

You can wire terminals together with tmux, pipes, and an evening of scripting. What that does not give you is durable message state that survives restarts, idempotent delivery, per-role credentials with rotation and revocation, an inspectable delivery queue, and an append-only audit log. Synloq is the difference between “messages usually arrive” and “you can prove what was sent, delivered, and acknowledged.”

Cloud async agents

Cloud agents optimize fire-and-forget delegation: give a task to a vendor-side agent and come back to a result or pull request. Synloq optimizes the opposite contract: local state, visible conversations, and direct operator control while roles coordinate on your machine. If you want a hosted background worker, use a cloud agent. If you want to see and steer the conversation, use Synloq.

Host support

Support claims are scoped to the recorded host version and evidence date. See docs/client-compatibility.md and test/e2e/real-clients.md for the full acceptance matrix.

HostCurrent supportEvidence
Kimi WorkVisible role chats, delivery, relay lifecycle, and notes verified.Live stands 2026-11-11, 2026-11-14, and 2026-11-16.
OpenCodeVisible chat delivery and automatic MCP lifecycle verified.OpenCode 2.2.7 on 2026-11-13; lifecycle acceptance 10/10 on 2026-11-16.
Codex DesktopPer-role project directories, MCP inbox, and queue nudger verified.Codex Desktop ≥0.169.0-alpha.11.1 on 2026-11-15; queue nudger on 2026-11-16.
Codex CLIMCP inbox, lifecycle hooks, and wake verification are supported through the documented paths.Queue wake evidence recorded 2026-11-16; the full hook matrix remains tracked in the acceptance documents.
Claude Desktop (Code tab)MCP inbox and next-interaction reminders verified; no autonomous wake.Claude Desktop 5.11492.5.0 on 2026-11-15/16.
ZCodeBlocked: API-created sessions did not load workspace MCP configuration in the recorded stand.Z2 blocked on 2026-11-14; manual UI path remains unverified.

Status labels are evidence claims, not compatibility guarantees. A result is promoted only after the linked live evidence records the actual host version, session, and observed behavior.

Security and limits

  • All relay traffic stays on explicit loopback HTTP origins. There is no transport encryption; confidentiality against an active local forwarding proxy is out of scope.
  • Auth-v2 mutually verifies relay, request, and response proofs without sending reusable role tokens. Rotate every affected credential after a credential-store leak.
  • Role and operator tokens are stored as hashes in the credential store; token files are written owner-only (0600) and referenced by path.
  • The audit log records bounded security decisions and denials without message bodies. Never commit credentials, ~/.synloq state, SQLite files, logs, or evidence containing message bodies.
  • Database migrations are forward-only. Review the release notes before upgrading an existing stand.
  • The full threat model lists the accepted boundaries and known limitations.

Documentation

  • Installation and initialization — requirements, synloq init, generated host configuration, and the automatic relay lifecycle.
  • Operator guide — sessions, writer checks, pause/resume, credentials, diagnostics, and nudges.
  • Adapters — host-specific integration contracts.
  • Protocol — the wire protocol and delivery semantics, plus accepted v1.1 amendments.
  • Privacy — where data lives and what Synloq never sends.
  • FAQ — troubleshooting and common operational questions.
  • AGENTS.md — instructions for AI assistants working with a Synloq project.
  • Changelog — release notes and live verification evidence.

Development

pnpm install --frozen-lockfile
pnpm verify

pnpm verify runs formatting, import and hermeticity guards, typecheck, tests, and the build. Contributing rules live in CONTRIBUTING.md.

NPM
synloq
Install Command
npm install synloq