For Windows 10/11 x64. The driver only provides the HID channel shared by a physical controller and the virtual Micro surface. It does not read or check Codex or Agent Controller versions. The INF version only lets Windows order driver packages; it is not an application compatibility allowlist.
-
Extract the Agent Controller application and Micro driver packages, then close both Codex and every Agent Controller process. Codex can otherwise keep the previous UMDF driver binary loaded.
-
In an ordinary PowerShell, run this from the repository root:
.\virtual-micro\Install-CodexMicroDriver.ps1If the current directory is the extracted
virtual-microdirectory, run:.\Install-CodexMicroDriver.ps1 -
Approve the Windows UAC prompt opened by the script. A final
Readymessage means installation succeeded and the new driver is active. If the script reports restart required (exit code3010), restart Windows before opening Codex or Agent Controller. -
Start
AgentController.exeas a normal user. Click the small keyboard icon in the title bar to open Micro. Micro is always on top by default; right-click an empty part of its body to toggle that setting.
Do not keep Agent Controller elevated, and do not disable Windows driver-signing enforcement.
- For a normal Agent Controller or Codex update, exit Agent Controller, replace the application files, and restart it.
- Do not reinstall the driver for every update. Run the installer again only when the driver package itself changes, the device disappears, or its health check fails.
- The driver version does not need to match either Codex or Agent Controller.
The install script ends with Ready only when the installed binary is active. Installed ... restart required means Windows is still serving the old binary even if Device Manager already displays the new INF version. You can also check the device directly:
Get-PnpDevice -FriendlyName 'Codex Micro Simulator UMDF2 Virtual HID' |
Select-Object Status, FriendlyName, InstanceIdThere should be one device and its Status should be OK. If installation fails, read virtual-micro/driver-install.log first. See UNSIGNED-DRIVER.md for full build, re-signing, and certificate details.
- Windows 10/11 x64;
- the Codex desktop app installed and signed in;
- a Windows-recognized XInput controller for physical-controller input, and a working microphone for the voice key;
- no separate .NET Runtime installation—the Agent Controller Windows release is self-contained.
- Windows SDK
10.0.26100.0for SignTool; - pinned NuGet package
Microsoft.Windows.WDK.x6410.0.26100.6584for Inf2Cat; - Visual Studio/Build Tools MSBuild for one online restore when that NuGet package is not already cached.
This route does not require a C++ compiler, the Visual C++ Redistributable, or a .NET Runtime.
Also install Visual Studio Build Tools 2022 with Desktop development with C++, MSVC v143 x64/x86, x64/x86 Spectre-mitigated libraries, and MSBuild. Building Agent Controller also requires .NET SDK 10.
UAC is needed only while installing the driver. Do not import certificates from an untrusted source or distribute the local test certificate/private key created by the script.