Harness Console
Run Codex inside a VS Code panel and follow its subagents in separate output panes.
Requirements
- VS Code 1.84 or later.
- Codex CLI installed, authenticated, and available as
codex on PATH.
- The current release packaging targets Windows x64. Other platforms have not been verified.
- Hook tracking also requires
node on PATH.
Use
- Open a local workspace in VS Code.
- Select Harness in the activity bar.
- Click Start Codex to open the console panel and launch Codex.
The panel also supports a shell, where typing codex launches a tracked session.
Subagent output appears as Codex starts work with subagents. Terminal appearance follows
VS Code's terminal font, color, and rendering settings.
Settings
| Setting |
Default |
Behavior |
harnessConsole.subagentTracking |
logs |
Track Codex logs, or use hooks for new launches. |
harnessConsole.closeSubagents |
turnComplete |
Close panes at turn completion; agentComplete waits for agent shutdown. |
Hook mode adds Harness command handlers to hooks.json under CODEX_HOME, or
~/.codex when it is unset. Existing handlers are preserved. Open /hooks in
Codex to review and trust the handlers. Switching back to log mode leaves the
handlers installed; they do nothing outside a Harness launch. To remove them,
delete the command entries referencing HARNESS_CODEX_HOOK_SCRIPT from that file.
Harness reads local Codex logs and session transcripts to display subagent output.
Launch logs are stored in temporary directories and removed when the console
closes. The extension has no telemetry or network client of its own; Codex retains
its own authentication, network behavior, and session history.
Development
npm ci
npm run check
Press F5 in VS Code to launch the extension development host. Open Harness
there to verify the interactive console and subagent panes. See the repository's
RELEASING.md for packaging and release checks.
License
Copyright 2026 Harness Console contributors.
Licensed under the Apache License, Version 2.0.
This applies to the project's original code, documentation, configuration, and
assets. See LICENSE and NOTICE. Third-party dependencies retain their own
licenses and copyright notices.