agentic-flow 3.1.0 → 3.2.0
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/.agents/skills/agentic-flow-ecosystem/SKILL.md +50 -0
- package/.claude/skills/agentic-flow-ecosystem/skill.md +58 -0
- package/.claude/skills/agentic-flow-quickstart/skill.md +6 -6
- package/.claude/skills/hooks-automation/skill.md +11 -11
- package/.claude/skills/memory-patterns/skill.md +7 -7
- package/.claude/skills/sparc-methodology/skill.md +13 -13
- package/.claude/skills/swarm-coordination/skill.md +5 -5
- package/.claude/skills/worker-benchmarks/skill.md +5 -5
- package/.claude/skills/worker-integration/skill.md +5 -5
- package/CHANGELOG.md +25 -0
- package/README.md +82 -67
- package/dist/.tsbuildinfo +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +9 -0
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/core/agentdb-fast.d.ts +21 -11
- package/dist/core/agentdb-fast.d.ts.map +1 -1
- package/dist/core/agentdb-fast.js +39 -14
- package/dist/core/agentdb-fast.js.map +1 -1
- package/dist/integrations/agent-booster.d.ts +35 -0
- package/dist/integrations/agent-booster.d.ts.map +1 -0
- package/dist/integrations/agent-booster.js +45 -0
- package/dist/integrations/agent-booster.js.map +1 -0
- package/dist/integrations/index.d.ts +15 -0
- package/dist/integrations/index.d.ts.map +1 -0
- package/dist/integrations/index.js +11 -0
- package/dist/integrations/index.js.map +1 -0
- package/dist/integrations/onnx-wasm-embedder.d.ts +59 -0
- package/dist/integrations/onnx-wasm-embedder.d.ts.map +1 -0
- package/dist/integrations/onnx-wasm-embedder.js +145 -0
- package/dist/integrations/onnx-wasm-embedder.js.map +1 -0
- package/dist/integrations/optional.d.ts +44 -0
- package/dist/integrations/optional.d.ts.map +1 -0
- package/dist/integrations/optional.js +107 -0
- package/dist/integrations/optional.js.map +1 -0
- package/dist/integrations/prompt-injection.d.ts +52 -0
- package/dist/integrations/prompt-injection.d.ts.map +1 -0
- package/dist/integrations/prompt-injection.js +126 -0
- package/dist/integrations/prompt-injection.js.map +1 -0
- package/dist/integrations/sublinear.d.ts +71 -0
- package/dist/integrations/sublinear.d.ts.map +1 -0
- package/dist/integrations/sublinear.js +227 -0
- package/dist/integrations/sublinear.js.map +1 -0
- package/dist/integrations/task-partition.d.ts +40 -0
- package/dist/integrations/task-partition.d.ts.map +1 -0
- package/dist/integrations/task-partition.js +173 -0
- package/dist/integrations/task-partition.js.map +1 -0
- package/dist/mcp/mcp-policy.d.ts.map +1 -1
- package/dist/mcp/mcp-policy.js +2 -0
- package/dist/mcp/mcp-policy.js.map +1 -1
- package/dist/mcp/standalone-stdio.js +12 -26
- package/dist/mcp/standalone-stdio.js.map +1 -1
- package/dist/mcp/tools/ecosystem-tools.d.ts +49 -0
- package/dist/mcp/tools/ecosystem-tools.d.ts.map +1 -0
- package/dist/mcp/tools/ecosystem-tools.js +126 -0
- package/dist/mcp/tools/ecosystem-tools.js.map +1 -0
- package/dist/routing/SemanticRouter.d.ts +25 -9
- package/dist/routing/SemanticRouter.d.ts.map +1 -1
- package/dist/routing/SemanticRouter.js +63 -12
- package/dist/routing/SemanticRouter.js.map +1 -1
- package/dist/utils/input-validator.d.ts +10 -2
- package/dist/utils/input-validator.d.ts.map +1 -1
- package/dist/utils/input-validator.js +30 -2
- package/dist/utils/input-validator.js.map +1 -1
- package/dist/utils/model-cache.d.ts.map +1 -1
- package/dist/utils/model-cache.js +6 -25
- package/dist/utils/model-cache.js.map +1 -1
- package/dist/wasm/onnx-embeddings-wasm.d.ts.map +1 -1
- package/dist/wasm/onnx-embeddings-wasm.js +21 -10
- package/dist/wasm/onnx-embeddings-wasm.js.map +1 -1
- package/docs/integrations/FASTMCP_CLI_INTEGRATION.md +1 -1
- package/package.json +12 -7
package/README.md
CHANGED
|
@@ -362,6 +362,21 @@ additionally needs the official `swebench` Docker harness — see
|
|
|
362
362
|
- **Performance**: `benchmark_run`, `bottleneck_analyze`, `token_usage`
|
|
363
363
|
- **And 200+ more tools!**
|
|
364
364
|
|
|
365
|
+
### 🔌 Ecosystem integrations (3.2.0)
|
|
366
|
+
|
|
367
|
+
Optional ruvnet packages, installed by default and loaded lazily, each with a built-in fallback (`npm install --omit=optional` skips them):
|
|
368
|
+
|
|
369
|
+
| Package | Powers | MCP tool (readonly profile) |
|
|
370
|
+
|---|---|---|
|
|
371
|
+
| [`aidefence`](https://www.npmjs.com/package/aidefence) | prompt-injection screening of every routed task (`AGENTIC_FLOW_PROMPT_INJECTION`) | `prompt_injection_scan` |
|
|
372
|
+
| [`@ruvector/mincut-wasm`](https://www.npmjs.com/package/@ruvector/mincut-wasm) | split a task-dependency graph between two agent teams (Node >= 22; built-in fallback on 20) | `swarm_partition_tasks` |
|
|
373
|
+
| [`sublinear-time-solver`](https://www.npmjs.com/package/sublinear-time-solver) | verified linear solves and PageRank | `sublinear_solve`, `sublinear_pagerank` |
|
|
374
|
+
| [`agent-booster`](https://www.npmjs.com/package/agent-booster) | in-process code edits | `agent_booster_edit_file` (admin) |
|
|
375
|
+
| [`@ruvector/router`](https://www.npmjs.com/package/@ruvector/router) | native HNSW index for `SemanticRouter` | — |
|
|
376
|
+
| [`ruvector-onnx-embeddings-wasm`](https://www.npmjs.com/package/ruvector-onnx-embeddings-wasm) | all-MiniLM-L6-v2 embeddings for `AgentDBFast` | — |
|
|
377
|
+
|
|
378
|
+
`ecosystem_status` reports what is installed; `import { partitionTaskGraph, pageRank, scanPromptInjection } from 'agentic-flow/integrations'` gives the same functions in code. Skills: `.claude/skills/agentic-flow-ecosystem` (Claude Code) and `.agents/skills/agentic-flow-ecosystem` (Codex), both installed by `agentic-flow init`.
|
|
379
|
+
|
|
365
380
|
### 🧩 Advanced Capabilities
|
|
366
381
|
|
|
367
382
|
- **🧠 ReasoningBank Learning Memory**: All 66 agents learn from every task execution
|
|
@@ -1050,16 +1065,16 @@ The `init` command sets up your project with the full Agentic-Flow infrastructur
|
|
|
1050
1065
|
|
|
1051
1066
|
```bash
|
|
1052
1067
|
# Initialize project with full agent library
|
|
1053
|
-
npx agentic-flow@3.
|
|
1068
|
+
npx agentic-flow@3.2.0 init
|
|
1054
1069
|
|
|
1055
1070
|
# Force reinitialize (overwrite existing)
|
|
1056
|
-
npx agentic-flow@3.
|
|
1071
|
+
npx agentic-flow@3.2.0 init --force
|
|
1057
1072
|
|
|
1058
1073
|
# Minimal setup (empty directories only)
|
|
1059
|
-
npx agentic-flow@3.
|
|
1074
|
+
npx agentic-flow@3.2.0 init --minimal
|
|
1060
1075
|
|
|
1061
1076
|
# Verbose output showing all files
|
|
1062
|
-
npx agentic-flow@3.
|
|
1077
|
+
npx agentic-flow@3.2.0 init --verbose
|
|
1063
1078
|
```
|
|
1064
1079
|
|
|
1065
1080
|
### What Gets Created
|
|
@@ -1103,7 +1118,7 @@ The generated `settings.json` includes:
|
|
|
1103
1118
|
"mcpServers": {
|
|
1104
1119
|
"claude-flow": {
|
|
1105
1120
|
"command": "npx",
|
|
1106
|
-
"args": ["agentic-flow@3.
|
|
1121
|
+
"args": ["agentic-flow@3.2.0", "mcp", "start"]
|
|
1107
1122
|
}
|
|
1108
1123
|
}
|
|
1109
1124
|
}
|
|
@@ -1115,13 +1130,13 @@ After initialization:
|
|
|
1115
1130
|
|
|
1116
1131
|
```bash
|
|
1117
1132
|
# 1. Start the MCP server
|
|
1118
|
-
npx agentic-flow@3.
|
|
1133
|
+
npx agentic-flow@3.2.0 mcp start
|
|
1119
1134
|
|
|
1120
1135
|
# 2. Bootstrap intelligence from your codebase
|
|
1121
|
-
npx agentic-flow@3.
|
|
1136
|
+
npx agentic-flow@3.2.0 hooks pretrain
|
|
1122
1137
|
|
|
1123
1138
|
# 3. Generate optimized agent configurations
|
|
1124
|
-
npx agentic-flow@3.
|
|
1139
|
+
npx agentic-flow@3.2.0 hooks build-agents
|
|
1125
1140
|
|
|
1126
1141
|
# 4. Start using Claude Code
|
|
1127
1142
|
claude
|
|
@@ -1155,14 +1170,14 @@ Agentic-Flow v2 includes a powerful **self-learning hooks system** powered by Ru
|
|
|
1155
1170
|
Get context and agent suggestions before editing a file:
|
|
1156
1171
|
|
|
1157
1172
|
```bash
|
|
1158
|
-
npx agentic-flow@3.
|
|
1173
|
+
npx agentic-flow@3.2.0 hooks pre-edit <filePath> [options]
|
|
1159
1174
|
|
|
1160
1175
|
Options:
|
|
1161
1176
|
-t, --task <task> Task description
|
|
1162
1177
|
-j, --json Output as JSON
|
|
1163
1178
|
|
|
1164
1179
|
# Example
|
|
1165
|
-
npx agentic-flow@3.
|
|
1180
|
+
npx agentic-flow@3.2.0 hooks pre-edit src/api/users.ts --task "Add validation"
|
|
1166
1181
|
# Output:
|
|
1167
1182
|
# 🎯 Suggested Agent: backend-dev
|
|
1168
1183
|
# 📊 Confidence: 94.2%
|
|
@@ -1177,7 +1192,7 @@ npx agentic-flow@3.1.0 hooks pre-edit src/api/users.ts --task "Add validation"
|
|
|
1177
1192
|
Record edit outcome for learning:
|
|
1178
1193
|
|
|
1179
1194
|
```bash
|
|
1180
|
-
npx agentic-flow@3.
|
|
1195
|
+
npx agentic-flow@3.2.0 hooks post-edit <filePath> [options]
|
|
1181
1196
|
|
|
1182
1197
|
Options:
|
|
1183
1198
|
-s, --success Mark as successful edit
|
|
@@ -1188,10 +1203,10 @@ Options:
|
|
|
1188
1203
|
-j, --json Output as JSON
|
|
1189
1204
|
|
|
1190
1205
|
# Example (success)
|
|
1191
|
-
npx agentic-flow@3.
|
|
1206
|
+
npx agentic-flow@3.2.0 hooks post-edit src/api/users.ts --success --agent coder
|
|
1192
1207
|
|
|
1193
1208
|
# Example (failure)
|
|
1194
|
-
npx agentic-flow@3.
|
|
1209
|
+
npx agentic-flow@3.2.0 hooks post-edit src/api/users.ts --fail --error "Type error"
|
|
1195
1210
|
```
|
|
1196
1211
|
|
|
1197
1212
|
#### Pre-Command Hook
|
|
@@ -1199,13 +1214,13 @@ npx agentic-flow@3.1.0 hooks post-edit src/api/users.ts --fail --error "Type err
|
|
|
1199
1214
|
Assess command risk before execution:
|
|
1200
1215
|
|
|
1201
1216
|
```bash
|
|
1202
|
-
npx agentic-flow@3.
|
|
1217
|
+
npx agentic-flow@3.2.0 hooks pre-command "<command>" [options]
|
|
1203
1218
|
|
|
1204
1219
|
Options:
|
|
1205
1220
|
-j, --json Output as JSON
|
|
1206
1221
|
|
|
1207
1222
|
# Example
|
|
1208
|
-
npx agentic-flow@3.
|
|
1223
|
+
npx agentic-flow@3.2.0 hooks pre-command "rm -rf node_modules"
|
|
1209
1224
|
# Output:
|
|
1210
1225
|
# ⚠️ Risk Level: CAUTION (65%)
|
|
1211
1226
|
# ✅ Command APPROVED
|
|
@@ -1218,7 +1233,7 @@ npx agentic-flow@3.1.0 hooks pre-command "rm -rf node_modules"
|
|
|
1218
1233
|
Route task to optimal agent using learned patterns:
|
|
1219
1234
|
|
|
1220
1235
|
```bash
|
|
1221
|
-
npx agentic-flow@3.
|
|
1236
|
+
npx agentic-flow@3.2.0 hooks route "<task>" [options]
|
|
1222
1237
|
|
|
1223
1238
|
Options:
|
|
1224
1239
|
-f, --file <filePath> Context file path
|
|
@@ -1226,7 +1241,7 @@ Options:
|
|
|
1226
1241
|
-j, --json Output as JSON
|
|
1227
1242
|
|
|
1228
1243
|
# Example
|
|
1229
|
-
npx agentic-flow@3.
|
|
1244
|
+
npx agentic-flow@3.2.0 hooks route "Fix authentication bug in login flow"
|
|
1230
1245
|
# Output:
|
|
1231
1246
|
# 🎯 Recommended Agent: backend-dev
|
|
1232
1247
|
# 📊 Confidence: 91.5%
|
|
@@ -1245,14 +1260,14 @@ npx agentic-flow@3.1.0 hooks route "Fix authentication bug in login flow"
|
|
|
1245
1260
|
Explain routing decision with full transparency:
|
|
1246
1261
|
|
|
1247
1262
|
```bash
|
|
1248
|
-
npx agentic-flow@3.
|
|
1263
|
+
npx agentic-flow@3.2.0 hooks explain "<task>" [options]
|
|
1249
1264
|
|
|
1250
1265
|
Options:
|
|
1251
1266
|
-f, --file <filePath> Context file path
|
|
1252
1267
|
-j, --json Output as JSON
|
|
1253
1268
|
|
|
1254
1269
|
# Example
|
|
1255
|
-
npx agentic-flow@3.
|
|
1270
|
+
npx agentic-flow@3.2.0 hooks explain "Implement caching layer"
|
|
1256
1271
|
# Output:
|
|
1257
1272
|
# 📝 Summary: Task involves performance optimization and data caching
|
|
1258
1273
|
# 🎯 Recommended: perf-analyzer
|
|
@@ -1273,7 +1288,7 @@ npx agentic-flow@3.1.0 hooks explain "Implement caching layer"
|
|
|
1273
1288
|
Analyze repository to bootstrap intelligence:
|
|
1274
1289
|
|
|
1275
1290
|
```bash
|
|
1276
|
-
npx agentic-flow@3.
|
|
1291
|
+
npx agentic-flow@3.2.0 hooks pretrain [options]
|
|
1277
1292
|
|
|
1278
1293
|
Options:
|
|
1279
1294
|
-d, --depth <n> Git history depth (default: 50)
|
|
@@ -1282,7 +1297,7 @@ Options:
|
|
|
1282
1297
|
-j, --json Output as JSON
|
|
1283
1298
|
|
|
1284
1299
|
# Example
|
|
1285
|
-
npx agentic-flow@3.
|
|
1300
|
+
npx agentic-flow@3.2.0 hooks pretrain --depth 100
|
|
1286
1301
|
# Output:
|
|
1287
1302
|
# 🧠 Analyzing repository...
|
|
1288
1303
|
# 📊 Pretrain Complete!
|
|
@@ -1299,7 +1314,7 @@ npx agentic-flow@3.1.0 hooks pretrain --depth 100
|
|
|
1299
1314
|
Generate optimized agent configurations from pretrain data:
|
|
1300
1315
|
|
|
1301
1316
|
```bash
|
|
1302
|
-
npx agentic-flow@3.
|
|
1317
|
+
npx agentic-flow@3.2.0 hooks build-agents [options]
|
|
1303
1318
|
|
|
1304
1319
|
Options:
|
|
1305
1320
|
-f, --focus <mode> Focus: quality|speed|security|testing|fullstack
|
|
@@ -1309,7 +1324,7 @@ Options:
|
|
|
1309
1324
|
-j, --json Output as JSON
|
|
1310
1325
|
|
|
1311
1326
|
# Example
|
|
1312
|
-
npx agentic-flow@3.
|
|
1327
|
+
npx agentic-flow@3.2.0 hooks build-agents --focus security
|
|
1313
1328
|
# Output:
|
|
1314
1329
|
# ✅ Agents Generated!
|
|
1315
1330
|
# 📦 Total: 12
|
|
@@ -1327,7 +1342,7 @@ npx agentic-flow@3.1.0 hooks build-agents --focus security
|
|
|
1327
1342
|
View learning metrics and performance dashboard:
|
|
1328
1343
|
|
|
1329
1344
|
```bash
|
|
1330
|
-
npx agentic-flow@3.
|
|
1345
|
+
npx agentic-flow@3.2.0 hooks metrics [options]
|
|
1331
1346
|
|
|
1332
1347
|
Options:
|
|
1333
1348
|
-t, --timeframe <period> Timeframe: 1h|24h|7d|30d (default: 24h)
|
|
@@ -1335,7 +1350,7 @@ Options:
|
|
|
1335
1350
|
-j, --json Output as JSON
|
|
1336
1351
|
|
|
1337
1352
|
# Example
|
|
1338
|
-
npx agentic-flow@3.
|
|
1353
|
+
npx agentic-flow@3.2.0 hooks metrics --timeframe 7d --detailed
|
|
1339
1354
|
# Output:
|
|
1340
1355
|
# 📊 Learning Metrics (7d)
|
|
1341
1356
|
#
|
|
@@ -1357,7 +1372,7 @@ npx agentic-flow@3.1.0 hooks metrics --timeframe 7d --detailed
|
|
|
1357
1372
|
Transfer learned patterns from another project:
|
|
1358
1373
|
|
|
1359
1374
|
```bash
|
|
1360
|
-
npx agentic-flow@3.
|
|
1375
|
+
npx agentic-flow@3.2.0 hooks transfer <sourceProject> [options]
|
|
1361
1376
|
|
|
1362
1377
|
Options:
|
|
1363
1378
|
-c, --min-confidence <n> Minimum confidence threshold (default: 0.7)
|
|
@@ -1366,7 +1381,7 @@ Options:
|
|
|
1366
1381
|
-j, --json Output as JSON
|
|
1367
1382
|
|
|
1368
1383
|
# Example
|
|
1369
|
-
npx agentic-flow@3.
|
|
1384
|
+
npx agentic-flow@3.2.0 hooks transfer ../other-project --mode merge
|
|
1370
1385
|
# Output:
|
|
1371
1386
|
# ✅ Transfer Complete!
|
|
1372
1387
|
# 📥 Patterns transferred: 45
|
|
@@ -1384,7 +1399,7 @@ The `intelligence` (alias: `intel`) subcommand provides access to the full RuVec
|
|
|
1384
1399
|
Route task using SONA + MoE + HNSW (150x faster than brute force):
|
|
1385
1400
|
|
|
1386
1401
|
```bash
|
|
1387
|
-
npx agentic-flow@3.
|
|
1402
|
+
npx agentic-flow@3.2.0 hooks intelligence route "<task>" [options]
|
|
1388
1403
|
|
|
1389
1404
|
Options:
|
|
1390
1405
|
-f, --file <path> File context
|
|
@@ -1393,7 +1408,7 @@ Options:
|
|
|
1393
1408
|
-j, --json Output as JSON
|
|
1394
1409
|
|
|
1395
1410
|
# Example
|
|
1396
|
-
npx agentic-flow@3.
|
|
1411
|
+
npx agentic-flow@3.2.0 hooks intel route "Optimize database queries" --top-k 3
|
|
1397
1412
|
# Output:
|
|
1398
1413
|
# ⚡ RuVector Intelligence Route
|
|
1399
1414
|
# 🎯 Agent: perf-analyzer
|
|
@@ -1409,15 +1424,15 @@ Track reinforcement learning trajectories for agent improvement:
|
|
|
1409
1424
|
|
|
1410
1425
|
```bash
|
|
1411
1426
|
# Start a trajectory
|
|
1412
|
-
npx agentic-flow@3.
|
|
1427
|
+
npx agentic-flow@3.2.0 hooks intel trajectory-start "<task>" -a <agent>
|
|
1413
1428
|
# Output: 🎬 Trajectory Started - ID: 42
|
|
1414
1429
|
|
|
1415
1430
|
# Record steps
|
|
1416
|
-
npx agentic-flow@3.
|
|
1417
|
-
npx agentic-flow@3.
|
|
1431
|
+
npx agentic-flow@3.2.0 hooks intel trajectory-step 42 -a "edit file" -r 0.8
|
|
1432
|
+
npx agentic-flow@3.2.0 hooks intel trajectory-step 42 -a "run tests" -r 1.0 --test-passed
|
|
1418
1433
|
|
|
1419
1434
|
# End trajectory
|
|
1420
|
-
npx agentic-flow@3.
|
|
1435
|
+
npx agentic-flow@3.2.0 hooks intel trajectory-end 42 --success --quality 0.95
|
|
1421
1436
|
# Output: 🏁 Trajectory Completed - Learning: EWC++ consolidation applied
|
|
1422
1437
|
```
|
|
1423
1438
|
|
|
@@ -1427,13 +1442,13 @@ Store and search patterns using HNSW-indexed ReasoningBank:
|
|
|
1427
1442
|
|
|
1428
1443
|
```bash
|
|
1429
1444
|
# Store a pattern
|
|
1430
|
-
npx agentic-flow@3.
|
|
1445
|
+
npx agentic-flow@3.2.0 hooks intel pattern-store \
|
|
1431
1446
|
--task "Fix React hydration error" \
|
|
1432
1447
|
--resolution "Use useEffect with empty deps for client-only code" \
|
|
1433
1448
|
--score 0.95
|
|
1434
1449
|
|
|
1435
1450
|
# Search patterns (150x faster with HNSW)
|
|
1436
|
-
npx agentic-flow@3.
|
|
1451
|
+
npx agentic-flow@3.2.0 hooks intel pattern-search "hydration mismatch"
|
|
1437
1452
|
# Output:
|
|
1438
1453
|
# 🔍 Pattern Search Results
|
|
1439
1454
|
# Query: "hydration mismatch"
|
|
@@ -1449,7 +1464,7 @@ npx agentic-flow@3.1.0 hooks intel pattern-search "hydration mismatch"
|
|
|
1449
1464
|
Get RuVector intelligence layer statistics:
|
|
1450
1465
|
|
|
1451
1466
|
```bash
|
|
1452
|
-
npx agentic-flow@3.
|
|
1467
|
+
npx agentic-flow@3.2.0 hooks intelligence stats
|
|
1453
1468
|
# Output:
|
|
1454
1469
|
# 📊 RuVector Intelligence Stats
|
|
1455
1470
|
#
|
|
@@ -1490,7 +1505,7 @@ The `init` command automatically configures hooks in `.claude/settings.json`:
|
|
|
1490
1505
|
"hooks": [
|
|
1491
1506
|
{
|
|
1492
1507
|
"type": "command",
|
|
1493
|
-
"command": "npx agentic-flow@3.
|
|
1508
|
+
"command": "npx agentic-flow@3.2.0 hooks pre-edit \"$TOOL_INPUT_file_path\""
|
|
1494
1509
|
}
|
|
1495
1510
|
]
|
|
1496
1511
|
},
|
|
@@ -1499,7 +1514,7 @@ The `init` command automatically configures hooks in `.claude/settings.json`:
|
|
|
1499
1514
|
"hooks": [
|
|
1500
1515
|
{
|
|
1501
1516
|
"type": "command",
|
|
1502
|
-
"command": "npx agentic-flow@3.
|
|
1517
|
+
"command": "npx agentic-flow@3.2.0 hooks pre-command \"$TOOL_INPUT_command\""
|
|
1503
1518
|
}
|
|
1504
1519
|
]
|
|
1505
1520
|
}
|
|
@@ -1510,7 +1525,7 @@ The `init` command automatically configures hooks in `.claude/settings.json`:
|
|
|
1510
1525
|
"hooks": [
|
|
1511
1526
|
{
|
|
1512
1527
|
"type": "command",
|
|
1513
|
-
"command": "npx agentic-flow@3.
|
|
1528
|
+
"command": "npx agentic-flow@3.2.0 hooks post-edit \"$TOOL_INPUT_file_path\" --success"
|
|
1514
1529
|
}
|
|
1515
1530
|
]
|
|
1516
1531
|
}
|
|
@@ -1521,7 +1536,7 @@ The `init` command automatically configures hooks in `.claude/settings.json`:
|
|
|
1521
1536
|
"hooks": [
|
|
1522
1537
|
{
|
|
1523
1538
|
"type": "command",
|
|
1524
|
-
"command": "npx agentic-flow@3.
|
|
1539
|
+
"command": "npx agentic-flow@3.2.0 hooks post-edit \"$TOOL_INPUT_file_path\" --fail --error \"$ERROR_MESSAGE\""
|
|
1525
1540
|
}
|
|
1526
1541
|
]
|
|
1527
1542
|
}
|
|
@@ -1531,7 +1546,7 @@ The `init` command automatically configures hooks in `.claude/settings.json`:
|
|
|
1531
1546
|
"hooks": [
|
|
1532
1547
|
{
|
|
1533
1548
|
"type": "command",
|
|
1534
|
-
"command": "npx agentic-flow@3.
|
|
1549
|
+
"command": "npx agentic-flow@3.2.0 hooks intelligence stats --json"
|
|
1535
1550
|
}
|
|
1536
1551
|
]
|
|
1537
1552
|
}
|
|
@@ -1542,7 +1557,7 @@ The `init` command automatically configures hooks in `.claude/settings.json`:
|
|
|
1542
1557
|
{
|
|
1543
1558
|
"type": "command",
|
|
1544
1559
|
"timeout": 3000,
|
|
1545
|
-
"command": "npx agentic-flow@3.
|
|
1560
|
+
"command": "npx agentic-flow@3.2.0 hooks route \"$USER_PROMPT\" --json"
|
|
1546
1561
|
}
|
|
1547
1562
|
]
|
|
1548
1563
|
}
|
|
@@ -1608,10 +1623,10 @@ Workers are automatically dispatched when trigger keywords are detected in promp
|
|
|
1608
1623
|
Detect triggers in prompt and dispatch background workers:
|
|
1609
1624
|
|
|
1610
1625
|
```bash
|
|
1611
|
-
npx agentic-flow@3.
|
|
1626
|
+
npx agentic-flow@3.2.0 workers dispatch "<prompt>"
|
|
1612
1627
|
|
|
1613
1628
|
# Example
|
|
1614
|
-
npx agentic-flow@3.
|
|
1629
|
+
npx agentic-flow@3.2.0 workers dispatch "ultralearn how authentication works"
|
|
1615
1630
|
# Output:
|
|
1616
1631
|
# ⚡ Background Workers Spawned:
|
|
1617
1632
|
# • ultralearn: worker-1234
|
|
@@ -1624,7 +1639,7 @@ npx agentic-flow@3.1.0 workers dispatch "ultralearn how authentication works"
|
|
|
1624
1639
|
Get worker status and progress:
|
|
1625
1640
|
|
|
1626
1641
|
```bash
|
|
1627
|
-
npx agentic-flow@3.
|
|
1642
|
+
npx agentic-flow@3.2.0 workers status [workerId]
|
|
1628
1643
|
|
|
1629
1644
|
Options:
|
|
1630
1645
|
-s, --session <id> Filter by session
|
|
@@ -1632,7 +1647,7 @@ Options:
|
|
|
1632
1647
|
-j, --json Output as JSON
|
|
1633
1648
|
|
|
1634
1649
|
# Example - Dashboard view
|
|
1635
|
-
npx agentic-flow@3.
|
|
1650
|
+
npx agentic-flow@3.2.0 workers status
|
|
1636
1651
|
# Output:
|
|
1637
1652
|
# ┌─ Background Workers Dashboard ────────────┐
|
|
1638
1653
|
# │ ✅ ultralearn: complete │
|
|
@@ -1650,7 +1665,7 @@ npx agentic-flow@3.1.0 workers status
|
|
|
1650
1665
|
View worker analysis results:
|
|
1651
1666
|
|
|
1652
1667
|
```bash
|
|
1653
|
-
npx agentic-flow@3.
|
|
1668
|
+
npx agentic-flow@3.2.0 workers results [workerId]
|
|
1654
1669
|
|
|
1655
1670
|
Options:
|
|
1656
1671
|
-s, --session <id> Filter by session
|
|
@@ -1658,7 +1673,7 @@ Options:
|
|
|
1658
1673
|
-j, --json Output as JSON
|
|
1659
1674
|
|
|
1660
1675
|
# Example
|
|
1661
|
-
npx agentic-flow@3.
|
|
1676
|
+
npx agentic-flow@3.2.0 workers results
|
|
1662
1677
|
# Output:
|
|
1663
1678
|
# 📊 Worker Analysis Results
|
|
1664
1679
|
# • ultralearn "authentication":
|
|
@@ -1674,7 +1689,7 @@ npx agentic-flow@3.1.0 workers results
|
|
|
1674
1689
|
List all available trigger keywords:
|
|
1675
1690
|
|
|
1676
1691
|
```bash
|
|
1677
|
-
npx agentic-flow@3.
|
|
1692
|
+
npx agentic-flow@3.2.0 workers triggers
|
|
1678
1693
|
# Output:
|
|
1679
1694
|
# ⚡ Available Background Worker Triggers:
|
|
1680
1695
|
# ┌──────────────┬──────────┬────────────────────────────────────────┐
|
|
@@ -1692,14 +1707,14 @@ npx agentic-flow@3.1.0 workers triggers
|
|
|
1692
1707
|
Get worker statistics:
|
|
1693
1708
|
|
|
1694
1709
|
```bash
|
|
1695
|
-
npx agentic-flow@3.
|
|
1710
|
+
npx agentic-flow@3.2.0 workers stats [options]
|
|
1696
1711
|
|
|
1697
1712
|
Options:
|
|
1698
1713
|
-t, --timeframe <period> Timeframe: 1h, 24h, 7d (default: 24h)
|
|
1699
1714
|
-j, --json Output as JSON
|
|
1700
1715
|
|
|
1701
1716
|
# Example
|
|
1702
|
-
npx agentic-flow@3.
|
|
1717
|
+
npx agentic-flow@3.2.0 workers stats --timeframe 7d
|
|
1703
1718
|
# Output:
|
|
1704
1719
|
# ⚡ Worker Statistics (7d)
|
|
1705
1720
|
# Total Workers: 45
|
|
@@ -1723,14 +1738,14 @@ Create and manage custom workers with specific analysis phases:
|
|
|
1723
1738
|
#### List Presets
|
|
1724
1739
|
|
|
1725
1740
|
```bash
|
|
1726
|
-
npx agentic-flow@3.
|
|
1741
|
+
npx agentic-flow@3.2.0 workers presets
|
|
1727
1742
|
# Shows available worker presets: quick-scan, deep-analysis, security-audit, etc.
|
|
1728
1743
|
```
|
|
1729
1744
|
|
|
1730
1745
|
#### Create Custom Worker
|
|
1731
1746
|
|
|
1732
1747
|
```bash
|
|
1733
|
-
npx agentic-flow@3.
|
|
1748
|
+
npx agentic-flow@3.2.0 workers create <name> [options]
|
|
1734
1749
|
|
|
1735
1750
|
Options:
|
|
1736
1751
|
-p, --preset <preset> Preset to use (default: quick-scan)
|
|
@@ -1738,13 +1753,13 @@ Options:
|
|
|
1738
1753
|
-d, --description <desc> Worker description
|
|
1739
1754
|
|
|
1740
1755
|
# Example
|
|
1741
|
-
npx agentic-flow@3.
|
|
1756
|
+
npx agentic-flow@3.2.0 workers create security-check --preset security-audit --triggers "security,vuln"
|
|
1742
1757
|
```
|
|
1743
1758
|
|
|
1744
1759
|
#### Run Custom Worker
|
|
1745
1760
|
|
|
1746
1761
|
```bash
|
|
1747
|
-
npx agentic-flow@3.
|
|
1762
|
+
npx agentic-flow@3.2.0 workers run <nameOrTrigger> [options]
|
|
1748
1763
|
|
|
1749
1764
|
Options:
|
|
1750
1765
|
-t, --topic <topic> Topic to analyze
|
|
@@ -1752,7 +1767,7 @@ Options:
|
|
|
1752
1767
|
-j, --json Output as JSON
|
|
1753
1768
|
|
|
1754
1769
|
# Example
|
|
1755
|
-
npx agentic-flow@3.
|
|
1770
|
+
npx agentic-flow@3.2.0 workers run security-check --topic "authentication flow"
|
|
1756
1771
|
```
|
|
1757
1772
|
|
|
1758
1773
|
### Native RuVector Workers
|
|
@@ -1760,7 +1775,7 @@ npx agentic-flow@3.1.0 workers run security-check --topic "authentication flow"
|
|
|
1760
1775
|
Run native RuVector workers for advanced analysis:
|
|
1761
1776
|
|
|
1762
1777
|
```bash
|
|
1763
|
-
npx agentic-flow@3.
|
|
1778
|
+
npx agentic-flow@3.2.0 workers native <type> [options]
|
|
1764
1779
|
|
|
1765
1780
|
Types:
|
|
1766
1781
|
security - Run security vulnerability scan
|
|
@@ -1769,7 +1784,7 @@ Types:
|
|
|
1769
1784
|
phases - List available native phases
|
|
1770
1785
|
|
|
1771
1786
|
# Example
|
|
1772
|
-
npx agentic-flow@3.
|
|
1787
|
+
npx agentic-flow@3.2.0 workers native security
|
|
1773
1788
|
# Output:
|
|
1774
1789
|
# ⚡ Native Worker: security
|
|
1775
1790
|
# ══════════════════════════════════════════════════
|
|
@@ -1796,7 +1811,7 @@ npx agentic-flow@3.1.0 workers native security
|
|
|
1796
1811
|
Run performance benchmarks on the worker system:
|
|
1797
1812
|
|
|
1798
1813
|
```bash
|
|
1799
|
-
npx agentic-flow@3.
|
|
1814
|
+
npx agentic-flow@3.2.0 workers benchmark [options]
|
|
1800
1815
|
|
|
1801
1816
|
Options:
|
|
1802
1817
|
-t, --type <type> Benchmark type: all, trigger-detection, registry,
|
|
@@ -1805,7 +1820,7 @@ Options:
|
|
|
1805
1820
|
-j, --json Output as JSON
|
|
1806
1821
|
|
|
1807
1822
|
# Example
|
|
1808
|
-
npx agentic-flow@3.
|
|
1823
|
+
npx agentic-flow@3.2.0 workers benchmark --type trigger-detection
|
|
1809
1824
|
# Output:
|
|
1810
1825
|
# ✅ Trigger Detection Benchmark
|
|
1811
1826
|
# Operation: detect triggers in prompts
|
|
@@ -1820,7 +1835,7 @@ npx agentic-flow@3.1.0 workers benchmark --type trigger-detection
|
|
|
1820
1835
|
View worker-agent integration statistics:
|
|
1821
1836
|
|
|
1822
1837
|
```bash
|
|
1823
|
-
npx agentic-flow@3.
|
|
1838
|
+
npx agentic-flow@3.2.0 workers integration
|
|
1824
1839
|
# Output:
|
|
1825
1840
|
# ⚡ Worker-Agent Integration Stats
|
|
1826
1841
|
# ════════════════════════════════════════
|
|
@@ -1841,10 +1856,10 @@ npx agentic-flow@3.1.0 workers integration
|
|
|
1841
1856
|
Get recommended agents for a worker trigger:
|
|
1842
1857
|
|
|
1843
1858
|
```bash
|
|
1844
|
-
npx agentic-flow@3.
|
|
1859
|
+
npx agentic-flow@3.2.0 workers agents <trigger>
|
|
1845
1860
|
|
|
1846
1861
|
# Example
|
|
1847
|
-
npx agentic-flow@3.
|
|
1862
|
+
npx agentic-flow@3.2.0 workers agents ultralearn
|
|
1848
1863
|
# Output:
|
|
1849
1864
|
# ⚡ Agent Recommendations for "ultralearn"
|
|
1850
1865
|
#
|
|
@@ -1873,7 +1888,7 @@ Workers are automatically configured in `.claude/settings.json` via hooks:
|
|
|
1873
1888
|
"type": "command",
|
|
1874
1889
|
"timeout": 5000,
|
|
1875
1890
|
"background": true,
|
|
1876
|
-
"command": "npx agentic-flow@3.
|
|
1891
|
+
"command": "npx agentic-flow@3.2.0 workers dispatch-prompt \"$USER_PROMPT\" --session \"$SESSION_ID\" --json"
|
|
1877
1892
|
}
|
|
1878
1893
|
]
|
|
1879
1894
|
}
|
|
@@ -1883,7 +1898,7 @@ Workers are automatically configured in `.claude/settings.json` via hooks:
|
|
|
1883
1898
|
"hooks": [
|
|
1884
1899
|
{
|
|
1885
1900
|
"type": "command",
|
|
1886
|
-
"command": "npx agentic-flow@3.
|
|
1901
|
+
"command": "npx agentic-flow@3.2.0 workers cleanup --age 24"
|
|
1887
1902
|
}
|
|
1888
1903
|
]
|
|
1889
1904
|
}
|
|
@@ -1906,7 +1921,7 @@ Workers are automatically configured in `.claude/settings.json` via hooks:
|
|
|
1906
1921
|
|
|
1907
1922
|
```bash
|
|
1908
1923
|
# Install the current release
|
|
1909
|
-
npm install agentic-flow@3.
|
|
1924
|
+
npm install agentic-flow@3.2.0
|
|
1910
1925
|
```
|
|
1911
1926
|
|
|
1912
1927
|
### Install from Source
|
|
@@ -2226,7 +2241,7 @@ MIT License - see [LICENSE](LICENSE) file for details.
|
|
|
2226
2241
|
**Install now and experience the future of AI agents:**
|
|
2227
2242
|
|
|
2228
2243
|
```bash
|
|
2229
|
-
npm install agentic-flow@3.
|
|
2244
|
+
npm install agentic-flow@3.2.0
|
|
2230
2245
|
```
|
|
2231
2246
|
|
|
2232
2247
|
**Made with ❤️ by [@ruvnet](https://github.com/ruvnet)**
|