.NET
The Inceptiva package targets .NET 8+.
shell
dotnet add package Inceptivacsharp
using Inceptiva;
var client = new InceptivaClient(apiKey, agentId);
var first = await client.Responses.CreateAsync(new InvokeRequest("Analyze this opportunity"));
await foreach (var streamEvent in client.Responses.StreamAsync(
new InvokeRequest("What should we do next?", first.ConversationId),
cancellationToken))
{
if (streamEvent is ResponseOutputTextDeltaEvent delta) Console.Write(delta.Delta);
}InceptivaStreaming.CollectAsync() accumulates deltas into a final response. Enumeration releases the connection when completed, cancelled, or abandoned. An initiated stream is never retried. Every operation supports CancellationToken; typed exceptions cover 401, 403, 404, 422, and 429.
Robust 0.4.0 contract
InvokeRequest accepts ExternalReference and IdempotencyKey. Paginate history with GetMessagesAsync(conversationId, page, pageSize). Results expose rate limits, usage, and replay state through ResponseMetadata.
· SDKv0.4.0