Welcome to the Agent Workflow Builder! This guide will help you create your first AI-powered workflow in just a few minutes.
Windows:
# Run the setup script
.\scripts\setup.ps1
# Or manually install dependencies
npm installmacOS/Linux:
# Run the setup script
chmod +x scripts/setup.sh
./scripts/setup.sh
# Or manually install dependencies
npm installnpm startOpen your browser and go to http://localhost:3000
Let's create a simple workflow that takes text input and processes it with AI.
- Click "New Workflow" on the home screen
- Enter a name like "My First Workflow"
- Click "Create"
- Click "Show Node Palette" to reveal the node types
- Drag a Data Input node onto the canvas
- Drag an LLM Task node onto the canvas
- Drag a Data Output node onto the canvas
- Click and drag from the bottom of the Data Input node to the top of the LLM Task node
- Click and drag from the bottom of the LLM Task node to the top of the Data Output node
-
Click on the Data Input node to open its configuration:
- Set Data Type to "text"
- Enter default value: "Hello, world!"
-
Click on the LLM Task node to open its configuration:
- Enter prompt: "Analyze the following text and provide insights: {{input}}"
- Select model: "gpt-3.5-turbo"
- Set temperature: 0.7
-
Click on the Data Output node to open its configuration:
- Set format to "text"
- Enter filename: "analysis.txt"
- Go to the Testing Panel on the right
- Enter some test text in the input field
- Click "Run Test"
- Watch as each node processes the data
- View the results in the execution panel
- Click "Save" in the toolbar
- Your workflow is now saved and can be loaded later
Create a workflow that:
- Takes a URL as input
- Scrapes the website content
- Analyzes the content with AI
- Outputs the analysis
Nodes needed:
- Data Input (URL)
- Web Scraping
- LLM Task (Analysis)
- Data Output
Create a workflow that:
- Takes document text
- Generates embeddings
- Performs similarity search
- Returns similar documents
Nodes needed:
- Data Input (Text)
- Embedding Generator
- Similarity Search
- Data Output
- Purpose: Entry and exit points for your workflow
- Configuration: Data type, default values, output format
- Purpose: Extract content from websites
- Configuration: URL, CSS selectors, content length limits
- Purpose: Process text with AI language models
- Configuration: Prompts, model selection, temperature, token limits
- Purpose: Create vector representations of text
- Configuration: Model selection, vector dimensions
- Purpose: Find similar content in vector databases
- Configuration: Vector store, result count, similarity threshold
- Purpose: Parse and structure data according to schemas
- Configuration: JSON schema, model selection
- Start Simple: Begin with basic workflows and add complexity gradually
- Clear Naming: Use descriptive names for nodes and workflows
- Test Frequently: Test your workflow at each step
- Error Handling: Consider what happens when nodes fail
- Use Variables: Reference other node outputs with
{{nodeId.output}} - Set Reasonable Limits: Configure appropriate token and length limits
- Choose Right Models: Select models based on your specific needs
- Parallel Processing: Some nodes can run in parallel
- Caching: Consider caching results for expensive operations
- Monitoring: Use the execution panel to monitor performance
"Nodes not connecting"
- Make sure you're dragging from output handles (bottom) to input handles (top)
- Check that nodes are properly positioned
"Workflow not executing"
- Verify all required parameters are configured
- Check the execution panel for error messages
- Ensure all nodes are properly connected
"Import/Export not working"
- Make sure you're using valid JSON format
- Check browser console for error messages
- Check the Execution Panel for detailed error messages
- Use the Testing Panel to debug with sample data
- Review the README.md for detailed documentation
Now that you've created your first workflow:
- Explore More Node Types: Try different AI operations
- Create Complex Workflows: Combine multiple node types
- Share Your Workflows: Export and share with others
- Customize the Interface: Modify node configurations
- Integrate with APIs: Connect to real AI services
Happy building! 🚀