Skip to content

srikanta30/devpilot-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevPilot AI 🤖

A lightweight CLI coding assistant similar to Claude Code, built from scratch without AI SDKs.

devpilot-ai

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn
  • A Gemini API key
  • ripgrep (for code search): brew install ripgrep (macOS) or apt install ripgrep (Ubuntu)

Installation

# 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

Usage

# Start interactive chat
devpilot chat --api-key YOUR_GEMINI_API_KEY

🔧 Configuration

Environment Variables

export GEMINI_API_KEY="your-api-key-here"

CLI Options

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

Contributors:

Srikanta Banerjee

About

A lightweight CLI coding assistant similar to Claude Code, built from scratch without AI SDKs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published