IndexThinking 0.14.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package IndexThinking --version 0.14.1
NuGet\Install-Package IndexThinking -Version 0.14.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IndexThinking" Version="0.14.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IndexThinking" Version="0.14.1" />
<PackageReference Include="IndexThinking" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IndexThinking --version 0.14.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IndexThinking, 0.14.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package IndexThinking@0.14.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IndexThinking&version=0.14.1
#tool nuget:?package=IndexThinking&version=0.14.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
IndexThinking
Working Memory Manager for Reasoning-capable LLMs
What It Does
IndexThinking handles the repetitive-but-hard parts of LLM integration:
- Truncation Recovery - Auto-continue when responses hit token limits
- Reasoning Extraction - Unified API for provider-specific thinking formats
- Context Tracking - Session-aware conversation with sliding window
- Token Management - Budget tracking and complexity estimation
- Content Recovery - Repair truncated JSON/code blocks
Scope
IndexThinking manages a single LLM turn, not multi-step workflows.
| IndexThinking | Agent Orchestrators |
|---|---|
| Single turn optimization | Multi-step coordination |
| Building block | Workflow controller |
| Used BY orchestrators | Uses IndexThinking |
Quick Start
dotnet add package IndexThinking
// Register services
services.AddIndexThinkingAgents();
services.AddIndexThinkingContext();
// Wrap any IChatClient
var client = new ChatClientBuilder(innerClient)
.UseIndexThinking()
.Build(serviceProvider);
// Use normally
var response = await client.GetResponseAsync(messages);
// Access metadata
var thinking = response.GetThinkingContent();
var metrics = response.GetTurnMetrics();
Session-Aware Chat
// Context is automatically tracked and injected
var response = await client.ChatAsync("session-123", "Do that again");
Supported Providers
| Provider | Reasoning Format | Truncation Handling |
|---|---|---|
| OpenAI | reasoning field |
length, content_filter |
| Anthropic | thinking blocks |
max_tokens, refusal |
| Google Gemini | thoughtSignature |
MAX_TOKENS, SAFETY |
| DeepSeek/Qwen | <think> tags |
OpenAI-compatible |
| vLLM/GPUStack | Configurable tags | length |
Documentation
License
MIT License - See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Data.Sqlite (>= 10.0.2)
- Microsoft.Extensions.AI (>= 10.2.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.2.0)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.2)
- Microsoft.ML.Tokenizers (>= 2.0.0)
- Microsoft.ML.Tokenizers.Data.Cl100kBase (>= 2.0.0)
- Microsoft.ML.Tokenizers.Data.O200kBase (>= 2.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on IndexThinking:
| Package | Downloads |
|---|---|
|
IndexThinking.SDK
Public SDK for IndexThinking - Working Memory manager for Reasoning-capable LLMs. |
|
|
IronHive.Agent
IronHive Agent - Reusable agent layer for AI-powered CLI tools |
GitHub repositories
This package is not used by any popular GitHub repositories.