kbsooo_mcp_atom_of_thoughts

kbsooo_mcp_atom_of_thoughts

by kbsooo
A server that decomposes complex problems into atomic units of thought, enabling robust reasoning and validated insights.

Atom of Thoughts MCP Server

Overview

The Atom of Thoughts (AoT) MCP Server is a powerful tool designed to decompose complex problems into independent atomic units of thought. By leveraging the dependencies between these units, it enables more robust reasoning and validated insights. This implementation is based on the research paper "Atom of Thoughts for Markov LLM Test-Time Scaling" (Teng et al., 2025).

Tools

Available Tools

  1. AoT (Full Version): A complete Atom of Thoughts tool with full capabilities for deep analysis and complex problem solving.
  2. AoT-light (Lightweight Version): A streamlined version optimized for faster processing and quicker results.

AoT-light: Lightweight Version

AoT-light is designed for faster processing in time-sensitive situations:
- Key Features:
- Lower maximum depth (3 instead of 5) for faster processing
- Simplified verification process
- Immediate conclusion suggestion for high-confidence hypotheses
- Reduced computational overhead and response payload
- Optimized for speed rather than exhaustive analysis
- Use Cases:
- Quick brainstorming sessions requiring atomic thought organization
- Time-sensitive problem solving where speed is prioritized over exhaustive analysis
- Simpler reasoning tasks that don't require deep decomposition
- Initial exploration before using the full AoT for deeper analysis
- Learning or demonstration purposes where response time is important

Use Cases

Atom of Thoughts is effective in the following scenarios:
- Solving problems requiring complex reasoning
- Generating hypotheses that need verification from multiple perspectives
- Deriving high-confidence conclusions in scenarios where accuracy is crucial
- Minimizing logical errors in critical tasks
- Decision-making requiring multiple verification steps

Atom Types

AoT uses five types of atoms:
1. premise: Basic assumptions or given information for problem solving
2. reasoning: Logical reasoning process based on other atoms
3. hypothesis: Proposed solutions or intermediate conclusions
4. verification: Process to evaluate the validity of other atoms (especially hypotheses)
5. conclusion: Verified hypotheses or final problem solutions

Core Features

1. Decomposition-Contraction Mechanism

A mechanism to decompose atoms into smaller sub-atoms and contract them back after verification.
- Decomposition: Breaking complex atoms into smaller sub-atoms.
- startDecomposition(atomId): Start atom decomposition
- addToDecomposition(decompositionId, atomId): Add sub-atom to decomposition
- completeDecomposition(decompositionId): Complete decomposition process
- Contraction: Contract back to the original atom once all sub-atoms are verified.
- Calculate confidence of the original atom based on sub-atoms' confidence levels
- Automatically suggest conclusions for high-confidence verified hypotheses

2. Automatic Termination Mechanism

  • Automatically terminates when reaching maximum depth or finding a high-confidence conclusion.
  • getTerminationStatus(): Return current termination status and reason
  • getBestConclusion(): Return the conclusion with highest confidence

Parameter Descriptions

  • atomId: Unique identifier for the atom (e.g., 'A1', 'H2')
  • content: Actual content of the atom
  • atomType: Type of atom (one of: premise, reasoning, hypothesis, verification, conclusion)
  • dependencies: List of IDs of other atoms this atom depends on
  • confidence: Confidence level of this atom (value between 0-1)
  • isVerified: Whether this atom has been verified
  • depth: Depth level of this atom in the decomposition-contraction process

Usage Method

  1. Understand the problem and define necessary premise atoms
  2. Create reasoning atoms based on premises
  3. Create hypothesis atoms based on reasoning
  4. Create verification atoms to verify hypotheses
  5. Derive conclusion atoms based on verified hypotheses
  6. Use atom decomposition to explore deeper when necessary
  7. Present the high-confidence conclusion atom as the final answer

Comparing Sequential Thinking and Atom of Thoughts

