i-am-bee / bee-agent-framework

The framework for building scalable agentic applications.
https://i-am-bee.github.io/bee-agent-framework/
Apache License 2.0
1.11k stars 108 forks source link

Add shell script executable agent #133

Open AbhijithGanesh opened 3 weeks ago

AbhijithGanesh commented 3 weeks ago

Is your feature request related to a problem? Please describe.

I'm working on integrating my automation tools with various platforms, and I've found that having a shell script as an executable agent would greatly simplify the process. Currently, I have to manually compile and run the script every time I want to use it.

For example, when I need to automate a task using my shell script, I have to:

Compile the script
Run the compiled script manually
Wait for the automation to complete

This process is not only time-consuming but also prone to errors. Having an executable agent would allow me to simply run the script directly without having to compile it first.

Describe the solution you'd like

I propose adding a feature that allows users to make their shell scripts executable agents. This could be done by:

Adding a checkbox in the settings or configuration section of the tool that indicates whether the script should be executed as an agent
Providing a way to package the script into a single, executable file
Ensuring that the script can run independently without requiring additional dependencies

Describe alternatives you've considered

I have considered using existing tools like Docker or containers to create an executable agent, but these solutions require more setup and configuration than I'm comfortable with. I also looked into using other automation platforms that provide executable agents, but they either don't integrate well with my current toolset or are not customizable enough for my needs.

JanPokorny commented 3 weeks ago

Hello, thank you for taking the time to write this proposal.

Could you clarify what you mean? As far as I know, shell scripts don't need compilation, you just run them like bash script.sh. What exactly do you mean by "compile the script" and how would an agent help here?