A powerful visual canvas extension for designing multi-agent workflows. Create, connect, and export GitHub Copilot agents with an intuitive drag-and-drop interface.
- Interactive Canvas: Drag-and-drop interface powered by React Flow
- Agent Nodes: Visual representation of AI agents with customizable properties
- Connection Flows: Draw connections between agents to define handoff workflows
- Auto-Layout: Automatic grid arrangement for clean organization
- Zoom & Pan: Navigate large workflows with ease
- Rich Properties: Name, description, instructions, tools, and AI model selection
- Entry Points: Mark agents as workflow starting points
- Handoff Management: Define transitions with labels, prompts, and auto-send options
- Model Support: GPT-4, GPT-5, Claude Sonnet 4, and more
- Tool Integration: Configure available tools for each agent
- Import/Export: Save and load agent workflows
- Directory Import: Load entire directories of agent files
- Drag-and-Drop: Drop
.agent.mdfiles directly onto canvas - State Persistence: Automatic saving to
.agentdesign.mdfiles - File Format: Generates
.agent.mdfiles compatible with GitHub Copilot
- Real-time Validation: Catch errors before export
- Circular Dependency Detection: Prevent infinite loops
- Required Field Checks: Ensure complete agent definitions
- Entry Point Validation: Verify workflow has proper starting points
- Open VS Code
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "Agent Designer"
- Click Install
-
Open the Canvas
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Run:
Agent Designer: Open Canvas
- Open Command Palette (
-
Create Your First Agent
- Click "Add Agent" button
- Fill in agent details (name, description, instructions)
- Click "Save"
-
Connect Agents
- Drag from one agent to another to create a handoff
- Click the connection line to configure handoff details
-
Export Your Workflow
- Click "Export" to validate and save
- Files are created in
.github/agents/directory
- Command:
Agent Designer: Open Canvas - Or right-click an
.agentdesign.mdfile in Explorer
Add New Agent:
- Click Add Agent button in toolbar
- Or use Add from File to import existing
.agent.mdfiles
Configure Agent:
- Click Edit (βοΈ) on the agent node
- Fill in properties:
- Name: Agent identifier (max 100 chars)
- Description: Brief overview (max 1000 chars)
- Instructions: Detailed behavior guide (max 8000 chars)
- Model: Select AI model (GPT-4, Claude Sonnet 4, etc.)
- Tools: Comma-separated list (e.g.,
fetch, search, files)
- Click Save
Agent Actions:
- Entry Point (β): Mark as workflow starting point
- Edit (βοΈ): Modify agent properties
- Delete (ποΈ): Remove agent from canvas
Connect Agents:
- Click and drag from one agent to another
- A connection line appears
Configure Handoff:
- Click on the connection line
- Edit properties:
- Label: Button text in chat UI (e.g., "Start Implementation")
- Prompt: Message sent on handoff (optional)
- Auto-send: Automatically submit prompt (checkbox)
- Click Save
Import:
- Import Files: Select multiple
.agent.mdfiles - Load from Directory: Scan folder for all agent files
- Drag & Drop: Drop
.agent.mdfiles onto canvas
Export:
- Click Export button
- Review validation results
- Files saved to
.github/agents/directory
Access Settings:
- Click Settings button in toolbar
Configuration Options:
- Export Path: Choose between
.github/agentsor.github/chatmodes - File Format: Always exports as
.agent.mdfiles
- VS Code: Version 1.105.0 or higher
- Node.js: 22.x or higher (for development only)
| Command | Description |
|---|---|
Agent Designer: Open Canvas |
Open the visual designer |
Agent Designer: Open Design File |
Open existing .agentdesign.md file |
Agent Designer: Export Agents |
Export agents to .agent.md files |
Agent Designer: Import Agents |
Import agent files |
Agent Designer: Open as Text |
View design file as text |
Note: Some commands (New From Template, Run Simulation, Customize Theme) are registered but not yet implemented. The Toggle Entry Point feature is available via the UI button on agent nodes.
Agent Designer exports .agent.md files compatible with GitHub Copilot:
---
description: Generate an implementation plan
tools:
- fetch
- search
- usages
model: Claude Sonnet 4
handoffs:
- agent: Implement
label: Start Implementation
prompt: Now implement the plan outlined above.
send: false
---
# Plan
## Instructions
Generate an implementation plan for new features or refactoring.
Collect project context and create detailed implementation steps...File Structure:
- YAML Frontmatter: Agent metadata and handoff definitions
- Markdown Body: Agent name (H1) and instructions (H2)
- Location: Exported to
.github/agents/directory
# Clone repository
git clone https://github.com/samueltauil/copilot-agentdesigner.git
cd copilot-agentdesigner
# Install dependencies
npm install# Compile extension
npm run compile
# Compile webview
npm run compile:webview
# Build for publishing
npm run vscode:prepublish# Watch extension
npm run watch
# Watch webview (separate terminal)
npm run watch:webview
# Launch extension
Press F5 in VS Codecopilot-agentdesigner/
βββ src/ # Extension source
β βββ extension.ts # Extension entry point
β βββ AgentDesignerPanel.ts # Webview panel controller
β βββ AgentDesignEditorProvider.ts # Custom editor
β βββ models/ # TypeScript interfaces
β βββ generators/ # File generation/parsing
βββ webview-ui/ # React frontend
β βββ src/
β βββ App.tsx # Main canvas component
β βββ AgentNode.tsx # Agent node component
β βββ layout.ts # Layout algorithms
βββ out/ # Compiled output
βββ package.json # Extension manifest
Contributions are welcome! Please feel free to submit a Pull Request.
See CHANGELOG.md for a list of changes.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with React Flow for canvas visualization
- Powered by VS Code Extension API
For questions, issues, or feature requests:
Made with β€οΈ for the VS Code community
