#hey, autogen running non python code?

8 messages · Page 1 of 1 (latest)

dusty breach
#

hey, has anyone tried generating javascript code and making autogen run it, how should i go abt this?

ornate pebble
#

Many LLMs can easily generate javascript, but autogen only runs python currently.

severe lily
#

is that the reason why I was struggling with autogen to invoke shell code like pip install ... that the LLM was suggesting?

#

if you use an Open source LLM capable of another language and use that in your config list, why couldn't that LLM be able to generate that languages code? or are you saying that it could generate that non python code , but autogen is unable to create a run-time environment for that code?

ornate pebble
#

More like the latter. Autogen can execute python code as well as shell commands like pip install. It cannot (currently) execute code written in other languages.

severe lily
#

i was considering positioning autogen as the primary engine for the AI-driven SWE teams in my company, but because it just supports python may be a problem. I'd prefer it be able to run shell commands and capture output , as well as understand Java, selfishly speaking

ornate pebble
#

You could write a modified UserProxyAgent that executes any language you like.

severe lily
#

it will be a few quarters until we get started on rolling out an AI Agent in my IT department, and I'm hoping the innovations will solve for Java natively, but if push comes to shove, we shall look into that.