-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
Install, configure a provider, run your first prompt. This page covers the desktop host path. If you want the browser variant, jump to Web App; for the Claude-driven MCP workflow, see MCP Server.
- .NET 9 SDK or later
- One AI provider configured, or a local model server (Ollama / LM Studio)
Platform requirements
-
WPF host (
Neo.App) — Windows 10/11 -
Avalonia host (
Neo.App.Avalonia) — Windows, Linux, or macOS
To use a different .NET version (e.g. .NET 10), change
NeoNetMajorinDirectory.Build.propsat the repo root.
Two solutions ship. Pick the one that matches your platform.
git clone https://github.com/hf75/N.E.O.git
cd N.E.OWindows — full solution, includes the WPF host:
dotnet build neo.slnCross-platform — Avalonia only:
dotnet build neo-avalonia.slnEvery agent implementation lives in the repo — no private packages.
Neo reads API keys from environment variables.
Windows (PowerShell)
[Environment]::SetEnvironmentVariable("ANTHROPIC_API_KEY", "sk-ant-…", "User")
[Environment]::SetEnvironmentVariable("OPENAI_API_KEY", "sk-…", "User")
[Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "AI…", "User")Linux / macOS — add to ~/.bashrc, ~/.zshrc, or equivalent:
export ANTHROPIC_API_KEY="sk-ant-…"
export OPENAI_API_KEY="sk-…"
export GEMINI_API_KEY="AI…"Then reload your shell or open a new terminal.
If Neo can't see any keys on first launch, it opens a setup window where you can enter them directly — no manual env editing needed.
- Install Ollama or LM Studio
- Start the server (default ports: Ollama
11434, LM Studio1234) - Launch Neo — it auto-detects the running server
# WPF host (Windows only)
dotnet run --project Neo.App
# Avalonia host (Windows, Linux, macOS)
dotnet run --project Neo.App.AvaloniaOr open the solution in Visual Studio / Rider and press F5.
Type a prompt in the input at the bottom and press Enter:
Create a calculator with large colorful buttons and a display at the top
Neo will:
- Send the prompt to the AI
- Receive generated C# code
- Download any requested NuGet packages
- Compile with Roslyn
- Show the result in the Live Preview (embedded panel in WPF, separate docked window in Avalonia)
The whole round-trip takes a few seconds. First-run NuGet downloads take longer — cached from then on.
Follow up in the chat:
Make the buttons round and add a history panel on the right side
The AI sends a unified-diff patch, not a full rewrite — your existing code is preserved.
- Features Overview — Every feature the desktop host exposes
- Designer Mode — Click a UI element to edit its properties
-
Export and Import — Save your generation as a standalone
.exe - Keyboard Shortcuts — Speed up your workflow
- Want the same flow without installing Neo? → Web App
- Want Claude Code / Cowork to drive the whole thing? → MCP Server