#5

Does it support web environments?

Openwang1212opened 10mo ago

Theoretically, the in-memory sandbox and virtual file system should run in a web browser, but the current code implementation seems to rely on Node.js libraries, causing it to fail to run in a browser.


Does running it in a web browser align with the library's original design principles?

Activity

5
cramforce9mo ago

It could be made to work

cramforce9mo ago

(With some limitations)

cramforce9mo ago
wang12129mo ago

Would you try it if we ship? #7

Yes, I will conduct a trial run and do some testing, but my tests may not be comprehensive.

Besides, thank you for taking this requirement into consideration. I have read the blog posts you published, and the virtual bash and file system are such brilliant ideas for building agents. I hope they will be seen and put into practice by more people.


#7 @cramforce Will it be released?

Furthermore, I saw that you provided a skill example. In fact, one of my goals in using the bash-tool was to build skill support for agents in a web environment, and I also use Vercel's ai-sdk to build agents.

shenjunjian9mo ago

Reason 1: Both ai and just-bash can run in the browser (though insecure). Reason 2: createBashTool accepts a sandbox parameter. Therefore, adding browser support makes sense.