gptscript-ai / gptscript

Build AI assistants that interact with your systems
https://gptscript.ai
Apache License 2.0
3.09k stars 275 forks source link

Add all posix standard system utilities as tools #820

Open lmello opened 3 months ago

lmello commented 3 months ago

To make gptscript more secure, instead of using sys.exec create a tool for each posix standard system utilities tools and create a tool posix-tools that would allow all of them.

This should allow users to specify which tool they want like patch, ed (for editing files), awk, ls, ln etc.

https://pubs.opengroup.org/onlinepubs/9699919799/

lmello commented 3 months ago

Let me know if you think this is useful if it is, I am interested to work on it.