Skip to content

code execution as a tool using isolated-vm #971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nileshtrivedi opened this issue May 1, 2025 · 0 comments
Open

code execution as a tool using isolated-vm #971

nileshtrivedi opened this issue May 1, 2025 · 0 comments

Comments

@nileshtrivedi
Copy link

The code-generation ability in ChatSDK is implmented as an artifact. For data analysis tasks, it is useful for LLM to generate code and run it for its own purposes. The challenge here is to do this in a safe manner - no disk/network access, no unlimited runtime, not allowing access to main process context etc.

I believe this could be achieved using isolated-vm. If there is interest in this, should I start and submit a PR towards this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant