Say one sentence. AI does the whole thing.
| You type | AI produces |
|---|---|
| "Make a black hole explainer video" | script → voiceover → video |
| "Build a VS Code extension" | code → error fixes → packaged .vsix |
| "Create a Python beginner course" | outline → slides → exercises |
Quick Start (3 steps)
- Install this extension from VS Code Marketplace
- Connect AI — use your existing GitHub Copilot, or add any API Key (see below)
- Run
Cmd+Shift+P→ "AI 工作流:新建任务" and describe your goal
Features
- Natural language input — describe your goal in one sentence; AI breaks it into stages automatically
- Visual execution — three-panel layout shows live progress, stage output, and AI quality suggestions
- Human-in-the-loop — pauses at key stages for your review; supports revision with comments
- Resumable history — all tasks are saved; close VS Code and pick up exactly where you left off
- Multiple output types — text, code, images (DALL-E 3), audio (Edge TTS), video (FFmpeg)
Connecting AI
Already have GitHub Copilot?
Install and log in — works immediately, no extra setup needed.
No Copilot?
Paste any OpenAI-compatible API Key in VS Code Settings (aiworkflow.llmApiKey).
DeepSeek is the cheapest option and offers free credits for new users — recommended for getting started.
| Setting | Purpose |
|---|---|
aiworkflow.llmApiKey |
Your API Key (DeepSeek / OpenAI / any compatible provider) |
aiworkflow.llmBaseUrl |
Base URL — DeepSeek: https://api.deepseek.com · OpenAI (default): https://api.openai.com/v1 |
aiworkflow.llmModel |
Model name, e.g. deepseek-chat, gpt-4o |
aiworkflow.openaiApiKey |
For DALL-E 3 image generation (optional — falls back to SVG placeholder if not set) |
System Dependencies
| Tool | Used for | Install |
|---|---|---|
| FFmpeg | Video synthesis stages | brew install ffmpeg (macOS) |
All other features work without FFmpeg. Missing tools show a clear error message; remaining stages are not affected.
Known Limitations
- Requires either GitHub Copilot (logged in) or a configured API Key to generate workflows
- Video synthesis requires FFmpeg installed locally
- Audio narration (Edge TTS) requires an internet connection; falls back to text output when offline
- Complete and save your output files before closing VS Code to avoid needing to re-run stages
中文说明
说一句话,AI 帮你做完整件事。
Stagent 将复杂任务拆解为多个阶段,AI 逐阶段执行并在关键节点等待你审核,直到产出成品。
Cmd+Shift+P → "AI 工作流:新建任务" → 描述你的目标 → AI 自动拆解并逐阶段执行。
AI 接入方式(二选一):
- 已安装 GitHub Copilot:直接使用,无需配置
- 没有 Copilot:在设置中填入 API Key(推荐 DeepSeek,新用户有免费额度)
详细配置见上方 Connecting AI 表格。