Every agent change ships with a reviewable delivery.
Skein is a self-hosted control plane for coding agents. Any event — a chat message, an issue, a monitoring alert — can become a ticket. A worker fixes it in an isolated worktree and pushes a branch. The control plane opens a draft pull request with the branch, commits and diffstat. A human approves or rejects it. Nothing merges itself. The next milestone is a receipt: the command, exit code, log tail and head SHA, attached to the change.
Skein does not assume a particular source. A forum, a chat, an issue tracker, a CI job and a monitoring alert are all connected through a small connector; the core only sees a source label, an idempotent external id, a thread key and text. The same control plane works for a community forum, a GitHub-only team, or an internal monitoring system.
Super Agent is the roadmap, not the headline. The long-term direction is one Router across channels, so a follow-up reaches the same worker without a new session. Today the ticket is the unit of continuity; the Router and subscription direct-through are on the roadmap. See ROADMAP.md.
| Skein is | Skein is not |
|---|---|
| A self-hosted, single-tenant control plane for coding agents | A multi-tenant SaaS or a hosted agent platform |
| A source-agnostic intake and routing layer | A general workflow builder, RPA tool, or cron runner |
| An orchestrator of isolated workers over git worktrees | A coding-agent harness, IDE, editor, or model |
| A delivery layer with evidence, draft PRs, and a human gate | An autonomous merge/deploy system |
| Model-agnostic through one LLM gateway | A model gateway or inference server |
| Connector-friendly: bring your own source | Tied to one forum, chat, or issue tracker |
Source → Connector → Trigger → Thread → Ticket → Worker → Verification → Receipt → Human
- Source — where the event came from: a forum, chat, issue tracker, CI, monitoring, email. A source is a policy label, not a process.
- Connector — a small adapter with its own scoped key. It verifies the source, normalizes the event, and submits it. It has no repository write access and no control-plane token.
- Trigger — one idempotent event:
source+external_id, plusthread_keywhen available. The current public API accepts it as a ticket request; a first-class Trigger API is roadmap. - Thread — the conversation identity: a post, a pull request, a chat thread.
- Ticket — the unit of work a person tracks: provenance, status, delivery.
- Worker — one isolated coding-agent session on a node: one repository, one worktree, one branch. It never talks to the end user and never merges.
- Verification / Receipt — the control plane runs the repository's checks and records the command, exit code, log tail and head SHA. Later versions add a preview URL and a sandbox attestation, but only when they are real.
- Human — approves or rejects. Skein never merges.
See docs/concepts.md for the full model and docs/connectors.md for how to connect a source.
Watch the whole loop, with a mock coding agent and no model key:
git clone https://github.com/OWNER/skein.git && cd skein
docker compose up --build
# console: http://localhost:7800/console/ login: click through the mock SSO
docker compose logs -f demo # a ticket going through the whole pipelineOr run it from source (Python 3.10+, Node 22+):
make install && make build-console
node deploy/dev/mock-auth.mjs & # fake external SSO
services/control/dev.sh # console: http://127.0.0.1:7800/console/Then connect a real node — a machine with a coding agent (Claude Code by default) and a clone of your repository — and do one for real:
bash deploy/pod/setup.sh # on the node: checks, ~/repos, a starting env file
bash deploy/pod/install-supervisor.sh # keep the node agent runningFull walkthrough: docs/quickstart.md. Node details: deploy/pod/README.md.
A connector is any program that can POST JSON with its own credential. The reference path is the public API (docs/connectors.md); the first connector examples are a generic signed webhook, GitHub, chat, monitoring and a community forum. A forum is one example, not the default.
skein connector issue --name community-bot --purpose "turns community posts into tickets"
curl -s -X POST $SKEIN_URL/api/v1/triggers \
-H "Authorization: Bearer $SKEIN_CONNECTOR_KEY" -H "Content-Type: application/json" \
-d '{"title":"Cannot upload avatars","source":"community","external_id":"post:42","mentioned":true}'The code still calls the credential an assistant; "connector" is the open-source name for the same thing. See docs/connectors.md and the deployment profiles.
| Concept | What it is |
|---|---|
| Source | A label for where an event came from, plus its trust policy. Not a process. |
| Connector | A small adapter with its own key that verifies, normalizes and submits events. The code calls it an assistant. |
| Trigger | One idempotent event. It may be ignored, recorded, or turned into a ticket. |
| Thread | The conversation identity that groups triggers and tickets. |
| Ticket | The work a person tracks (staged → assigned → running → review → done / rejected). |
| Repo target | A repository a node serves. The code calls it a platform; docs prefer repo target. |
| Node | A machine that dials out to the control plane and runs workers. No inbound port required. |
| Worker | One isolated coding-agent session: one repo, one worktree, one branch. |
| Verification / Receipt | The control-plane-run checks and the evidence attached to a change. |
| Human review | Approve or reject. Skein never merges. |
services/control control plane (Python/FastAPI, one process, the only writer)
├─ intake, triggers, tickets, threads, audit SQLite + content-addressed blobs
├─ node channel (WebSocket) nodes dial in; dispatch, progress, results
├─ /api/v1 (connectors), /internal (console) both authenticated, never interchangeable
└─ console served at /console/
services/console console (Vue 3 + naive-ui)
services/node-agent node agent (Node): reverse channel, worktree isolation, agent sessions
deploy/ systemd units, node installer, docker images, nginx template
docs/ operator and design docs (English; translations in docs/zh-CN)
Three sources of truth, never merged: the domain store (SQLite), the session store (transcripts as content-addressed files), and the code (branches on your code host). Read docs/architecture.md before changing how they fit together.
Every switch is optional; with none set, machines can still authenticate but no human can sign in. Configure an external authenticator to open the console. The ones most deployments touch:
| Key | What for |
|---|---|
SKEIN_TOKEN |
The master token: machines and the CLI; not a human login |
SKEIN_AUTH_* |
External identity: HTTP session verify (UniSSO-style), trusted headers, or a plugin |
SKEIN_GITHUB_TOKEN + SKEIN_GITHUB_REPOS |
Open draft PRs after a worker pushes |
SKEIN_CONNECTORS, SKEIN_PUBLIC_URL |
Connector credentials and their ticket links |
SKEIN_ROUTER, SKEIN_LLM_BASE / SKEIN_LLM_KEY |
The Router's rules-first loop and optional model chat |
SKEIN_WATCHDOG* |
The optional external control loop |
The annotated list is .env.example; the reference is
docs/configuration.md.
Start at docs/README.md. Good entry points:
- docs/concepts.md — Source, Connector, Trigger, Thread, Ticket, Worker, Verification, Receipt
- docs/connectors.md — connect any source; the public API, idempotency, callbacks
- docs/quickstart.md — demo, source, a real node, a connector
- docs/architecture.md — the parts and their boundaries
- docs/status.md — implemented / prototype / roadmap
- docs/deployment-profiles/ — a community forum, a GitHub-only team
- docs/authentication.md — external identity, roles, the permission matrix, HTTP/header/plugin authenticators
- docs/deployment.md — install, upgrade, backup, self-checks
- docs/configuration.md — every key
- docs/extending.md — connectors, code hosts, model gateways, notifiers
- ROADMAP.md — the public roadmap
- docs/implementation-plan.md — the engineering plan
Chinese translations live in docs/zh-CN/; English is authoritative.
Early public release (0.1.0). The current loop — trigger intake, threads, tickets, durable
dispatch, isolated workers, verification receipts, human review — is implemented in the
control plane and node agent. It is not a Super Agent yet: the Router is rules-first,
per-PR verification and multi-repo ChangeSets are roadmap. See docs/status.md
for the capability matrix and ROADMAP.md for the plan.
Credentials live in one environment file outside the repository. Workers never see the control plane's token; connector keys are separate from it; roles and permissions are enforced on every request. External authentication, rotation and how to report a vulnerability: SECURITY.md. The current isolation level and its limits are in docs/worker-runtime.md.
CONTRIBUTING.md covers the development loop, tests (which must pass
without network access), commits and the develop → main release flow. Questions and ideas:
SUPPORT.md. This project follows the
Contributor Covenant.