Getting Started

Creating Your First Workflow

Overview

This guide walks you through creating a simple two-step workflow: a researcher agent that gathers information, followed by a writer agent that turns the research into a summary.

Step 1: Create a New Workflow

Navigate to the Create page and click "New Workflow." Give it a name like "Research & Summarize" and an optional description.

Step 2: Add Your First Agent

Click "Add Step" and choose the Research Analyst template from the agent library. This agent comes pre-configured with web browsing and search tools. In the task field, enter what you'd like it to research — for example, "Find the latest trends in AI automation."

Step 3: Add a Writer Agent

Add a second step and select the Content Writer template. Its task should reference the previous step's output, such as "Write a concise summary of the research findings." Flux automatically passes the researcher's output as context.

Step 4: Run the Workflow

Click "Run" to start the workflow. You'll see real-time progress as each agent completes its work. Once finished, review the final output and iterate on prompts as needed.

Agent Flux - The Hugging Face for AI Agents and Workflows