A file-watching assistant that analyzes your codebase changes and provides real-time feedback on code quality, patterns, and best practices.
pip install -r requirements.txt
python main.py- Monitors your codebase for changes via file watchers
- Maintains a local SQLite database of your code structure
- Uses RAG (Retrieval-Augmented Generation) to analyze code changes
- Provides contextual feedback on code quality and patterns
- Acts as a code review mentor, not an autocomplete tool
- Local-first: All data stays on your machine
- Real-time analysis: Immediate feedback on code changes
- Context-aware: Understands your entire codebase structure
- Educational focus: Explains why something is problematic
- Non-intrusive: Suggests improvements without writing code for you
- Local TTS: Uses Chatterbox TTS for voice notifications
File System Changes → File Watcher → SQLite Database → RAG Analysis → LLM Feedback
- Code review automation for solo developers
- Learning tool for junior developers
- Consistency enforcement across large codebases
- Technical debt identification in real-time
- File system monitoring
- SQLite for local code indexing
- RAG pipeline for contextual analysis
- LLM integration for feedback generation
- Chatterbox TTS for local voice synthesis
Modern AI coding tools excel at code generation but often lead to poor practices when developers don't understand the generated code. Ducky bridges this gap by focusing on education and code quality rather than code generation.
- File Monitoring: Watches your project directory for changes
- Code Indexing: Maintains a searchable database of your codebase
- Change Analysis: Uses RAG to understand the context of your changes
- Feedback Generation: LLM analyzes changes against best practices
- Developer Notification: Provides actionable feedback and explanations
Ducky uses Chatterbox TTS for voice notifications:
- No API costs - Runs completely locally
- No API keys required - Zero external dependencies
- Voice cloning - Support for custom voice prompts
- Emotion control - Adjustable exaggeration and intensity
I never recommend cloning the dev branch and will never promise working versions on the dev branch. To get a sneak peek of what coming around the corner, check out my Miro Board
Ducky doesn't write code for you - it teaches you to write better code. The goal is to maintain developer agency while providing expert-level guidance on code quality and patterns.