Repository navigation
Changli
π Changli AI Bot v1.0.0
Initial public release of Changli - a modular AI-powered WhatsApp bot built on Baileys v7.
This version marks the first stable milestone with a complete AI architecture, middleware system, and multi-key LLM integration.
β¨ Highlights
π§ AI Core
- Groq LLM integration
- Multi API key rotation with automatic cooldown
- Smart context builder
- Per-user memory system
- Explicit
.aimode - Command isolation (no memory pollution)
- Token usage tracking
βοΈ Modular Architecture
- Auto command loader
- Middleware chain:
- Permission
- Cooldown
- AI fallback
- Clean handler separation
- Scalable structure
π Access Control
- Admin whitelist
- Group restriction support
- Role-based command permissions
- Anti-spam cooldown system
π Utilities
.ai ping.ai help.ai clear.ai memory
π Stability
- Safe JSON memory persistence
- Auto-create logs directory
- Linux + Windows compatibility
- Clean socket lifecycle handling
π Technical Stack
- Node.js 20+
- Baileys v7.x
- Groq LLM API
- Express (Admin Dashboard)
- Pino Logger
π― Project Vision
Changli is designed as a lightweight but extensible AI assistant for small WhatsApp groups, focusing on:
- Intelligent conversation flow
- Controlled AI token usage
- Modular and maintainable architecture
- Scalable multi-key LLM strategy
β Notes
- Requires active WhatsApp account
- Requires Groq API keys
- Node 20+ recommended
This release establishes the foundation for future expansions including:
- Advanced mini utilities
- Tone classifier
- Spam detection
- Plugin system
- Real-time dashboard updates
- Advanced RAG system
First stable milestone. More refinement ahead.