Back to skills
SKILL.md
Mcts Swarm Engineering
ASecurityExecute complex engineering workflows using Monte Carlo Tree Search (MCTS) reasoning and leader-worker sub-agent swarms.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added September 6, 2026
Works with
Security analysis
100/100npx -y skills add Orythix/viki --skill mcts_swarm_engineering --agent claude-codeAre you the author of Mcts Swarm Engineering?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/orythix-mcts-swarm-engineering)---
name: mcts-swarm-engineering
description: Execute complex engineering workflows using Monte Carlo Tree Search (MCTS) reasoning and leader-worker sub-agent swarms.
---
# π MCTS Swarm Engineering Skill
This skill defines the multi-step workflow for executing high-agency coding and architectural tasks using MCTS tree search and specialized sub-agent swarms.
## Workflow
### 1. MCTS Branch Evaluation
- Evaluate candidate action branches using UCB1 selection:
$$\text{UCB1} = \bar{X}_i + C \sqrt{\frac{\ln N}{n_i}}$$
- Score intermediate state nodes using `IntelligenceScorecard` heuristics.
- Automatically backtrack when an execution branch fails or generates errors.
### 2. Multi-Agent Swarm Topology
- **Architect Agent**: Scopes architectural specs, dependencies, and file relationships using AST Knowledge Graph ([knowledge_graph.py](file:///d:/My%20Projects/VIKI/src/viki/core/knowledge_graph.py)).
- **Coder Agent**: Implements modular code diffs in isolated scratchpads or Git worktrees ([worktree_runner.py](file:///d:/My%20Projects/VIKI/src/viki/core/worktree_runner.py)).
- **QA / Security Agent**: Runs security scanning ([security_guard.py](file:///d:/My%20Projects/VIKI/src/viki/core/security_guard.py)) and automated pytest verification.
### 3. Real-Time DAG Streaming
- Stream execution progress over `/api/v2/swarm/dag` endpoints to the Web Dashboard UI.
Attribution
Comments
Loading commentsβ¦
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.