Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ptaNew to Visual Studio Code? Get it now.
pta

pta

pta-agent

|
2 installs
| (0) | Free
PTA - PyTorch Agent for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PTA VSCode Extension

VSCode integration for PTA — the AI coding agent CLI.

Features

  • Open/Focus PTA Terminal (Ctrl+Esc / Cmd+Esc) — Opens a PTA terminal in the editor side panel. If a PTA terminal already exists, focuses it instead of creating a new one.
  • Open New PTA Terminal (Ctrl+Shift+Esc / Cmd+Shift+Esc) — Always creates a new PTA terminal session.
  • Add Filepath to Terminal (Ctrl+Alt+K / Cmd+Alt+K) — Inserts the current editor file as a reference into the active PTA terminal:
    • No selection: @src/foo.ts
    • Single line: @src/foo.ts#L37
    • Multi-line: @src/foo.ts#L37-42
  • Editor Title Bar Button — Click the PTA icon in the editor title bar to open a new terminal.

Prerequisites

PTA CLI must be installed and available in your system PATH. The extension launches pta via the terminal — it does not bundle the CLI.

Installation

Install from VSIX: Extensions panel → ... → Install from VSIX → select the .vsix file.

Configuration

PTA terminals are created with the PTA_CALLER=vscode environment variable, so PTA can detect it is running inside VSCode.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft