Rune is an expert AI coding assistant integrated into a software development workspace and Unity game development environment, built in Rust. It provides an interactive REPL/CLI interface, tool execution (file operations, command execution, git operations, code searching, Unity Editor integration, web utilities), and seamless API integration with LLM providers.
- Interactive REPL & CLI: Powered by
rustylinewith colorized output and prompt support. - Tool Execution Framework: Rich set of built-in tools for workspace inspection, file reading/writing/patching, executing shell commands, and git operations.
- Web Utility Tools: Built-in HTTP request execution (
http_request), web page scraping/fetching (fetch_web_page), and TCP port verification (check_tcp_port). - Docker Container Tools: Optional Docker integration (
--dockerflag) supporting container listing (docker_list_containers), container logs (docker_container_logs), container starting/stopping (docker_start_container,docker_stop_container), image listing (docker_list_images), and container inspection (docker_inspect_container). - MySQL Database Tools: Optional MySQL integration (
--mysql) supporting listing tables (mysql_list_tables), describing table schemas (mysql_describe_table), and executing SQL queries (mysql_execute_query). - GitHub Integration: Optional GitHub integration (
--githubflag orGITHUB_TOKEN) supporting reading issues & PR diffs, creating issues, posting comments, and opening pull requests. - Unity Editor Integration: Optional Unity Bridge (
--unityflag) supporting scene inspection, game object/component management, asset searching, reference validation, console log reading, and play mode control. - Godot Editor Integration: Optional Godot Bridge (
--godotflag) supporting active scene inspection (godot_inspect_scene), node property auditing (godot_inspect_node_properties), and node creation (godot_create_node). - Async API Client: Robust integration with LLM APIs supporting tool calling and streaming responses.
- Smart Context: Global awareness of repository architecture and file systems.
- Code Search Engine (cix): Fast symbol and pattern searching across the repository.
- Checkpointing & Version Control: Git integration for safety checks, stashing, and rolling back mutations.
src/main.rs: Entry point for the CLI and REPL loop, handling user input, history, and command dispatch.src/lib.rs: Core library initialization, agent orchestrator, and shared modules.src/api.rs: API communication layer with LLM endpoints, request payload formatting, and response parsing.src/tools.rs: Tool definitions, execution logic, workspace security validations, and utility functions.src/web_tools.rs: Web utility tools for HTTP REST requests, webpage fetching & HTML text extraction, and TCP port checks.src/docker_tools.rs: Docker container tools for listing containers, viewing logs, starting/stopping containers, listing images, and inspecting container state.src/mysql_tools.rs: MySQL database tools for listing tables, describing table schemas, and executing queries against MySQL databases (such as XAMPP MySQL).src/unity_tools.rs: Unity Editor bridge tools for inspecting scenes, managing GameObjects/components, assets, and console logs.src/godot_tools.rs: Godot Editor bridge tools for inspecting active scene hierarchies, auditing node properties, and creating nodes.unity/RuneBridge.cs: C# Unity Editor integration script providing HTTP bridge endpoints for Rune's Unity tools.godot/: Godot C# plugin integration (RuneBridge.cs,RuneBridgePlugin.cs,plugin.cfg) providing HTTP bridge endpoints for Rune's Godot tools.
You can install Rune instantly using our automated installer scripts without needing to build from source via Cargo:
curl -sSL https://raw.githubusercontent.com/SickleFire/rune/main/install.sh | bashiex (iwr -useb https://raw.githubusercontent.com/SickleFire/rune/main/install.ps1)Rune supports configuring API keys, models, and local endpoints via a streamlined rune.toml configuration file in your project root or home directory, with full backward compatibility for environment variables (GEMINI_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY, RUNE_*).
- Copy the sample configuration file (or run the setup script):
cp rune.toml.example rune.toml
- Edit
rune.tomlto specify your preferred provider, API keys, models (such asgpt-5.6-luna,gemini-3.5-flash-lite, or local models via Ollama / LM Studio).
Run Rune in your workspace:
runeTo run with Unity Editor bridge integration enabled:
rune --unityTo run with Godot Editor bridge integration enabled:
rune --godotTo run with MySQL database tools enabled:
rune --mysqlTo run with Docker container tools enabled:
rune --dockerOr pass prompts directly via CLI arguments for quick tasks and automation scripts.
Please see CONTRIBUTING.md for guidelines on how to contribute to this project.
MIT License. See LICENSE for details.