Загрузка...

FORGE (Unity Coding Agent)

# FORGE - Unity Coding Agent

FORGE is a Unity coding agent built for the Next Byte Hacks V2 spec. It connects a Next.js chat UI to a live Unity Editor through a local WebSocket relay, then uses Gemini 2.0 Flash function calling to inspect scenes, create and edit C# scripts, attach/configure components, and automatically check Unity compile status.

FORGE can run from the browser web app or from the Unity Editor chat window. This repo also includes a ready-to-open demo Unity project so the full loop can be tested without creating a project from scratch.

## Features

- Unity-aware chat agent with plan approval before tool execution.
- Animated plan steps that move through pending, active, and done states.
- Local WebSocket relay between the web app and Unity Editor.
- Scene hierarchy viewer and live tool call log.
- C# script creation and editing with syntax-highlighted diff previews.
- Auto-fix loop after `create_script` or `edit_script`: FORGE checks compile errors, sends errors plus source code back to the model, and retries fixes up to 3 times.
- Voice input using the browser Web Speech API.
- Prompt chips for common tasks: health system, enemy patrol, compile fixes, and score UI.
- Session replay saved in `localStorage`, with a History panel for reviewing past runs.
- Running Gemini token counter in the status bar.
- Ollama fallback when Gemini fails due to quota, network, or API errors.
- Sample Unity project under `demo/sample-unity-project` with the bridge already installed.

##Repo link: https://github.com/tayyaba034/Forge

Видео FORGE (Unity Coding Agent) канала who knows
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять