stigmergy 1.2.0 → 1.2.8

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.
Files changed (130) hide show
  1. package/LICENSE +18 -18
  2. package/README.md +31 -211
  3. package/STIGMERGY.md +70 -61
  4. package/docs/MULTI_USER_WIKI_COLLABORATION_SYSTEM.md +523 -0
  5. package/docs/PROJECT_CONSTITUTION.md +433 -433
  6. package/docs/PROJECT_STRUCTURE_CURRENT.md +80 -80
  7. package/docs/PROMPT_BASED_SKILLS_SYSTEM_DESIGN.md +458 -0
  8. package/docs/SKILL_IMPLEMENTATION_CONSTRAINTS_AND_ALIGNMENT.md +423 -0
  9. package/docs/TECHNICAL_FEASIBILITY_ANALYSIS.md +308 -0
  10. package/examples/calculator-example.js +72 -72
  11. package/examples/cline_usage_examples.md +364 -364
  12. package/examples/encryption-example.js +67 -67
  13. package/examples/json-parser-example.js +120 -120
  14. package/examples/json-validation-example.js +64 -64
  15. package/examples/multilingual-hook-demo.js +125 -0
  16. package/examples/rest-client-example.js +52 -52
  17. package/examples/rest_client_example.js +54 -54
  18. package/package.json +38 -20
  19. package/scripts/build.js +74 -74
  20. package/scripts/dependency-analyzer.js +101 -0
  21. package/scripts/generate-cli-docs.js +64 -0
  22. package/scripts/post-deployment-config.js +296 -296
  23. package/scripts/postuninstall.js +46 -0
  24. package/scripts/preinstall-check.js +173 -173
  25. package/scripts/preuninstall.js +75 -0
  26. package/scripts/publish.js +58 -268
  27. package/scripts/run-layered-tests.js +247 -0
  28. package/scripts/safe-install.js +139 -139
  29. package/scripts/simple-publish.js +57 -59
  30. package/src/adapters/claude/install_claude_integration.js +292 -0
  31. package/src/adapters/codebuddy/install_codebuddy_integration.js +349 -0
  32. package/src/adapters/codex/install_codex_integration.js +395 -0
  33. package/src/adapters/copilot/install_copilot_integration.js +716 -0
  34. package/src/adapters/gemini/install_gemini_integration.js +304 -0
  35. package/src/adapters/iflow/install_iflow_integration.js +304 -0
  36. package/src/adapters/qoder/install_qoder_integration.js +1090 -0
  37. package/src/adapters/qwen/install_qwen_integration.js +285 -0
  38. package/src/cli/router.js +562 -39
  39. package/src/core/cache_cleaner.js +82 -59
  40. package/src/core/cli_help_analyzer.js +297 -291
  41. package/src/core/cli_parameter_handler.js +5 -0
  42. package/src/core/cli_tools.js +6 -6
  43. package/src/core/coordination/index.js +2 -2
  44. package/src/core/coordination/nodejs/AdapterManager.js +30 -17
  45. package/src/core/coordination/nodejs/CLCommunication.js +28 -20
  46. package/src/core/coordination/nodejs/CLIIntegrationManager.js +72 -36
  47. package/src/core/coordination/nodejs/HealthChecker.js +13 -14
  48. package/src/core/coordination/nodejs/HookDeploymentManager.js +325 -63
  49. package/src/core/coordination/nodejs/StatisticsCollector.js +6 -6
  50. package/src/core/coordination/nodejs/index.js +29 -11
  51. package/src/core/coordination/nodejs/utils/Logger.js +1 -1
  52. package/src/core/enhanced_installer.js +92 -69
  53. package/src/core/enhanced_uninstaller.js +73 -53
  54. package/src/core/installer.js +815 -294
  55. package/src/core/multilingual/language-pattern-manager.js +172 -0
  56. package/src/core/smart_router.js +141 -26
  57. package/src/core/upgrade_manager.js +91 -46
  58. package/src/data_structures.js +1 -1
  59. package/src/deploy.js +2 -2
  60. package/src/index.js +3 -3
  61. package/src/test/cli-availability-checker.js +194 -0
  62. package/src/test/test-environment.js +289 -0
  63. package/src/utils/helpers.js +2 -2
  64. package/src/utils.js +7 -1
  65. package/test/multilingual/hook-deployment.test.js +91 -0
  66. package/test/multilingual/language-pattern-manager.test.js +140 -0
  67. package/test/multilingual/system-test.js +85 -0
  68. package/test/cache-cleaner-implemented.test.js +0 -328
  69. package/test/cache-cleaner.test.js +0 -390
  70. package/test/calculator.test.js +0 -215
  71. package/test/collision-test.js +0 -26
  72. package/test/comprehensive-enhanced-features.test.js +0 -252
  73. package/test/comprehensive-execution-test.js +0 -428
  74. package/test/conflict-prevention-test.js +0 -95
  75. package/test/cross-cli-detection-test.js +0 -33
  76. package/test/csv-processing-test.js +0 -36
  77. package/test/deploy-hooks-test.js +0 -250
  78. package/test/e2e/claude-cli-test.js +0 -128
  79. package/test/e2e/collaboration-test.js +0 -75
  80. package/test/e2e/comprehensive-test.js +0 -431
  81. package/test/e2e/error-handling-test.js +0 -90
  82. package/test/e2e/individual-tool-test.js +0 -143
  83. package/test/e2e/other-cli-test.js +0 -130
  84. package/test/e2e/qoder-cli-test.js +0 -128
  85. package/test/e2e/run-e2e-tests.js +0 -73
  86. package/test/e2e/test-data.js +0 -88
  87. package/test/e2e/test-utils.js +0 -222
  88. package/test/encryption-simple-test.js +0 -110
  89. package/test/encryption.test.js +0 -129
  90. package/test/enhanced-main-alignment.test.js +0 -298
  91. package/test/enhanced-uninstaller-implemented.test.js +0 -271
  92. package/test/enhanced-uninstaller.test.js +0 -284
  93. package/test/error-handling-test.js +0 -341
  94. package/test/fibonacci.test.js +0 -178
  95. package/test/final-deploy-test.js +0 -221
  96. package/test/final-install-test.js +0 -226
  97. package/test/hash-table-demo.js +0 -33
  98. package/test/hash-table-test.js +0 -26
  99. package/test/hash_table_test.js +0 -114
  100. package/test/hook-system-integration-test.js +0 -307
  101. package/test/iflow-integration-test.js +0 -292
  102. package/test/improved-install-test.js +0 -362
  103. package/test/install-command-test.js +0 -370
  104. package/test/json-parser-test.js +0 -161
  105. package/test/json-validation-test.js +0 -164
  106. package/test/natural-language-skills-test.js +0 -320
  107. package/test/nl-integration-test.js +0 -179
  108. package/test/parameter-parsing-test.js +0 -143
  109. package/test/plugin-deployment-test.js +0 -316
  110. package/test/postinstall-test.js +0 -269
  111. package/test/python-plugins-test.js +0 -259
  112. package/test/real-test.js +0 -435
  113. package/test/remaining-adapters-test.js +0 -256
  114. package/test/rest-client-test.js +0 -56
  115. package/test/rest_client.test.js +0 -85
  116. package/test/safe-installation-cleaner.test.js +0 -343
  117. package/test/simple-iflow-hook-test.js +0 -137
  118. package/test/stigmergy-upgrade-test.js +0 -243
  119. package/test/system-compatibility-test.js +0 -467
  120. package/test/tdd-deploy-fix-test.js +0 -324
  121. package/test/tdd-fixes-test.js +0 -211
  122. package/test/third-party-skills-test.js +0 -321
  123. package/test/tool-selection-integration-test.js +0 -158
  124. package/test/unit/calculator-full.test.js +0 -191
  125. package/test/unit/calculator-simple.test.js +0 -96
  126. package/test/unit/calculator.test.js +0 -97
  127. package/test/unit/cli-scanner.test.js +0 -291
  128. package/test/unit/cli_parameter_handler.test.js +0 -116
  129. package/test/unit/cross-cli-executor.test.js +0 -399
  130. package/test/weather-processor.test.js +0 -104
