adaptive-memory-multi-model-router 1.2.2 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +146 -66
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/airtable.js +20 -0
- package/dist/integrations/discord.js +18 -0
- package/dist/integrations/github.js +23 -0
- package/dist/integrations/gmail.js +19 -0
- package/dist/integrations/google-calendar.js +18 -0
- package/dist/integrations/index.js +61 -0
- package/dist/integrations/jira.js +21 -0
- package/dist/integrations/linear.js +19 -0
- package/dist/integrations/notion.js +19 -0
- package/dist/integrations/slack.js +18 -0
- package/dist/integrations/telegram.js +19 -0
- package/dist/providers/registry.js +7 -3
- package/docs/ARCHITECTURAL-IMPROVEMENTS-2025.md +1391 -0
- package/docs/ARCHITECTURAL-IMPROVEMENTS-REVISED-2025.md +1051 -0
- package/docs/CONFIGURATION.md +476 -0
- package/docs/COUNCIL_DECISION.json +308 -0
- package/docs/COUNCIL_SUMMARY.md +265 -0
- package/docs/COUNCIL_V2.2_DECISION.md +416 -0
- package/docs/IMPROVEMENT_ROADMAP.md +515 -0
- package/docs/LLM_COUNCIL_DECISION.md +508 -0
- package/docs/QUICK_START_VISIBILITY.md +782 -0
- package/docs/REDDIT_GAP_ANALYSIS.md +299 -0
- package/docs/RESEARCH_BACKED_IMPROVEMENTS.md +1180 -0
- package/docs/TMLPD_QNA.md +751 -0
- package/docs/TMLPD_V2.1_COMPLETE.md +763 -0
- package/docs/TMLPD_V2.2_RESEARCH_ROADMAP.md +754 -0
- package/docs/V2.2_IMPLEMENTATION_COMPLETE.md +446 -0
- package/docs/V2_IMPLEMENTATION_GUIDE.md +388 -0
- package/docs/VISIBILITY_ADOPTION_PLAN.md +1005 -0
- package/docs/launch-content/LAUNCH_EXECUTION_CHECKLIST.md +421 -0
- package/docs/launch-content/README.md +457 -0
- package/docs/launch-content/assets/cost_comparison_100_tasks.png +0 -0
- package/docs/launch-content/assets/cumulative_savings.png +0 -0
- package/docs/launch-content/assets/parallel_speedup.png +0 -0
- package/docs/launch-content/assets/provider_pricing_comparison.png +0 -0
- package/docs/launch-content/assets/task_breakdown_comparison.png +0 -0
- package/docs/launch-content/generate_charts.py +313 -0
- package/docs/launch-content/hn_show_post.md +139 -0
- package/docs/launch-content/partner_outreach_templates.md +745 -0
- package/docs/launch-content/reddit_posts.md +467 -0
- package/docs/launch-content/twitter_thread.txt +460 -0
- package/examples/QUICKSTART.md +1 -1
- package/openclaw-alexa-bridge/ALL_REMAINING_FIXES_PLAN.md +313 -0
- package/openclaw-alexa-bridge/REMAINING_FIXES_SUMMARY.md +277 -0
- package/openclaw-alexa-bridge/src/alexa_handler_no_tmlpd.js +1234 -0
- package/openclaw-alexa-bridge/test_fixes.js +77 -0
- package/package.json +120 -29
- package/package.json.tmp +0 -0
- package/qna/TMLPD_QNA.md +3 -3
- package/skill/SKILL.md +2 -2
- package/src/__tests__/integration/tmpld_integration.test.py +540 -0
- package/src/agents/skill_enhanced_agent.py +318 -0
- package/src/memory/__init__.py +15 -0
- package/src/memory/agentic_memory.py +353 -0
- package/src/memory/semantic_memory.py +444 -0
- package/src/memory/simple_memory.py +466 -0
- package/src/memory/working_memory.py +447 -0
- package/src/orchestration/__init__.py +52 -0
- package/src/orchestration/execution_engine.py +353 -0
- package/src/orchestration/halo_orchestrator.py +367 -0
- package/src/orchestration/mcts_workflow.py +498 -0
- package/src/orchestration/role_assigner.py +473 -0
- package/src/orchestration/task_planner.py +522 -0
- package/src/providers/__init__.py +67 -0
- package/src/providers/anthropic.py +304 -0
- package/src/providers/base.py +241 -0
- package/src/providers/cerebras.py +373 -0
- package/src/providers/registry.py +476 -0
- package/src/routing/__init__.py +30 -0
- package/src/routing/universal_router.py +621 -0
- package/src/skills/TMLPD-QUICKREF.md +210 -0
- package/src/skills/TMLPD-SETUP-SUMMARY.md +157 -0
- package/src/skills/TMLPD.md +540 -0
- package/src/skills/__tests__/skill_manager.test.ts +328 -0
- package/src/skills/skill_manager.py +385 -0
- package/src/skills/test-tmlpd.sh +108 -0
- package/src/skills/tmlpd-category.yaml +67 -0
- package/src/skills/tmlpd-monitoring.yaml +188 -0
- package/src/skills/tmlpd-phase.yaml +132 -0
- package/src/state/__init__.py +17 -0
- package/src/state/simple_checkpoint.py +508 -0
- package/src/tmlpd_agent.py +464 -0
- package/src/tmpld_v2.py +427 -0
- package/src/workflows/__init__.py +18 -0
- package/src/workflows/advanced_difficulty_classifier.py +377 -0
- package/src/workflows/chaining_executor.py +417 -0
- package/src/workflows/difficulty_integration.py +209 -0
- package/src/workflows/orchestrator.py +469 -0
- package/src/workflows/orchestrator_executor.py +456 -0
- package/src/workflows/parallelization_executor.py +382 -0
- package/src/workflows/router.py +311 -0
- package/test_integration_simple.py +86 -0
- package/test_mcts_workflow.py +150 -0
- package/test_templd_integration.py +262 -0
- package/test_universal_router.py +275 -0
- package/tmlpd-pi-extension/README.md +36 -0
- package/tmlpd-pi-extension/dist/cache/prefixCache.d.ts +114 -0
- package/tmlpd-pi-extension/dist/cache/prefixCache.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/cache/prefixCache.js +285 -0
- package/tmlpd-pi-extension/dist/cache/prefixCache.js.map +1 -0
- package/tmlpd-pi-extension/dist/cache/responseCache.d.ts +58 -0
- package/tmlpd-pi-extension/dist/cache/responseCache.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/cache/responseCache.js +153 -0
- package/tmlpd-pi-extension/dist/cache/responseCache.js.map +1 -0
- package/tmlpd-pi-extension/dist/cli.js +59 -0
- package/tmlpd-pi-extension/dist/cost/costTracker.d.ts +95 -0
- package/tmlpd-pi-extension/dist/cost/costTracker.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/cost/costTracker.js +240 -0
- package/tmlpd-pi-extension/dist/cost/costTracker.js.map +1 -0
- package/tmlpd-pi-extension/dist/index.d.ts +723 -0
- package/tmlpd-pi-extension/dist/index.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/index.js +239 -0
- package/tmlpd-pi-extension/dist/index.js.map +1 -0
- package/tmlpd-pi-extension/dist/memory/episodicMemory.d.ts +82 -0
- package/tmlpd-pi-extension/dist/memory/episodicMemory.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/memory/episodicMemory.js +145 -0
- package/tmlpd-pi-extension/dist/memory/episodicMemory.js.map +1 -0
- package/tmlpd-pi-extension/dist/orchestration/haloOrchestrator.d.ts +102 -0
- package/tmlpd-pi-extension/dist/orchestration/haloOrchestrator.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/orchestration/haloOrchestrator.js +207 -0
- package/tmlpd-pi-extension/dist/orchestration/haloOrchestrator.js.map +1 -0
- package/tmlpd-pi-extension/dist/orchestration/mctsWorkflow.d.ts +85 -0
- package/tmlpd-pi-extension/dist/orchestration/mctsWorkflow.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/orchestration/mctsWorkflow.js +210 -0
- package/tmlpd-pi-extension/dist/orchestration/mctsWorkflow.js.map +1 -0
- package/tmlpd-pi-extension/dist/providers/localProvider.d.ts +102 -0
- package/tmlpd-pi-extension/dist/providers/localProvider.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/providers/localProvider.js +338 -0
- package/tmlpd-pi-extension/dist/providers/localProvider.js.map +1 -0
- package/tmlpd-pi-extension/dist/providers/registry.d.ts +55 -0
- package/tmlpd-pi-extension/dist/providers/registry.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/providers/registry.js +138 -0
- package/tmlpd-pi-extension/dist/providers/registry.js.map +1 -0
- package/tmlpd-pi-extension/dist/routing/advancedRouter.d.ts +68 -0
- package/tmlpd-pi-extension/dist/routing/advancedRouter.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/routing/advancedRouter.js +332 -0
- package/tmlpd-pi-extension/dist/routing/advancedRouter.js.map +1 -0
- package/tmlpd-pi-extension/dist/tools/tmlpdTools.d.ts +101 -0
- package/tmlpd-pi-extension/dist/tools/tmlpdTools.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/tools/tmlpdTools.js +368 -0
- package/tmlpd-pi-extension/dist/tools/tmlpdTools.js.map +1 -0
- package/tmlpd-pi-extension/dist/utils/batchProcessor.d.ts +96 -0
- package/tmlpd-pi-extension/dist/utils/batchProcessor.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/utils/batchProcessor.js +170 -0
- package/tmlpd-pi-extension/dist/utils/batchProcessor.js.map +1 -0
- package/tmlpd-pi-extension/dist/utils/compression.d.ts +61 -0
- package/tmlpd-pi-extension/dist/utils/compression.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/utils/compression.js +281 -0
- package/tmlpd-pi-extension/dist/utils/compression.js.map +1 -0
- package/tmlpd-pi-extension/dist/utils/reliability.d.ts +74 -0
- package/tmlpd-pi-extension/dist/utils/reliability.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/utils/reliability.js +177 -0
- package/tmlpd-pi-extension/dist/utils/reliability.js.map +1 -0
- package/tmlpd-pi-extension/dist/utils/speculativeDecoding.d.ts +117 -0
- package/tmlpd-pi-extension/dist/utils/speculativeDecoding.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/utils/speculativeDecoding.js +246 -0
- package/tmlpd-pi-extension/dist/utils/speculativeDecoding.js.map +1 -0
- package/tmlpd-pi-extension/dist/utils/tokenUtils.d.ts +50 -0
- package/tmlpd-pi-extension/dist/utils/tokenUtils.d.ts.map +1 -0
- package/tmlpd-pi-extension/dist/utils/tokenUtils.js +124 -0
- package/tmlpd-pi-extension/dist/utils/tokenUtils.js.map +1 -0
- package/tmlpd-pi-extension/examples/QUICKSTART.md +183 -0
- package/tmlpd-pi-extension/package-lock.json +75 -0
- package/tmlpd-pi-extension/package.json +172 -0
- package/tmlpd-pi-extension/python/examples.py +53 -0
- package/tmlpd-pi-extension/python/integrations.py +330 -0
- package/tmlpd-pi-extension/python/setup.py +28 -0
- package/tmlpd-pi-extension/python/tmlpd.py +369 -0
- package/tmlpd-pi-extension/qna/REDDIT_GAP_ANALYSIS.md +299 -0
- package/tmlpd-pi-extension/qna/TMLPD_QNA.md +751 -0
- package/tmlpd-pi-extension/skill/SKILL.md +238 -0
- package/{src → tmlpd-pi-extension/src}/index.ts +1 -1
- package/tmlpd-pi-extension/tsconfig.json +18 -0
- package/demo/research-demo.js +0 -266
- package/notebooks/quickstart.ipynb +0 -157
- package/rust/tmlpd.h +0 -268
- package/src/cache/prefixCache.ts +0 -365
- package/src/routing/advancedRouter.ts +0 -406
- package/src/utils/speculativeDecoding.ts +0 -344
- /package/{src → tmlpd-pi-extension/src}/cache/responseCache.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/cost/costTracker.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/memory/episodicMemory.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/orchestration/haloOrchestrator.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/orchestration/mctsWorkflow.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/providers/localProvider.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/providers/registry.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/tools/tmlpdTools.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/utils/batchProcessor.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/utils/compression.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/utils/reliability.ts +0 -0
- /package/{src → tmlpd-pi-extension/src}/utils/tokenUtils.ts +0 -0
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
# TMLPD Quick Reference Guide
|
|
2
|
+
|
|
3
|
+
## What is TMLPD?
|
|
4
|
+
|
|
5
|
+
**TreeQuest Multi-LLM Parallel Deployment** - A skill for deploying multiple AI agents in parallel across different LLM providers to accelerate development.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# From any project directory
|
|
11
|
+
cd /path/to/project
|
|
12
|
+
|
|
13
|
+
# Deploy 4 parallel agents (quick start)
|
|
14
|
+
treequest-parallel --agents=4 --mode=category --background
|
|
15
|
+
|
|
16
|
+
# Check system status first
|
|
17
|
+
treequest test # Verify all providers working
|
|
18
|
+
treequest status # Quick health check
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Common Use Cases
|
|
22
|
+
|
|
23
|
+
### 1. Brain Spark Project Enhancement
|
|
24
|
+
```bash
|
|
25
|
+
cd ~/brain-spark-analysis-project
|
|
26
|
+
|
|
27
|
+
# Deploy for testing tasks
|
|
28
|
+
treequest-parallel \
|
|
29
|
+
--agents=4 \
|
|
30
|
+
--mode=category \
|
|
31
|
+
--filter="status=pending,category=testing" \
|
|
32
|
+
--providers="anthropic,openai,google,groq"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 2. TaskMaster Integration
|
|
36
|
+
```bash
|
|
37
|
+
# Parse PRD and expand tasks
|
|
38
|
+
task-master parse-prd .taskmaster/docs/prd.txt
|
|
39
|
+
task-master expand --all --research
|
|
40
|
+
|
|
41
|
+
# Deploy TreeQuest agents
|
|
42
|
+
treequest-parallel --source=taskmaster --agents=5
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### 3. Quick Feature Sprint
|
|
46
|
+
```bash
|
|
47
|
+
# Deploy 3 agents for feature implementation
|
|
48
|
+
treequest-parallel \
|
|
49
|
+
--agents=3 \
|
|
50
|
+
--focus="implementation" \
|
|
51
|
+
--timeout=3600 \
|
|
52
|
+
--budget=25.00
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Configuration Templates
|
|
56
|
+
|
|
57
|
+
### Copy to Project
|
|
58
|
+
```bash
|
|
59
|
+
# Category-based deployment
|
|
60
|
+
cp ~/.claude/skills/tmlpd-category.yaml ./tmlpd-config.yaml
|
|
61
|
+
|
|
62
|
+
# Phase-based deployment
|
|
63
|
+
cp ~/.claude/skills/tmlpd-phase.yaml ./tmlpd-config.yaml
|
|
64
|
+
|
|
65
|
+
# Monitoring only
|
|
66
|
+
cp ~/.claude/skills/tmlpd-monitoring.yaml ./tmlpd-monitoring.yaml
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Monitoring Commands
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Real-time status
|
|
73
|
+
treequest-parallel --status
|
|
74
|
+
|
|
75
|
+
# View logs
|
|
76
|
+
tail -f .tmlpd-output/tmlpd-logs.json
|
|
77
|
+
|
|
78
|
+
# Check metrics
|
|
79
|
+
treequest-parallel --metrics
|
|
80
|
+
|
|
81
|
+
# Launch dashboard
|
|
82
|
+
treequest-parallel --dashboard
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Agent Configuration Examples
|
|
86
|
+
|
|
87
|
+
### Frontend Specialist
|
|
88
|
+
```yaml
|
|
89
|
+
- id: "frontend-agent"
|
|
90
|
+
provider: "anthropic"
|
|
91
|
+
model: "claude-sonnet-4"
|
|
92
|
+
focus: "UI components, styling"
|
|
93
|
+
tasks: ["task-ui-*"]
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Backend Specialist
|
|
97
|
+
```yaml
|
|
98
|
+
- id: "backend-agent"
|
|
99
|
+
provider: "openai"
|
|
100
|
+
model: "gpt-4-turbo"
|
|
101
|
+
focus: "API, database, logic"
|
|
102
|
+
tasks: ["task-backend-*"]
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Testing Specialist
|
|
106
|
+
```yaml
|
|
107
|
+
- id: "testing-agent"
|
|
108
|
+
provider: "google"
|
|
109
|
+
model: "gemini-2.0-flash"
|
|
110
|
+
focus: "Tests, validation"
|
|
111
|
+
tasks: ["task-test-*"]
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Research Specialist
|
|
115
|
+
```yaml
|
|
116
|
+
- id: "research-agent"
|
|
117
|
+
provider: "perplexity"
|
|
118
|
+
model: "llama-3.1-sonar-large"
|
|
119
|
+
focus: "Research, documentation"
|
|
120
|
+
tasks: ["task-docs-*"]
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Performance Tips
|
|
124
|
+
|
|
125
|
+
1. **Start with 2-3 agents** - Scale up based on success
|
|
126
|
+
2. **Set budget limits** - Prevent cost overruns
|
|
127
|
+
3. **Use checkpoints** - Enable recovery for long tasks
|
|
128
|
+
4. **Monitor closely** - First deployment needs close watch
|
|
129
|
+
5. **Match models to tasks** - Right tool for the job
|
|
130
|
+
|
|
131
|
+
## Cost Optimization
|
|
132
|
+
|
|
133
|
+
| Task Type | Best Provider | Cost (per 1M tokens) |
|
|
134
|
+
|-----------|--------------|---------------------|
|
|
135
|
+
| Simple tests | Groq/Cerebras | $0.10 |
|
|
136
|
+
| Code generation | GPT-4 Turbo | $10.00 |
|
|
137
|
+
| Complex reasoning | Claude Sonnet | $3.00 |
|
|
138
|
+
| Research | Perplexity Sonar | $1.00 |
|
|
139
|
+
| Critical decisions | Claude Opus | $15.00 |
|
|
140
|
+
|
|
141
|
+
## Troubleshooting
|
|
142
|
+
|
|
143
|
+
### Agent not starting?
|
|
144
|
+
```bash
|
|
145
|
+
treequest test # Check provider status
|
|
146
|
+
treequest status # Check system health
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Merge conflicts?
|
|
150
|
+
```bash
|
|
151
|
+
treequest-parallel --merge-conflicts --strategy=timestamp
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Need to stop?
|
|
155
|
+
```bash
|
|
156
|
+
treequest-parallel --shutdown --graceful
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Resume from checkpoint?
|
|
160
|
+
```bash
|
|
161
|
+
treequest-parallel --resume
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
## Expected Speedup
|
|
165
|
+
|
|
166
|
+
- **2 agents:** 1.8x faster (ideal: 2x)
|
|
167
|
+
- **4 agents:** 3.4x faster (ideal: 4x)
|
|
168
|
+
- **6 agents:** 4.8x faster (ideal: 6x)
|
|
169
|
+
|
|
170
|
+
*Real-world results vary based on task complexity and dependencies*
|
|
171
|
+
|
|
172
|
+
## Advanced Features
|
|
173
|
+
|
|
174
|
+
### Dynamic Load Balancing
|
|
175
|
+
```yaml
|
|
176
|
+
coordination:
|
|
177
|
+
load_balancing: "dynamic"
|
|
178
|
+
rebalance_interval: 120
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Cost Limits
|
|
182
|
+
```yaml
|
|
183
|
+
cost_optimization:
|
|
184
|
+
enabled: true
|
|
185
|
+
budget_limit: 50.00
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Auto-Retry on Failure
|
|
189
|
+
```yaml
|
|
190
|
+
error_handling:
|
|
191
|
+
retry_policy: "exponential_backoff"
|
|
192
|
+
max_retries: 3
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
## Full Documentation
|
|
196
|
+
|
|
197
|
+
See: `~/.claude/skills/TMLPD.md`
|
|
198
|
+
|
|
199
|
+
## Support
|
|
200
|
+
|
|
201
|
+
- **TreeQuest Status:** `treequest status`
|
|
202
|
+
- **Config Check:** `treequest config --show`
|
|
203
|
+
- **Logs:** `~/.treequest/logs/`
|
|
204
|
+
- **Issues:** https://github.com/treequest-ai/issues
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
**Version:** 1.0.0
|
|
209
|
+
**Shortcut:** `/TMLPD`
|
|
210
|
+
**Works from:** Any project directory
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# TMLPD Skill - Installation Complete ✅
|
|
2
|
+
|
|
3
|
+
## What Was Created
|
|
4
|
+
|
|
5
|
+
The **TreeQuest Multi-LLM Parallel Deployment (TMLPD)** skill has been successfully created and is ready to use from any project.
|
|
6
|
+
|
|
7
|
+
### Created Files
|
|
8
|
+
|
|
9
|
+
1. **Main Skill Documentation**
|
|
10
|
+
- `~/.claude/skills/TMLPD.md` (540 lines)
|
|
11
|
+
- Complete guide with deployment strategies, configurations, and examples
|
|
12
|
+
|
|
13
|
+
2. **Quick Reference**
|
|
14
|
+
- `~/.claude/skills/TMLPD-QUICKREF.md` (210 lines)
|
|
15
|
+
- Fast lookup for common commands and patterns
|
|
16
|
+
|
|
17
|
+
3. **Configuration Templates**
|
|
18
|
+
- `~/.claude/skills/tmlpd-category.yaml` - Category-based parallelization
|
|
19
|
+
- `~/.claude/skills/tmlpd-phase.yaml` - Phase-based parallelization
|
|
20
|
+
- `~/.claude/skills/tmlpd-monitoring.yaml` - Advanced monitoring setup
|
|
21
|
+
|
|
22
|
+
4. **Test & Verification**
|
|
23
|
+
- `~/.claude/skills/test-tmlpd.sh` - Automated verification script
|
|
24
|
+
|
|
25
|
+
## How to Use
|
|
26
|
+
|
|
27
|
+
### From Any Project
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
cd /path/to/your-project
|
|
31
|
+
|
|
32
|
+
# Invoke the skill
|
|
33
|
+
/TMLPD
|
|
34
|
+
|
|
35
|
+
# Or use TreeQuest directly
|
|
36
|
+
treequest-parallel --agents=4 --mode=category
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Brain Spark Example
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
cd ~/brain-spark-analysis-project
|
|
43
|
+
|
|
44
|
+
# Copy template
|
|
45
|
+
cp ~/.claude/skills/tmlpd-category.yaml ./tmlpd-config.yaml
|
|
46
|
+
|
|
47
|
+
# Edit config as needed
|
|
48
|
+
vim tmlpd-config.yaml
|
|
49
|
+
|
|
50
|
+
# Deploy parallel agents
|
|
51
|
+
treequest-parallel --config=tmlpd-config.yaml --background
|
|
52
|
+
|
|
53
|
+
# Monitor progress
|
|
54
|
+
treequest-parallel --status
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### With TaskMaster
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
cd ~/brain-spark-analysis-project
|
|
61
|
+
|
|
62
|
+
# Parse PRD and create tasks
|
|
63
|
+
task-master parse-prd .taskmaster/docs/prd.txt
|
|
64
|
+
task-master expand --all --research
|
|
65
|
+
|
|
66
|
+
# Deploy TreeQuest agents on tasks
|
|
67
|
+
treequest-parallel --source=taskmaster --agents=4
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Key Features
|
|
71
|
+
|
|
72
|
+
### 3 Deployment Modes
|
|
73
|
+
1. **Category Mode** - Split by task type (frontend, backend, testing, docs)
|
|
74
|
+
2. **Phase Mode** - Execute project phases in parallel
|
|
75
|
+
3. **Verification Mode** - Run tasks on multiple models for consensus
|
|
76
|
+
|
|
77
|
+
### Multi-Provider Support
|
|
78
|
+
- **Anthropic** (Claude) - Complex reasoning and architecture
|
|
79
|
+
- **OpenAI** (GPT-4) - Code generation and debugging
|
|
80
|
+
- **Google** (Gemini) - Research and documentation
|
|
81
|
+
- **Perplexity** (Llama Sonar) - Web-connected research
|
|
82
|
+
- **Groq/Cerebras** - Fast execution for simple tasks
|
|
83
|
+
|
|
84
|
+
### Advanced Capabilities
|
|
85
|
+
- Dynamic load balancing
|
|
86
|
+
- Cost optimization with budget limits
|
|
87
|
+
- Error recovery with auto-retry
|
|
88
|
+
- Checkpoint-based resume
|
|
89
|
+
- Real-time monitoring dashboard
|
|
90
|
+
|
|
91
|
+
## Expected Performance
|
|
92
|
+
|
|
93
|
+
| Agents | Speedup | Cost Efficiency |
|
|
94
|
+
|--------|---------|-----------------|
|
|
95
|
+
| 2 | 1.8x | High |
|
|
96
|
+
| 4 | 3.4x | Medium |
|
|
97
|
+
| 6 | 4.8x | Low |
|
|
98
|
+
|
|
99
|
+
## Prerequisites Met
|
|
100
|
+
|
|
101
|
+
✅ TreeQuest CLI installed
|
|
102
|
+
✅ Configuration file exists
|
|
103
|
+
✅ Multiple providers configured
|
|
104
|
+
✅ Skill files created
|
|
105
|
+
✅ Templates ready to use
|
|
106
|
+
|
|
107
|
+
## Quick Verification
|
|
108
|
+
|
|
109
|
+
Run the test script:
|
|
110
|
+
```bash
|
|
111
|
+
~/.claude/skills/test-tmlpd.sh
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Documentation Locations
|
|
115
|
+
|
|
116
|
+
- **Full Guide:** `~/.claude/skills/TMLPD.md`
|
|
117
|
+
- **Quick Reference:** `~/.claude/skills/TMLPD-QUICKREF.md`
|
|
118
|
+
- **Templates:** `~/.claude/skills/tmlpd-*.yaml`
|
|
119
|
+
- **Test Script:** `~/.claude/skills/test-tmlpd.sh`
|
|
120
|
+
|
|
121
|
+
## Next Steps
|
|
122
|
+
|
|
123
|
+
1. **Try it out:**
|
|
124
|
+
```bash
|
|
125
|
+
cd ~/brain-spark-analysis-project
|
|
126
|
+
/TMLPD
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
2. **Customize a config:**
|
|
130
|
+
```bash
|
|
131
|
+
cp ~/.claude/skills/tmlpd-category.yaml ./tmlpd-config.yaml
|
|
132
|
+
# Edit for your project needs
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
3. **Deploy parallel agents:**
|
|
136
|
+
```bash
|
|
137
|
+
treequest-parallel --config=tmlpd-config.yaml --background
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
4. **Monitor progress:**
|
|
141
|
+
```bash
|
|
142
|
+
treequest-parallel --status
|
|
143
|
+
tail -f .tmlpd-output/tmlpd-logs.json
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Support
|
|
147
|
+
|
|
148
|
+
- **TreeQuest Status:** `treequest status`
|
|
149
|
+
- **Config:** `treequest config --show`
|
|
150
|
+
- **Test Providers:** `treequest test`
|
|
151
|
+
- **Full Help:** `/TMLPD`
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
**Installation Date:** 2026-01-01
|
|
156
|
+
**Version:** 1.0.0
|
|
157
|
+
**Status:** ✅ Ready to Use
|