Use Case
A Use Case defines an end-to-end automation scenario. It wraps your trigger, all actions and agents, and your entire logic graph.
Trigger
A Trigger defines when a Use Case should run. It’s the event that starts execution.
Action
An Action performs a single operation during the flow.
Agent
An Agent is an AI-powered block capable of making decisions, generating content, and collaborating with users.
In addition to these building blocks, you should also be familiar with the
Execution.
Execution is the process of running the Use Case graph step-by-step.Use Case
What it is:A Use Case defines an end-to-end automation scenario. It wraps your trigger, all actions and agents, and your entire logic graph. Why it matters:
Use Cases give structure and intent to your flows. They let you describe what problem you’re solving—like automating bug triage or reviewing a pull request—while encapsulating all technical logic inside. Use Cases also improve over time. Every Use Case has its own memory, and Overcut runs retrospectives on past executions to capture lessons, refine existing guidance, and share it with future runs — so the Use Case gets sharper the more it’s used in your workspace. Core elements inside a Use Case:
- One Trigger (when the flow should start)
- One or more Actions or Agents (what should happen)
- A visual or declarative flow graph connecting them
Trigger
What it is:A Trigger defines when a Use Case should run. It’s the event that starts execution. Supported trigger types include:
- Pull request opened
- Issue labeled or updated
- Mention detected (e.g.
@overcut) - Slash command issued (e.g.
/review) - Scheduled events
- Manual button click
You can configure an optional delay before workflow execution to allow related updates to complete. This is useful for:
- Issue creation: Wait for fields to be filled out and labels to be added
- PR updates: Allow time for description edits and initial comments
- Field changes: Let users complete their input before processing
Interactive triggers (slash commands and mentions) ignore delay settings and execute immediately for responsive user experience.
Choose a trigger type
Select from prebuilt GitHub, GitLab, Bitbucket, Jira, or scheduling triggers.
Jira Triggers: Currently supports issue creation, updates, and comment events through the Forge app integration. Additional trigger types are being added.
Every Use Case starts with a trigger, it’s required.
Action
What it is:An Action performs a single operation during the flow. An action can be deterministic like “Clone a repository” or “Create a branch”, or it can AI based. Currently supported actions:
git.clone: Clone repositories for code analysisrepo.identify: Automatically determine relevant repositories for ticketsagent.run: Execute a single AI agent for straightforward tasksagent.session: Start multi-agent sessions with coordinationci.executeWorkflow: Trigger external CI/CD workflows such as GitHub Actions
More actions are coming soon for notifications, specific git or ticket operations, and more.
Configure input parameters
Set static values or use dynamic variables from earlier steps (e.g.
{{trigger.issue.title}}).Agent
What it is:An Agent is an AI-powered block capable of making decisions, generating content, and collaborating with users. Agents have access to predefined tools and can be trained for specific tasks. Agents are built on top of built-in specialized agent types. Agent Action Types:
agent.run: Execute a single agent for focused, non-interactive tasksagent.session: Coordinate multiple agents for complex, interactive workflows
| Base Type | Focus | Default tools |
|---|---|---|
| Senior Developer | Full implementation — read/write code, tickets, PRs, CI | 30 |
| Code Reviewer | Read-only review — inline PR comments, CI monitoring | 24 |
| Tech Writer | Documentation and content — full file access, tickets, PRs | 25 |
| Product Manager | Planning and coordination — tickets, PR oversight, no code writes | 18 |
| Custom | Fully configurable — no defaults, you select every tool | 0 |
Custom agents start with no tools selected. When you choose Custom as the base type, the tool list in the UI will be empty. You must manually select every tool the agent needs before it can take any actions.
- Agents are always built on top of one of the base types above.
- You can customize the agent with your own instructions, additional tools, and model selection.
- You can add MCP Servers to give the agent access to external tools.
To understand the differences between
agent.run and agent.session and when to use each, see our Agent Differences guide.Complete General
Enter the agent name and description so your team can identify when to use this role.
Choose Base Agent
Select a base type such as
Senior Developer or Code Reviewer. Choose Custom if you want to hand-pick every tool from scratch. See Base Agent Types for a comparison.Configure Customization
Add instructions and tools that define how the agent should behave. For
Custom agents, also select all the tools the agent needs — none are pre-selected.Connect MCP Servers (optional)
In the
MCP Servers section, assign MCP Servers to give the agent access to external tools. You can install servers from the MCP Catalog first.Model defaults and fallback order
Agents inherit their model selection from a strict cascade so you can define a single control point and let the rest fall through:- Coordinator override —
coordinatorModelKeyon anagent.sessioncoordinator (never applied to child agents) - Agent model — the agent’s own
modelKey - Workflow default —
defaultModelKeydefined in Workflow Metadata - Workspace default — configured in Workspace → General Settings
- System default — Overcut’s managed default model
For an end-to-end walkthrough, see the Default Model Configuration quick start.
Execution
Execution is the process of running the Use Case graph step-by-step. Once triggered, Overcut executes the Use Case graph step-by-step. Each node is evaluated in order, and each agent or action completes its task before the next begins. Execution is observable and can be monitored from theExecutions page.
Execution is sequential
Steps run in the order defined in your flow. Agents may take longer to complete depending on task complexity.
Workflow Execution Control
Priority Queuing:Control execution order when multiple workflows target the same resource using a 1-100 priority scale (lower numbers execute first). Resource Locking:
Only one workflow runs per issue, PR, or repository at a time, preventing race conditions and conflicts. Event Deduplication:
Rapid-fire events automatically merge while queued, reducing redundant executions by 60-80%. Queue Processing:
Background system processes workflows in priority order with FIFO within same priority level.
Learn more about how Overcut manages workflow execution in our Workflow Execution Control guide.
Advanced Workflow Features
Parallel Execution:Multiple independent steps can run simultaneously to improve workflow performance. Conditional Logic:
Steps can be executed based on conditions and previous step results. Error Handling:
Workflows can include fallback paths and retry mechanisms for failed steps. State Management:
Context and results are preserved between steps for complex multi-step workflows.