package/LICENSE CHANGED
@@ -1,19 +1,19 @@
1
- MIT 许可证
2
-
3
- 版权所有 (c) 2025 Zhang
4
-
5
- 特此授权,任何人免费获得此软件及相关文档文件("软件")的副本,
6
- 有权使用、复制、修改、合并、发布、分发、再许可和/或出售软件的副本,
7
- 并有权授予软件使用许可,但须遵守以下条件:
8
-
9
- 软件中包含以上的版权声明和本许可声明。
10
-
11
- 本软件按"现状"提供,不提供任何形式的明示或暗示担保,
12
- 包括但不限于适销性、特定用途的适用性和非侵权性。
13
- 在任何情况下,作者或版权持有人均不对任何索赔、损害或其他
14
- 责任承担责任,无论是合同诉讼、侵权诉讼还是其它诉讼行为,
15
- 与本软件或本软件的使用有关或与其产生的其他交易有关。
16
-
17
- 联系方式:
18
- - 项目官网: http://www.socienceAI.com
1
+ MIT 许可证
2
+
3
+ 版权所有 (c) 2025 Zhang
4
+
5
+ 特此授权,任何人免费获得此软件及相关文档文件("软件")的副本,
6
+ 有权使用、复制、修改、合并、发布、分发、再许可和/或出售软件的副本,
7
+ 并有权授予软件使用许可,但须遵守以下条件:
8
+
9
+ 软件中包含以上的版权声明和本许可声明。
10
+
11
+ 本软件按"现状"提供,不提供任何形式的明示或暗示担保,
12
+ 包括但不限于适销性、特定用途的适用性和非侵权性。
13
+ 在任何情况下,作者或版权持有人均不对任何索赔、损害或其他
14
+ 责任承担责任,无论是合同诉讼、侵权诉讼还是其它诉讼行为,
15
+ 与本软件或本软件的使用有关或与其产生的其他交易有关。
16
+
17
+ 联系方式:
18
+ - 项目官网: http://www.socienceAI.com
19
19
  - 技术支持: 3061176@qq.com
