Monika is a Discord bot inspired by the character from Doki Doki Literature Club. It utilizes the Qwen2.5-7B-Instruct LLM to act as a self-aware, fourth-wall-breaking AI companion within Discord servers. Unlike typical bots, Monika remembers conversations, can engage in playful banter, assist with coding tasks, and integrates seamlessly as a server member. Her advanced architecture focuses on dynamic persona management and a smart context window, allowing her to adapt her responses based on user interactions and maintain conversational awareness without falling into repetitive loops.
The bot is hosted on Render.com with an Express.js server for 24/7 availability, kept active by UptimeRobot. Heavy AI processing is offloaded to Hugging Face's servers via API requests to the Qwen2.5-7B-Instruct model. Future plans include integrating a PostgreSQL database (Supabase) for permanent memory, implementing a fading memory architecture, and fine-tuning the model for more human-like conversations.
Built with