Skip to main content

🐍 Python Script Actions β€” now GA in Agent Studio across all commercial regions

  • March 5, 2026
  • 0 replies
  • 10 views

Kevin Mok
Forum|alt.badge.img+1

If you've built anything non-trivial with APIthon, you've hit the ceiling. Complex data transformations, real calculations, text processing β€” either impossible or painfully hacky in a restricted scripting subset. The most consistent ask from builders has been: "I need real Python with real libraries."


Done. Python Script Actions let you write full Python 3 directly in Agent Studio β€” with access to all built-in modules and a curated set of pre-approved external libraries. They plug into Compound Actions and Conversational Processes exactly like APIthon scripts, but with dramatically more power. Define input arguments from slots or previous step outputs, write your logic, and the value of the last line becomes your output. That's it.
Β 

What you get:
β†’ 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, nltk, plotly, seaborn, pycryptodomex
β†’ Same integration model as APIthon β€” define input args, write code, last line = output
β†’ Built-in testing in the editor before you deploy
β†’ 6 supported data types for input arguments: string, integer, number, boolean, array, object

Docs: Python Script Actions Reference

Β 

Try it out and let us know what you think β€” or what libraries you'd like to see added next!