mcp-Atom-of-thoughts
by kbsooo
Verified
AoT
Atom of Thoughts (AoT) is a tool for solving complex problems by decomposing them into independent, reusable atomic units of thought. Unlike traditional sequential thinking, this tool enables more powerful problem solving by allowing atomic units of thought to form dependencies with each other.
When to use:
- 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:
- premise: Basic assumptions or given information for problem solving
- reasoning: Logical reasoning process based on other atoms
- hypothesis: Proposed solutions or intermediate conclusions
- verification: Process to evaluate the validity of other atoms (especially hypotheses)
- conclusion: Verified hypotheses or final problem solutions
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)
Additional features:
- Decomposition-Contraction mechanism:
- Decompose atoms into smaller sub-atoms and contract back after verification
- startDecomposition(atomId): Start atom decomposition
- addToDecomposition(decompositionId, atomId): Add sub-atom to decomposition
- completeDecomposition(decompositionId): Complete decomposition process
- Automatic termination mechanism:
- Automatically terminate when reaching maximum depth or finding high-confidence conclusion
- getTerminationStatus(): Return termination status and reason
- getBestConclusion(): Return highest confidence conclusion
Usage method:
- Understand the problem and define necessary premise atoms
- Create reasoning atoms based on premises
- Create hypothesis atoms based on reasoning
- Create verification atoms to verify hypotheses
- Derive conclusion atoms based on verified hypotheses
- Use atom decomposition to explore deeper when necessary
- Present the high-confidence conclusion atom as the final answer
Input Schema
Name | Required | Description | Default |
---|---|---|---|
atomId | Yes | Unique identifier for the atom | |
atomType | Yes | Type of atom | |
confidence | Yes | Confidence level of this atom (value between 0-1) | |
content | Yes | Actual content of the atom | |
dependencies | Yes | List of IDs of other atoms this atom depends on | |
depth | No | Depth level of this atom in the decomposition-contraction mechanism | |
isVerified | No | Whether this atom has been verified |