Skip to content
AgentTx

VS Code extension (easiest)

Install the AgentTx extension for VS Code and connect Codex, Claude Code or GitHub Copilot with one click. No terminal and no settings files.

4 min readSynced from mainUpdated Sep 16, 2026

If you use Codex, Claude Code or GitHub Copilot inside VS Code, this is the easiest way to set up AgentTx. The extension installs AgentTx, connects it to your AI agent and checks that it works, all with buttons.

You don't need to open a terminal or edit any settings file.

Before you start

  • VS Code 1.101 or newer. To check, open HelpAbout (on macOS: CodeAbout Visual Studio Code).
  • Your AI agent ready in VS Code and signed in: the Codex extension, the Claude Code extension, or GitHub Copilot (built into VS Code).
  • A computer running macOS (Apple Silicon), Windows (64-bit) or Linux.

Step 1 — Download the extension

  1. Open the latest AgentTx release.
  2. Scroll down to Assets and click agenttx-vscode.vsix. Your browser saves the file, usually in your Downloads folder.

Step 2 — Install it in VS Code

  1. In VS Code, open the Extensions view: click the Extensions icon in the bar on the left, or press Ctrl + Shift + X ( + Shift + X on macOS).
  2. Click (Views and More Actions) at the top of the Extensions view.
  3. Click Install from VSIX… and choose the agenttx-vscode.vsix file you downloaded.

The Extensions view in VS Code with the ⋯ menu open and "Install from VSIX..." highlighted

When it's installed, a new AgentTx icon appears in the bar on the left.

Step 3 — Open the AgentTx panel

Click the AgentTx icon in the left bar. The panel walks you through three steps: install, connect, try.

The AgentTx panel in VS Code showing step 1 "Install AgentTx" with an Install AgentTx button, and the Codex, Claude Code and GitHub Copilot cards

Step 4 — Install AgentTx

Click Install AgentTx. The extension downloads the right version for your computer, checks the file is intact and installs it. This takes a few seconds.

When it's done, step 1 shows a green Installed label:

The AgentTx panel after installing, with a green "Installed · v0.1.0" label and a message saying AgentTx is installed

Step 5 — Connect your AI agent

Click the Connect button for the agent you use. You can connect more than one.

The Codex card showing a green "Connected" label, and a message with a Reload Window button

Then do the one thing your agent needs to load AgentTx:

AgentWhat to do next
CodexClick Reload Window in the message that appears.
Claude CodeStart a new conversation.
GitHub CopilotOpen Copilot Chat, choose Agent mode, click Configure Tools and make sure AgentTx is ticked.

Here both Codex and Claude Code are connected:

Both the Codex and Claude Code cards showing green "Connected" labels

Step 6 — Test it

Click Test AgentTx in step 1. The extension starts AgentTx the same way your agent does. A green message lists the six tools your AI now has:

A green message under Test AgentTx saying AgentTx 0.1.0 is working and listing six tools

Step 7 — Try your first safe task

In step 3 of the panel, click Copy request. Open your agent's chat, paste the request and send it.

Step 3 "Try it" with the example request and a "Copied" button

The first time your agent uses an AgentTx tool, it may ask for permission. Allow it. To see what happens step by step, read Your first safe task.

If a card says "Needs repair"

This means your agent is set to start AgentTx, but it can't find the program. Codex shows this as No such file or directory (os error 2) or "MCP startup failed". It usually happens when AgentTx was added with just the name agenttx instead of its full location.

Click Repair, then reload the window (Codex) or start a new conversation (Claude Code).

The Codex card with an orange "Needs repair" label explaining that the program "agenttx" can't be found, and a Repair button

Check it from a terminal (optional)

The extension writes the same settings as the terminal commands, so the command-line tools see AgentTx too:

Terminal showing codex mcp list with agenttx enabled and claude mcp list with agenttx connected

What the extension changes

WhatWhere
The AgentTx program (only when you click Install AgentTx)~/.agenttx/bin
Codex (extension and CLI)adds [mcp_servers.agenttx] to ~/.codex/config.toml
Claude Code (extension and CLI)adds agenttx under mcpServers in ~/.claude.json
GitHub Copilotturns on the VS Code setting agenttx.githubCopilot.enabled
AgentTx data, one folder per agent~/.agenttx/clients/<agent>
  • Nothing else in those files changes. Before every change, the extension saves the previous file next to it with the extension .agenttx.bak.
  • Disconnect removes only the AgentTx entry.
  • The extension sends no telemetry. Its only internet request is the download from GitHub Releases.

Remove the extension

  1. Click Disconnect on each connected agent.
  2. In the Extensions view, find AgentTx, click the gear icon and choose Uninstall.