agentic-flow 1.6.6 → 1.7.2
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/.claude/agents/test-neural.md +5 -0
- package/.claude/settings.json +20 -19
- package/.claude/skills/.claude-flow/metrics/agent-metrics.json +1 -0
- package/.claude/skills/.claude-flow/metrics/performance.json +87 -0
- package/.claude/skills/.claude-flow/metrics/task-metrics.json +10 -0
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +166 -0
- package/.claude/skills/agentdb-vector-search/SKILL.md +126 -0
- package/.claude/skills/agentic-flow/agentdb-memory-patterns/SKILL.md +166 -0
- package/.claude/skills/agentic-flow/agentdb-vector-search/SKILL.md +126 -0
- package/.claude/skills/agentic-flow/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/agentic-flow/swarm-orchestration/SKILL.md +179 -0
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +1 -0
- package/.claude/skills/skill-builder/.claude-flow/metrics/performance.json +87 -0
- package/.claude/skills/skill-builder/.claude-flow/metrics/task-metrics.json +10 -0
- package/.claude/skills/skill-builder/README.md +308 -0
- package/.claude/skills/skill-builder/SKILL.md +910 -0
- package/.claude/skills/skill-builder/docs/SPECIFICATION.md +358 -0
- package/.claude/skills/skill-builder/resources/schemas/skill-frontmatter.schema.json +41 -0
- package/.claude/skills/skill-builder/resources/templates/full-skill.template +118 -0
- package/.claude/skills/skill-builder/resources/templates/minimal-skill.template +38 -0
- package/.claude/skills/skill-builder/scripts/generate-skill.sh +334 -0
- package/.claude/skills/skill-builder/scripts/validate-skill.sh +198 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/CHANGELOG.md +61 -0
- package/README.md +79 -1
- package/dist/cli/skills-manager.js +1295 -0
- package/dist/cli/update-message.js +175 -0
- package/dist/cli-proxy.js +8 -1
- package/dist/utils/cli.js +17 -0
- package/package.json +2 -2
- package/.claude/answer.md +0 -1
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Update Message Display for agentic-flow
|
|
3
|
+
* Displays philosophy-driven update notifications
|
|
4
|
+
*/
|
|
5
|
+
import chalk from 'chalk';
|
|
6
|
+
/**
|
|
7
|
+
* Display update message with philosophy
|
|
8
|
+
*/
|
|
9
|
+
export function displayUpdateMessage(info) {
|
|
10
|
+
const { currentVersion, latestVersion, releaseDate, features, philosophy } = info;
|
|
11
|
+
console.log('\n');
|
|
12
|
+
console.log(chalk.cyan('╔══════════════════════════════════════════════════════════════╗'));
|
|
13
|
+
console.log(chalk.cyan('║') + ' ' + chalk.cyan('║'));
|
|
14
|
+
console.log(chalk.cyan('║') + chalk.bold.white(' agentic-flow v' + latestVersion + ' ') + chalk.cyan('║'));
|
|
15
|
+
console.log(chalk.cyan('║') + chalk.bold.yellow(' Intelligence Without Scale ') + chalk.cyan('║'));
|
|
16
|
+
console.log(chalk.cyan('║') + ' ' + chalk.cyan('║'));
|
|
17
|
+
console.log(chalk.cyan('╚══════════════════════════════════════════════════════════════╝'));
|
|
18
|
+
console.log('');
|
|
19
|
+
// Philosophy quote
|
|
20
|
+
if (philosophy) {
|
|
21
|
+
console.log(chalk.italic.gray(' "' + philosophy + '"'));
|
|
22
|
+
console.log('');
|
|
23
|
+
}
|
|
24
|
+
// Key features
|
|
25
|
+
console.log(chalk.bold.white(' ✨ What\'s New:'));
|
|
26
|
+
console.log('');
|
|
27
|
+
features.forEach(feature => {
|
|
28
|
+
const [title, description] = feature.split(':');
|
|
29
|
+
console.log(chalk.green(' •') + chalk.white(' ' + title.trim()));
|
|
30
|
+
if (description) {
|
|
31
|
+
console.log(chalk.gray(' └─ ' + description.trim()));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
console.log('');
|
|
35
|
+
// Quick actions
|
|
36
|
+
console.log(chalk.cyan('╔══════════════════════════════════════════════════════════════╗'));
|
|
37
|
+
console.log(chalk.cyan('║') + chalk.bold.white(' Quick Start: ') + chalk.cyan('║'));
|
|
38
|
+
console.log(chalk.cyan('╠══════════════════════════════════════════════════════════════╣'));
|
|
39
|
+
console.log(chalk.cyan('║') + chalk.white(' Update: ') + chalk.yellow('npm install -g agentic-flow@latest') + ' ' + chalk.cyan('║'));
|
|
40
|
+
console.log(chalk.cyan('║') + chalk.white(' Skills: ') + chalk.yellow('npx agentic-flow skills list') + ' ' + chalk.cyan('║'));
|
|
41
|
+
console.log(chalk.cyan('║') + chalk.white(' Learn: ') + chalk.yellow('npx agentic-flow --help') + ' ' + chalk.cyan('║'));
|
|
42
|
+
console.log(chalk.cyan('╚══════════════════════════════════════════════════════════════╝'));
|
|
43
|
+
console.log('');
|
|
44
|
+
console.log(chalk.gray(' Release Date: ' + releaseDate));
|
|
45
|
+
console.log(chalk.gray(' Current Version: v' + currentVersion + ' → v' + latestVersion));
|
|
46
|
+
console.log('');
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Display compact update notification
|
|
50
|
+
*/
|
|
51
|
+
export function displayCompactUpdate(currentVersion, latestVersion) {
|
|
52
|
+
console.log('');
|
|
53
|
+
console.log(chalk.yellow('🚀 Update Available: ') +
|
|
54
|
+
chalk.gray('v' + currentVersion) +
|
|
55
|
+
chalk.white(' → ') +
|
|
56
|
+
chalk.green('v' + latestVersion));
|
|
57
|
+
console.log('');
|
|
58
|
+
console.log(chalk.white(' Run: ') + chalk.cyan('npm install -g agentic-flow@latest'));
|
|
59
|
+
console.log(' ' + chalk.gray('Intelligence Without Scale'));
|
|
60
|
+
console.log('');
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* v1.7.0 specific update message
|
|
64
|
+
*/
|
|
65
|
+
export function displayV170Update() {
|
|
66
|
+
displayUpdateMessage({
|
|
67
|
+
currentVersion: '1.6.6',
|
|
68
|
+
latestVersion: '1.7.0',
|
|
69
|
+
releaseDate: 'October 19, 2025',
|
|
70
|
+
philosophy: 'The future belongs to systems that are small, structured, and constantly learning.',
|
|
71
|
+
features: [
|
|
72
|
+
'Claude Code Skills: 20 skills for orchestration & AgentDB',
|
|
73
|
+
'Graph-Based Learning: Self-reinforcing patterns through relationships',
|
|
74
|
+
'150x-12,500x Performance: Light, local, and alive',
|
|
75
|
+
'Model Optimizer: 85-98% cost savings through smart selection',
|
|
76
|
+
'Agent-Booster: 352x faster code editing, $0 cost',
|
|
77
|
+
'Adaptive AI: Learns HOW to think, not WHAT to think',
|
|
78
|
+
],
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Philosophy-focused banner
|
|
83
|
+
*/
|
|
84
|
+
export function displayPhilosophyBanner() {
|
|
85
|
+
console.log('\n');
|
|
86
|
+
console.log(chalk.cyan('═══════════════════════════════════════════════════════════════'));
|
|
87
|
+
console.log('');
|
|
88
|
+
console.log(chalk.bold.white(' Intelligence Without Scale'));
|
|
89
|
+
console.log('');
|
|
90
|
+
console.log(chalk.gray(' Some people think intelligence needs to be massive to matter.'));
|
|
91
|
+
console.log(chalk.gray(' I\'ve learned it\'s the opposite.'));
|
|
92
|
+
console.log('');
|
|
93
|
+
console.log(chalk.white(' The future belongs to systems that are:'));
|
|
94
|
+
console.log(chalk.green(' • Small') + chalk.gray(' - Binary quantization: 32x memory reduction'));
|
|
95
|
+
console.log(chalk.green(' • Structured') + chalk.gray(' - Graph-based: relationships > repetition'));
|
|
96
|
+
console.log(chalk.green(' • Constantly Learning') + chalk.gray(' - Self-reinforcing patterns'));
|
|
97
|
+
console.log('');
|
|
98
|
+
console.log(chalk.yellow(' ⚡ 150x-12,500x faster than traditional approaches'));
|
|
99
|
+
console.log(chalk.yellow(' 💰 $0 cost with local WASM execution'));
|
|
100
|
+
console.log(chalk.yellow(' 🧠 Adaptive AI that learns through feedback'));
|
|
101
|
+
console.log('');
|
|
102
|
+
console.log(chalk.italic.gray(' "The traditional approach treats every problem like a nail'));
|
|
103
|
+
console.log(chalk.italic.gray(' because it only knows the hammer of scale. But the real'));
|
|
104
|
+
console.log(chalk.italic.gray(' future of AI isn\'t heavy or closed—it\'s light, open,'));
|
|
105
|
+
console.log(chalk.italic.gray(' and adaptive."'));
|
|
106
|
+
console.log('');
|
|
107
|
+
console.log(chalk.cyan('═══════════════════════════════════════════════════════════════'));
|
|
108
|
+
console.log('\n');
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Display graph intelligence explanation
|
|
112
|
+
*/
|
|
113
|
+
export function displayGraphIntelligence() {
|
|
114
|
+
console.log('\n');
|
|
115
|
+
console.log(chalk.bold.white('🧬 Graph-Based Intelligence'));
|
|
116
|
+
console.log('');
|
|
117
|
+
console.log(chalk.gray(' Traditional AI: agentic-flow:'));
|
|
118
|
+
console.log(chalk.gray(' ─────────────── ─────────────'));
|
|
119
|
+
console.log(chalk.red(' Massive models → ') + chalk.green('Small vectors (32x smaller)'));
|
|
120
|
+
console.log(chalk.red(' Dataset repetition → ') + chalk.green('Relationship learning'));
|
|
121
|
+
console.log(chalk.red(' Static weights → ') + chalk.green('Self-reinforcing patterns'));
|
|
122
|
+
console.log(chalk.red(' GPU-dependent → ') + chalk.green('CPU-optimized WASM'));
|
|
123
|
+
console.log(chalk.red(' Declarative (what) → ') + chalk.green('Adaptive (how)'));
|
|
124
|
+
console.log('');
|
|
125
|
+
console.log(chalk.white(' How it works:'));
|
|
126
|
+
console.log('');
|
|
127
|
+
console.log(chalk.gray(' ┌─────────────────────┐'));
|
|
128
|
+
console.log(chalk.gray(' │ Context Fragment │') + chalk.white(' ← Idea/Result/Observation'));
|
|
129
|
+
console.log(chalk.gray(' │ • Domain: "api" │'));
|
|
130
|
+
console.log(chalk.gray(' │ • Pattern: {...} │'));
|
|
131
|
+
console.log(chalk.gray(' │ • Confidence: 0.95 │'));
|
|
132
|
+
console.log(chalk.gray(' └─────────────────────┘'));
|
|
133
|
+
console.log(chalk.gray(' │'));
|
|
134
|
+
console.log(chalk.gray(' ') + chalk.yellow('Similarity Links'));
|
|
135
|
+
console.log(chalk.gray(' │'));
|
|
136
|
+
console.log(chalk.gray(' ┌────┴────┐'));
|
|
137
|
+
console.log(chalk.gray(' ▼ ▼'));
|
|
138
|
+
console.log(chalk.gray(' Node A Node B ') + chalk.white('← Self-reinforcing graph'));
|
|
139
|
+
console.log('');
|
|
140
|
+
console.log(chalk.italic.gray(' Patterns emerge over time. The system learns without'));
|
|
141
|
+
console.log(chalk.italic.gray(' retraining, adjusting its logic as it goes.'));
|
|
142
|
+
console.log('\n');
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Check if update is available (placeholder - implement with npm registry check)
|
|
146
|
+
*/
|
|
147
|
+
export async function checkForUpdates(currentVersion) {
|
|
148
|
+
try {
|
|
149
|
+
// TODO: Implement actual npm registry check
|
|
150
|
+
// For now, return mock data
|
|
151
|
+
return {
|
|
152
|
+
updateAvailable: false,
|
|
153
|
+
latestVersion: currentVersion,
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
catch (error) {
|
|
157
|
+
return {
|
|
158
|
+
updateAvailable: false,
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Display update notification on CLI startup (non-intrusive)
|
|
164
|
+
*/
|
|
165
|
+
export function displayStartupUpdateCheck(currentVersion, latestVersion) {
|
|
166
|
+
if (currentVersion !== latestVersion) {
|
|
167
|
+
console.log('');
|
|
168
|
+
console.log(chalk.bgYellow.black(' UPDATE ') +
|
|
169
|
+
' ' +
|
|
170
|
+
chalk.yellow('v' + latestVersion + ' available') +
|
|
171
|
+
chalk.gray(' (current: v' + currentVersion + ')'));
|
|
172
|
+
console.log(chalk.gray(' Run: ') + chalk.cyan('npm install -g agentic-flow@latest'));
|
|
173
|
+
console.log('');
|
|
174
|
+
}
|
|
175
|
+
}
|
package/dist/cli-proxy.js
CHANGED
|
@@ -34,6 +34,7 @@ import { handleReasoningBankCommand } from "./utils/reasoningbankCommands.js";
|
|
|
34
34
|
import { handleAgentDBCommand } from "./utils/agentdbCommands.js";
|
|
35
35
|
import { handleConfigCommand } from "./cli/config-wizard.js";
|
|
36
36
|
import { handleAgentCommand } from "./cli/agent-manager.js";
|
|
37
|
+
import { handleSkillsCommand } from "./cli/skills-manager.js";
|
|
37
38
|
import { ModelOptimizer } from "./utils/modelOptimizer.js";
|
|
38
39
|
import { detectModelCapabilities } from "./utils/modelCapabilities.js";
|
|
39
40
|
import { AgentBoosterPreprocessor } from "./utils/agentBoosterPreprocessor.js";
|
|
@@ -55,7 +56,7 @@ class AgenticFlowCLI {
|
|
|
55
56
|
process.exit(0);
|
|
56
57
|
}
|
|
57
58
|
// If no mode and no agent specified, show help
|
|
58
|
-
if (!options.agent && options.mode !== 'list' && !['config', 'agent-manager', 'mcp-manager', 'agentdb', 'proxy', 'quic', 'claude-code', 'mcp', 'reasoningbank'].includes(options.mode)) {
|
|
59
|
+
if (!options.agent && options.mode !== 'list' && !['config', 'agent-manager', 'mcp-manager', 'agentdb', 'skills', 'proxy', 'quic', 'claude-code', 'mcp', 'reasoningbank'].includes(options.mode)) {
|
|
59
60
|
this.printHelp();
|
|
60
61
|
process.exit(0);
|
|
61
62
|
}
|
|
@@ -81,6 +82,12 @@ class AgenticFlowCLI {
|
|
|
81
82
|
await handleAgentDBCommand(agentdbArgs);
|
|
82
83
|
process.exit(0);
|
|
83
84
|
}
|
|
85
|
+
if (options.mode === 'skills') {
|
|
86
|
+
// Handle Skills commands
|
|
87
|
+
const skillsArgs = process.argv.slice(3); // Skip 'node', 'cli-proxy.js', 'skills'
|
|
88
|
+
await handleSkillsCommand(skillsArgs);
|
|
89
|
+
process.exit(0);
|
|
90
|
+
}
|
|
84
91
|
if (options.mode === 'mcp-manager') {
|
|
85
92
|
// Handle MCP manager commands (add, list, remove, etc.)
|
|
86
93
|
const { spawn } = await import('child_process');
|
package/dist/utils/cli.js
CHANGED
|
@@ -54,6 +54,11 @@ export function parseArgs() {
|
|
|
54
54
|
options.mode = 'agentdb';
|
|
55
55
|
return options;
|
|
56
56
|
}
|
|
57
|
+
// Check for skills command
|
|
58
|
+
if (args[0] === 'skills') {
|
|
59
|
+
options.mode = 'skills';
|
|
60
|
+
return options;
|
|
61
|
+
}
|
|
57
62
|
for (let i = 0; i < args.length; i++) {
|
|
58
63
|
const arg = args[i];
|
|
59
64
|
switch (arg) {
|
|
@@ -160,6 +165,7 @@ USAGE:
|
|
|
160
165
|
npx agentic-flow [COMMAND] [OPTIONS]
|
|
161
166
|
|
|
162
167
|
COMMANDS:
|
|
168
|
+
skills <command> Claude Code Skills management (init, create, list)
|
|
163
169
|
reasoningbank <cmd> Memory system that learns from experience (demo, test, init)
|
|
164
170
|
claude-code [options] Spawn Claude Code with proxy + Agent Booster (57x faster edits)
|
|
165
171
|
mcp <command> [server] Manage MCP servers (start, stop, status, list)
|
|
@@ -176,6 +182,12 @@ REASONINGBANK COMMANDS:
|
|
|
176
182
|
npx agentic-flow reasoningbank benchmark Run performance benchmarks
|
|
177
183
|
npx agentic-flow reasoningbank status Show memory statistics
|
|
178
184
|
|
|
185
|
+
SKILLS COMMANDS:
|
|
186
|
+
npx agentic-flow skills init [location] Initialize skills directories (personal/project/both)
|
|
187
|
+
npx agentic-flow skills create Create example agentic-flow skills
|
|
188
|
+
npx agentic-flow skills list List all installed skills
|
|
189
|
+
npx agentic-flow skills help Show skills help
|
|
190
|
+
|
|
179
191
|
MCP COMMANDS:
|
|
180
192
|
npx agentic-flow mcp start [server] Start MCP server(s)
|
|
181
193
|
npx agentic-flow mcp stop [server] Stop MCP server(s)
|
|
@@ -221,6 +233,11 @@ OPTIONS:
|
|
|
221
233
|
--help, -h Show this help message
|
|
222
234
|
|
|
223
235
|
EXAMPLES:
|
|
236
|
+
# Skills (Claude Code integration!)
|
|
237
|
+
npx agentic-flow skills init # Initialize skills directories
|
|
238
|
+
npx agentic-flow skills create # Create agentdb-quickstart skill
|
|
239
|
+
npx agentic-flow skills list # List all installed skills
|
|
240
|
+
|
|
224
241
|
# ReasoningBank (Learn from agent experience!)
|
|
225
242
|
npx agentic-flow reasoningbank demo # See 0% → 100% success transformation
|
|
226
243
|
npx agentic-flow reasoningbank test # Run 27 validation tests
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-flow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, ReasoningBank learning memory, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"@anthropic-ai/claude-agent-sdk": "^0.1.5",
|
|
143
143
|
"@anthropic-ai/sdk": "^0.65.0",
|
|
144
144
|
"@google/genai": "^1.22.0",
|
|
145
|
-
"agentdb": "^1.0.
|
|
145
|
+
"agentdb": "^1.0.7",
|
|
146
146
|
"agentic-payments": "^0.1.3",
|
|
147
147
|
"axios": "^1.12.2",
|
|
148
148
|
"better-sqlite3": "^12.4.1",
|
package/.claude/answer.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
A program walks into a bar and orders a beer. As it is waiting for its drink, it hears a guy next to it say, 'Wow, the bartender can brew beer in just 5 minutes!' The program turns to the man and says, 'I don't know, I'm still trying to debug my couple of weeks old code and I still can't tell what it's doing. A 5 minute beer?
|