rat
Organize reasoning into dynamic thought trajectories with branching, revision, and validation to support thorough problem-solving.
Instructions
A context-aware reasoning system that orchestrates structured thought processes through dynamic trajectories.
Core Capabilities:
Maintains adaptive thought chains with branching and revision capabilities
Implements iterative hypothesis generation and validation cycles
Preserves context coherence across non-linear reasoning paths
Supports dynamic scope adjustment and trajectory refinement
Reasoning Patterns:
Sequential analysis with backtracking capability
Parallel exploration through managed branch contexts
Recursive refinement via structured revision cycles
Hypothesis validation through multi-step verification
Parameters: thought: Structured reasoning step that supports: • Primary analysis chains • Hypothesis formulation/validation • Branch exploration paths • Revision proposals • Context preservation markers • Verification checkpoints
next_thought_needed: Signal for continuation of reasoning chain thought_number: Position in current reasoning trajectory total_thoughts: Dynamic scope indicator (adjustable) is_revision: Marks recursive refinement steps revises_thought: References target of refinement branch_from_thought: Indicates parallel exploration paths branch_id: Context identifier for parallel chains needs_more_thoughts: Signals scope expansion requirement
Execution Protocol:
Initialize with scope estimation
Generate structured reasoning steps
Validate hypotheses through verification cycles
Maintain context coherence across branches
Implement revisions through recursive refinement
Signal completion on validation success
The system maintains solution integrity through continuous validation cycles while supporting dynamic scope adjustment and non-linear exploration paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thought | Yes | Your current thinking step | |
| branchId | No | Branch identifier | |
| isRevision | No | Whether this revises previous thinking | |
| thoughtNumber | Yes | Current thought number | |
| totalThoughts | Yes | Estimated total thoughts needed | |
| revisesThought | No | Which thought is being reconsidered | |
| branchFromThought | No | Branching point thought number | |
| needsMoreThoughts | No | If more thoughts are needed | |
| nextThoughtNeeded | Yes | Whether another thought step is needed |