Getting Started with the Canvas
The workflow canvas is your workspace for designing agent workflows. It features:- Infinite canvas - Pan around by clicking and dragging the background
- Grid system - Visual guides to help align your agents
- Drag-and-drop interface - Simply drag agents from the sidebar onto the canvas
Creating a Workflow
Access the Workflow Builder
Navigate to the workflow page from the home screen. You’ll see the canvas on the right and the agent sidebar on the left.
Add Agents to Canvas
Drag agents from the left sidebar onto the canvas. Each agent appears as a card with:
- Agent name in the header
- Description of what it does
- Icon representing the agent type
- Connection handle (circle on the right side) for linking agents
Configure Each Agent
Click on any agent card to open its configuration sidebar on the right. Here you can:
- Set API keys (for services like OpenAI, Gmail, Discord)
- Configure prompts and parameters
- Test the agent individually
Connect Agents Together
Create data flow between agents:
- Click and drag the connection handle (circle) on the right side of an agent
- Drag to the target agent you want to connect to
- Release to create the connection
The canvas shows helpful hints while connecting: “Drag to a target node or release to cancel”
Using AI to Generate Workflows
Agility includes an AI-powered workflow generator that can create complete workflows from text descriptions.Open AI Generator
Click the star icon button in the top-left corner of the canvas. A prompt input will appear at the top center.
Describe Your Workflow
Type a description of what you want to build. For example:
- “Read emails from GitHub and send summaries to Discord”
- “Generate blog post ideas and email them to me”
- “Monitor GitHub commits and create reports”
Using Workflow Templates
Templates provide pre-built workflows for common use cases. To use a template:- Browse available templates in the templates section
- Drag the template card onto the canvas
- The template will be placed at your drop location with all agents and connections intact
- Configure each agent with your own API keys and parameters
Working with the Canvas
Navigation
- Pan: Click and drag the canvas background
- Select agent: Click on any agent card
- Move agent: Click and drag an agent card
- Delete agent: Select an agent and press Delete, or use the delete button in configuration
Visual Feedback
- Connection mode: The cursor changes to a crosshair when creating connections
- Drag state: Agents show enhanced shadows and slight rotation when being dragged
- Connection targets: Potential target agents highlight with a blue border when connecting
- Connection source: The source agent shows a green border while connecting
Best Practices
Layout
- Position agents in a left-to-right flow matching data movement
- Keep related agents close together
- Leave space between agent groups for clarity
- Use the grid to align agents vertically or horizontally
Organization
- Start with input agents (Gmail Reader, GitHub Reader) on the left
- Place processing agents (Text Generator) in the middle
- Position output agents (Gmail Sender, Discord Messenger) on the right
- Save frequently to avoid losing work
Testing
- Configure and test each agent individually before connecting
- Test the complete workflow after creating all connections
- Check the configuration sidebar for error messages
Empty Canvas State
When you first open the canvas, you’ll see the message “Drag agents here to create your workflow”. This indicates the canvas is ready for you to start building.Next Steps
- Learn about connecting agents and managing data flow
- Discover how to test workflows effectively
- Explore common patterns for building powerful automations