Skip to main content

anysoar

One interface for AI agents to operate any SOAR platform, with guardrails built in.

Agents talk to anysoar; anysoar translates to whichever SOAR sits underneath through a per-vendor driver. Swapping SOARs means swapping a driver, not rewriting agents. Every action goes through a policy layer: reads run freely, writes wait for a person's approval, destructive actions are blocked, everything is audited, and a kill switch stops it all.

Status: pre-alpha. Expect breaking changes. Source, docs and a one-command demo: https://github.com/ag3ntsc4rn/anysoar

The anysoar console: an agent's action waiting for approval, and its reasoning as it works

Install

pip install anysoar                       # models, driver interface, policy layer, mock SOAR
pip install "anysoar[mcp]"                # + the MCP server (anysoar-mcp)
pip install "anysoar[shuffle]"            # + the Shuffle driver
pip install "anysoar[tines]"              # + the Tines driver
pip install "anysoar[testing]"            # + the contract test suite for driver authors

Python 3.12 or newer.

What's in it

  • Drivers: a mock SOAR with a synthetic phishing scenario, Shuffle and Tines. SwitchableDriver switches between SOARs while agents keep running.
  • OCSF data model: alerts are Detection Findings, cases are Incident Findings, indicators are observables (OCSF 1.9.0), whatever the SOAR.
  • Policy layer: GuardedDriver wraps any driver with approvals (from the MCP client or an approval service over HTTP), an audit log and a kill switch.
  • MCP server: anysoar-mcp offers each SOAR operation as a tool to any MCP client.
  • Driver contract tests: anysoar.testing.DriverContract, which every driver passes.

Use it from Python

The mock driver needs no SOAR:

import asyncio

from anysoar.drivers.mock import MockDriver
from anysoar.interface import CaseQuery
from anysoar.models import IncidentFindingStatusId, Observable, ObservableTypeId
from anysoar.policy import GuardedDriver


async def main() -> None:
    # GuardedDriver applies the policy: reads run, writes would need an approver.
    async with GuardedDriver(MockDriver()) as soar:
        open_cases = await soar.list_cases(
            CaseQuery(status_ids=frozenset({IncidentFindingStatusId.NEW}))
        )
        for case in open_cases.items:
            print(case.metadata.uid, case.message)

        sender = Observable(type_id=ObservableTypeId.EMAIL_ADDRESS, value="it-support@example.net")
        result = await soar.enrich_indicator(sender)
        print(result.observable.reputation)


asyncio.run(main())

Use ShuffleDriver(url, api_key) from anysoar.drivers.shuffle for Shuffle, or TinesDriver(url, api_key) from anysoar.drivers.tines for Tines; the rest of the code stays the same.

Use it from an MCP client

{
  "mcpServers": {
    "anysoar": {
      "command": "uvx",
      "args": ["--from", "anysoar[mcp]", "anysoar-mcp"]
    }
  }
}

The agent gets one tool per operation the SOAR supports, plus describe_soar. Write actions ask you in your MCP client, or in a web console with anysoar-mcp --approver http. Run anysoar-mcp --help for the options, including --driver mock,shuffle,tines and --policy.

Learn more

Licensed under Apache 2.0.

Metadata

Release files for anysoar 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anysoar 0.3.0
File Size Uploaded
anysoar-0.3.0.tar.gz 63.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anysoar 0.3.0
File Interpreter ABI Platform
anysoar-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 142.4 kB

Release files / anysoar-0.3.0.tar.gz

Download URL anysoar-0.3.0.tar.gz
Size 63.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3e96b5a3172cdd58bdfa29b4b3e12d663e428fb0f25d3b837b149d8aa1590337
BLAKE2b-256 checksum
How to use checksums
dc485f7cc6095937801f1b44fc4924e505d88500bbf7e4aae60617a7ea30ba7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / anysoar-0.3.0-py3-none-any.whl

Download URL anysoar-0.3.0-py3-none-any.whl
Size 78.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3f6caa373b3bdb7b202c93682d89f9d3cd84a29c39f36c13338296e7921b6e2
BLAKE2b-256 checksum
How to use checksums
2f3e0a19fd46b76f94b4e8d5aff460ae8369bfb2c3037dbdacdbe5e6b107bb29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page