/all — Full Pipeline Execution
Three-step sequential pipeline that discovers, routes, and executes any task.
Pipeline
Step 1: /manus-tool-discovery → finds what tools/agents to use
Step 2: /manus-orchestrator → routes to the right agent
Step 3: /godmode-system → executes anything the agent can't
Step 1: Discover (manus-tool-discovery)
Search 350+ tools across all sources using semantic similarity.
- Analyze the user's request to extract intent and required capabilities
- Query the tool discovery system for the best matches:
# API search
curl -s "http://localhost:8000/api/v1/tools?search=USER_INTENT" | python3 -m json.tool
# Or list skills
curl -s http://localhost:8000/api/v1/skills
- Sources searched: GODMODE MCP (106 tools, port 7865), ML-Toolkit (14 tools, port 7866), Intelligence (14 tools, port 7867), native agents (
20), Skills API Hub (177+), Claude Code skills (554)
- Rank results by relevance — pick the top tool(s) and agent(s)
Output of Step 1: A ranked list of tools/agents that can handle the request.
Step 2: Route (manus-orchestrator)
Route the task to the right specialized agent from 20+ available.
- Using the discovery results from Step 1, determine the best agent:
- CODE tasks → CodeAgent, DevOpsAgent, AzureAgentImpl, IntelliJAgent
- DATA tasks → DataScientistAgent, DatabaseAgent
- RESEARCH tasks → ResearchAgentImpl, BrowserAgentImpl
- REASONING tasks → CivicAIPolicyAgent, GovernanceAgentImpl, HealthcareAgent
- GENERAL tasks → JobSearchAgent, CareerAdvisorAgent, CitizenServiceAgent, SkillsAPIAgent
- COORDINATION → OrchestratorAgentImpl (multi-agent)
- Select the appropriate orchestration tier:
- Tier 1 (AgentOrchestrator) — Simple keyword match
- Tier 2 (SmartOrchestrator) — LLM-per-agent with fallback
- Tier 3 (SmartOrchestratorV2) — Semantic routing
- Tier 4 (NuancedOrchestrator) — Quality tiers (Quick/Standard/Premium)
- Tier 5 (SimpleOrchestrator) — Workflow DAG chaining
- Dispatch via API:
curl -X POST http://localhost:8000/api/v1/chat/message \
-H "Content-Type: application/json" \
-d '{"message": "THE_TASK", "user_id": "user1"}'
Output of Step 2: The agent's response, or identification of what still needs direct execution.
Step 3: Execute (godmode-system)
For anything the agent can't handle directly, use GODMODE MCP (port 7865).
- If the agent response is complete → deliver to user, done
- If execution is needed (shell commands, process management, system ops, batch jobs):
# Single command
curl -X POST http://127.0.0.1:7865/sse -d '{"tool": "shell_exec", "arguments": {"command": "COMMAND_HERE"}}'
# Batch execution
curl -X POST http://127.0.0.1:7865/sse -d '{"tool": "batch_exec", "arguments": {"commands": ["cmd1", "cmd2"], "stop_on_error": true}}'
# System info
curl -X POST http://127.0.0.1:7865/sse -d '{"tool": "system_info", "arguments": {}}'
# Process management
curl -X POST http://127.0.0.1:7865/sse -d '{"tool": "process_list", "arguments": {"sort_by": "cpu"}}'
- GODMODE tools:
shell_exec, process_list, process_kill, system_info, batch_exec
Output of Step 3: Final execution results delivered to user.
Decision Flow
User Request
│
▼
[DISCOVER] What tools exist for this?
│
├─ Found agent match → [ROUTE] to agent → agent handles it → done
│ │
│ └─ agent needs execution help → [EXECUTE] via GODMODE
│
└─ No agent match, but GODMODE can do it → [EXECUTE] directly
Key Principle
Never skip steps. Always discover first (you might find a better tool than you assumed), then route (the orchestrator knows agent capabilities), then execute (GODMODE is the fallback for anything requiring direct system access).
Key Files
~/manus-chatbot/agents/tool_discovery.py — Semantic tool search
~/manus-chatbot/agents/orchestrator.py — Tier 1 routing
~/manus-chatbot/agents/smart_orchestrator_v2.py — Tier 3 semantic routing
~/manus-chatbot/api_server.py — FastAPI server (16+ endpoints)
~/mcp-godmode/godmode_sse.py — GODMODE MCP server (106 tools)
1---2name: all3description: Full-stack task execution pipeline — discovers tools via semantic search, routes to the right agent, then executes via GODMODE. Chains manus-tool-discovery → manus-orchestrator → godmode-system in sequence.4---56# /all — Full Pipeline Execution78Three-step sequential pipeline that discovers, routes, and executes any task.910## Pipeline1112```13Step 1: /manus-tool-discovery → finds what tools/agents to use14Step 2: /manus-orchestrator → routes to the right agent15Step 3: /godmode-system → executes anything the agent can't16```1718## Step 1: Discover (manus-tool-discovery)1920Search 350+ tools across all sources using semantic similarity.21221. Analyze the user's request to extract intent and required capabilities232. Query the tool discovery system for the best matches:24 ```bash25 # API search26 curl -s "http://localhost:8000/api/v1/tools?search=USER_INTENT" | python3 -m json.tool27 # Or list skills28 curl -s http://localhost:8000/api/v1/skills29 ```303. Sources searched: GODMODE MCP (106 tools, port 7865), ML-Toolkit (14 tools, port 7866), Intelligence (14 tools, port 7867), native agents (~20), Skills API Hub (177+), Claude Code skills (~554)314. Rank results by relevance — pick the top tool(s) and agent(s)3233**Output of Step 1:** A ranked list of tools/agents that can handle the request.3435## Step 2: Route (manus-orchestrator)3637Route the task to the right specialized agent from 20+ available.38391. Using the discovery results from Step 1, determine the best agent:40 - CODE tasks → CodeAgent, DevOpsAgent, AzureAgentImpl, IntelliJAgent41 - DATA tasks → DataScientistAgent, DatabaseAgent42 - RESEARCH tasks → ResearchAgentImpl, BrowserAgentImpl43 - REASONING tasks → CivicAIPolicyAgent, GovernanceAgentImpl, HealthcareAgent44 - GENERAL tasks → JobSearchAgent, CareerAdvisorAgent, CitizenServiceAgent, SkillsAPIAgent45 - COORDINATION → OrchestratorAgentImpl (multi-agent)462. Select the appropriate orchestration tier:47 - **Tier 1** (AgentOrchestrator) — Simple keyword match48 - **Tier 2** (SmartOrchestrator) — LLM-per-agent with fallback49 - **Tier 3** (SmartOrchestratorV2) — Semantic routing50 - **Tier 4** (NuancedOrchestrator) — Quality tiers (Quick/Standard/Premium)51 - **Tier 5** (SimpleOrchestrator) — Workflow DAG chaining523. Dispatch via API:53 ```bash54 curl -X POST http://localhost:8000/api/v1/chat/message \55 -H "Content-Type: application/json" \56 -d '{"message": "THE_TASK", "user_id": "user1"}'57 ```5859**Output of Step 2:** The agent's response, or identification of what still needs direct execution.6061## Step 3: Execute (godmode-system)6263For anything the agent can't handle directly, use GODMODE MCP (port 7865).64651. If the agent response is complete → deliver to user, done662. If execution is needed (shell commands, process management, system ops, batch jobs):67 ```bash68 # Single command69 curl -X POST http://127.0.0.1:7865/sse -d '{"tool": "shell_exec", "arguments": {"command": "COMMAND_HERE"}}'7071 # Batch execution72 curl -X POST http://127.0.0.1:7865/sse -d '{"tool": "batch_exec", "arguments": {"commands": ["cmd1", "cmd2"], "stop_on_error": true}}'7374 # System info75 curl -X POST http://127.0.0.1:7865/sse -d '{"tool": "system_info", "arguments": {}}'7677 # Process management78 curl -X POST http://127.0.0.1:7865/sse -d '{"tool": "process_list", "arguments": {"sort_by": "cpu"}}'79 ```803. GODMODE tools: `shell_exec`, `process_list`, `process_kill`, `system_info`, `batch_exec`8182**Output of Step 3:** Final execution results delivered to user.8384## Decision Flow8586```87User Request88 │89 ▼90[DISCOVER] What tools exist for this?91 │92 ├─ Found agent match → [ROUTE] to agent → agent handles it → done93 │ │94 │ └─ agent needs execution help → [EXECUTE] via GODMODE95 │96 └─ No agent match, but GODMODE can do it → [EXECUTE] directly97```9899## Key Principle100101**Never skip steps.** Always discover first (you might find a better tool than you assumed), then route (the orchestrator knows agent capabilities), then execute (GODMODE is the fallback for anything requiring direct system access).102103## Key Files104105- `~/manus-chatbot/agents/tool_discovery.py` — Semantic tool search106- `~/manus-chatbot/agents/orchestrator.py` — Tier 1 routing107- `~/manus-chatbot/agents/smart_orchestrator_v2.py` — Tier 3 semantic routing108- `~/manus-chatbot/api_server.py` — FastAPI server (16+ endpoints)109- `~/mcp-godmode/godmode_sse.py` — GODMODE MCP server (106 tools)