Architecture overview

IZ Code has a native core written in Rust, a web-based UI, and a small number of helper processes that it starts only when needed. The agent runtime, code index and memory live in the core, so every agent and every window shares them.

The big picture#

Process model: one Rust core behind the window
flowchart TD
  subgraph win["IZ Code window"]
    ui["UI: React, Monaco, workbench services"]
  end
  subgraph core["Rust core"]
    rt["Agent runtime, Context Engine, permissions"]
    idx["Code index, Agent Memory, database"]
    sys["Search, Git, terminal, language servers"]
    rem["Remote, account, updater, trust"]
  end
  ui -- "IPC" --> core
  core -- "stdio, ACP" --> agents["Coding agents: Claude, Codex, Copilot"]
  core -- "RPC" --> ext["Extension host (Bun)"]
  core -- "SSH or encrypted relay" --> remote["Remote agent: SSH, peer, cloud"]
LayerBuilt withJob
ShellTauri 2Native window, menus, file dialogs, deep links, auto-update. Uses the operating system's web view instead of bundling a browser.
UIReact 19, Monaco, VS Code workbench servicesEverything you see. Holds no secrets: tokens and keys stay in the core.
CoreRustAgent runtime, index, memory, search, Git, terminal, remote connections, settings, trust.
Extension hostA bundled Bun runtimeRuns VS Code extensions that need Node.js APIs, and language servers. One shared process, not one per extension.
AgentsEach agent's own CLI, spoken to over ACPModel calls and reasoning. IZ Code supplies context, tools and permissions.

Design choices#

One core, many windows. The index, memory and agent sessions belong to the core, not to a window. Two windows on the same folder share one index; closing a window does not stop an agent that is still working.

Agents are extensions. Each coding agent ships as an extension that starts its own CLI. The core talks to it over the Agent Client Protocol (ACP) and exposes sessions to the UI through the Agent Host Protocol (AHP). Adding an agent means publishing an extension, not changing the app. See Agent runtime.

The same context for every agent. Before a session starts, the Context Engine gathers project instructions (AGENTS.md, CLAUDE.md), Git state, MCP servers and code-index results within a token budget, so switching agents does not mean losing context.

Local first. The code index and memory are SQLite databases on your disk. Nothing is uploaded to build them. See Index, memory and data.

Thin client for remote work. In an SSH, peer or cloud workspace, the same Rust core runs on the other machine. Files, terminals, Git, language servers and agents run there; only the UI stays local. See Remote and cloud.

Self-contained runtimes. Language servers, the extension host and optional engines download or unpack their own runtimes the first time they are needed. You do not install Node.js, Python or a JDK to get started. See Extensions and languages.

Crates#

The Rust core is a Cargo workspace. The main crates:

CrateRole
izcode-coreAgent runtime, Context Engine, permissions, code index, memory, database engine, specs, search, terminal, language-server registry, Workspace Trust
izcode-ahpAgent Host Protocol server between the UI and the agent runtime
izcode-authAccount sign-in: PKCE, device flow, session refresh
izcode-collab, izcode-collab-coreShared documents for team specs
izcode-peer, izcode-peer-clientRemote Peer host and client
izcode-relayEncrypted relay so your devices can reach each other behind NAT
izcode-remote-agentThe headless core that runs on SSH hosts and cloud workspaces
izcode-rpc-wireFraming for the RPC between UI, core and remote agents

Security boundaries#

BoundaryRule
UI ↔ coreThe UI never receives account tokens or API keys.
Agent ↔ your filesEvery edit and command goes through the permission engine and Workspace Trust. Untrusted folders cannot be edited by agents.
Remote connectionsSSH uses your keys and known-hosts. Peer traffic is end-to-end encrypted through the relay.
UpdatesEvery update is signed and checked before it is installed; downgrades are refused.

Read more#

Last updated: December 1, 2026Was this page helpful?