Delphi-AI-Developer  by Code4Delphi

Delphi IDE enhanced with AI for code generation and refactoring

Created 1 year ago
255 stars

Top 98.7% on SourcePulse

GitHubView on GitHub
Project Summary

Delphi AI Developer is a plugin for the Delphi IDE that integrates AI-powered code assistance. It targets Delphi developers seeking to accelerate development through intelligent code generation, refactoring, and suggestions, supporting both online and offline AI models.

How It Works

This plugin acts as an intermediary, connecting the Delphi IDE to various AI services including OpenAI, Gemini, Mistral, and Groq APIs, alongside local Ollama instances for offline capabilities. It offers features like code completion, general AI chat, and specialized database interaction for SQL generation, aiming to streamline the development workflow directly within the IDE.

Quick Start & Requirements

Installation involves downloading the plugin, opening the Package\DelphiAIDeveloper.dpk package in Delphi, and selecting "Install". Users require a Delphi IDE. Online AI functionality necessitates API keys for supported services. Offline AI requires installing Ollama (https://ollama.com/download) and downloading desired models. A demo video is available at https://www.youtube.com/live/7UcfPyqR2TY?si=bLw27HQP4diF7TCB&t=2822.

Highlighted Details

  • Multi-Provider AI: Supports OpenAI, Gemini, Mistral, and Groq APIs for flexible online AI integration.
  • Offline AI Capability: Enables local AI model execution via Ollama for development without internet connectivity.
  • Intelligent Code Completion: Offers real-time code suggestions invoked by shortcuts (e.g., Alt+Enter), accepting with Tab.
  • Specialized Chat Interfaces: Includes a general AI chat and a dedicated chat for database interaction, capable of generating and executing SQL.
  • Customizable Prompts: Allows users to define default prompts to tailor AI responses for specific needs, such as code formatting.

Maintenance & Community

Contributions via pull requests and issue reporting are welcomed. Specific community channels (e.g., Discord, Slack) or a public roadmap are not detailed in the README.

Licensing & Compatibility

The project is licensed under the permissive MIT License, making it free and open-source. No explicit restrictions are noted for commercial use or integration into closed-source projects.

Limitations & Caveats

Online AI services may incur usage costs. Setting up offline AI requires installing and configuring Ollama. The demo video is primarily in Portuguese. The plugin's functionality is strictly tied to the Delphi IDE environment.

Health Check
Last Commit

4 months ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
1
Star History
10 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Paul Gauthier Paul Gauthier(Founder of Aider).

aidermacs by MatthewZMD

0.5%
802
AI pair programming in Emacs, powered by Aider
Created 8 months ago
Updated 1 day ago
Feedback? Help us improve.