---
id: 8830
lang: en
title: "OpenCode in VS Code: The AI Agent Now Has a Graphical Interface"
published_at: "2026-05-02 19:11:29"
source_name: "Habr AI"
source_url: "https://habr.com/ru/articles/1015670/?utm_campaign=1015670&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/8830"
categories: ["autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# OpenCode in VS Code: The AI Agent Now Has a Graphical Interface

> **Краткая суть (BLUF):** PrimeCode is a VS Code extension that adds a graphical interface to the OpenCode CLI. Instead of long stretches in the terminal, users see tool calls, file changes, context and token usage in a single window, right inside the developer's workflow.  One more important detail: the extension can pick up existing OpenCode sessions and continue them without losing history.

PrimeCode is a VS Code extension that gives OpenCode (an AI agent) a full graphical interface and moves work with the agent from the terminal into the familiar IDE.

### What is OpenCode?
OpenCode is a CLI tool and AI agent for development. It is fast, flexible and fits well into a developer's usual workflow.

### Why does an AI agent need a GUI if there is a terminal?
On long tasks, the terminal becomes a narrow window: it is hard to quickly assess the sequence of tool calls and see which files the agent is working on.

### Can you use an AI agent in VS Code?
Yes, the PrimeCode extension adds a graphical interface to the OpenCode CLI, letting you work with the agent directly in the editor instead of the terminal.

### How does PrimeCode differ from the OpenCode CLI?
PrimeCode does not change OpenCode itself. It adds a visual layer that makes it easier to follow the sequence of tool calls and understand what the agent is doing on long tasks.

### What is OpenCode for VS Code?
OpenCode is an AI agent for development. The PrimeCode extension adds a graphical interface to it in VS Code, so you work directly in the IDE rather than in the terminal.

### How do you use an AI agent in VS Code?
Install the PrimeCode extension. It adds a visual interface to the OpenCode CLI, helping you quickly track tool calls and understand what the agent is doing on long tasks.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/articles/1015670/?utm_campaign=1015670&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/8830
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
