Sequential Thinking Multi-Agent System

Sequential Thinking Multi-Agent System

fradser

Deploys a team of 6 specialized AI agents that work in parallel to analyze problems from different cognitive perspectives (factual, creative, analytical, etc.) and provide comprehensive multi-angle insights.

Orchestrates a team of specialized agents working in parallel to break down complex problems through structured thinking steps, enabling multi-disciplinary analysis with greater depth than single-agent approaches.

290493 views44Local (stdio)

What it does

  • Analyze problems through 6 different cognitive perspectives simultaneously
  • Conduct web research for fact verification via ExaTools
  • Break down complex problems into structured thinking steps
  • Generate comprehensive multi-disciplinary analysis reports
  • Process thoughts through specialized factual, creative, and analytical agents

Best for

Complex decision-making requiring multi-perspective analysisResearch projects needing comprehensive problem decompositionStrategic planning that benefits from diverse cognitive approachesAdvanced problem-solving in professional or academic contexts
6 specialized thinking agentsWeb research integrationBuilt on Agno framework

About Sequential Thinking Multi-Agent System

Sequential Thinking Multi-Agent System is a community-built MCP server published by fradser that provides AI assistants with tools and capabilities via the Model Context Protocol. Orchestrate complex problem-solving with our multi agent system—specialized agents offer deep, structured, and parallel It is categorized under ai ml.

How to install

You can install Sequential Thinking Multi-Agent System in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Sequential Thinking Multi-Agent System is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Sequential Thinking Multi-Agent System (MAS) README image

smithery badge Twitter Follow Python Version Framework

English | 简体中文

This project implements an advanced sequential thinking process using a Multi-Agent System (MAS) built with the Agno framework and served via MCP. It represents a significant evolution from simpler state-tracking approaches by leveraging coordinated, specialized agents for deeper analysis and problem decomposition.

MseeP.ai Security Assessment Badge

What is This?

This is an MCP server - not a standalone application. It runs as a background service that extends your LLM client (like Claude Desktop) with sophisticated sequential thinking capabilities. The server provides a sequentialthinking tool that processes thoughts through multiple specialized AI agents, each examining the problem from a different cognitive angle.

Core Architecture: Multi-Dimensional Thinking Agents

The system employs 6 specialized thinking agents, each focused on a distinct cognitive perspective:

1. Factual Agent

  • Focus: Objective facts and verified data
  • Approach: Analytical, evidence-based reasoning
  • Capabilities:
    • Web research for current facts (via ExaTools)
    • Data verification and source citation
    • Information gap identification
  • Time allocation: 120 seconds for thorough analysis

2. Emotional Agent

  • Focus: Intuition and emotional intelligence
  • Approach: Gut reactions and feelings
  • Capabilities:
    • Quick intuitive responses (30-second snapshots)
    • Visceral reactions without justification
    • Emotional pattern recognition
  • Time allocation: 30 seconds (quick reaction mode)

3. Critical Agent

  • Focus: Risk assessment and problem identification
  • Approach: Logical scrutiny and devil's advocate
  • Capabilities:
    • Research counterexamples and failures (via ExaTools)
    • Identify logical flaws and risks
    • Challenge assumptions constructively
  • Time allocation: 120 seconds for deep analysis

4. Optimistic Agent

  • Focus: Benefits, opportunities, and value
  • Approach: Positive exploration with realistic grounding
  • Capabilities:
    • Research success stories (via ExaTools)
    • Identify feasible opportunities
    • Explore best-case scenarios logically
  • Time allocation: 120 seconds for balanced optimism

5. Creative Agent

  • Focus: Innovation and alternative solutions
  • Approach: Lateral thinking and idea generation
  • Capabilities:
    • Cross-industry innovation research (via ExaTools)
    • Divergent thinking techniques
    • Multiple solution generation
  • Time allocation: 240 seconds (creativity needs time)

6. Synthesis Agent

  • Focus: Integration and metacognitive orchestration
  • Approach: Holistic synthesis and final answer generation
  • Capabilities:
    • Integrate all perspectives into coherent response
    • Answer the original question directly
    • Provide actionable, user-friendly insights
  • Time allocation: 60 seconds for synthesis
  • Note: Uses enhanced model, does NOT include ExaTools (focuses on integration)

AI-Powered Intelligent Routing

The system uses AI-driven complexity analysis to determine the optimal thinking sequence:

Processing Strategy:

  • Single fixed strategy: full_exploration is mandatory for all requests
  • No legacy modes: single/double/triple routing paths are removed
  • Complexity analysis retained: metrics are still generated for observability

The AI analyzer still evaluates:

  • Problem complexity and semantic depth
  • Primary problem type (factual, emotional, creative, philosophical, etc.)
  • Required thinking modes for observability and diagnostics
  • Model behavior metadata (Enhanced vs Standard usage)

AI Routing Flow Diagram

flowchart TD
    A[Input Thought] --> B[AI Complexity Analyzer]
    B --> C[Complexity Metadata Stored]
    C --> D[Fixed Strategy: full_exploration]
    D --> E[Step 1: Initial Synthesis]
    E --> F[Step 2: Parallel Specialist Agents]
    F --> G[Step 3: Final Synthesis]
    G --> H[Unified Response]

Key Insights:

  • Deterministic behavior: every request runs the same full multi-step path
  • Parallel execution: non-synthesis agents still run simultaneously
  • Synthesis integration: orchestration and final answer are both synthesis-driven

