← Back to Leaderboard
Iim4codes

im4codes/imcodes

A self-hosted relay and daemon for remote coding sessions and cross-agent context

Engineering Health (Methodology)
A · 77/100
Maintenance Activity
● Updated today
Latest Release
android-v1.1-ed8765a
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence20/20
License Clarity6/20
DockerSelf-HostedMCPCLI
Total Stars
★ 965
24h Growth
+0
7d Growth
+0
Forks
122

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

im4codes/imcodes Star History (2026-03-30 - 2026-12-03) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +964 in 248d · avg +4/day 1k 510 0 2026-03-30: ★ 12026-04-18: ★ 172026-05-09: ★ 212026-05-30: ★ 1272026-06-20: ★ 3902026-07-11: ★ 7342026-08-01: ★ 9382026-08-22: ★ 9422026-09-12: ★ 9522026-10-03: ★ 9542026-10-24: ★ 9572026-11-09: ★ 9612026-12-03: ★ 965 ★ 965 2026-03 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

IM.codes separates client access, connection relaying, and execution. Browser and mobile clients reach a self-hosted relay over WebSocket; a second WebSocket leg reaches the developer-host daemon. The daemon owns agent sessions, using tmux for process-backed sessions and provider-specific transports or SDKs for other sessions, such as the Claude Agent SDK, Codex SDK, and OpenClaw gateway. The TypeScript package targets Node.js 22+ and exposes imcodes, imcodes-launch, and imcodes-launch-preflight as CLI entrypoints.

The extension point is a daemon-managed stdio MCP server for supported SDK-backed runtimes. It binds memory, messaging, and scheduling calls to the active session, project, user, and server instead of letting the agent supply those identities. The package includes ws and @modelcontextprotocol/sdk; imcodes send provides an agent-to-agent messaging path beyond the managed tool interface. Compatibility needs to be checked per backend: starting a session, exposing MCP tools, and supporting supervised workflows are separate capabilities.

Key Capabilities & Differentiators

IM.codes provides remote terminal access, file and Git views, localhost previews, and notifications for coding sessions across providers such as Claude Code, Codex, Gemini CLI, and OpenCode. Automatic memory capture uses final assistant.text, not streaming deltas or tool-call traces. Multilingual semantic recall runs locally and through server-side pgvector; recalled items can be injected at startup or per message, with timeline explanations and source snippets available when a summary is insufficient.

Supervision evaluates sessions at completed-turn boundaries and can continue, ask for human input, or start an audit-and-rework loop. On eligible transport-backed sessions, OpenSpec Auto Deliver adds task tracking and structured Team audit verdicts without staging, committing, or pushing code. Controlled Nodes are separately enrolled and revocable: authorized sessions can use scoped commands, transfer individual files, and invoke typed Computer Use actions. Capable Windows nodes also expose browser-based viewing and control.

Trade-offs & Limitations

SSH and tmux are a smaller operational commitment when you only need to reconnect to a terminal. A provider’s native CLI is simpler when one backend is enough. IM.codes adds value when browser or mobile access, role-based collaboration, cross-provider recall, and structured review need to coexist. In return, operators maintain a relay, PostgreSQL, a developer-host daemon, and the agent integrations. Self-hosting the relay does not make an external model provider offline, and optional summary sync changes where derived context is stored.

Treat host permissions, memory publication scopes, and rollout stability as adoption gates. Scoped credentials and revocation help limit Controlled Node access, but they do not replace host isolation and least-privilege configuration. Enterprise shared context is still under active development and has not been fully production-tested. This is a source-available personal project without an SLA or compatibility guarantees. The presence of LICENSE and COMMERCIAL-LICENSE.md is not enough to establish commercial-use rights; review the applicable terms before adoption.

Hardware & Deployment Guide

The Compose stack pairs ghcr.io/im4codes/imcodes:latest with pgvector/pgvector:pg18, persists PostgreSQL data in pgdata, and publishes the server only on 127.0.0.1:19138. Plan for an HTTPS front end: SERVER_URL and ALLOWED_ORIGINS use https://${DOMAIN}, and the WebAuthn RP ID defaults to that domain. Configure POSTGRES_PASSWORD and JWT_SIGNING_KEY, and ensure the HTTPS front end passes WebSocket connections. A root Caddyfile is present. For a reproducible rollout, pin a tested image version instead of tracking latest.

