microsoft / autogen

A programming framework for agentic AI 🤖
https://microsoft.github.io/autogen/
Creative Commons Attribution 4.0 International
32.69k stars 4.75k forks source link

[Feature Request]: To develop the Java version of AutoGen #1045

Open HamaWhiteGG opened 10 months ago

HamaWhiteGG commented 10 months ago

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

No response

Describe the solution you'd like

https://github.com/HamaWhiteGG/autogen4j

Additional context

No response

rickyloynd-microsoft commented 10 months ago

@HamaWhiteGG Can you add more details? Are you recommending a Java-native implementation of autogen, or just the ability to execute java code that an LLM generates?

HamaWhiteGG commented 10 months ago

a Java-native implementation of autogen. and I try to develop the Java version of Microsoft AutoGen by myself , named autogen4j.

https://github.com/HamaWhiteGG/autogen4j

Features

next i want to add the ability to execute java code that an LLM generates. [Feature]Support AssistantAgent in generating Java code and executing it

rickyloynd-microsoft commented 10 months ago

Can you share your experience in writing your Java version? How hard was it, and how much work would it take to complete it? Most importantly, what are the use cases that it would enable where the python implementation is insufficient?

HamaWhiteGG commented 10 months ago

Only having knowledge of Python and Java, this task wasn't difficult. Additionally, during the rewriting process, I utilized GPT-4 to expedite my development.

I developed autogen4j because many enterprise-level applications and big data engines are built using Java, such as Spring Boot, Hadoop, Flink, Hive, and more. This way, they can now leverage autogen's Multi-Agent capabilities.

rickyloynd-microsoft commented 10 months ago

Thank you for the information, and the initial implementation!

scorpiord commented 7 months ago

@HamaWhiteGG Can you add more details? Are you recommending a Java-native implementation of autogen, or just the ability to execute java code that an LLM generates?

Hello, is the ability to execute Java code generated by LLM in the development plan, or the ability to execute other programming languages, such as JS, etc.

sonichi commented 7 months ago

@ekzhu @jackgerrits fyi

jackgerrits commented 7 months ago

The code executor framework allows for extending to more languages. Right now there is not support for languages such as JS or Java though

thinkall commented 4 months ago

@HamaWhiteGG would you like to work on it? I think currently we don't have a plan for adding java version of AutoGen. We do have a .NET version.

HamaWhiteGG commented 4 months ago

@HamaWhiteGG would you like to work on it? I think currently we don't have a plan for adding java version of AutoGen. We do have a .NET version.

Yes, I like do it

thinkall commented 4 months ago

Thank you, @HamaWhiteGG !

CC: @sonichi , @LittleLittleCloud any suggestions on this?

miriyusifli commented 2 months ago

Hello, @HamaWhiteGG are there any updates on this? I’d like to contribute Java implementation as well.

rysweet commented 2 weeks ago

will not do this for 0.2 but it is on our minds for a future version