A visual node-based editor for creating and managing CrewAI crews. This tool allows you to visually design your agent crews, define tasks, and export them directly from the interface.
- Drag-and-drop interface for creating crews
- Visual task and agent node creation
- Real-time crew visualization
- YAML export functionality
- Python crew.py export functionality
- Node.js (v20 or higher)
- npm or yarn
- Python 3.10+ (for future extensions)
- Clone the repository:
git clone [your-repo-url]
cd crew-editor
- Install dependencies:
npm install
# or
yarn
- Start the development server:
npm run dev
# or
yarn dev
- Open your browser and navigate to
http://localhost:5173
This section will guide you through the process of using the CrewAI Visual Editor to create a simple crew setup. Follow these steps to get started:
Follow the instructions in the CrewAI documentation to install CrewAI and create your defaultcrew.
- Open the CrewAI Visual Editor in your browser.
- Drag a Begin Node from the sidebar onto the canvas.
- Drag a Task Node from the sidebar onto the canvas.
- Connect the Begin Node to the Task Node by dragging from the handle on the right of the Begin Node to the handle on the left of the Task Node.
- Drag an Agent Node from the sidebar onto the canvas.
- Connect the Agent Node to the Task Node by dragging from the handle on the right of the Agent Node to the handle on the left of the Task Node.
- Fill in the required fields for each node:
- Task Node: Name, Description, Expected Output
- Agent Node: Name, Role, Goal, Backstory, Tools (comma separated list)
- Use the menu bar at the top of the editor to export your setup.
- Click on YAML Export to generate a YAML file of your current setup.
- Click on Python Export to generate a Python script of your current setup.
- Once you have completed these steps, you will have a basic crew setup ready for further development or deployment. Copy and paste the YAML into your agents.yaml and tasks.yaml files.
- Copy and paste the Python script into your crew.py file.
- You can save agents and tasks to the sidebar to reuse them later, by clicking the disk icon in the top right corner of each node.
- You can save and load your graphs by clicking the save/load icon in the top right corner of the page.
This project is built with:
- React + TypeScript
- Vite
- React Flow
- Material-UI
MIT