daveshap / OpenAI_Agent_Swarm

HAAS = Hierarchical Autonomous Agent Swarm - "Resistance is futile!"
MIT License
2.95k stars 381 forks source link

Discord Bot Communications Bridge for Agent Swarm #154

Closed Starblaiz closed 8 months ago

Starblaiz commented 8 months ago

Created a simple Discord bot that allows easy sending of messages, reading of messages, and creation of public and private threads in a given channel in a Discord server. The bot is also capable of receiving commands from the Discord channel (which could potentially be from either a human or an Agent), as well as events such as error handling.

This is a simple setup for now to demonstrate the basic principals, and currently assumes all agents talk through the one single bot like a bridge. This can however be expanded to manage multiple bots / servers / channels if needed, and it will need some kind of agent management. This should at least be enough for now to get some experiments and discussion going.

Note that you will need to use Discord's Developer section to create a bot token and add the bot to a server you control.

The included README.md has more details on the usage.

daveshap commented 8 months ago

Exciting! Awaiting approval from other collaborators @guillermo-delrio @GeorgiaPhillips1008 @RomanGoEmpire @OWigginsHay

RomanGoEmpire commented 8 months ago

Looks good. Also great that you added an example to get a good understanding what functions can be used and how the interaction takes place!