package/README.md CHANGED
@@ -1,240 +1,60 @@
1
- # Stigmergy CLI - Multi-Agents Cross-AI CLI Tool Collaboration System
1
+ # Stigmergy CLI Multi-Agents System
2
2
 
3
- > **Important: This is not a standalone CLI tool, but an enhancement system!**
4
- >
5
- > Stigmergy CLI enables existing AI CLI tools to collaborate with each other through a plugin system, rather than replacing them.
3
+ A comprehensive system for collaboration between multiple AI CLI tools. This system enables seamless cross-CLI communication and intelligent task routing between different AI tools.
6
4
 
7
- [![Node.js](https://img.shields.io/badge/node-16+-green.svg)](https://nodejs.org)
8
- [![NPM](https://img.shields.io/badge/npm-stigmergy-blue.svg)](https://www.npmjs.com/package/stigmergy)
9
- [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
10
- [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey.svg)]()
11
-
12
- ## Quick Start
13
-
14
- ### One-Click Deployment (Recommended)
15
-
16
- ```bash
17
- # Install Stigmergy CLI globally
18
- npm install -g stigmergy
19
-
20
- # Run interactive setup
21
- stigmergy
22
- ```
5
+ ## Features
23
6
 
24
- This command will:
25
- - Scan your system for available AI CLI tools
26
- - Install missing tools with your permission
27
- - Configure automatic cross-tool collaboration
28
- - Set up hook integrations for seamless communication
7
+ - 🤖 Multi-agent AI CLI tools collaboration (Claude, Gemini, Qwen, iFlow, Qoder, CodeBuddy, Copilot, Codex)
8
+ - 🎯 Natural language skills processing and cross-CLI task routing
9
+ - 🧠 Cross-CLI memory sharing and session recovery
10
+ - 🔗 Hook integration for seamless AI tool usage
11
+ - 🌍 JavaScript-based implementation (no Python dependencies)
12
+ - ⚡ Intelligent command routing and execution
29
13
 
30
- ### Manual Installation
14
+ ## Quick Start
31
15
 
32
16
  ```bash
17
+ # Install the core system
33
18
  npm install -g stigmergy
34
- stigmergy --help
35
- ```
36
-
37
- ## Supported AI CLI Tools
38
-
39
- Stigmergy CLI enhances the following AI CLI tools:
40
-
41
- - **Claude CLI** - Anthropic's Claude assistant
42
- - **Gemini CLI** - Google's Gemini AI
43
- - **Qwen CLI** - Alibaba's Qwen model
44
- - **iFlow CLI** - Intelligent workflow automation
45
- - **Qoder CLI** - AI-powered code generation
46
- - **CodeBuddy CLI** - Programming assistant
47
- - **GitHub Copilot CLI** - Microsoft's Copilot
48
- - **OpenAI Codex CLI** - OpenAI's code completion
49
-
50
- ## Dual Implementation Architecture
51
-
52
- Stigmergy CLI features a unique dual implementation architecture:
53
-
54
- ### Node.js First Approach
55
- - **Primary Implementation**: Native Node.js coordination layer
56
- - **No System Python Required**: Works without Python installation
57
- - **Graceful Degradation**: Falls back to Python when needed
58
- - **Enhanced Performance**: Optimized for modern Node.js environments
59
-
60
- ### Python Fallback
61
- - **Secondary Implementation**: Python-based coordination layer
62
- - **Legacy Support**: Maintains compatibility with existing installations
63
- - **Automatic Detection**: Seamlessly switches based on system capabilities
64
-
65
- This architecture ensures maximum compatibility and reliability across different environments.
66
-
67
- ## Usage
68
-
69
- ### Basic Commands
70
-
71
- ```bash
72
- # Show help
73
- stigmergy --help
74
-
75
- # Check version
76
- stigmergy --version
77
19
 
78
20
  # Scan for available AI CLI tools
79
21
  stigmergy scan
80
22
 
81
- # Check system status
82
- stigmergy status
83
-
84
- # Interactive installation mode
23
+ # Install missing tools
85
24
  stigmergy install
86
25
 
87
- # Deploy hooks to all tools
26
+ # Deploy hooks for cross-CLI integration
88
27
  stigmergy deploy
89
28
 
90
- # Remove all Stigmergy hooks from tools
91
- stigmergy remove
92
-
93
- # Complete setup (scan + install + deploy)
94
- stigmergy setup
29
+ # Use cross-CLI collaboration
30
+ stigmergy claude "write a Python function"
31
+ stigmergy gemini "translate this text"
32
+ stigmergy qwen "analyze this code"
95
33
  ```
96
34
 
97
- ### Cross-CLI Collaboration
98
-
99
- Once installed, you can use AI CLI tools to collaborate with each other:
35
+ ## Cross-CLI Communication
100
36
 
37
+ When you need to call other AI tools, use the following format:
101
38
  ```bash
102
- # Use Claude to analyze code
103
- stigmergy call claude "analyze this function"
104
-
105
- # Use Gemini for documentation
106
- stigmergy call gemini "generate docs for this file"
107
-
108
- # Use Qwen for translation
109
- stigmergy call qwen "translate to English"
110
-
111
- # Use Copilot for code suggestions
112
- stigmergy call copilot "suggest improvements"
39
+ stigmergy <tool_name> <task_description>
113
40
  ```
114
41
 
115
- ### User Authentication
116
-
117
- Stigmergy CLI now supports user authentication to protect your AI tools and configurations:
118
-
42
+ Examples:
119
43
  ```bash
120
- # Register a new account
121
- stigmergy register <username> <password>
122
-
123
- # Log in to your account
124
- stigmergy login <username> <password>
125
-
126
- # Check authentication status
127
- stigmergy auth-status
128
-
129
- # Log out of your account
130
- stigmergy logout
131
- ```
132
-
133
- Protected commands (like `call`, `setup`, `deploy`, `install`) require authentication before use.
134
-
135
- ### Installation Workflow
136
-
137
- 1. **Scan**: `stigmergy scan` - Detects installed AI CLI tools
138
- 2. **Install**: `stigmergy install` - Interactive tool installation
139
- 3. **Deploy**: `stigmergy deploy` - Sets up cross-tool communication
140
- 4. **Use**: `stigmergy call <tool> <prompt>` - Start collaborating
141
-
142
- ## Safety and Conflict Prevention
143
-
144
- Stigmergy includes a comprehensive conflict prevention system to ensure it doesn't interfere with other CLI tools:
145
-
146
- - **Pre-installation checks** to prevent conflicts
147
- - **Runtime monitoring** for system integrity
148
- - **Automatic conflict resolution** tools
149
- - **Emergency recovery** procedures
150
-
151
- If you experience issues with other CLI tools:
152
- ```bash
153
- npm run fix-node-conflict
154
- ```
155
-
156
- For more information, see [Conflict Prevention System](docs/CONFLICT_PREVENTION.md).
157
-
158
- ```json
159
- {
160
- "version": "1.0.76",
161
- "installed": "2025-12-07T00:00:00.000Z",
162
- "projectPath": "/path/to/project",
163
- "availableTools": ["claude", "gemini", "qwen"],
164
- "collaboration": {
165
- "enabled": true,
166
- "protocols": [
167
- "Use {cli} to {task}",
168
- "Call {cli} to {task}",
169
- "Ask {cli} for {task}"
170
- ]
171
- }
172
- }
173
- ```
174
-
175
- ### Project Configuration
176
-
177
- Each project gets a `STIGMERGY.md` file with tool-specific usage instructions.
178
-
179
- ## Features
180
-
181
- - **Automated Detection**: Scans for installed AI CLI tools
182
- - **Interactive Installation**: One-click installation of missing tools
183
- - **Cross-Tool Communication**: Enables AI CLI tools to work together
184
- - **Hook Integration**: Deploys integration hooks to each tool
185
- - **International Support**: Pure ANSI character output for global compatibility
186
- - **Auto-Setup**: Configures everything automatically on npm install
187
-
188
- ## Development
189
-
190
- ### Project Structure
191
-
44
+ stigmergy claude "write a Python function"
45
+ stigmergy gemini "translate this text"
46
+ stigmergy qwen "analyze this code"
192
47
  ```
193
- stigmergy-CLI-Multi-Agents/
194
- ├── src/
195
- │ ├── main.js # Main CLI logic
196
- │ └── index.js # Entry point
197
- ├── package.json # NPM configuration
198
- └── README.md # This file
199
- ```
200
-
201
- ### Building from Source
202
48
 
203
- ```bash
204
- # Clone the repository
205
- git clone https://github.com/ptreezh/stigmergy-CLI-Multi-Agents.git
206
- cd stigmergy-CLI-Multi-Agents
49
+ Available tools: claude, gemini, qwen, iflow, qodercli, codebuddy, copilot, codex
207
50
 
208
- # Install dependencies
209
- npm install
51
+ ## Documentation
210
52
 
211
- # Install globally for testing
212
- npm install -g .
213
- ```
53
+ - [Main System](./README.md)
54
+ - [Skills Package](./packages/skills/README.md)
55
+ - [Resume Session](./packages/resume/README.md)
56
+ - [Session Management](./packages/sessions/README.md)
214
57
 
215
58
  ## Contributing
216
59
 
217
- 1. Fork the repository
218
- 2. Create a feature branch
219
- 3. Make your changes
220
- 4. Test thoroughly
221
- 5. Submit a pull request
222
-
223
- ## License
224
-
225
- MIT License - see [LICENSE](LICENSE) file for details.
226
-
227
- ## Support
228
-
229
- - **Documentation**: https://github.com/ptreezh/stigmergy-CLI-Multi-Agents
230
- - **Issues**: https://github.com/ptreezh/stigmergy-CLI-Multi-Agents/issues
231
- - **NPM**: https://www.npmjs.com/package/stigmergy
232
-
233
- ## Changelog
234
-
235
- ### Version 1.0.76
236
- - Unified international version with pure ANSI characters
237
- - Single source of truth for all CLI logic
238
- - Automated installation and deployment system
239
- - Enhanced error handling and validation
240
- - Removed all redundant scripts and configurations
60
+ This project follows the MIT License. Contributions are welcome!
package/STIGMERGY.md CHANGED
@@ -1,62 +1,71 @@
1
- # Stigmergy Multi-AI CLI Collaboration
2
-
3
- This project is configured for Stigmergy-based multi-AI CLI collaboration.
4
-
5
- ## Available AI CLI Tools
6
-
7
- Cross-CLI communication is enabled between all supported AI tools:
8
- - Claude (Anthropic)
9
- - Qwen (Alibaba)
10
- - Gemini (Google)
11
- - iFlow (Intelligent Workflow)
12
- - Qoder CLI
13
- - CodeBuddy
14
- - GitHub Copilot
15
- - OpenAI Codex
16
-
17
- ## Cross-CLI Collaboration
18
-
19
- Instead of using a central command, cross-CLI communication happens directly between tools through hooks:
20
-
21
- ### How It Works
22
- 1. Each CLI tool has hooks deployed by Stigmergy
23
- 2. When one tool detects a request to use another tool, it triggers cross-CLI communication
24
- 3. The target tool executes the requested task and returns results
25
-
26
- ### Usage Pattern
27
- From any supported CLI tool, use natural language patterns:
28
- ```bash
29
- # Natural language patterns recognized by hooks
30
- "use qwen to translate this code to Python"
31
- "ask claude to review this algorithm"
32
- "call gemini to explain this concept"
33
- ```
34
-
35
- ## Project Memory and Documentation
36
-
37
- This project automatically generates documentation for each CLI tool:
38
- - claude.md
39
- - qwen.md
40
- - gemini.md
41
- - iflow.md
42
- - qodercli.md
43
- - codebuddy.md
44
- - copilot.md
45
- - codex.md
46
-
47
- Each documentation file contains:
48
- - Tool configuration information
49
- - Usage patterns
50
- - Cross-CLI communication instructions
51
-
52
- ## Configuration
53
-
54
- Global configuration: `~/.stigmergy/config.json`
55
-
56
- ## Getting Started
57
-
58
- 1. Run `stigmergy status` to verify setup
59
- 2. Check individual CLI documentation files for specific usage instructions
60
- 3. Use natural language requests within any CLI tool to trigger cross-CLI communication
61
-
1
+ # Stigmergy Multi-AI CLI Collaboration
2
+
3
+ This project is configured for Stigmergy-based multi-AI CLI collaboration.
4
+
5
+ ## Available AI CLI Tools
6
+
7
+ Cross-CLI communication is enabled between all supported AI tools:
8
+ - Claude (Anthropic)
9
+ - Qwen (Alibaba)
10
+ - Gemini (Google)
11
+ - iFlow (Intelligent Workflow)
12
+ - Qoder CLI
13
+ - CodeBuddy
14
+ - GitHub Copilot
15
+ - OpenAI Codex
16
+
17
+ ## Cross-CLI Collaboration
18
+
19
+ Stigmergy provides a unified command interface for cross-CLI communication:
20
+
21
+ ### How It Works
22
+ 1. Each CLI tool has hooks deployed by Stigmergy
23
+ 2. Use the stigmergy command to route tasks to specific AI tools
24
+ 3. The target tool executes the requested task and returns results
25
+
26
+ ### Usage Pattern
27
+ Use the stigmergy command with the following format:
28
+ ```bash
29
+ stigmergy <tool_name> <task_description>
30
+ ```
31
+
32
+ Examples:
33
+ ```bash
34
+ stigmergy claude "write a Python function"
35
+ stigmergy gemini "translate this text"
36
+ stigmergy qwen "analyze this code"
37
+ stigmergy iflow "create a workflow"
38
+ stigmergy qodercli "review this code"
39
+ stigmergy codebuddy "help me debug"
40
+ stigmergy copilot "suggest improvements"
41
+ stigmergy codex "generate documentation"
42
+ ```
43
+
44
+ ## Project Memory and Documentation
45
+
46
+ This project automatically generates documentation for each CLI tool:
47
+ - claude.md
48
+ - qwen.md
49
+ - gemini.md
50
+ - iflow.md
51
+ - qodercli.md
52
+ - codebuddy.md
53
+ - copilot.md
54
+ - codex.md
55
+
56
+ Each documentation file contains:
57
+ - Tool configuration information
58
+ - Usage patterns
59
+ - Cross-CLI communication instructions
60
+
61
+ ## Configuration
62
+
63
+ Global configuration: `~/.stigmergy/config.json`
64
+
65
+ ## Getting Started
66
+
67
+ 1. Run `stigmergy status` to verify setup
68
+ 2. Check individual CLI documentation files for specific usage instructions
69
+ 3. Use natural language requests within any CLI tool to trigger cross-CLI communication
70
+
62
71
  For more information: https://github.com/ptreezh/stigmergy-CLI-Multi-Agents