Skip to main content
6. Delivered

Python Script Actions Support in Agent Studio

Related products:Agent Studio
  • February 20, 2026
  • 0 replies
  • 13 views

Forum|alt.badge.img+1

:rocket:Introducing Python Script Actions — now Generally Available in Agent Studio across all commercial regions! 

Building custom logic in your agents just got a massive upgrade. One of the most consistent requests from developers has been clear: "APIthon is too limited — I need real Python with real libraries." Until now, you were stuck with a restricted scripting subset, making complex data transformations, calculations, and text processing either impossible or painfully hacky.
Python Script Actions fix that.

You can now write full Python 3 code directly inside Agent Studio (screenshots of old and new experience attached) — with access to all built-in modules and a curated set of pre-approved external libraries. Python Script Actions plug into Compound Actions and Conversational Processes exactly like APIthon scripts do, but with dramatically more power. Define input arguments from slots or previous step outputs, write your logic, and the value of the last line of code becomes your output. That's it!

What's included:

  • Full Python 3 with all standard libraries (json, datetime, re, math, collections, etc.)
  • 8 pre-approved external libraries out of the box:  pandas , numpy , scikit-learn , beautifulsoup4 , nltkplotlyseaborn , pycryptodomex
  • Same integration model as APIthon — define input args, write code, last line = output
  • Built-in testing in the Agent Studio editor before you deploy
  • 6 supported data types for input arguments: string, integer, number, boolean, array, object


Full documentation: Python Script Actions Reference
:point_right:Try it out and let us know what you think!