Research Capabilities (ExaTools Integration)

4 out of 6 agents are equipped with web research capabilities via ExaTools:

  • Factual Agent: Search for current facts, statistics, verified data
  • Critical Agent: Find counterexamples, failed cases, regulatory issues
  • Optimistic Agent: Research success stories, positive case studies
  • Creative Agent: Discover innovations across different industries
  • Emotional & Synthesis Agents: No ExaTools (focused on internal processing)

Research is optional - requires EXA_API_KEY environment variable. The system works perfectly without it, using pure reasoning capabilities.

Model Intelligence

Dual Model Strategy:

  • Enhanced Model: Used for Synthesis agent (complex integration tasks)
  • Standard Model: Used for individual thinking agents
  • AI Selection: System automatically chooses the right model based on task complexity

Supported Providers:

  • DeepSeek (default) - High performance, cost-effective
  • Groq - Ultra-fast inference
  • OpenRouter - Access to multiple models
  • GitHub Models - OpenAI models via GitHub API
  • Anthropic - Claude models with prompt caching
  • Ollama - Local model execution

Key Differences from Original Version (TypeScript)

This Python/Agno implementation marks a fundamental shift from the original TypeScript version:

Feature/AspectPython/Agno Version (Current)TypeScript Version (Original)
ArchitectureMulti-Agent System (MAS); Active processing by a team of agents.Single Class State Tracker; Simple logging/storing.
IntelligenceDistributed Agent Logic; Embedded in specialized agents & Coordinator.External LLM Only; No internal intelligence.
ProcessingActive Analysis & Synthesis; Agents act on the thought.Passive Logging; Merely recorded the thought.
FrameworksAgno (MAS) + FastMCP (Server); Uses dedicated MAS library.MCP SDK only.
CoordinationExplicit Team Coordination Logic (Team in coordinate mode).None; No coordination concept.
ValidationPydantic Schema Validation; Robust data validation.Basic Type Checks; Less reliable.
External ToolsIntegrated (Exa via Researcher); Can perform research tasks.None.
LoggingStructured Python Logging (File + Console); Configurable.Console Logging with Chalk; Basic.
Language & EcosystemPython; Leverages Python AI/ML ecosystem.TypeScript/Node.js.

In essence, the system evolved from a passive thought recorder to an active thought processor powered by a collaborative team of AI agents.

How it Works (Multi-Dimensional Processing)

  1. Initiation: An external LLM uses the sequentialthinking tool to define the problem and initiate the process.
  2. Tool Call: The LLM calls the sequentialthinking tool with the current thought, structured according to the ThoughtData model.
  3. AI Complexity Analysis: The system still performs AI-powered analysis to capture complexity metadata and diagnostic signals.
  4. Fixed Strategy Execution: The system always runs the mandatory full_exploration multi-step sequence.
  5. Parallel Processing: Multiple thinking agents process the thought simultaneously from their specialized perspectives:
  • Factual agents gather objective data (with optional web research)
  • Critical agents identify risks and problems
  • Optimistic agents explore opportunities and benefits
  • Creative agents generate innovative solutions
  • Emotional agents provide intuitive insights
  1. Research Integration: Agents equipped with ExaTools conduct targeted web research to enhance their analysis.
  2. Synthesis & Integration: The Synthesis agent integrates all perspectives into a coherent, actionable response using enhanced models.
  3. Response Generation: The system returns a comprehensive analysis with guidance for next steps.
  4. Iteration: The calling LLM uses the synthesized response to formulate the next thinking step or conclude the process.

Token Consumption Warning

High Token Usage: Due to the Multi-Agent System architecture, this tool consumes significantly more tokens than single-agent alternatives or the previous TypeScript version. Each sequentialthinking call invokes multiple specialized agents simultaneously, leading to substant


README truncated. View full README on GitHub.

Alternatives

Related Skills

Browse all skills
sequential-thinking

Use when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope. Ideal for multi-stage analysis, design planning, problem decomposition, or tasks with initially unclear scope.

86
thought-patterns

Orchestrates comprehensive cognitive thinking patterns including sequential, systems, lateral, divergent/convergent, abductive, analogical, first-principles, double-loop learning, gestalt, metacognitive, and neurodivergent patterns (ADHD hyperfocus, autistic detail-orientation, dyslexic spatial reasoning). Analyzes tasks to select optimal pattern(s), chains multiple patterns when needed, and validates outputs before responding. Use for complex problem-solving, creative tasks, analytical challenges, or when diverse cognitive approaches enhance solution quality.

5
ultrathink

Invoke deep sequential thinking for complex problem-solving. Use when the user says 'use ultrathink', 'ultrathink', or when tackling problems that require careful step-by-step reasoning, planning, hypothesis generation, or multi-step analysis.

19
incident-response-smart-fix

[Extended thinking: This workflow implements a sophisticated debugging and resolution pipeline that leverages AI-assisted debugging tools and observability platforms to systematically diagnose and res

4
deep-thought

"Deploy meta-cognition and recursive systems thinking mode. Use when need to question the question, find root causes of root causes, or escape current system constraints."

4
crewai

Expert in CrewAI - the leading role-based multi-agent framework used by 60% of Fortune 500 companies. Covers agent design with roles and goals, task definition, crew orchestration, process types (sequential, hierarchical, parallel), memory systems, and flows for complex workflows. Essential for building collaborative AI agent teams. Use when: crewai, multi-agent team, agent roles, crew of agents, role-based agents.

3