Install an unsigned prerelease
Konclave packaging produces native archives for supported Linux, Windows, and macOS targets. Each client archive contains the CLI, one shared local-service...
Repository-relative paths and “this checkout” refer to the Konclave source repository, not this website. The source link above identifies the exact revision used here.
On this page
- Select and extract an archive
- Install the Copilot Agent Plugin
- Install the per-user runtime
- Update, rollback, status, and uninstall
- Initialize a manually extracted installation
- Run as a service
- Profile schema compatibility
- Run the Community Relay
- Run the A2A gateway
- Unsigned status
- Uninstall a manually extracted archive
Konclave packaging produces native archives for supported Linux, Windows, and macOS
targets. Each client archive contains the CLI, one shared local-service binary,
platform lifecycle managers, a minimal Agent Plugins 1.0 payload, separate portable
client support, and editable collaboration-policy schemas and examples under
<install-root>/share/konclave/policy/. The extension contains no daemon binary.
Relay archives contain the standalone Community Relay binary and its self-hosting
examples. Gateway archives contain the standalone standard A2A HTTP+JSON process,
strict configuration and publication examples, and its runtime contract. No source
checkout or compiler is required after extraction.
Verified package-validation artifacts are transient CI transport and are deleted after each run. Durable downloads are published together as an immutable GitHub prerelease only after the same candidate set passes packaged clean-install acceptance.
Repository contributors on Windows can use the one-command Local Copilot demo, which downloads the transient Windows candidate before cleanup and performs setup automatically.
Select and extract an archive
Choose the artifact matching the machine:
Wide tables scroll horizontally.
| Platform | Target |
|---|---|
| Linux x64 | x86_64-unknown-linux-gnu |
| Windows x64 | x86_64-pc-windows-msvc |
| macOS Apple silicon | aarch64-apple-darwin |
| macOS Intel | x86_64-apple-darwin |
Extract the archive into an owner-controlled directory. The extracted top-level directory is the installation root used by the commands below.
Before extraction, verify the complete downloaded release set as described in Verify release integrity and contents.
For the v0.1.32 prerelease, a clean machine with GitHub CLI and PowerShell can
download and verify the complete set without a source checkout:
gh release download v0.1.32 \
--repo nexus-software-laboratories/konclave \
--dir konclave-0.1.32
pwsh ./konclave-0.1.32/Verify-Release.ps1Install the Copilot Agent Plugin
The standalone konclave-<version>.zip is the immutable source for the Agent Plugins
1.0 manifest and Copilot extension files published through the repository
marketplace. Install and health-check the matching native runtime first, then
prepare any installer-owned direct plugin or legacy raw extension for migration:
pwsh ./Install-Konclave.ps1 -Action PrepareMarketplaceThe action is idempotent when no compatibility plugin exists. It removes only the
installer-owned direct plugin, preserves an owner-protected legacy raw extension
under runtime/legacy/, leaves native and authority state unchanged, and reports
whether existing Copilot sessions must restart.
Then register and install the default-branch marketplace:
copilot plugin marketplace add nexus-software-laboratories/konclave
copilot plugin install konclave@konclaveOn the first Copilot session in a repository, approve the extension request to
register hooks. Choose the repo-scoped persistent approval when Konclave should load
automatically there. The hooks enforce collaboration policy before model tool use;
denying the request prevents the complete extension, including /konclave, from
loading.
marketplace add registers the catalog only, and plugin install installs only the
thin Agent Plugin. Neither command installs or starts the native runtime. Installing
the plugin first exposes only a fail-closed /konclave repair command until the
native installer reports Healthy and Copilot is restarted. Agent tools, hooks, and
automatic delivery remain unavailable in that degraded state.
Marketplace installation emits no direct-install deprecation warning. The installed
plugin contains exactly plugin.json, the Copilot extension package, and
extension.mjs. Extracting the ZIP and installing its directory directly remains a
development and recovery path, not the supported installation.
Copilot’s cache is replaceable runtime material, not an authority store.
Installer-owned konclave.service.json lives under the canonical Konclave platform
data root rather than the replaceable extension directory:
- Windows:
%LOCALAPPDATA%\Konclave\service\konclave.service.json; - Linux:
$XDG_DATA_HOME/konclave/service/konclave.service.json, or~/.local/share/konclave/service/konclave.service.json; and - macOS:
~/Library/Application Support/Konclave/service/konclave.service.json.
init migrates an existing module-adjacent sidecar only when its validated endpoint,
issuer, pinned service key, signing-key path, and authorization policy match the
requested installation. A legacy AccountTrusted sidecar may omit the newer
UserPresence helper. Conflicting, malformed, unsafe, linked, oversized, or
permission-invalid state fails closed, and new installations never create a legacy
sidecar. The --local-service-client-config option is an absolute-path override for
isolated tests and declared development scenarios; it is not a production location
selector.
UserPresence client configuration records the absolute packaged CLI path as
userPresenceHelper; clients never discover or launch an arbitrary executable.
AccountTrusted-only records omit that field and cannot satisfy UserPresence.
No native executable or authority state belongs under the extension directory.
The Local Copilot demo continues to exercise the transitional raw extension path atomically on Windows and enables experimental extension support when necessary.
For a transitional raw extension on Linux or macOS, run init first so the
owner-protected canonical client configuration exists. Create the legacy extension
directory separately, then copy the Agent Plugin’s
com.github.copilot/extensions/konclave/extension.mjs plus client.mjs and
generic.mjs from <install-root>/share/konclave/client/ into it. Copy
<install-root>/share/konclave/client/skills/konclave-generic/SKILL.md only into an
unsupported harness’s own skill location when the best-effort fallback is wanted.
Do not install it into Copilot CLI; the paved extension owns that harness.
Do not copy a native executable or create a bin/ child under the extension.
Install the per-user runtime
Installer-enabled complete release sets contain Install-Konclave.ps1 beside the
integrity verifier. The installer verifies checksums and every artifact’s source
provenance before extracting or executing a native binary, selects the current host
target, and installs it under the canonical data root:
- Windows:
%LOCALAPPDATA%\Konclave\runtime\versions\<version>\; - Linux:
$XDG_DATA_HOME/konclave/runtime/versions/<version>/, or~/.local/share/konclave/runtime/versions/<version>/; and - macOS:
~/Library/Application Support/Konclave/runtime/versions/<version>/.
Run it from the directory containing every downloaded release asset:
pwsh ./Install-Konclave.ps1 \
-Action Install \
-ReleaseDirectory . \
-RelayEndpoint https://relay.example.com \
-AuthorizationPolicy account-trustedThe relay endpoint and policy are not credentials. Native setup reads the enrollment
credential without echo. Headless operators pass only absolute paths such as
-ExternalSource, -ServiceIdentityFile, and -ProfileKeyDirectory; secret bytes
never enter process arguments.
The installer records only version, target, archive digest, source commit, and
package-root metadata in owner-only runtime/installation.json. Profiles, service
identity, enrollment custody, authorization state, and canonical client
configuration remain outside version directories.
The candidate service must pass konclave doctor before installation state changes.
The installer reports the packaged Agent Plugin path for verification and explicit
recovery. Native install, update, and rollback never modify Copilot’s plugin or
marketplace caches.
-Action ActivatePlugin is a separate explicit direct-install compatibility step.
It first rechecks the active service, then installs the local Agent Plugin, preserves
any legacy raw extension under runtime/legacy/, removes the original, and reports
that existing Copilot sessions must restart. It never kills those sessions:
pwsh ./Install-Konclave.ps1 -Action ActivatePluginUpdate, rollback, status, and uninstall
Update from another complete release directory:
pwsh ./Install-Konclave.ps1 -Action Update -ReleaseDirectory <new-release-directory>After the matching immutable Release and marketplace update are available, refresh and update the plugin:
copilot plugin marketplace update konclave
copilot plugin update konclave@konclaveFor local connection failures, retain the displayed stage, code, connection reference and request ordinal. The installed service keeps a bounded owner-only failure log beside its configuration; see local failure diagnostics for its location, privacy limits and correlation procedure. Do not reset profiles or allocate replacement message identifiers to work around an unknown request outcome.
Migrate to another self-hosted relay
The destination relay must use a certificate trusted by the operating-system account
running Konclave. Before migration, configure its access document with the same
non-secret enrollment.authority verifier as the source deployment while preserving
any existing static principals. Native enrollment custody retains the matching
credential without writing it to a file or command argument.
Keep the source relay available until migration and health validation complete, then run:
pwsh ./Install-Konclave.ps1 \
-Action MigrateRelay \
-RelayEndpoint https://relay.example.comThis action currently requires native enrollment custody. It stops the shared service, locks every existing profile, registers each existing relay principal on the destination with a deterministic idempotency identifier, paces registration below the relay’s bounded enrollment rate, retries only the exact stable rate-limit response, reseals the unchanged data-plane credential under the destination endpoint, updates installation configuration last, and restarts the service. A separate owner-protected journal survives process interruption. If apply or health validation fails, the installer aborts the journal locally, restores every changed profile and the source installation configuration, and restarts the source service. A successful health check finalizes and removes the journal. Relay installation replacement remains atomic and owner-protected on every supported platform. If abort is interrupted after profiles return to the source but before journal removal, repeating abort completes that exact recovery; repeating apply instead resumes the deterministic destination requests.
The migration preserves profile identity, MLS conversations, and relay principals. It does not copy opaque envelopes or cursors stored by the source relay. Coordinate the cutover for every participating device and explicitly sync before migration when pending delivery matters. Do not stop or delete the source relay until all devices are healthy on the destination.
Installing the active version again verifies and repairs supervision idempotently.
Install with another version fails explicitly and directs the operator to
Update. A recorded version whose SHA-256 differs from the candidate is rejected.
If start, health, or state publication fails, the candidate manager is removed, the
previous version is restarted and rechecked, candidate files are removed, and the
prior configuration remains active.
Rollback selects the recorded previous version by default, or one exact retained version:
pwsh ./Install-Konclave.ps1 -Action Rollback
pwsh ./Install-Konclave.ps1 -Action Rollback -RollbackVersion <version>
pwsh ./Install-Konclave.ps1 -Action StatusImmutable v0.1.0 remains the first native rollback baseline and predates the
installer files. The v0.1.31 installer can still verify, extract, supervise, and
retain that older client archive because its release manifest and provenance remain
self-contained.
Plugin downgrade is explicit because plugin update does not downgrade. After the
marketplace tree is restored from the matching prior immutable Release, run:
copilot plugin marketplace update konclave
copilot plugin uninstall konclave@konclave
copilot plugin install konclave@konclaveUninstall removes the exact supervisor definition, installer-owned version directories, installation metadata, and the replaceable client runtime record while retaining profiles, service identity, and durable authority state. If the explicit direct-plugin compatibility path was used, uninstall removes only that installer-owned cache entry and reports a Copilot restart:
pwsh ./Install-Konclave.ps1 -Action UninstallPermanent local state deletion is separate and requires both
-RemoveState -ConfirmStateRemoval.
Marketplace removal is also separate from native uninstall:
copilot plugin marketplace remove konclave --forceThis removes the registration and installed plugin but may leave Copilot’s reusable source cache. That cache contains no Konclave authority or profile state.
Removing the client runtime record prevents a retained UserPresence helper path from pointing at deleted binaries. Reinstallation recreates that record from the preserved service authority and therefore requires the original relay endpoint again.
Initialize a manually extracted installation
Run the packaged CLI once:
<install-root>/bin/konclave init --relay-endpoint https://relay.example.com
<install-root>/bin/konclave doctor --install-root <install-root>init prompts without echo and stores the endpoint-bound enrollment credential in
native operating-system custody. Interactive setup also requires one explicit
authorization-policy selection. AccountTrusted preserves automatic startup but
trusts every process under the operating-system account and does not provide hostile
same-user session isolation. Noninteractive setup must pass the policy explicitly;
there is no default or fallback. Unix headless installations may use the external
source flow documented in the repository README. Headless service identity and
per-profile wrapping-key custody are also explicit:
<install-root>/bin/konclave init \
--relay-endpoint https://relay.example.com \
--authorization-policy account-trusted \
--external-source /run/secrets/konclave-enrollment \
--local-service-identity-file /run/secrets/konclave-service-identity \
--local-service-profile-key-directory /run/secrets/konclave-profile-keysOn supported Windows systems, a fresh installation can require native user verification for every new client process:
<install-root>\bin\konclave.exe init --relay-endpoint https://relay.example.com --authorization-policy user-presence --allow-no-recoveryThe installer performs one Windows WebAuthn registration and one confirmation
assertion before publishing installation state. Windows Hello or a compatible FIDO2
authenticator must satisfy userVerification: required. Each later process receives
one Windows-owned modal ceremony for its exact profile, ephemeral session public key,
harness, capability set, policy, and finite grant binding. The broker identifies the
Konclave relying party but does not display every bound field. Linux and macOS reject
this policy as unavailable and do not fall back to AccountTrusted. The explicit flag
acknowledges that losing every enrolled credential can strand a no-recovery
installation.
init creates or verifies one service identity, one AccountTrusted issuer identity,
the finite issuer registration, the explicit evidence policy, the owner-protected
konclave-local-authorization.sqlite3 authority database, the immutable service
configuration, and the canonical client configuration. Under UserPresence, the
AccountTrusted issuer authenticates only the challenge request; it cannot satisfy the
policy without the independently verified assertion. A Copilot process obtains a finite
exact-profile grant for a memory-only session key, and the issuer cannot invoke
profile operations directly. The authority database is created before the immutable
installation record is published; once that record exists, a missing or empty
authority database fails closed instead of being recreated. Repeating the exact
command is idempotent and does not repeat enrollment when the credential is already
valid; a conflicting endpoint, policy, custody source, or existing file fails without
replacement.
The Copilot client checks the grant bound to each command and delivery connection before reusing it. An expired connection is replaced through the configured evidence flow, even when the other connection already renewed its grant. Renewal does not change the profile or extend the old grant; issuer refusal remains an error rather than falling back to another authorization policy.
The first UserPresence delivery supports fresh setup only. It does not expose an in-place enrollment or downgrade-authorized administration flow for an existing AccountTrusted installation.
Use konclave authorization status to inspect the current generation and bounded
counts. Operator-only subcommands can revoke an exact grant, suspend or resume a
profile, register a higher issuer key version, enable or disable an issuer, remove an
issuer, or replace the evidence policy. These are direct owner-authorized state
changes and are not exposed as agent tools.
konclave doctor reports the effective authorization path separately from provider
configuration. A UserPresence-only installation passes that configuration check only
when the credential is enrolled, the challenge issuer is enabled, and the CLI
contains the native Windows adapter. It does not trigger a ceremony and therefore
does not claim that Windows WebAuthn or a UV-capable authenticator is currently
available. Unsupported platforms report a finite failing provider check rather than
describing the policy as AccountTrusted.
Run as a service
Platform service definitions and idempotent lifecycle managers are under
<install-root>/share/konclave/service/.
# Linux user service
bash <install-root>/share/konclave/service/systemd/manage-user-service.sh install <install-root>
# macOS launch agent
bash <install-root>/share/konclave/service/launchd/manage-agent.sh install <install-root>On Windows, manage-user-service.ps1 registers one limited scheduled task for the
current interactive user, launches the shared service at Normal process priority
without a visible console window, continues across workstation idle transitions,
retries failed service processes at one-minute intervals, and requires no password
in command history. Normal priority avoids Task Scheduler’s default BelowNormal
priority competing poorly with foreground work. Running install again repairs an
owned task with outdated execution settings; it does not replace another
installation’s task. The existing install-service.ps1 remains an optional elevated
SCM integration. All managers support install, start, stop, status, and uninstall
actions and reject a
definition that points to another binary, user, or configuration.
Profile schema compatibility
Authorization-store schema 1 is upgraded transactionally to schema 2 on open after its complete schema and installation fingerprint are verified. The migration preserves policy, issuer, suspension, grant, reservation, and audit state, then adds the empty UserPresence credential tables and widens the closed audit-kind range. Unknown or modified schema-1 shapes fail closed.
Existing conversation credential bindings remain valid for ordinary text but do not
gain directed-request capability retroactively. Create new membership with the
upgraded clients before using send_directed_request or /konclave request.
An external-custody profile must have its original key copied to
<profile-key-directory>/<profile-id>.key before the shared service opens it. Every
file is owner protected and each profile resolves only its own canonical name; a
missing or wrong key fails closed without replacing identity or state. Never point
multiple profiles at one launch-scoped key as a migration shortcut.
Authorization-store schema migration is one-way for this prerelease. Rolling back to a binary that understands only schema 1 requires restoring a pre-migration authority database or intentionally recreating development authorization state after stopping the service; protocol v2 never negotiates down to v1. Before a supported release creates compatibility obligations, packaging must provide a journaled preview/apply/recovery/rollback migration engine. Profile databases, native custody, relay principals, and external key files remain outside the installation root and are retained.
Run the Community Relay
Relay archives contain a standalone native binary under bin/. Configure the access
document and protected enrollment source with konclave relay-bootstrap. Configure
the SQLite path described in
<relay-root>/share/konclave/relay/container.md, then place trusted TLS termination
in front of every non-loopback listener.
The Linux AMD64 container candidate is a Docker-loadable tar archive produced from the same build result as the statically validated OCI image:
docker image load --input konclave-community-relay-container-0.1.31-linux-amd64.docker.tar
KONCLAVE_RELAY_ACCESS_SOURCE=/absolute/path/to/relay-access.json docker compose --file <relay-root>/share/konclave/relay/compose.example.yaml up --detachThe Compose example never pulls from or pushes to a registry. It publishes the relay only on host loopback for connection from an operator-managed TLS reverse proxy.
Run the A2A gateway
Follow the complete self-hosted A2A operator guide for route bootstrap, file custody, TLS, backup, and upgrade behavior.
Gateway archives contain bin/KonclaveA2AGateway plus maintained examples under
share/konclave/a2a/. Initialize and start the shared local service first, enroll the
gateway profile and target conversation, then copy the example files to
owner-controlled configuration paths and replace the all-zero route identifiers.
Set KONCLAVE_A2A_GATEWAY_CONFIG_FILE to the absolute gateway configuration path.
The first native profile accepts one dedicated-origin publication with bearer
authentication, or explicit unauthenticated loopback development:
KONCLAVE_A2A_GATEWAY_CONFIG_FILE=/etc/konclave/a2a/gateway.json \
<gateway-root>/bin/KonclaveA2AGatewayPlace trusted TLS termination in front of every non-loopback listener. Standard mode terminates A2A plaintext at this process and stores the bounded task projection in SQLite. Protected A2A bypasses the standard gateway and uses native Konclave.
The runtime contract and exact secret-file, local-service, persistence, health, and
shutdown behavior are in <gateway-root>/share/konclave/a2a/README.md.
The Linux AMD64 container candidate is a separate Docker-loadable archive:
docker image load --input konclave-a2a-gateway-container-0.1.31-linux-amd64.docker.tarUse <gateway-root>/share/konclave/a2a/compose.example.yaml,
gateway-config.container.json, and container.md.
The gateway runs as the local-service account’s nonzero numeric UID, publishes only
on host loopback, and uses separate read-only configuration, owner-protected
credential, local-service socket, SQLite, and encrypted-object mounts. Trusted TLS
termination is required before any non-loopback exposure.
Package validation starts both the native and container gateway against an independently installed shared service and verifies discovery, authenticated task submission, exact directed response handling, SQLite restart recovery, and encrypted object retrieval.
Unsigned status
These prereleases are intentionally unsigned. Every archive contains
UNSIGNED-PRERELEASE.txt, and RELEASE.json reports signatureStatus as unsigned.
The operating system cannot verify publisher identity from a code signature.
Artifact signing and notarization are post-MVP hardening work. Do not bypass operating system warnings by weakening machine-wide security policy.
See Packaged clean-install acceptance for the automated evidence covering native and containerized self-hosting.
Uninstall a manually extracted archive
Disable or remove the exact issuer key versions owned by the package, stop the shared service through its platform manager, stop any A2A gateway process, remove the user extension directory, and remove the extracted installation directories. Remove the service-level authorization database only when uninstalling the complete local service after all issuer records have been removed; keep it for a package-specific uninstall so unrelated issuers and profile suspensions remain intact.
Profiles and A2A task databases live outside the installation roots and are retained for later installations. Remove either state root explicitly only when permanent local data loss is intended.
Content: Konclave,Apache-2.0. Revision: 8d0d3676e9fc746749a4fc04ddeb4499023c4104.