DeepSeek Reasonix CoT Telemetry & Reflection Inspector

DeepSeek Reasonix CoT Telemetry & Reflection Inspector

Official Core
@deepseek-ai/dsh-reasonix·v2.0.1·core

A dedicated diagnostic telemetry suite for DeepSeek-R1 and V3 reasoning models. Real-time visual tracking of `<think>` reflection streams, logical breakpoints, and hallucination alerts.

CoT-Telemetry · Reasoning · DeepSeek-R1 · Debugging

GitHubNPM
Installation & Integration
bash
manager:
$ pnpm add @deepseek-ai/dsh-reasonix

Architecture

DeepSeek Reasonix unlocks full transparency into DeepSeek-R1's deep thinking processes. DeepSeek-R1 relies on extensive Chain-of-Thought (CoT) self-correction loops, which are frequently treated as opaque black boxes in generic frameworks. This plugin implements real-time `<think>` token stream decomposition on the Cordis pipeline. It parses intermediate assumptions, exploratory dead-ends, and self-corrections into an interactive DAG view. Developers can attach logical breakpoints or inject corrective constraints mid-thought to prevent reasoning loops and eliminate hallucinations.

Core Features

01

Strict Thought Demuxing: Cleanly decouples internal reasoning tokens from final markdown output

02

Reflection Trace Timeline: Visually illuminates hypothesis validation and self-correction steps

03

Thinking Loop Circuit Breaker: Automatically halts inference if token repetition limits trigger

04

OpenTelemetry Native: Exports latency, reflection depth, and cost metrics to Jaeger/Prometheus

Core Workflow

01

Token Stream Demuxing

Demuxes incoming token streams, isolating `<think>` blocks from final responses.

02

Reasoning DAG Generation

Analyzes reflection keywords to construct an exploratory reasoning branch graph.

03

Loop & Anomaly Detection

Monitors reasoning entropy, signaling alerts if the agent gets trapped in loops.

04

Telemetry Export

Streams reasoning duration, reflection counts, and token stats to OpenTelemetry.

Configuration Parameters Reference (YAML / JSON)

ParameterTypeDefaultDescription
maxThinkingTokensnumber16384Maximum permitted tokens inside `<think>` block
logCoTToConsolebooleantrueStream color-coded thoughts to terminal console
otelExportbooleanfalseExport trace telemetry to OpenTelemetry collector