Skip to content

Add run_scripts tool to Agent - #3289

Draft
texodus wants to merge 1 commit into
masterfrom
run-scripts
Draft

texodus wants to merge 1 commit into
masterfrom
run-scripts

Conversation

@texodus

@texodus texodus commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

This PR adds a run_scripts tool to Perspective's Agent, which allows it to execute arbitrary JavaScript (in a sandbox subject to CSP) against Table creation and update, allowing your model to build data adapters on the fly by calling Browser APIs.

This tool is hidden behind the execute_code entitlement, off by default.

Screenshot 2026-11-12 at 11 17 29 AM Screenshot 2026-11-12 at 4 09 42 PM

Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus added the enhancement Feature requests or improvements label Nov 12, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature requests or improvements

Development

Successfully merging this pull request may close these issues.

1 participant