This is the place for my cogs that were too spicy to go into crab-cogs. Mostly AI stuff.
These require Red 3.5+ and Python 3.10+
To add one of these cogs to your instance of Red, send the following commands one by one ([p] is your prefix):
[p]load downloader
[p]repo add holo-cogs https://github.com/hollowstrawberry/holo-cogs
[p]cog install holo-cogs [cog name]
[p]load [cog name]
You may be prompted to respond with "I agree" after the second command.
The agent cog will let you use your Discord Bot as an artificial user in your server. More than just a chat bot, it's designed with division of work (sub-agents), it features text-based memories, and has access to many tools like web search, image generation, and voice generation. Its memories may be manually set or automatically created by the bot, and will be recalled according to the context of the conversation.
I have found that the more context you provide to an LLM, the more natural its responses will be, and this is consistent with observations of developments in local agents such as OpenClaw. If you're using this cog, I leave it all to you, and I hope you and/or your community enjoy it.
agent cog currently needs better documentation.
Image generation using my website's api, arcenciel.io. Not really useful for public use.