Back to changelog
FeatureFunctions

Functions, end to end

Write and test Python functions in a secure sandbox, run them from the UI with live output, call them by name, and trust they handle big results and bad inputs gracefully.

Functions are the logic layer of myai, and they now work cleanly from first draft to everyday use.

Write and test in a secure sandbox

Write custom Python in an isolated sandbox that reaches your data through managed, audited connections rather than raw network calls. Snowflake, Databricks, Postgres, BigQuery, and REST APIs are all reachable, and you can test against real data in the editor, with clear errors and timing, before you deploy.

Run them from the UI

A Run button in the function viewer executes a function with live output. You see each tool call, its timing, and its result as it happens, and when something fails the error shows up inline so you can fix the inputs and run again without leaving the page.

Call any function by name

Functions can be called by their plain title, from the UI and from outside agents alike, so a voice assistant or another tool no longer needs an internal id to reach them. If the arguments do not match, the response hands back the shape it expected, so the caller can correct itself and retry.

Reliability: oversized results are trimmed before they can overflow a conversation, with the full result kept for any follow-up step, and malformed inputs are caught early with a message that points at the actual problem.