Skip to main content
Semgrep Agentic Workflows is in beta. Beta features are subject to change with continued internal benchmarking and customer feedback.
Semgrep Agentic Workflows encodes multi-step application security analysis as reproducible pipelines. A single Agentic Workflows pipeline can run several analysis steps in sequence. It takes code and security context as input, combines program analysis, deterministic tools, and constrained AI-based reasoning, and produces reviewable security issues. During the beta, Semgrep Agentic Workflows provides a curated set of vulnerability detection workflows that you run from Semgrep AppSec Platform. To run Agentic Workflows for the first time, see Get started with Semgrep Agentic Workflows (beta).

Agentic Workflows versus other Semgrep analysis

Semgrep Agentic Workflows performs targeted analysis that combines multiple analysis techniques and reasoning steps. It complements Semgrep Code’s rule-based scanning and AI-powered detection. The following table compares Semgrep detection options. For the nine Agentic Workflows and the classes they target, see Detection coverage.

How Agentic Workflows work

The following concepts describe how analysis is organized:
  • Agentic Workflows: A reusable definition of an application security pipeline. It specifies the analysis to perform and the type of issue or coverage objective to evaluate.
  • Run: An on-demand request to execute one or more Agentic Workflows against a selected repository. A run can include one or more jobs.
  • Job: One execution of an Agentic Workflow against a single repository.
  • Finding: The immutable raw output of a single detection workflow job. Findings appear on the job details page after a job finishes.
  • Issue: The deduplicated, processed output of the pipeline. Issues appear on the Workflows page in Semgrep AppSec Platform and include the evidence and context available from the run.
When you start Agentic Workflows, Semgrep clones the repository through its source code manager connection. The workflow runs its jobs and produces findings. Semgrep processes and deduplicates those findings into reviewable issues. You can monitor jobs on the Projects page and then review issues on the Workflows page in Semgrep AppSec Platform.

Detection coverage

During the beta, Semgrep offers nine pre-built detection workflows. Together, these workflows cover 70+ CWEs, including common injection, XSS, SSRF, and cryptography issues, as well as broader web, API, and crypto security analysis. This coverage is additional to what Semgrep Code and AI-powered detection already cover. Semgrep’s default workflow runs all nine of these workflows. Coverage depends on the workflow, repository language, framework, and available code context. A workflow might not analyze every file or detect every instance of a vulnerability class. Continue to use Semgrep Code and Semgrep Supply Chain for continuous rule-based scanning.

Available workflows

Credit usage and billing

Agentic Workflows runs consume AI credits. The amount of credits used for each run is shown in the Workflow jobs view for each project. If a run fails, Semgrep still debits credits for any steps that already completed. See Usage and billing for details.

Beta limitations

During the beta:
  • Runs must be started on demand. Scheduled runs are not available.
  • Only organization Admins can start Agentic Workflows runs.
  • Creating, modifying, or publishing custom Agentic Workflows is not supported.
  • Agentic Workflows runs only as a Semgrep-hosted service. Local CLI execution and customer CI environments are not supported.
  • Agentic Workflows issues are shown separately from findings created by other types of scans.
  • The API is experimental and can change.
  • Some deployment configurations are unsupported. See Unsupported configurations.
  • Detection coverage and supported repositories vary by workflow.

Next steps

See Get started to run your first Agentic Workflows.