Skip to main content

Coder Module

Add CodeWire to Coder workspaces with a Terraform module. This installs cw into your workspace and optionally starts the node process.

Usage

module "codewire" {
  source   = "github.com/codewiresh/codewire//coder-module"
  agent_id = coder_agent.main.id
  folder   = "/home/coder/project"
}

Variables

VariableDefaultDescription
agent_idrequiredThe ID of a Coder agent
folder/home/coderWorking directory for sessions
install_codewiretrueWhether to install cw
codewire_versionlatestVersion to install
experiment_report_tasksfalseEnable Coder MCP task reporting

What It Does

  1. Installs the cw binary into the workspace
  2. Configures the node with the workspace’s working directory
  3. Optionally enables Coder MCP task reporting for AI agent visibility