Structural Differences

Sequential Thinking:
- Linear thinking process: progresses sequentially from one thought to the next
- Predicts the total number of thoughts in advance
- Each thinking stage is built upon previous stages

Atom of Thoughts:
- Non-linear, network structure: multiple thought units (atoms) interconnect with dependencies
- Forms systematic structure according to atom types (premise, reasoning, hypothesis, verification, conclusion)
- Explicitly evaluates the confidence level of each atom

Comparative Strengths

Sequential Thinking Strengths:
- Intuitive flow: similar to natural human thinking processes
- Simplicity: simple structure allows quick application to straightforward problems
- Flexibility: can modify previous stages or change direction during the thinking process

Atom of Thoughts Strengths:
- Confidence evaluation: explicitly measures the confidence of each thought to improve conclusion validity
- Verification process: evaluates hypotheses through systematic verification stages
- Dependency tracking: clearly tracks which premises or reasoning influenced specific conclusions
- Parallel processing: can consider multiple thought atoms simultaneously

Efficiency and Accuracy

Efficiency:
- Sequential Thinking: more efficient for simple problems, with faster progression of thought
- Atom of Thoughts: more efficient for complex problems, but has initial overhead in building systematic structures

Accuracy:
- Sequential Thinking: possibility of error accumulation from previous stages as the thinking process deepens
- Atom of Thoughts: reduced error possibility through verification stages and confidence assessment, leading to more reliable conclusions

Suitability by Purpose

Cases Suitable for Sequential Thinking:
- Simple to moderately complex problems
- Time-constrained situations
- When natural storytelling or explanation is needed

Cases Suitable for Atom of Thoughts:
- Highly complex problems
- Situations where accuracy and reliability are crucial
- Hypotheses requiring verification from multiple perspectives
- Reasoning with complex dependency relationships

Conclusion

Both tools can contribute to improving artificial intelligence's reasoning abilities, but the appropriate tool varies depending on the nature of the problem and requirements. Sequential Thinking is useful when intuitive and quick thinking processes are needed, while Atom of Thoughts is more suitable for complex problems requiring systematic verification and high reliability.

Command Tool (atomcommands)

A command tool to control the decomposition-contraction mechanism and automatic termination of Atom of Thoughts.

Available Commands:
1. decompose: Decompose a specified atom into smaller sub-atoms
- Required parameter: atomId
2. complete_decomposition: Complete an ongoing decomposition process
- Required parameter: decompositionId
3. termination_status: Check the termination status of the current AoT process
4. best_conclusion: Get the verified conclusion with the highest confidence
5. set_max_depth: Change the maximum depth limit
- Required parameter: maxDepth

MCP Server Configuration

To use the Atom of Thoughts MCP server, you need to register it in your Claude Desktop or Cline MCP settings. Here is an example configuration:

{ 
  "mcpServers": { 
    "atom-of-thoughts": { 
      "command": "node", 
      "args": ["/ABSOLUTE/PATH/TO/PARENT/FOLDER/atom-of-thoughts/build/index.js"], 
      "disabled": false, 
      "autoApprove": [] 
    } 
  } 
}

Replace /ABSOLUTE/PATH/TO/PARENT/FOLDER with the actual absolute path to the project on your system. After saving the configuration, restart Claude Desktop or Cline to use the Atom of Thoughts MCP server.

About

Atom of Thoughts (AoT) MCP is a server that decomposes complex problems into independent atomic units of thought, using the dependencies between these units to deliver more robust reasoning and validated insights.

Topics

Resources

License

Activity

Stars

Watchers

Forks

Report Repository

Releases

Packages

Languages

Features & Capabilities

Categories
mcp_server model_context_protocol javascript typescript claude decomposition reasoning api_integration

Implementation Details

Stats

0 Views
10 GitHub Stars

Repository Info

kbsooo Organization

Similar MCP Servers

continuedev_continue by continuedev
25049
21423
9300