Workflows

Workflows are custom agents that can run directly in the IDE. They are single-task executors, triggered to perform a specific job step by step.

Workflows allow you to define agent behaviors, instructions, and tools, but with a visual interface integrated into your development environment.

Use workflows to automate workflows, define reusable processes, and interact with Qodo’s powerful Agentic Tools. All without leaving your editor.


Getting Started

How to Use Workflows

To use a workflow, call it with its applicable slash command.

In the chatbox in the bottom of the Qodo Gen panel, type / followed by the required workflow's name.

For example:

/my-workflow-name

Once run, the workflows executes a single, focused job and then exits. It does not maintain ongoing context or remain active after completing its task.

You can either create a new workflow or use Qodo's ready-to-use default workflows.


Create a New Workflow

In order to create a new agent:

  1. Type / in the chat input, or click the / button, to open the workflow menu.

  2. Select Create new workflow in the workflow menu, then hit enter.

  3. The workflow creation panel will open.

  1. Name your workflow (e.g., review_agent)

  2. Steps: Enter natural language instructions for your agent to follow, step-by-step. For example: "1. Review my code changes. 2. Identify potential issues such as anti-patterns, missing error handling, or excessive complexity. 3. Provide a summary of the findings with recommended improvements."

  3. MCP Tools: From the list, Choose which MCP tools the agent should have access to (e.g., filesystem, github, shell).

  4. Preferable model: From the list, choose a preferable AI model for your workflow to use.

  5. Description: Add a description for your agent, explaining what it does.

  6. Click the Save button.

Your newly created workflow is ready to run immediately.

In the chatbox in the bottom of the Qodo Gen panel, type / followed by the workflow's name.

Sharing and reusing workflows

Qodo Gen makes it easy to collaborate by letting you share and reuse custom workflows across your team.

Share Button

Click the share button in a workflow's configuration page to share your workflow (click on the menu button on the top right, then choose Share .toml).

This allows you to export the workflow's configuration as a .toml file, so others can easily import and use it in their environment.

Edit workflow

Click the edit button next to a workflow's name to edit its configuration.

Import workflow from File

From the workflow menu, choose to upload a .toml file to import an existing workflow into Qodo Gen. Learn more about agent .toml file.

This makes it simple to standardize useful tools across your organization, or share helpful setups with teammates.

Last updated