A lightweight CLI coding assistant similar to Claude Code, built from scratch without AI SDKs.
- Node.js 18+
- npm or yarn
- A Gemini API key
- ripgrep (for code search):
brew install ripgrep(macOS) orapt install ripgrep(Ubuntu)
# Clone the repository
git clone https://github.com/srikanta30/devpilot-ai
cd devpilot-ai
# Install dependencies
npm install
# Build the project
npm run build
# Make the CLI available globally (optional)
npm link# Start interactive chat
devpilot chat --api-key YOUR_GEMINI_API_KEYexport GEMINI_API_KEY="your-api-key-here"devpilot chat [options]
Options:
--api-key, -k Gemini API key (can also be set via GEMINI_API_KEY env var)
--model, -m Gemini model to use (default: gemini-2.5-pro)
--max-tokens Maximum tokens for response (default: 4096)
--help, -h Show help