API & SDK

Integrate the .NET SDK

Use the official Inceptiva client in .NET 8 or later applications.

Updated August 3, 2026 Β· 10 min

Install and create the client

dotnet add package Inceptiva
using Inceptiva;
var client = new InceptivaClient(Environment.GetEnvironmentVariable("INCEPTIVA_API_KEY")!, Environment.GetEnvironmentVariable("INCEPTIVA_AGENT_ID")!);

Create a response

var first = await client.Responses.CreateAsync(new InvokeRequest(Message: "Analyze this opportunity"));
var next = await client.Responses.CreateAsync(new InvokeRequest(Message: "What is the next step?", ConversationId: first.ConversationId));

Operations accept CancellationToken. StreamAsync() returns IAsyncEnumerable<StreamEvent> and CollectAsync(...) accumulates the result. See the .NET reference.