Open-source project
StackStorm/st2 avatar
StackStorm/st2

StackStorm st2: event-driven ops automation from sensor to pack

StackStorm (aka "IFTTT for Ops") is event-driven automation for auto-remediation, incident responses, troubleshooting, deployments, and more for DevOps and SREs. Includes rules engine, workflow, 160 integration packs with 6000+ actions (see https://exchange.stackstorm.org) and ChatOps. Installer at https://docs.stackstorm.com/install/index.html

6,566 stars797 forksPythonApache-2.0

At a glance

What is it?
StackStorm turns monitoring alerts, webhook calls and timer ticks into rules, workflows and packable content. The repository is a Python engine split into eight st2-prefixed components and built with Pants, and the integrations that decide whether it is useful to you live somewhere else entirely.
Who is it for?
StackStorm fits teams that already run monitoring, ticketing and cloud tooling and want the response to an alert written down as content they can review. It does not fit a first incident, a small team with nobody to hand escalation to, or an environment with no appetite for a multi service Python install.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 3 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • StackStorm/st26,566 ★ · +28
Star history
Repository2026-09-232026-11-22
StackStorm/st26.5k6.6k

28 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Sensors watch, triggers only give the event a name

StackStorm reaches into other systems through sensors, and a sensor is a Python plugin that watches an external system and fires a StackStorm trigger when something happens. The trigger is then only StackStorm's name for that event, so the vocabulary divides into generic triggers such as timers and webhooks, and integration triggers such as a Sensu alert or a JIRA issue updated. Writing a new trigger type is the same task as writing the sensor that feeds it, which is why the set of triggers lives in code and in packs rather than in a fixed list inside the engine. What the README does not hand you is a sensor skeleton, a trigger payload schema, or an example of the plugin interface a new integration is meant to implement. The only concrete trigger names a newcomer gets are timers, webhooks, Sensu alerts and JIRA updates. Anything else in your estate, a bespoke deployment tool or an internal ticket queue, needs an adapter written from scratch before a rule can even mention it.

A rule maps trigger payload fields onto action inputs

A rule is the join between an event and the work you want done. It maps triggers to an action or to a workflow, and it does two things at once: it applies matching criteria so that only relevant events fire, and it maps trigger payload data onto action inputs. The second half decides the shape of the rule. Every value an action needs has to arrive from somewhere in the payload, so a rule whose action takes one parameter can be short, while a rule feeding a diagnostic fan out turns into a page of mapping and criteria. Rules are treated as content rather than configuration, and that is the deliberate part: rules and workflows are stored as code, so they travel through the same review and sharing path as application code and can reach a wider audience through StackStorm Exchange instead of living in one operator's home directory. Two behaviours an operator would want spelled out are absent. The README does not say what happens when several rules match the same event, and it does not say what happens when a rule's criteria reference a field the trigger never sends.

Workflows behave like one oversized action

Workflows stitch actions together into what the project calls uber-actions. They define the order of the steps, the transition conditions between them, and the context data passed from one action to the next. Where they sit matters more than what they do: workflows live in the same action library as atomic actions, and both kinds can be invoked by hand or fired by a rule. The three operational patterns the README walks through all lean on that shape. Troubleshooting fans out from a Nagios, Sensu or New Relic failure into diagnostic checks against physical nodes, OpenStack or Amazon instances, and application components, then posts the results to a shared context such as Slack or JIRA. Remediation identifies hardware failure on an OpenStack compute node, evacuates the instances, and emails the VM about the expected downtime, but freezes the workflow and calls PagerDuty if anything goes wrong. Deployment builds and tests with Jenkins, provisions a new AWS cluster, shifts traffic with the load balancer, and rolls forth or back based on NewRelic application performance data. That freeze is the detail worth copying: waking a human is part of the workflow definition rather than something bolted on afterwards.

Packs are the unit of deployment, and the catalogue lives elsewhere

Packs are the deployment unit. They group integrations, meaning triggers and actions, together with automations, meaning rules and workflows, so a body of content ships as one thing instead of a directory of loose files that has to be copied around by hand. Three destinations are named for that content: a pack you write yourself, a pack shared on GitHub, and a pack submitted to the StackStorm Exchange organization. The size of the catalogue is not in this repository at all. It sits in the project description: 160 integration packs with more than 6000 actions, browsable at exchange.stackstorm.org. That split is the first thing to check when you are evaluating the platform, because the integrations decide whether StackStorm is useful to you and none of them are in the tree you clone. What you clone is the engine: eight st2 prefixed component directories, a contrib/ directory that the build treats as a source of runner components, plus conf/, packaging/ and scripts/ for configuration, distributions and helper tooling.

The audit trail records executions, not the decisions behind them

The audit trail is the historical list of action executions, manual and automated alike, and the project keeps it with the full details of the triggering context and the execution results. It is the record you read after an incident to establish what ran and what it saw, and the same executions are captured in audit logs for external logging and analysis tools: LogStash, Splunk, statsd, or syslog. What it is not is a record of intent. Retention is not documented in the README. Neither is a query interface for the trail, a schema for the stored records, or any rule about credentials that a workflow passed into an action on its way somewhere else. So if you need to prove that a particular rule was present and correct at a particular moment, that guarantee has to come from wherever your packs are versioned, because the trail as described captures executions and their context, not the content that scheduled them.

Eight services on one message bus, with no published limits

The engine is a set of loosely coupled microservice components that talk over a message bus and scale horizontally, and the tree names them plainly:

text
st2actions/  st2api/  st2auth/  st2client/
st2common/  st2reactor/  st2stream/  st2tests/

st2auth is where identity sits, and three of the backends behind it live in separate repositories and are pulled from their master branches rather than from pinned releases:

code
orquesta@ git+https://github.com/StackStorm/orquesta.git
st2-auth-backend-pam@ git+https://github.com/StackStorm/st2-auth-backend-pam.git@master
st2-auth-ldap@ git+https://github.com/StackStorm/st2-auth-ldap.git@master
st2-rbac-backend@ git+https://github.com/StackStorm/st2-rbac-backend.git@master

The orquesta engine that runs workflows is tracked from a git URL in the same way, while most of requirements.txt is frozen to exact versions, with only a few ranges such as cryptography>=41.0.5,<46. That mix is a trade you inherit: the workflow engine and the authentication and authorization backends move with upstream master, so an upstream change there can reach your install without a StackStorm release of its own. The horizontal scaling claim arrives with no numbers attached. The repository publishes no throughput figure, no queue depth limit, no statement of what an action does when the bus is unavailable, and no description of how the audit trail or an in flight workflow survives the loss of a node.

One curl line, a 64-bit Linux box, and a password in your shell history

Installation is one line in the README, and it opens with a constraint rather than a command: a clean 64-bit Linux box that fits the published system requirements. Then it hands you a pipe:

bash
curl -sSL https://stackstorm.com/packages/install.sh | bash -s -- --user=st2admin --password=Ch@ngeMe

Three details of that line deserve a pause. The password arrives as a command line flag, so the value lands in your shell history and in the process table while the installer runs; the placeholder shipped in the README is Ch@ngeMe. The script is piped from a network fetch straight into bash, so the run depends entirely on whatever that URL serves at the moment you execute it. Past that command the README defers to docs.stackstorm.com for installation procedures, and the repository itself lists no supported distributions, no minimum Python version, and no upgrade or rollback procedure. It also shows no st2 command of any kind, so the first thing you will want to do after installing, running a rule by hand, is not documented in the place you just read.

Pants runs the build, and the Makefile guesses your interpreter

Contributor setup is not a setup.py story. The repository carries pants, pants.toml, pants.ci.toml, a pants-plugins/ directory, get-pants.sh, BUILD, BUILD.environment, BUILD.tools, lockfiles/ and requirements-pants.txt, alongside a hand maintained fixed-requirements.txt from which requirements.txt is generated. The Makefile sits on top of that and picks your interpreter by guessing the operating system:

make
PYBIN ?= python3
VIRTUALENV_DIR ?= virtualenv
COMPONENTS := $(shell ls -a | grep ^st2 | grep -v .egg-info)

On Rocky 9 it switches to python3.11, because the default python3 on that release is too old, and it keeps separate virtualenv directories for macOS and for Linux so one checkout can drive a container called st2devbox while you work on a Mac host. The component list is a shell pipeline rather than a manifest: COMPONENTS comes from ls -a filtered on the st2 prefix, with contrib/runners/* and st2common/tests/runners/* folded in, and st2tests and st2exporter excluded from one of the derived lists. That holds together only as long as directory names keep the prefix, which makes the formatter target in pyproject.toml worth a second look: Black at max-line-length 100 with target_version py38, while the pinned dependency set has moved on (setuptools==82.0.1, greenlet==3.5.5, gevent==26.8.0). pytest runs with minversion 6.0 and addopts -l. Read the header of requirements.txt before you change a dependency: it is generated, and global dependencies are changed in fixed-requirements.txt followed by make requirements.

Editorial conclusion

StackStorm fits teams that already run monitoring, ticketing and cloud tooling and want the response to an alert written down as content they can review. It does not fit a first incident, a small team with nobody to hand escalation to, or an environment with no appetite for a multi service Python install. Before committing, read the system requirements page the README points at, confirm the packs you actually need exist on exchange.stackstorm.org, and decide where your automation content will be versioned, because the audit trail records executions rather than the rules that scheduled them.

Frequently asked questions

What does StackStorm st2 need before the installer script will run?

A clean 64-bit Linux box that fits the published system requirements, and nothing else is stated in the README. The README itself names no supported distributions and no minimum Python version.

How many integrations are available for StackStorm st2?

The project description counts 160 integration packs with more than 6000 actions, browsable at exchange.stackstorm.org. Those packs are not in this repository; the tree holds the engine components and a contrib/ directory the build treats as runner components.

Does StackStorm st2 keep a record of what its automations did?

The audit trail is the historical list of action executions, manual or automated, stored with the triggering context and execution results, and mirrored into audit logs for LogStash, Splunk, statsd or syslog. Retention and query interfaces are not documented in the README.

How does a StackStorm st2 workflow differ from an action?

A workflow stitches actions into an uber-action with an order, transition conditions and context data passed between steps. It sits in the same action library as atomic actions, so both can be invoked manually or triggered by a rule.

What language is StackStorm st2 written in and how is it built?

Python under the Apache 2.0 licence, built and tested through Pants (pants.toml, pants.ci.toml, pants-plugins/, get-pants.sh) with a Makefile on top that sets PYBIN ?= python3 and switches to python3.11 on Rocky 9.

Official sources

  1. License: Apache-2.0
  2. Project website
  3. README
  4. Releases
  5. StackStorm/st2 on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/stackstorm-st2.svg)](https://hysenlabs.com/projects/stackstorm-st2)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/stackstorm-st2.svg)](https://hysenlabs.com/projects/stackstorm-st2)

Was this useful?