Get Started
Create a small ASP.NET Core app, add Runiq packages, register an agent, and open the dashboard.
Get Started
Runiq.Net packages are currently preview packages. APIs may change before stable release.
This page builds a small ASP.NET Core app, adds the Runiq packages, defines one agent, and opens the embedded dashboard.
Create a web app
From a command prompt:
The embedded dashboard is hosted from ASP.NET Core. The current packages target net10.0, so use a .NET 10-compatible app.
Add Runiq packages
--prerelease asks NuGet for the latest preview package. Runiq.Core hosts the dashboard and server APIs. Runiq.Agents provides the Agent type used below.
Add an API key
The repository samples use openai/gpt-5 and read the key from OpenAI:ApiKey:
Create an agent
Create an Agents folder:
Add Agents/TestAgent.cs:
This follows the sample pattern: agent setup lives in an Agents file, and Program.cs only wires it into the app.
Update Program.cs
Replace Program.cs with:
Run the app
Open the printed app URL with /dashboard appended:
Use the actual port printed by ASP.NET Core. In the dashboard, confirm that Test Agent appears in the Agents list.