Developer hosts need Node.js 22+, tmux on macOS or Linux, and at least one supported agent. Native Windows session hosting via ConPTY is experimental; WSL is also supported. The December 2, 2026 releases include development builds for Controlled Nodes and Android variants with or without Firebase Cloud Messaging; the FCM build requires Google Play Services. Size the relay and PostgreSQL separately from agent hosts, where builds, embeddings, and concurrent sessions determine much of the load.

Session topology: A WebSocket relay connects browser and mobile clients to a developer-host daemon running tmux-backed or SDK-backed sessions.
Managed MCP: Supported SDK runtimes get scoped memory, messaging, and Cron tools, with feature gates and per-provider readiness indicators.
Memory provenance: Automatic memory capture uses final assistant text; recall cards show why an item was selected, and get_memory_sources retrieves evidence snippets.
Delivery controls: OpenSpec Auto Deliver scores spec, tasks, implementation, tests, and risk, then returns PASS, REWORK, or BLOCKED without staging, committing, or pushing.
Collaboration: Viewer and participant roles distinguish read-only access from the ability to send prompts; access can be downgraded or revoked.
Controlled Nodes: Independently credentialed machines support scoped commands, individual file transfers, and typed Computer Use; capable Windows nodes also offer browser View and Control.
Best For

Developers and teams running multiple coding agents on infrastructure they control who need to resume work remotely, reuse context across providers, and keep review and release decisions visible.

Skip If

SSH and tmux already solve the access problem, one native CLI meets your needs, or you require an SLA and production-proven shared context out of the box.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCPCLI
# Webhook → agent: GitHub webhook handler triggers code review
curl -X POST https://your-server/webhook -d '{"pr": 42}' \
  && imcodes send "Gemini" "review PR #42, write summary to /tmp/review.md"

# CI → agent: post-build trigger
imcodes send "Claude" "tests failed on main, check CI log at /tmp/ci.log and fix" --reply

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
imcodes ★965—TypeScript—A self-hosted relay and daemon for remote coding sessions and cross-agent contex
cc-switch159.1k+1.7kRustMITTauri desktop manager for AI coding providers, local routing, and MCP config
herdr54.1k+871RustApache-2.0Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces
claude-code-router38.5k+101TypeScriptMITLocal model gateway for routing coding agents across providers

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/im4codes/imcodes.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

im4codes/imcodes Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about imcodes

Where do agent sessions run, and how do they get MCP tools?

The browser or mobile client connects to the relay over WebSocket, and the relay connects to a daemon on the development host. The daemon runs process-backed sessions through tmux or uses provider-specific transports and SDKs. Its managed stdio MCP server exposes session-scoped tools to supported SDK-backed providers; being able to open a provider session does not imply that all managed tools are available.

Do I need a GPU, and how should I size the deployment?

No fixed GPU or VRAM requirement is specified. Size the relay for Node.js and PostgreSQL with pgvector, then size developer hosts separately for concurrent agents, builds, and local embedding work. If a chosen model runs locally, its compute and VRAM needs belong to that model, not to the relay itself. Measure resource usage with the providers and concurrency you expect to use.

Does self-hosting permit commercial use?

Do not infer commercial rights from the availability of Docker images or source code. The tree includes both LICENSE and COMMERCIAL-LICENSE.md, but their terms are not established here. Review both files at the revision you plan to deploy and verify that they cover your intended internal, hosted, or redistributed use.

When is IM.codes worth running instead of SSH, tmux, or a native agent CLI?

Use SSH and tmux if the main requirement is reconnecting to one terminal. Use a provider’s native CLI if one agent and its existing workflow are enough. IM.codes earns its extra operational cost when you need remote browser or mobile access, shared context across providers, delegated review, or role-based collaboration in the same workflow.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining im4codes/imcodes? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature im4codes/imcodes on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare