Skip to content
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

Code execution (interpreter) support #137

Closed
operand opened this issue Sep 9, 2023 · 1 comment
Closed

Code execution (interpreter) support #137

operand opened this issue Sep 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@operand
Copy link
Owner

operand commented Sep 9, 2023

It's easy enough today to implement an "eval" action on an agent and use it to run arbitrary code in python or the shell, but given the power of code execution in general, I want to explore how it can be supported as a first class feature.

Following the React app updates, I plan to explore how this could be more directly supported.

In the meantime, this is all it takes to create a simple code-interpreter-like agent if you'd like to play around with this concept.

@action
def eval(self, code: str):
    """Evaluate python code within this agent's context"""
    eval(code)
@operand operand added the enhancement New feature or request label Sep 9, 2023
@operand operand assigned operand and unassigned operand Sep 9, 2023
@operand
Copy link
Owner Author

operand commented Sep 29, 2023

I've decided that this feature will be addressed in a new independent project dedicated to creating a new UI for experimentation and development. See the discussion here for more details.

If you'd like to sign up to be emailed when a prototype is ready, please click here.

@operand operand closed this as completed Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant