docs/en/Community-Articles/2026-06-18-deep-dive-9-workflows/post.md
There is a pattern I see in almost every real development session.
The interesting part is the code change, but the repeated part is everything around it:
When I work alone, I can do those steps manually. When I work with an AI coding agent, I do not want to keep pasting the same checklist into every prompt. I want the tool to understand that this solution has a normal way of preparing, validating, and recovering after changes.
That is the point of ABP Studio AI Agent Workflows.
Workflows let me define repeatable actions around an agent run. The model can focus on the ambiguous part, understanding the requirement and changing the code, while ABP Studio handles the deterministic parts that should happen before or after the work.
That combination is one of the clearest differences between ABP AI Coding Agent and a generic coding assistant. It is not only an editor with a chat panel. It is an agent inside a platform that already knows how to build, run, migrate, generate proxies, manage containers, execute tasks, and inspect runtime signals.
LLMs are powerful because they can reason through unclear requirements and modify code across files. But many development steps should not be creative.
If the team always builds a package after an application service change, that should be predictable. If API contract changes require proxy generation, that should not depend on whether I remembered to mention it. If a local run needs containers before the application starts, that setup should not be reinvented in every prompt.
Workflows give ABP Studio a place to encode those repeatable steps.
Choose a Workflow and Scope before sending your prompt:
The selected workflow can be configured through Workflow Settings, where you can create, edit, and manage reusable workflows for common development tasks:
For me, the value is not only automation. It is also consistency.
Instead of asking:
Please implement this, and then build, and maybe regenerate proxies,
and restart the app, and also add a migration if needed.
I can configure the workflow once and let the agent session carry that context.
That makes the prompt cleaner:
Add the missing status filter to the order list.
Use the selected workflow for validation after the change.
The workflow becomes part of the development environment, not a long instruction I repeat manually.
An AI Agent workflow has two sides:
Before steps run automatically in Agent mode. They are useful for setup actions that should happen before the model receives control, such as starting containers or running a preparation task.
Plan and Ask modes are read-only, so they do not execute before steps. That separation is important. If I am only asking a question or asking for a plan, I do not want Studio to start applications or run mutation-oriented tooling.
After steps are injected into the agent instructions as post-task guidance. The agent is expected to run the relevant post-steps after completing the work, but it can skip actions that do not apply.
For example, if my workflow includes "Add Migration" but the change does not touch the EF Core model, the agent should not create an empty migration just because the workflow exists. The workflow gives deterministic options, but the agent still uses the actual change to decide what is relevant.
Workflow actions are built around the things ABP developers already do in ABP Studio.
The supported actions include:
That list is very ABP-specific.
A generic coding tool can run shell commands, and that is useful. But ABP Studio workflows know about ABP Studio concepts: applications, containers, run profile tasks, packages, modules, migrations, and proxy generation. The agent can use those as first-class actions instead of trying to infer everything from terminal commands.
Workflows can be personal or shared.
This is where workflows become more than a convenience feature. A team can encode its normal AI-agent validation path into the solution itself.
For example:
Before:
- Start required containers
- Run the prepare-local-environment task
After:
- Build affected packages
- Generate Angular proxies when contracts changed
- Restart the Web and API applications
- Run the smoke-test task
Every developer using that run profile can work with the same repeatable loop. The workflow does not replace code review or testing, but it raises the baseline for what happens after the agent touches code.
This is why workflows are such a strong fit for ABP Studio AI Coding Agent. The model stays flexible where flexibility helps, and the platform stays deterministic where determinism matters.
The result is a cleaner division of responsibility:
| Responsibility | Best handled by |
|---|---|
| Understanding the requirement | AI Agent |
| Finding and editing relevant code | AI Agent |
| Starting known containers | Workflow |
| Running known tasks | Workflow |
| Adding migrations when needed | Agent using workflow action |
| Generating proxies when contracts change | Agent using workflow action |
| Building affected packages | Workflow / Studio tools |
| Investigating runtime failures | Agent using monitoring tools |
Workflows are even better when combined with AI Scopes.
Scopes define where the agent can work. Workflows define what repeatable actions should happen around that work.
For example, I can select a Catalog scope and a workflow that:
Catalog package,That is a focused agent loop. The agent does not need the whole repository, and the validation path does not need to be invented from scratch.
This is the kind of full flow that makes ABP AI Coding Agent feel different from tools that only operate at the file-and-terminal level.
Generic coding agents can be excellent: Cursor, Claude Code, Codex, Windsurf, and similar tools can read code, edit files, run shell commands, and help across many kinds of projects.
But ABP Studio AI Coding Agent is built for a different experience: It works inside ABP Studio, where the solution already has run profiles, applications, containers, tasks, modules, packages, migrations, proxy generation, monitoring, Git integration, and ABP-aware analysis.
Workflows use that platform context.
Instead of saying:
Run whatever commands seem appropriate.
I can say:
Use the selected ABP Studio workflow.
That is a very different contract. The workflow is visible, configurable, repeatable, and tied to the solution.
For ABP teams, this matters because the development process is not only code generation. It is code generation plus build, migration, proxy generation, application restart, runtime observation, and review.
ABP Studio AI Coding Agent is designed for that full loop.
Workflows make ABP Studio AI Coding Agent more practical for real development.
They let me move repeated setup and validation steps out of my prompt and into the platform:
That is why I see workflows as one of the features that makes ABP AI Coding Agent feel complete.
The agent is not isolated from the development environment. It works inside ABP Studio, with the same solution structure, run profile, tools, and team workflow that I already use.
That is the difference: not just AI-generated code, but an AI-assisted ABP development flow from change to validation.