|
| 1 | +# Agent 🤖 |
| 2 | + |
| 3 | +Agent is an advanced AI-powered Discord bot built with [CommandKit](https://commandkit.dev/) that leverages natural language processing to provide an intuitive and powerful interaction experience. Built with modern technologies, it offers a seamless way to manage Discord servers and engage with communities through various features. |
| 4 | + |
| 5 | +## ✨ Features |
| 6 | + |
| 7 | +- **Natural Language Commands**: Interact with the bot using everyday language |
| 8 | +- **Channel Management**: Create and manage Discord channels effortlessly |
| 9 | +- **Interactive Polls**: Create and manage polls with natural language inputs |
| 10 | +- **AI Image Generation**: Generate images from text descriptions using Clipdrop API |
| 11 | +- **Smart Chatbot**: Engage in natural conversations with context awareness |
| 12 | +- **Google AI Integration**: Leverage Google's AI capabilities for enhanced features |
| 13 | + |
| 14 | +> [!NOTE] |
| 15 | +> This repository is just a simple example of what can be built with Agent. The actual implementation may vary based on your specific needs and requirements. |
| 16 | +
|
| 17 | +> Did you know that this project was vibe coded? 🤖 You can do that yourself by utilizing https://commandkit.dev/llms.txt in your code editor such as Cursor. |
| 18 | +
|
| 19 | +## 🚀 Getting Started |
| 20 | + |
| 21 | +### Prerequisites |
| 22 | + |
| 23 | +- [Node.js](https://nodejs.org/) (v22 or higher) |
| 24 | +- A Discord bot token |
| 25 | +- Google API key |
| 26 | +- Clipdrop API key |
| 27 | + |
| 28 | +### Installation |
| 29 | + |
| 30 | +1. Clone the repository: |
| 31 | + |
| 32 | +```bash |
| 33 | +git clone https://github.com/underctrl-io/agent.git |
| 34 | +cd agent |
| 35 | +``` |
| 36 | + |
| 37 | +2. Install dependencies: |
| 38 | + |
| 39 | +```bash |
| 40 | +npm install |
| 41 | +``` |
| 42 | + |
| 43 | +3. Configure environment variables: |
| 44 | + Create a `.env` file in the root directory with the following variables: |
| 45 | + |
| 46 | +```env |
| 47 | +DISCORD_TOKEN="your_discord_token" |
| 48 | +GOOGLE_API_KEY="your_google_api_key" |
| 49 | +CLIPDROP_API_KEY="your_clipdrop_api_key" |
| 50 | +``` |
| 51 | + |
| 52 | +You can obtain the required API keys from: |
| 53 | + |
| 54 | +- Discord Token: [Discord Developer Portal](https://discord.com/developers/applications) |
| 55 | +- Google API Key: [Google AI Studio](https://aistudio.google.com/apikey) |
| 56 | +- Clipdrop API Key: [Clipdrop API Documentation](https://clipdrop.co/apis/docs/text-to-image) |
| 57 | + |
| 58 | +4. Start the bot: |
| 59 | + |
| 60 | +```bash |
| 61 | +npm run dev |
| 62 | +``` |
| 63 | + |
| 64 | +## 🎯 Features Showcase |
| 65 | + |
| 66 | +### Natural Language Poll Creation |
| 67 | + |
| 68 | +Create polls using everyday language. The bot understands context and can handle follow-up questions naturally. |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | +### AI Image Generation |
| 74 | + |
| 75 | +Generate images from text descriptions using natural language prompts. |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | +### Context-Aware Chatbot |
| 80 | + |
| 81 | +Engage in natural conversations with the bot that maintains context and provides relevant responses. |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | +## 🤝 Contributing |
| 86 | + |
| 87 | +Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change. |
| 88 | + |
| 89 | +1. Fork the repository |
| 90 | +2. Create your feature branch (`git checkout -b feature/AmazingFeature`) |
| 91 | +3. Commit your changes (`git commit -m 'Add some AmazingFeature'`) |
| 92 | +4. Push to the branch (`git push origin feature/AmazingFeature`) |
| 93 | +5. Open a Pull Request |
| 94 | + |
| 95 | +## 🙏 Acknowledgments |
| 96 | + |
| 97 | +- [Discord.js](https://discord.js.org/) for the Discord API wrapper |
| 98 | +- [CommandKit](https://commandkit.dev/) for the Discord.js framework with AI capabilities |
| 99 | +- [Google AI](https://ai.google/) for generative AI models |
| 100 | +- [Clipdrop](https://clipdrop.co/) for image generation API |
0 commit comments