Senrelay · ContextCore
Relay coding sessions between AI assistants, keep source-linked project memory, and manage host configuration — all locally on macOS.
- Source repo
- qingsongcui/ContextCore
- Stars
- ★ 101
- Last updated
- 6d ago
- FARS reviewed
- Dec 01, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 79/100 · Good
At a glance
- How it runs
- Works with
- Portable with changesCodex · Claude Code · OpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A developer who hits a Claude Code quota or context ceiling mid-task switches to Cursor, Codex, or Antigravity and types
/contextcoreto pick up the same work without re-explaining the project. - Not a fit if
- Users on Windows, Linux, or Intel Macs
- Teams needing multi-device cloud sync or hosted team memory
- Anyone expecting a zero-prompt, notarized installer on first launch
- Website
- senrelay.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-25
- Source review
- 79/100 · Good
What does this agent do, and when should you use it?
Senrelay (repo name ContextCore) is a local-first developer workbench for Apple Silicon macOS, made of a native AppKit/WKWebView shell, a React/Vite browser workbench, and an independent FastAPI + SQLite loopback service that keeps capturing after you close the window or tab. It targets six context hosts — Codex (Desktop and CLI), Oh My Pi, Cursor, Antigravity, Claude Code, and OpenCode — and tracks capabilities per host and surface rather than assuming parity. Three things define the product: in-agent conversation relay, where typing /contextcore in the receiving assistant lists cross-host sessions and pages the transcript into its own context; durable memory that quotes the source turns, organized into six classes with 📌 pinned rules, version rollback, and Pending Conflicts; and snapshot-guarded multi-host management of providers, MCP servers, Skills, and prompts with Diff confirmation on external edits. All transcripts, FTS5 indexes, and memories live in a local SQLite file (0600 permissions) served only over 127.0.0.1, with API keys isolated in macOS Keychain. It is MIT-licensed and free; the current public build is v1.0.0-beta.7, ad-hoc signed, so first launch needs a manual quarantine removal. There is no cloud sync, no hosted team memory, and no support for tools outside the six hosts.
The local daemon (contextcore serve, default 127.0.0.1:8420 on shipped builds, 18420 in dev) syncs authorized history directories and host config files. Inside any supported assistant, /contextcore (or saying "continue", "relay", "接着做", "接力") makes the MCP tools return recent cross-host candidates as short briefs — title, brief_summary, source agent, project or unassigned label, native session ID, directory, and Git branch/worktree — without calling a background model. Replying with just a number or session ID returns bounded context plus transcript_paging (must_not_execute=true); omitted turns are paged sequentially by the receiver through read_conversation_messages (offset=0, limit=30) or GET /api/conversations/<id>/messages, compacted in its own context, summarized back to you, and then it waits. Attaching a concrete task alongside the number authorizes immediate continuation unless a matching working_tasks entry is marked discussion_only. The memory layer keeps contents (six classes, quoted sources, explicit supersession, outdated archival, and saved/provided/cited receipts) alongside short-term working_tasks maintained through bootstrap_working_memory, upsert_working_task, and promote_task_lesson. On the configuration side, One-Click Connect writes MCP servers, /contextcore Skills, and silent hooks; you fill read-only provider presets, run endpoint latency checks, bind models and Keychain secrets, sync MCP/Skills/prompts across hosts, and every change stores a rollback snapshot with a Diff dialog when an external manual edit conflicts. Search runs on local FTS5, with optional local vector semantics and relationship graphs off by default. Backups are whole-database SQLite online snapshots under <data_dir>/backups/ at 0600, triggered from Settings or contextcore backup.
- A developer who hits a Claude Code quota or context ceiling mid-task switches to Cursor, Codex, or Antigravity and types
/contextcoreto pick up the same work without re-explaining the project. - Someone running several coding assistants wants MCP servers, Skills, and system prompts synced across hosts at once, with rollback snapshots if a swap goes wrong.
- A developer who wants durable project constraints and lessons that trace back to exact dialogue turns or imported documents, and where deleting a chat never deletes the extracted memory.
- An engineer working in parallel Git worktrees needs candidate sessions separated by directory and branch so two same-title sessions don't get confused.
- A privacy-conscious user who requires transcripts, indexes, and memory to stay in a local SQLite file with keys in macOS Keychain and the service bound to loopback only.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install contextcore
- Ports
18420- Config files
.env- Runtime
- Python 3.12 · Node.js 24
- Install notes cover
- macOS
How do you install or deploy this agent?
Download Senrelay-macOS.zip from the v1.0.0-beta.7 release, extract it, move Senrelay.app to /Applications, then clear the quarantine attribute in Terminal:
xattr -cr /Applications/Senrelay.appYou can also allow it under System Settings → Privacy & Security → Open Anyway. Source checkouts can use app/macos/install-macos.sh. Requires macOS 14.0+ on Apple Silicon (arm64). For local development, use Python 3.12 and Node 24 LTS, running everything from the repository root:
python3.12 -m venv app/backend/.venv
app/backend/.venv/bin/python -m pip install -e 'app/backend[test]'
app/backend/.venv/bin/contextcore serve --host 127.0.0.1 --port 18420 --data-dir "$HOME/.contextcore/dev-data" --no-staticIn a second terminal, start the isolated Vite dev server (15173 proxies to 18420):
npm --prefix app/frontend ci --ignore-scripts
npm --prefix app/frontend run dev:isolatedDo not run pip install contextcore — that PyPI package is an unrelated third-party project.
How do you use this agent?
Run One-Click Connect once per host in Agent Management to authorize history paths, MCP tools, the /contextcore Skill, and hooks. Then start a relay from the receiving assistant:
/contextcoreReply with only a candidate number (or native session ID) for a read-only handoff: the receiver pages the transcript, compacts it, reports where the previous session stopped, and waits for your next instruction. Reply with a number plus a concrete task to continue immediately. Service commands:
app/backend/.venv/bin/contextcore status --json --data-dir "$HOME/.contextcore/dev-data"
app/backend/.venv/bin/contextcore backup --data-dir "$HOME/.contextcore/dev-data"
app/backend/.venv/bin/contextcore stop --data-dir "$HOME/.contextcore/dev-data"
app/backend/.venv/bin/contextcore generate-plist --data-dir "$HOME/.contextcore/dev-data"generate-plist only prints a LaunchAgent template; install / uninstall modify macOS LaunchAgents and require explicit authorization. To serve a built workbench:
npm --prefix app/frontend run build
app/backend/.venv/bin/contextcore serve --host 127.0.0.1 --port 18420 --data-dir "$HOME/.contextcore/dev-data" --frontend-dir app/frontend/dist-stagingThen open http://127.0.0.1:18420. Backend .env files are not auto-loaded.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- data-flow disclosure
- dependency security
- verifiable attribution
What are this agent's strengths and limitations?
- The relay finishes where you work:
/contextcorelists candidates with directory and Git branch labels, a bare number loads read-only, a number plus a task continues immediately, and same-title sessions or worktrees stay distinct. - Memories trace back to specific dialogue turns or imported documents, with six classes, 📌 pinned core rules, version rollback, and
outdatedarchival; chat deletion and memory deletion are independent. - Host config changes record per-entry ownership hashes and rollback snapshots, and external manual edits trigger a Diff confirmation instead of being overwritten; Skill installs default to file copies and never execute scripts.
- Everything stays local: SQLite files at 0600 permissions, service bound to 127.0.0.1, provider keys in Keychain and excluded from config exports, plus whole-database snapshot backups.
- Public Beta builds target Apple Silicon (arm64) on macOS 14.0+ only, are ad-hoc signed, and require a manual
xattrstep on first launch. - Only six hosts are covered (Codex Desktop/CLI, Oh My Pi, Cursor, Antigravity, Claude Code, OpenCode); configuration management and relay for other tools is explicitly unsupported.
- No cloud sync, hosted team memory, or remote access — the service must not be exposed over LAN, reverse proxies, or tunnels, so nothing crosses machines.
- Writing a config file does not prove a running host reloaded it, and endpoint latency checks are not live model inference; Developer ID signing, notarization, and clean-Mac Gatekeeper acceptance remain documented open boundaries.
- Local development means juggling Python 3.12 and Node 24 with separate backend and Vite processes, and you still supply your own provider API keys.
How does this agent compare with similar options?
The README positions Senrelay against two alternatives: standalone configuration switchers that manage provider files without project context, and cloud memory plugins that require uploading conversations to remote servers. Its claim is that local cross-agent relay, turn-cited persistent memory, and snapshot-guarded multi-host MCP / Skills / provider management live in one macOS runtime instead of being split across those tools. It also states it is unrelated to context-core.dev, the contextcore package on PyPI, and automotive relays.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Senrelay · ContextCore This agent | 79 · Good | Desktop appFree + model costs | ★ 101 | 6d ago | Python | Codex · Claude Code · OpenAI API · Claude API |
| ACE Context Learning Engine | 50 · Major gaps | Library / SDKFree + model costs | ★ 2.6k | 2mo ago | Python | Claude Code · OpenAI API · Claude API |
| PowerContext | 82 · Good | CLIFree | ★ 2k | today | Python | Codex · Claude Code |
| Remembra Relay | 83 · Good | Agent plugin / skillFreemium | ★ 17 | 20d ago | Python | Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows strict loopback binding, CSRF/Origin checks, per-host Agent credentials, Keychain storage, 0600 permissions, automatic rollback snapshots and Diff confirmation before config changes, plus separate consent for provider calls, history reads, config writes and model downloads. This supports higher scores for least_privilege, user_confirmation, data_flow_transparency, rollback and source_attribution. Deductions: main.py configures CORS with all methods and headers, which could widen exposure if settings.cors_origins is misconfigured; raw transcripts retain pasted tokens by design; there is no app-level isolation beyond the macOS user account; ordinary memory writes are not approved per item; whole-database restore is manual and requires stopping the service. Therefore least_privilege, user_confirmation, sensitive_data_handling, external_effects and rollback are 2, while data_flow_transparency and source_attribution are 3.
README, AGENTS.md, SECURITY, privacy, install-and-recover and CI are broadly consistent on six hosts, loopback, backups, recovery and verification boundaries; CI uses uv lock --check, uv sync --frozen, npm ci and npm audit, giving locked dependency evidence. Deductions: docs mention a workspace-redesign branch and legacy URLs, and some product behavior is asserted only in prose; the background worker swallows several exceptions, so failure reporting may be incomplete; runtime is limited to Apple Silicon macOS 14+. Thus self_consistency, dependency_availability and failure_messages are 2.
README clearly targets macOS developers using six AI coding assistants and includes a when-NOT-to-use section, support matrix and out-of-scope items, so audience_and_scenarios and capability_boundaries are strong. Deductions: triggers include /contextcore, continue, relay, 接着做 and 接力, so natural-language triggering has ambiguity risk; environment is limited to Apple Silicon macOS 14+ and ad-hoc signed Beta builds, making environment_fit narrow. Thus trigger_precision and environment_fit are 2.
README is well structured and covers install, development, recovery, uninstall, FAQ, limitations and MIT LICENSE; information_architecture, install_notes, examples_and_faq, known_limitations and license score 3. Deductions: Senrelay/ContextCore naming, the contextcore CLI and the unrelated PyPI contextcore package create naming confusion despite disambiguation, so naming_stability is 2; versioning is mainly via release tags and an embedded Change Log viewer, with no full CHANGELOG in the packet, so versioning_changelog is 2; publisher is unverified and maintenance responsibility is only implied through maintainer/private vulnerability reporting, so maintenance_responsibility is 1.
The product combines cross-Agent relay, source-linked memory and multi-host configuration management in a local workbench; documented outputs such as candidate briefs, receipts, Diffs and backups are useful to the target user, supporting output_usability and marginal_value. Deductions: static review cannot verify UI output quality or actual relay behavior; free MIT lowers direct cost, but macOS arm64-only support, ad-hoc installation and manual restore add usage cost, so cost_benefit is 2.
Docs cite decision IDs such as D001/D042, release-readiness, evidence register and SECURITY boundaries, giving strong claim_traceability; README, AGENTS.md, SECURITY, privacy, CI and test fixtures corroborate each other, supporting cross_source_corroboration; docs repeatedly distinguish verified vs unverified, state that this is not certification and that bundled evidence does not prove a fresh install, supporting fact_inference_separation. Deductions: some marketing claims and external website content are outside the packet and cannot be independently checked statically, though no fabricated tests or provenance were found.
- Current builds support Apple Silicon macOS 14+ only; the Beta is ad-hoc signed, requires manual quarantine removal on first launch, and is not Apple-notarized.
- Raw transcripts may retain pasted tokens or keys by design; audit logs and default exports strip managed secrets, but deletion is not forensic disk erasure.
- The security boundary is the single macOS user account and does not isolate malicious processes under the same user; misconfigured CORS settings could widen browser-side exposure.
- Whole-database restore requires stopping the service and manually replacing the SQLite file; configuration rollback and whole-database backup are separate mechanisms.
- Publisher identity is unverified, so maintenance responsibility and long-term update path are only indirectly supported by repository docs.
- This is a static source review; the app was not executed, and real host compatibility, UI output quality and relay behavior were not independently verified.
FAQ
Does it send my conversations anywhere?
macOS blocks the app on first launch — what do I do?
xattr -cr /Applications/Senrelay.app once, or allow it via System Settings → Privacy & Security → Open Anyway.Will it overwrite my hand-edited host config files?
If I delete a chat, do the memories extracted from it disappear?
I use a tool outside the six supported hosts. Can I still use it?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.