Skip to content

About

Shared encrypted memory and tasks for Claude Code, Codex, and Hermes. Local MCP bridge and reviewed setup; Windows preview in preparation.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

216 Commits

Folders and files

Repository files navigation

Context Relay — keep context, across coding agents

CI Apache 2.0 license Windows preview in preparation

Why Context Relay · Preview status · Get started · Contribute

Context Relay

One shared memory and task workspace for Claude Code, Codex, Hermes, and OpenCode.

Context Relay is an open-source desktop project for carrying decisions, useful knowledge, and unfinished work between coding agents. It combines an encrypted local store, a review queue, and an MCP bridge so context can outlive a single session or harness.

Why Context Relay?

Switching agents should not mean rebuilding your project context from scratch. Context Relay brings the parts you want to keep into one workspace:

  • Remember decisions. Store explicit project knowledge and retrieve it through the local MCP tools.
  • Keep tasks connected. Maintain a shared task ledger across configured harnesses.
  • Review before accepting. Send inferred knowledge and imported native memory to a review queue instead of silently treating them as established facts.
  • Preview setup changes. Inspect a harness setup plan before applying the native transaction; use the supported Undo path to reverse managed changes.
  • Keep working locally. The daemon and MCP bridge operate independently of the desktop window. Hosted sync is an additional path under qualification.

Project status

Important

The Windows preview is being prepared; it is not yet a qualified public product release. The release implementation is merged, and a Windows installer candidate has passed build and payload-integrity checks. Installed-product and authenticated hosted acceptance remain open. A green build does not establish release readiness.

Area Current scope
Preview target Windows 11 24H2 or newer, x64; version 0.1.1, planned tag v0.1.1-alpha.1
Memory, tasks, harness setup Implemented; final installed acceptance required
Sign-in, pairing, sync, recovery Implemented; deployment configuration and real-device qualification remain open
Distribution Unsigned NSIS candidate; manual updates planned
Deferred macOS, repository/package installation, activity history, automatic updates

The existing v0.1.0-alpha.1 source preview is distinct from the upcoming Windows preview. See the preview scope and limitations and installer inspection for the release boundaries and evidence. Prepared release notes are not a release announcement.

How it works

flowchart LR
    A[Claude Code] <--> M[Local MCP bridge]
    B[Codex] <--> M
    C[Hermes] <--> M
    O[OpenCode · manual MCP] <--> M
    M <--> D[Local daemon]
    U[Desktop review and approvals] <--> D
    D <--> V[(Encrypted memory and tasks)]
    D <-. Hosted path under qualification .-> S[Sync and recovery services]
Loading

Managed project instructions tell a configured harness to search Context Relay at session start, save explicit decisions with context_relay_remember, send inferred knowledge to context_relay_propose_memory, and keep tasks current through the task tools. Native harness memory remains an import and recovery surface.

Setup is version-specific and reviewed before application. For eligible harness versions, it installs the project instruction contract and local MCP connection, configures documented native-memory settings, and registers supported Markdown sources. Imported content goes through review; ledgered exports do not re-import themselves.

Harness compatibility

Harness Configuration and compatibility
Claude Code Supported surfaces, versions, and limits
Codex Supported surfaces, versions, and limits
Hermes Supported surfaces, versions, and limits
OpenCode Manual project MCP export and saved-context read test

Managed setup is restricted to recognized executable versions and trusted project bindings. An unfamiliar version is not automatically safe to configure. Consult the capability pages and preview version matrix before testing; version eligibility is separate from installed release acceptance.

OpenCode uses a separate manual MCP panel in Harnesses. It exports configuration for a registered project and can verify a saved-note read, while automatic setup, native-memory management, lifecycle hooks, and managed Undo remain limited to the qualified adapters above. The OpenCode guide explains configuration preservation and the path from first-run onboarding.

Getting started

Want to use the app? Follow Releases for the qualified Windows preview. Current Actions artifacts are development candidates. Do not use a candidate as the sole copy of irreplaceable information. The planned preview is unsigned and will use manual updates.

Windows package builds include the offline WebView2 installer. If the UI runtime is missing, setup can install it without another network download. This makes the installer larger; the installed runtime still receives Microsoft's Evergreen updates when connectivity is available.

Want to build or contribute? On Windows, install Node.js 24.14.0, pnpm 11.9.0, the pinned Rust 1.97.1 toolchain, Visual Studio C++ Build Tools with a Windows SDK, and Strawberry Perl on PATH for vendored OpenSSL/SQLCipher. The desktop also needs WebView2 Runtime. See CONTRIBUTING.md for contribution policy and verification guidance.

git clone https://github.com/Skytuhua/Context-Relay.git
cd Context-Relay
pnpm install --frozen-lockfile
pnpm hydrate:sidecars
pnpm tauri:dev

Install the prerequisites first. Sidecar hydration is a developer build step that runs the workspace's native installer through the trusted, pinned Rust toolchain. It is not an end-user package installation feature.

Privacy and security

Context Relay stores local memory in an encrypted vault and uses the OS credential store for sync credentials. The daemon owns observation; the MCP bridge controls harness access. Closing the desktop window does not stop those components.

Native hooks forward only validated session identifiers, working-directory bindings, locally generated timestamps, and explicit task evidence. They exclude prompts, responses, transcript paths, tool input/output, and unknown fields. This hook boundary is distinct from the explicit memory and Markdown imports you configure.

Report suspected vulnerabilities through GitHub private vulnerability reporting, not a public issue. Read SECURITY.md for the disclosure policy.

Explore the repository

Location Responsibility
apps/desktop Tauri desktop UI: memory, tasks, review, and approvals
crates/contextd Local daemon, observation, and synchronization
crates/context-mcp Local MCP server for harness access
crates/core Vault, adapters, setup planning, and native transactions
crates/native-runner Native execution and isolation boundaries
crates/protocol · crates/local-ipc Contracts, generated interfaces, and local transport
supabase Hosted migrations, functions, and service-boundary checks

Bug reports, reproducible compatibility issues, documentation improvements, and focused contributions are welcome. Read the contribution guide and check existing issues before opening a new one. Do not include vault contents, tokens, or recovery material.

License

Apache License 2.0. See third-party notices for bundled dependency information.

About

Shared encrypted memory and tasks for Claude Code, Codex, and Hermes. Local MCP bridge and reviewed setup; Windows preview in preparation.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages