Skip to main content

actions-runtime

Actions Runtime is a Python framework designed to provide your Python functions to AI Agents. It works both as an MCP Server (hosting tools, resources and prompts) and also provides an OpenAPI compatible API.

A tool or action in this case is defined as a Python function (which has inputs/outputs defined), which is served by the Actions Runtime.

The Actions Runtime automatically provides a /mcp endpoint for connecting MCP clients and also generates an OpenAPI spec for your Python code, enabling different AI/LLM Agents to understand and call your Action. It also manages the Action lifecycle and provides full traceability of what happened during any tool or action call (open the /runs endpoint in a browser to see not only inputs and output, but also a full log.html with internal details, such as variables and function calls that your Python function executed).

1. Install Action Server

Action Server is available as a stand-alone executable and via pip install actions-runtime.

The 1.0.1 standalone binaries are unsigned and are not publisher-signed or notarized.

We recommend the executable to prevent confusion in case you have multiple/crowded Python environments, etc.

For macOS

# Install Actions Runtime
python -m pip install actions-runtime

For Windows

# Download Actions Runtime
curl -o action-server.exe https://github.com/joshyorko/actions/releases/download/actions-runtime-1.0.1/actions-runtime-1.0.1-windows64.exe

# Add to PATH or move to a folder that is in PATH
setx PATH=%PATH%;%CD%

For Linux

# Download Actions Runtime
curl -o action-server https://github.com/joshyorko/actions/releases/download/actions-runtime-1.0.1/actions-runtime-1.0.1-linux64
chmod a+x action-server

# Add to PATH or move to a folder that is in PATH
sudo mv action-server /usr/local/bin/

2. Run your first MCP tool

# Bootstrap a new project using this template.
# You'll be prompted for the name of the project (directory):
action-server new

# Start Action Server
cd my-project
action-server start

👉 You should now have an Action Server running locally at: http://localhost:8080, so open that in your browser and the web UI will guide you further.

MCP compatibility

/mcp supports the MCP 2026-07-28 per-request contract through the Python MCP SDK v2. Clients use server/discover and then send calls without an initialize/initialized exchange or Mcp-Session-Id. The legacy /sse endpoint and initialization/session-era compatibility path are intentionally not provided.

What do you need in your Action Package

An Action Package is currently defined as a local folder that contains at least one Python file containing an action entry point (a Python function marked with @action -decorator from actions).

The package.yaml file is required for specifying the Python environment and dependencies for your Action (RCC will be used to automatically bootstrap it and keep it updated given the package.yaml contents).

