Local-first AI coding assistant for Unity — explain C# scripts, generate NUnit tests, refactor, and run agentic tasks against 1,000+ free models, no API key needed for local models.
Package id: ai.localkeep.unity · Minimum Unity: 2021.3 · License: MIT
Via OpenUPM (recommended):
openupm add ai.localkeep.unityOr add the scoped registry manually in Edit → Project Settings → Package Manager:
- Name:
OpenUPM - URL:
https://package.openupm.com - Scope:
ai.localkeep
then install Local Keep AI from Window → Package Manager → My Registries.
Or install straight from the git URL (Window → Package Manager → + → Add
package from git URL...):
https://github.com/laynef/localkeep-unity.git
The Local Keep AI CLI:
pip install local-keep-ai-cli
lk loginAlso depends on com.unity.nuget.newtonsoft-json@1.0.2, which Package Manager
resolves automatically.
| Menu path | Action |
|---|---|
| Window → Local Keep AI → Chat | Streaming chat window |
| Window → Local Keep AI → List Models | Show every available model |
| Window → Local Keep AI → Switch Model | Change the active model |
| Window → Local Keep AI → Run Task... | Full agentic lk run |
| Assets → Local Keep AI → Explain Script | Explain the selected .cs file |
| Assets → Local Keep AI → Generate Tests | Generate tests for the selected script |
| Assets → Local Keep AI → Refactor Script | Refactor the selected script |
Configure the API base under the Local Keep AI settings (LkSettings).
Local Keep AI also ships for VS Code, Cursor / VSCodium, and JetBrains IDEs.
MIT — localkeep.ai