Build .NET AI agents in C#.

Build .NET AI agents in C# with Runiq.Net, an open-source framework for ASP.NET Core with typed tools, RAG, workflows, MCP, and an embedded Studio.

Open source. MIT licensed. Built with the .NET community.

Build AI features without assembling the infrastructure from scratch.

Build on your .NET application.

Integrate AI with your existing C# services and ASP.NET Core host. Keep business logic in the application your team already develops and maintains.

Connect knowledge and application actions.

Use document context and typed tools together, and make selected services available to MCP clients. Bring your application’s knowledge and functions into AI interactions.

Understand what happened.

Inspect the calls and context behind an answer in Studio. Give your team a concrete starting point for investigating and refining AI behavior.

How to build an AI agent in .NET

Start with a .NET 10 ASP.NET Core application and a model provider. Runiq.Net connects your C# agent definition to the application host and dependency injection.

  1. Install and run your first agent

    Use the CLI to create an application or add the Agents package to your existing project. Connect a model and try a conversation in Studio.

  2. Define the agent in C#

    Give the agent a clear responsibility, instructions, and model configuration. Register it with your ASP.NET Core host.

  3. Connect typed tools

    Let the agent call your application services through typed C# contracts. Add document retrieval and workflows as the use case grows.

Start building with Runiq.