Note: the package.yaml is optional if the action server is not being used as a standalone (i.e.: if it was pip-installed it can use the same python environment where it's installed).

Community RCC Fork

This Action Server uses the joshyorko/rcc v18.19.3 community fork, which provides:

  • Faster startup - no proprietary cloud service calls
  • Official sources - downloads micromamba directly from conda-forge instead of Robocorp CDN
  • Decoupled infrastructure - works fully offline after initial environment bootstrap
  • Security hardening - includes upstream archive extraction and TLS fixes, built with Go 1.25.7

Environment caching means subsequent startups are near-instant once the holotree is built.

Bootstrapping a new Action

Start new projects with:

action-server new

Note: the action-server executable should be automatically added to your Python installation after pip install actions-runtime; if it was not, use python -m actions.server instead.

After creating the project, it's possible to serve the actions under the current directory with:

action-server start

For example: When running action-server start, the action server will scan for existing actions under the current directory, and it'll start serving those.

After it's started, it's possible to access the following URLs:

  • /index.html: UI for the Action Server.
  • /openapi.json: Provides the openapi spec for the action server.
  • /docs: Provides access to the APIs available in the server and a UI to test it.

Documentation

Explore our docs for extensive documentation.

Changelog

Clean-break Actions Runtime releases and actions-runtime-* tags use the Actions Runtime changelog. The historical Action Server changelog is retained for the older action-server-v1.2.x delivery line.

Maintainer and attribution

Maintained by Joshua Yorko. Upstream copyright and license attribution is preserved in NOTICE.md and LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

actions_runtime-1.0.2.tar.gz (947.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

actions_runtime-1.0.2-cp313-cp313-win_amd64.whl (11.5 MB view details)

Uploaded CPython 3.13Windows x86-64

actions_runtime-1.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (14.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

actions_runtime-1.0.2-cp313-cp313-macosx_12_0_arm64.whl (13.2 MB view details)

Uploaded CPython 3.13macOS 12.0+ ARM64

actions_runtime-1.0.2-cp312-cp312-win_amd64.whl (11.5 MB view details)

Uploaded CPython 3.12Windows x86-64

actions_runtime-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (14.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

actions_runtime-1.0.2-cp312-cp312-macosx_12_0_arm64.whl (13.2 MB view details)

Uploaded CPython 3.12macOS 12.0+ ARM64

File details

Details for the file actions_runtime-1.0.2.tar.gz.

File metadata

  • Download URL: actions_runtime-1.0.2.tar.gz
  • Upload date:
  • Size: 947.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.14

File hashes

Hashes for actions_runtime-1.0.2.tar.gz
Algorithm Hash digest
SHA256 289afb72273fb06b9790d5cd19d1be114cd3ad5c6a7c15d508f848d07993e5c2
MD5 778f9f09538108fd9030f16183538b88
BLAKE2b-256 7ae58ebb0ca2e2c449428e363617d2838ed5a0a5e035c6b19dec674889f6976b

See more details on using hashes here.

File details

Details for the file actions_runtime-1.0.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for actions_runtime-1.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6117d8a4aace61e1b6cc3f574d8cbcce03b75d0786a7982121ae8654af92c7d5
MD5 2e3ec0c3414a5625b528f81c7c56a016
BLAKE2b-256 717c76cbb815949c170a17798ef35adf5254b2c389833f9bdc345e08327412f1

See more details on using hashes here.

File details

Details for the file actions_runtime-1.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for actions_runtime-1.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3b4c796241e5e03774931b5c3a4b9829e645f0088132c3be63233e77283aca2
MD5 fd35e34f08bdcdb79c0957cc20a80112
BLAKE2b-256 cfb775a2b9959782c120f0503a9f397f26afe6ff293eccbffb635f3c941bc57d

See more details on using hashes here.

File details

Details for the file actions_runtime-1.0.2-cp313-cp313-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for actions_runtime-1.0.2-cp313-cp313-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 10b233797ea8a7e5163c1eb64fbac07cfb030db32efd4ddb4039192061bf3dae
MD5 77f5dae0d9500e27141ebff83b98914a
BLAKE2b-256 cb0e249cbf276bd9fd68a8c081ac24b9f2c1a333ab7f474039684f061f975c1a

See more details on using hashes here.

File details

Details for the file actions_runtime-1.0.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for actions_runtime-1.0.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b89354733eee403b5aa2e6827cf869164323c27dbdf677a9dd76e3bd4d80ac99
MD5 77c33b5d84e7d577c6cebdc86daa3f5e
BLAKE2b-256 4796b42f70761c3b8f45ba1f4c05c6ce9e4146b54b03fe60301d996cde8b7c61

See more details on using hashes here.

File details

Details for the file actions_runtime-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for actions_runtime-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9aef9ec55c17d90ec11a32d8d4da694def92502ba46a73621c35267f230873d3
MD5 75f55f1344450974872a2ede0ca1abda
BLAKE2b-256 2698478b1568cd91e2c17317289682813a843cf3a4bd12893322518f7140c356

See more details on using hashes here.

File details

Details for the file actions_runtime-1.0.2-cp312-cp312-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for actions_runtime-1.0.2-cp312-cp312-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 a35c80e87098b7ce2c470200b884f003689e4b95e6dbe2e42ab6a42f19a17685
MD5 06d8884b0a76f271811033283e1956e5
BLAKE2b-256 d6fe9e55acb5a0168af62cdfe5a6cb7b5ae62b4facffd2ebdaef51abb127b101

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

7 files

1.0.1

7 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