AI Assistants For Godot 4
G

Publisher

grandpaej

AI Assistants For Godot 4

Tools
AI Coding GDScript Python JavaScript Markdown Workflow Integration

A professional-grade AI coding assistant plugin for Godot 4 that transforms your development workflow with advanced features, responsive design, and enhanced markdown highlighting.

๐Ÿค– AI Coding Assistant for Godot 4 [v2.0.0] [Still on DEV MODE]

Godot 4 License: MIT Version

A professional-grade AI coding assistant plugin for Godot 4 that transforms your development workflow with advanced features, responsive design, and enhanced markdown highlighting.

โœจ Key Features

๐ŸŽฏ Advanced AI Integration

  • Multiple AI Providers: Gemini, HuggingFace, Cohere support
  • Smart Code Generation: Context-aware code suggestions
  • Real-time Assistance: Instant help with coding problems
  • Multi-language Support: GDScript, Python, JavaScript, JSON

๐ŸŽจ Professional UI/UX

  • Responsive Design: Adapts to any screen size automatically
  • Enhanced Markdown: VS Code-inspired syntax highlighting
  • Flexible Layout: Resizable panels and collapsible sections
  • Modern Theme: Dark theme optimized for developers

๐Ÿ“ฑ Cross-Platform Compatibility

  • Multi-Monitor Support: Seamless adaptation between displays
  • Screen Size Optimization: From large monitors to small laptops
  • Touch-Friendly: Works great on tablets and touch devices
  • Godot 4.x Native: Built specifically for Godot 4

๐Ÿš€ Quick Start

1. Installation

# Clone the repository
git clone https://github.com/Godot4-Addons/ai_assistant_for_godot.git

# Copy to your project
cp -r ai_assistant_for_godot/addons/ai_coding_assistant your_project/addons/

2. Enable Plugin

  1. Open your Godot project
  2. Go to Project Settings > Plugins
  3. Find AI Coding Assistant and enable it
  4. The AI Assistant dock will appear in the left panel

3. Configure API

  1. Click the โš™ Settings button in the AI Assistant dock
  2. Select your preferred AI provider (Gemini recommended)
  3. Enter your API key
  4. Start coding with AI assistance!

๐Ÿ“š Documentation

๐Ÿ“– User Guides

๐ŸŽจ UI & Design

๐Ÿ”ง Technical Documentation

๐Ÿงช Development & Testing

๐ŸŽฏ Core Features

AI-Powered Coding

  • Code Generation: Generate functions, classes, and complete scripts
  • Code Explanation: Understand complex code with AI explanations
  • Code Improvement: Get suggestions for optimization and best practices
  • Error Debugging: AI-assisted debugging and error resolution

Enhanced User Interface

  • Responsive Design: Automatically adapts to screen size
  • Professional Styling: VS Code-inspired dark theme
  • Flexible Layout: Resizable chat and code panels
  • Context Menus: Right-click for quick actions

Advanced Markdown Support

  • Syntax Highlighting: GDScript, Python, JavaScript, JSON
  • Rich Formatting: Headers, lists, quotes, links
  • Code Blocks: Language-labeled with professional styling
  • Real-time Rendering: See formatting as you type

๐Ÿ“ฑ Screen Size Support

Screen Size Layout Features
Large (>1000px) Expanded Full features, generous spacing
Medium (600-1000px) Balanced Optimized for productivity
Small (400-600px) Compact Auto-collapse, space efficient
Mobile (<400px) Minimal Essential functions only

๐ŸŽจ Visual Examples

Enhanced Markdown Highlighting

# GDScript with syntax highlighting
func _ready():
    var message = "Hello, AI Assistant!"
    print(message)

Professional Code Blocks

  • Language Labels: Clear indicators for each code block
  • Syntax Colors: Keywords, strings, comments highlighted
  • Line Numbers: Optional line numbering for code
  • Copy/Save: One-click code operations

๐Ÿ”ง API Providers

Gemini (Recommended)

  • Model: gemini-2.0-flash
  • Features: Fast, accurate, cost-effective
  • Setup: Get API key from Google AI Studio

HuggingFace

  • Models: Various open-source models
  • Features: Free tier available
  • Setup: Get API key from HuggingFace

Cohere

  • Models: Command series
  • Features: Enterprise-grade
  • Setup: Get API key from Cohere

๐Ÿ› ๏ธ Development

Requirements

  • Godot 4.x (4.0 or later)
  • Internet connection for AI features
  • API key from supported provider

Building from Source

# Clone repository
git clone https://github.com/Godot4-Addons/ai_assistant_for_godot.git
cd ai_assistant_for_godot

# Run tests
godot --headless --script test/run_all_tests.gd

# Install in your project
cp -r addons/ai_coding_assistant /path/to/your/project/addons/

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new features
  5. Submit a pull request

๐Ÿ“Š Statistics

  • ๐ŸŽฏ 4 AI Providers: Gemini, HuggingFace, Cohere, Custom
  • ๐ŸŽจ 4 Languages: GDScript, Python, JavaScript, JSON syntax highlighting
  • ๐Ÿ“ฑ 4 Screen Sizes: Optimized layouts for all display types
  • ๐Ÿ”ง 20+ Features: Comprehensive development assistance
  • ๐Ÿ“š 15+ Docs: Complete documentation and guides
  • ๐Ÿงช 25+ Tests: Thorough quality assurance

๐Ÿค Community

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Godot Engine: For the amazing game engine
  • AI Providers: Gemini, HuggingFace, Cohere for AI capabilities
  • Community: Contributors and users who make this project better
  • VS Code: Inspiration for the syntax highlighting theme

Made with โค๏ธ for the Godot community

Transform your Godot development experience with professional AI assistance! ๐Ÿš€โœจ