AI-powered data science agent that integrates directly into VS Code. Analyze data, create visualizations, and build models using natural language.
- Dual Chat Interface — Use the
@dsagentnative chat participant or the custom chat panel - Session Management — Create, resume, and manage analysis sessions
- Live Artifacts — View generated plots, CSVs, and other outputs in the sidebar
- Notebook Sync — Session notebooks sync with the DSAgent kernel
- Variables Explorer — Inspect DataFrames, variables, and imports in real time
- File Attachments — Upload CSV, Excel, JSON, Parquet, and other data files
- Human-in-the-Loop — Approve, reject, or modify agent actions before execution
- A running DSAgent server (
dsagent serve) - VS Code 1.85.0 or later
-
Start the server:
dsagent serve
-
Open VS Code — the extension auto-connects to
http://localhost:8000 -
Open the chat:
Cmd+Shift+P→ DSAgent: Open Chat
To connect to a remote DSAgent server:
Cmd+Shift+P→ DSAgent: Configure Server Connection- Enter the server URL (e.g.
https://remote-host:8000) - Enter the API key (if the server has
DSAGENT_API_KEYset)
Or configure in settings:
{
"dsagent.serverUrl": "https://remote-host:8000",
"dsagent.apiKey": "your-api-key"
}| Setting | Default | Description |
|---|---|---|
dsagent.serverUrl |
http://localhost:8000 |
DSAgent server URL |
dsagent.apiKey |
API key for remote server authentication | |
dsagent.autoConnect |
true |
Auto-connect on startup |
dsagent.model |
gpt-5.1 |
Default LLM model |
dsagent.hitlMode |
none |
Human-in-the-Loop mode |
gpt-5.1(default)gpt-5.2gpt-5.2-codexclaude-sonnet-4-20250514claude-opus-4-20250514gemini-3-pro-previewgemini-3-flash-previewgroq/openai/gpt-oss-120bgroq/qwen/qwen3-32bgroq/moonshotai/kimi-k2-instruct-0905openrouter/qwen/qwen3-coder-nextopenrouter/minimax/minimax-m2.1
none— Agent runs autonomouslyplan_only— Approve before executing a planfull— Approve every plan and code executionplan_and_answer— Approve plans and final answerson_error— Approve only when errors occur
MIT