Code Buddy - project-aware code generation with ChatGPT, DeepSeek, and Ollama

Code Buddy is an LLM-based code-generation asset for Unity.


With it, you can:

  • Generate project-aware code, shaders, or UI documents.
  • Chat about your project or code. Brainstorming ideas and planning architecture.
  • Work offline with Ollama support.
  • Modify, refactor, and get an explanation of the existing code.

It uses the latest AI functionality and your project context. Combining the power of LLM models with custom logic, Code Buddy can generate and modify scripts based on the project's existing functionality and assets. With these capabilities, you can create complex gameplay systems in minutes.


The purpose of Code Buddy is to speed up prototyping and reduce the development time of the new game features, allowing developers to be more creative and multiplying their ability to iterate on new ideas.


🚀 Speeds up development

Leveraging the latest AI models, this asset generates accurate, functional, and efficient code following the Unity Code Style.


♻️ Reuses code

It works with your existing codebase and generates code that integrates with your project. Unlike other unity assets, it does not require you to manually specify what you already have implemented and what you want to use.


💬 Can have a conversation and provide recommendations

With the latest update, you can talk to Buddy about your code or its specifics and request recommendations or explanations.


🏷️ No subscription

You don't need a subscription to use it. You will pay only for what you use with OpenAI or DeepSeek. Or, install Ollama locally and use it for free.


🎮 Unity-first workflow

With Code Buddy, you can generate and iterate on finished functionality without leaving the engine's UI. On top of that, it follows Unity's code style, making generated code very easy to understand and reuse in other projects.


🎓 Beginner friendly

Unlike Github Copilot, Cursor AI, or similar services, this asset does not require you to write very technical and granular prompts to produce working code. On the contrary, you can brainstorm and polish your request before generating any code.


🌍 Proxy support

If you live in a region where OpenAI is not accessible – do not worry. You can redirect Code Buddy to your proxy server, or one of the publicly available proxies.


🛡 Privacy

All context and project processing are done locally, so no code leaves your machine. The only things that are shared with AI providers are prompts and a compact description of the project.

API keys are encrypted and stored locally.


⚠️ IMPORTANT ⚠️

Asset requires one of the following:

1. OpenAI API account. It does not work with ChatGPT Plus subscription.

2. DeepSeek API account.

3. Ollama installed locally


JOIN DISCORD | DOCUMENTATION | YOUTUBE