This project make to show that Agent can be control discord bot with properly tool and system prompt.
- Unlimit Extension (Using MCP SSE to extend the bot tool)
- Dynamicly Module
- Easy to use and manage
- Clone the repository
- Install the required packages
pip install -r requirements.txt
- Copy the Environment file
cp .env.example .env
- Edit the Environment file
- Run the bot
python main.py
- Clone the repository
- Build the docker image
docker build -t ai-fantasy .
- Run the docker image*
docker run -d --name ai-fantasy ai-fantasy
* Note: If use docker please make sure to set the environment variable in the docker run command or in docker compose file.
Special thanks to Dương Lê Giang for providing invaluable guidance on RAG (Retrieval-Augmented Generation) concepts that formed the foundation of this implementation.
modules
- This folder contains all tool built-in for bot functions.objs
- This folder contains all typing objects for tool args ( tool decorator auto turn function args to json schema).classs
- This folder contains all class for bot functions.resources
- This folder contains system prompt and other resources.