Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

robocorp-action-server

⚠️ Deprecation Notice: Development of this package has moved and continues under a new PyPI package: sema4ai-action-server. You can follow the development in this GitHub repository. The robocorp-action-server package will no longer receive updates, so please update your dependencies to ensure continued support and improvements.

Robocorp Action Server is a Python framework designed to simplify the deployment of actions (AI or otherwise).

An action in this case is defined as a Python function (which has inputs/outputs defined), which is served by the Robocorp Action Server.

The Robocorp Action Server automatically 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 runs.

1. Install Action Server

Action Server is available as a stand-alone fully signed executable and via pip install robocorp-action-server.

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

For macOS

# Install Robocorp Action Server
brew update
brew install robocorp/tools/action-server 

For Windows

# Download Robocorp Action Server
curl -o action-server.exe https://downloads.robocorp.com/action-server/releases/latest/windows64/action-server.exe

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

For Linux

# Download Robocorp Action Server
curl -o action-server https://downloads.robocorp.com/action-server/releases/latest/linux64/action-server
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 Action

# 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 --expose

👉 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.

👉 Using the --expose -flag, you also get a public internet-facing URL (something like "https://twently-cuddly-dinosaurs.robocorp.link") and the related token. These are the details that you need to configure your AI Agent to have access to your Action

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 robocorp.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).

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 robocorp-action-server, but if for some reason it wasn't pip-installed, it's also possible to use python -m robocorp.action_server instead of action-server.

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

A list of releases and corresponding changes can be found in the changelog.

Metadata

Release files for robocorp-action-server 0.4.2

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

Source distribution (sdist)

Source distribution for robocorp-action-server 0.4.2
File Size Uploaded
robocorp_action_server-0.4.2.tar.gz 389.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for robocorp-action-server 0.4.2
File
robocorp_action_server-0.4.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
robocorp_action_server-0.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.5+ x86-64, Linux glibc 2.17+ x86-64 Details
robocorp_action_server-0.4.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
robocorp_action_server-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 Details
robocorp_action_server-0.4.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
robocorp_action_server-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 Details

Total release size: 58.5 MB

Release files / robocorp_action_server-0.4.2.tar.gz

Download URL robocorp_action_server-0.4.2.tar.gz
Size 389.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cb451f98ee633064e37308a9bd1fee2112c0efb853ef49280124d29818958205
BLAKE2b-256 checksum
How to use checksums
1717e41bccfcb5ecaae0ae58fd8fb60274c7638a87d6e040b8442ddd11c7c2b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.12.3 Linux/6.8.0-1021-azure

Release files / robocorp_action_server-0.4.2-cp312-cp312-win_amd64.whl

Download URL robocorp_action_server-0.4.2-cp312-cp312-win_amd64.whl
Size 8.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0b0db2a91f5004954f54ab839bc3f77def526ea4aca51d1c6832b17503d50cc3
BLAKE2b-256 checksum
How to use checksums
6a8dc3b8f5f3d35a2f809caef8eb4b8715e1ef07cc932fa0bc6c8961d703b3c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release files / robocorp_action_server-0.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl

Download URL robocorp_action_server-0.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Size 10.7 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
650c548b9b79c6d71b0dcf953c2e35a2de022a14eb5f5d87662573f6633abebd
BLAKE2b-256 checksum
How to use checksums
6cc17dc2b5082e32860dabbcc6f2670d9b29e3fb73f2f2cbc76fb2871b08d7a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

Release files / robocorp_action_server-0.4.2-cp311-cp311-win_amd64.whl

Download URL robocorp_action_server-0.4.2-cp311-cp311-win_amd64.whl
Size 8.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
8fdb75cfbaa6ee2e476baee2c79e19af68546bc17fbad298b33d51439a3448de
BLAKE2b-256 checksum
How to use checksums
695a208ebf919153415d2e63c9b02f24d62102cd2576fac3e6d451abe7467696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release files / robocorp_action_server-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl

Download URL robocorp_action_server-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Size 10.7 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
0481dacfdb5dd77a76b6930d5b52f3255dea715da5e0ece04294bc453b2009bb
BLAKE2b-256 checksum
How to use checksums
45768c49f6ce7cb12ca70a2a6c588e0b092758573051aa976e7abee286c2003e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

Release files / robocorp_action_server-0.4.2-cp310-cp310-win_amd64.whl

Download URL robocorp_action_server-0.4.2-cp310-cp310-win_amd64.whl
Size 8.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
8d3b65ab60d55b3ba10a16a87475a0190fb55742b77145217d7998f672d0f759
BLAKE2b-256 checksum
How to use checksums
ba2af6ed46b3d100a8a87e7b38fe9cba4089e16b8911bc405e7dce42feb5adb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release files / robocorp_action_server-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl

Download URL robocorp_action_server-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Size 10.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
2f3fbc3c5440c0be36478e399dbd23399a8be59388699315591bd94910c13456
BLAKE2b-256 checksum
How to use checksums
4d69d8dec2c46831e15e3efd3c06c60cc43147dc14c5cd70418c0b8988be4a0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

Release history Release notifications | RSS feed

This release

0.4.2 This release

7 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