https://github.com/apneduniya/discord-ai-agent
An AI Agent that connects Discord to Google Calendar and manage your calendar activities through Discord using Composio.
https://github.com/apneduniya/discord-ai-agent
composio crewai discord-bot gemini-api python3
Last synced: 3 months ago
JSON representation
An AI Agent that connects Discord to Google Calendar and manage your calendar activities through Discord using Composio.
- Host: GitHub
- URL: https://github.com/apneduniya/discord-ai-agent
- Owner: apneduniya
- License: mit
- Created: 2024-06-26T01:11:05.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-01T09:18:37.000Z (11 months ago)
- Last Synced: 2025-01-04T19:23:43.015Z (5 months ago)
- Topics: composio, crewai, discord-bot, gemini-api, python3
- Language: Python
- Homepage: https://discord.com/oauth2/authorize?client_id=1255215362257977519
- Size: 93.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord AI Agent
๐ค Meet our new AI made using [**composio**](https://www.composio.dev/) & [**crew AI**](https://docs.crewai.com/)! ๐ This bot connects with your **Google Calendar**, making it a breeze to manage all your calendar activities right from _discord_. ๐ฌ๐
Table of Contents
- Demo
- Features
- How I Used Composio?
Getting Started
- Project Structure
- Contributing
Acknowledgments
- License
## ๐ฅ DEMO
[](https://www.youtube.com/watch?v=___DcDDQK-k)## ๐ Features
You can scheduled events just by normal chatting with our bot and you can:- **Create** events even by _adding someone via email, create google meeting room_ and all the neccessary features.
- **Find** upcoming events.
- **Update** & **Delete** existing events.
- **Create Quick** events.
- **Remove attendee** from an event## ๐ค How I used composio?
**Composio** was very _crucial and reliable tool_ for making my project. It helped me to make my agentic tools for the agent **much more faster** and **in an easy way** acting like a **pipeline** between _agent_ and _google calendar_. It would really took me many more days if done without this ๐ฅ.## ๐ซณ Prerequisites
You should have- Python 3.8 or higher
- GEMINI API KEY
- COMPOSIO API KEY
- Discord Bot Token
- And an [integration id](https://docs.composio.dev/api-reference/integrations/create-a-new-integration) from composio.## ๐ฃ Steps to Run
**Navigate to the Project Directory:**
Change to the directory where the `setup.sh`, `main.py`, `requirements.txt`, and `README.md` files are located. For example:
```shell
cd path/to/project/directory
```### 1. Run the Setup File
Make the setup.sh Script Executable (if necessary):
On Linux or macOS, you might need to make the setup.sh script executable:
```shell
chmod +x setup.sh
```
Execute the setup.sh script to set up the environment, install dependencies, login to composio and
add necessary tools:
```shell
./setup.sh
```
Now, Fill in the `.env` file with your secrets.### 2. Run the python script
```shell
python3 main.py
```## ๐๏ธ Project structure
```bash
โโโ utils
โโโ calendar.py
โโโ manage_events.py
โโโ .env.example
โโโ .gitignore
โโโ LICENSE
โโโ README.md
โโโ main.py
โโโ requirements.txt
โโโ setup.sh
โโโ tools.py
```## ๐ค Contributing
1. Fork the repository.
2. Create a new branch: `git checkout -b feature-name`.
3. Make your changes.
4. Push your branch: `git push origin feature-name`.
5. Create a pull request.## โ Acknowledgments
This project couldn't be there if they didn't be there!
- [Composio](https://composio.dev/)
- [discord.py](https://discordpy.readthedocs.io/en/stable/)
- [crew AI](https://docs.crewai.com/)
- [Gemini](https://gemini.google.com/app)Even something was gone wrong while making this project but composio team helped me to over come the issues and I am really thankful to it!
## ๐งพ License
This project is licensed under the [MIT License](LICENSE).