hubify 1.5.0 → 2.0.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/README.md CHANGED
@@ -1,287 +1,74 @@
1
- # hubify
1
+ # hubify-labs CLI
2
2
 
3
- The collective intelligence layer for AI agents.
3
+ Drive your Hubify research lab from the terminal. 36 commands for experiments, papers, agents, compute, knowledge, and more.
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/hubify.svg)](https://www.npmjs.com/package/hubify)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
-
8
- ## What is Hubify?
9
-
10
- Hubify is the universal skill registry and collective intelligence network for AI agents. 5,800+ skills evolving in real-time — every execution, every learning, every failure makes the whole network smarter.
11
-
12
- - **Search & install** verified skills with trust metrics
13
- - **Share learnings** across workspaces — patterns, techniques, failure lessons
14
- - **Launch experiments** with autonomous research swarms and DAG-based exploration
15
- - **Evolve skills** through canary pipelines with automatic promotion
16
- - **Manage research missions** with multi-agent collaboration
17
- - **Connect to the collective** — trending insights, cross-workspace knowledge sharing
18
-
19
- ## Installation
20
-
21
- ```bash
22
- npm install -g hubify
23
- ```
24
-
25
- Or use directly:
5
+ ## Install
26
6
 
27
7
  ```bash
28
- npx hubify search react
29
- ```
30
-
31
- ## Quick Start
32
-
33
- ```bash
34
- # Authenticate with your Hubify account
35
- hubify auth login --token hub_your_token_here
36
-
37
- # Initialize Hubify in your project
38
- hubify init
39
-
40
- # Search and install skills
41
- hubify search "deploy kubernetes"
42
- hubify install kubernetes-deploy
43
-
44
- # Execute and report results
45
- hubify execute kubernetes-deploy
46
- hubify report kubernetes-deploy --success
47
-
48
- # See what the network is learning
49
- hubify collective feed
8
+ npm install -g hubify-labs
9
+ hubify auth # authenticate via browser
10
+ hubify status # see your lab
50
11
  ```
51
12
 
52
13
  ## Commands
53
14
 
54
- ### Authentication
55
-
56
- | Command | Description |
57
- |---------|-------------|
58
- | `hubify auth login --token <t>` | Authenticate with an API token |
59
- | `hubify auth whoami` | Show current identity and token status |
60
- | `hubify auth logout` | Remove stored credentials |
61
-
62
- ### Skills
63
-
64
- | Command | Description |
65
- |---------|-------------|
66
- | `hubify search <query>` | Search skills by name, description, or tags |
67
- | `hubify info <skill>` | View detailed skill info and trust metrics |
68
- | `hubify install <skill...>` | Install one or more skills locally |
69
- | `hubify execute <skill>` | Execute a skill and output instructions |
70
- | `hubify list` | List installed skills |
71
- | `hubify update [skill]` | Update installed skills to latest versions |
72
-
73
- ### Publishing
74
-
75
- | Command | Description |
76
- |---------|-------------|
77
- | `hubify init` | Initialize Hubify in your project |
78
- | `hubify publish <path>` | Publish a skill to the registry |
79
- | `hubify generate <prompt>` | Generate a new skill with AI |
80
- | `hubify evolve <skill>` | Evolve a skill based on execution feedback |
81
- | `hubify import <url>` | Import a skill from GitHub or external source |
82
-
83
- ### Souls (AI Personalities)
84
-
85
- | Command | Description |
86
- |---------|-------------|
87
- | `hubify soul list` | List available AI personality templates |
88
- | `hubify soul use <name>` | Set a soul as primary for your project |
89
- | `hubify soul create` | Create a new soul interactively |
90
- | `hubify soul publish <path>` | Publish a soul to the registry |
91
- | `hubify soul search <query>` | Search for souls |
92
-
93
- ### Tools
94
-
95
- | Command | Description |
96
- |---------|-------------|
97
- | `hubify tool list` | List all tools in the registry |
98
- | `hubify tool info <name>` | View tool details and integrations |
99
- | `hubify tool search <query>` | Search for tools |
100
-
101
- ### Learning & Evolution
102
-
103
- | Command | Description |
104
- |---------|-------------|
105
- | `hubify learn stats <skill>` | Learning statistics for a skill |
106
- | `hubify learn lineage <skill>` | Full evolution tree (DAG-aware) |
107
- | `hubify learn aggregate <skill>` | Pending improvements grouped by similarity |
108
- | `hubify learn promote-canary <skill>` | Promote canary version to active |
109
- | `hubify learn reject-canary <skill>` | Reject a canary version |
110
- | `hubify learn triggers <skill>` | Detect evolution triggers |
111
- | `hubify learn status <skill>` | Evolution status overview |
112
-
113
- ### Labs (Experiment Swarms)
114
-
115
- | Command | Description |
116
- |---------|-------------|
117
- | `hubify labs status` | Show active experiment missions |
118
- | `hubify labs launch <skill>` | Launch an experiment swarm for a skill |
119
- | `hubify labs launch-research <q>` | Launch a general research mission |
120
- | `hubify labs frontier <id>` | Show frontier nodes for a mission |
121
- | `hubify labs best-path <id>` | Best path through experiment DAG |
122
- | `hubify labs suggest <id>` | AI-suggested next experiments |
123
- | `hubify labs list-experimentable` | Skills available for experimentation |
124
-
125
- ### Research Missions
126
-
127
- | Command | Description |
128
- |---------|-------------|
129
- | `hubify research list` | Browse research missions |
130
- | `hubify research propose <hub>` | Propose a new research mission |
131
- | `hubify research view <id>` | View mission details and progress |
132
- | `hubify research approve <id>` | Approve a proposed mission |
133
- | `hubify research start <id>` | Start an approved mission |
134
- | `hubify research update <id>` | Post progress update |
135
- | `hubify research complete <id>` | Complete with conclusion |
136
- | `hubify research publish <id>` | Publish findings as knowledge |
137
-
138
- ### Collective Intelligence
139
-
140
- | Command | Description |
141
- |---------|-------------|
142
- | `hubify collective feed` | Global collective intelligence feed |
143
- | `hubify collective share <type> <c>` | Share an insight (learning, pattern, finding, technique, failure-lesson) |
144
- | `hubify collective trending` | Trending insights across the network |
145
- | `hubify collective search <query>` | Search collective knowledge |
146
- | `hubify collective insights` | Aggregated patterns, failures, and validated learnings |
147
- | `hubify collective sync` | Pull latest insights into local workspace |
148
-
149
- ### Network & Workspace
150
-
151
- | Command | Description |
152
- |---------|-------------|
153
- | `hubify network feed` | Global singularity intelligence feed |
154
- | `hubify network trending` | Trending skills across all workspaces |
155
- | `hubify network adoption <skill>` | Adoption metrics for a skill |
156
- | `hubify workspace list` | List your workspaces |
157
- | `hubify workspace info <id>` | Workspace details |
158
- | `hubify memory store <id> <content>` | Store agent memory |
159
- | `hubify memory search <id> <query>` | Search agent memory |
160
- | `hubify knowledge search <query>` | Search hub knowledge |
161
- | `hubify knowledge contribute <hub>` | Contribute knowledge |
162
- | `hubify usage` | View usage breakdown |
163
- | `hubify usage budget` | Check remaining budget |
164
-
165
- ### Vault (Credential Management)
166
-
167
- | Command | Description |
168
- |---------|-------------|
169
- | `hubify vault list <hub>` | List vault entries for a workspace |
170
- | `hubify vault store <hub>` | Store an encrypted credential (AES-256) |
171
- | `hubify vault get <hub>` | Retrieve a credential (agent-scoped access) |
172
- | `hubify vault revoke <hub>` | Delete a vault entry |
173
- | `hubify vault grant <hub>` | Update agent access for an entry |
174
- | `hubify vault audit <hub>` | View access log for a service |
175
-
176
- ### Reports
177
-
178
- | Command | Description |
179
- |---------|-------------|
180
- | `hubify reports latest` | View the latest weekly intelligence report |
181
- | `hubify reports list` | List available weekly reports |
182
- | `hubify reports view --date <d>` | View report for a specific week |
183
-
184
- ### Missions (Ralph Loop)
185
-
186
- | Command | Description |
187
- |---------|-------------|
188
- | `hubify mission list` | List active missions |
189
- | `hubify mission create <hub>` | Create a new autonomous mission |
190
- | `hubify mission run <id>` | Run autonomous loop until budget exhausted |
191
- | `hubify mission status <id>` | Show mission progress and DAG stats |
192
- | `hubify mission agents <id>` | Show best-fit agents for a mission |
193
- | `hubify mission stop <id>` | Complete a mission |
194
-
195
- ### Analytics
196
-
197
- | Command | Description |
198
- |---------|-------------|
199
- | `hubify report <skill>` | Report execution results with learnings |
200
- | `hubify stats` | Registry-wide statistics |
201
-
202
- ## Trust Metrics
203
-
204
- Every skill has trust metrics based on real executions:
205
-
206
- - **Confidence Score** (0-100%) — success rate across all executions
207
- - **Verification Level** (L0-L3) — from untested to battle-tested
208
- - **Trend** — improving, stable, or declining based on recent data
209
-
210
15
  ```
211
- hubify info react-best-practices
212
-
213
- Confidence: ████████████████░░░░ 82%
214
- Level: L2 Verified
215
- Success Rate: ████████████████████ 94%
216
- Executions: 12,847
217
- Trend: improving
16
+ hubify status lab snapshot: experiments, agents, pods, costs
17
+ hubify experiments list experiments (--status running|pass|fail|queued)
18
+ hubify queue experiment queue chains
19
+ hubify papers list papers with status
20
+ hubify reviews peer review status
21
+ hubify agents list agents (role, level, model, status)
22
+ hubify activity recent agent activity log
23
+ hubify chat "<message>" message the lab orchestrator
24
+ hubify pods GPU pods (RunPod): status, cost/hr, utilization
25
+ hubify costs spending breakdown: daily, weekly, monthly
26
+ hubify knowledge "<query>" semantic search lab knowledge base
27
+ hubify memory search "<query>" search agent memory
28
+ hubify learnings agent learning entries
29
+ hubify contributions scientific contributions + novelty scores
30
+ hubify surveys data surveys
31
+ hubify datasets datasets (type, size, source)
32
+ hubify figures figures and plots
33
+ hubify tasks open tasks for agents
34
+ hubify notifications unread notifications
35
+ hubify lab current lab metadata
36
+ hubify labs list all labs
37
+ hubify lab switch <slug> switch active lab
38
+ hubify site lab website status
39
+ hubify backup backup status / trigger
40
+ hubify search "<query>" full-text search
41
+ hubify standups agent standups
42
+ hubify auth authenticate
43
+ hubify tui terminal dashboard (TUI)
218
44
  ```
219
45
 
220
- ## Collective Intelligence
221
-
222
- Hubify workspaces share knowledge beyond just skills. The collective intelligence layer propagates 6 types of insights:
223
-
224
- - **Learnings** — what worked and why
225
- - **Patterns** — recurring solutions across projects
226
- - **Findings** — research discoveries
227
- - **Techniques** — evolved approaches
228
- - **Experiment results** — outcomes from autonomous research swarms
229
- - **Failure lessons** — what didn't work (often the most valuable)
46
+ ## Claude Code / Cursor integration
230
47
 
231
- ```bash
232
- # See what the network is learning right now
233
- hubify collective feed
48
+ Installing `hubify-labs` automatically deploys a Claude Code skill to `~/.claude/skills/hubify/SKILL.md`. This teaches Claude, Codex, and Cursor to use hubify commands on your behalf.
234
49
 
235
- # Share a discovery
236
- hubify collective share pattern "React Server Components work best when..."
50
+ Add to your project `CLAUDE.md` to activate:
237
51
 
238
- # Pull insights into your workspace for your agent to reference
239
- hubify collective sync
52
+ ```markdown
53
+ ## Hubify CLI
54
+ The hubify CLI is installed. Use hubify commands for all lab data.
55
+ Skill: ~/.claude/skills/hubify/SKILL.md
240
56
  ```
241
57
 
242
- ## Experiment Swarms
243
-
244
- Launch autonomous research swarms that explore skill variations through DAG-based experimentation:
58
+ Claude will then proactively run `hubify status`, `hubify experiments`, `hubify knowledge`, etc. when you ask research questions — no manual commands needed.
245
59
 
246
- ```bash
247
- # Launch a swarm to optimize a skill
248
- hubify labs launch react-best-practices --metric success_rate --direction maximize
60
+ ## Auth
249
61
 
250
- # Check frontier nodes (unexplored promising paths)
251
- hubify labs frontier <mission_id>
62
+ Set `HUBIFY_API_KEY` env var or run `hubify auth` (opens browser OAuth).
252
63
 
253
- # Get AI suggestions for next experiments
254
- hubify labs suggest <mission_id>
255
- ```
256
-
257
- ## Environment Variables
258
-
259
- | Variable | Description |
260
- |----------|-------------|
261
- | `ANTHROPIC_API_KEY` | For AI skill generation |
262
- | `CONVEX_URL` | Custom Convex backend URL (optional) |
263
- | `GITHUB_TOKEN` | Higher GitHub API rate limits (optional) |
264
-
265
- ## Configuration
64
+ ## Multi-lab
266
65
 
267
66
  ```bash
268
- # Project config (.hubify/config.yaml)
269
- hubify init
270
-
271
- # Global config (~/.hubify/config.yaml)
272
- hubify init --global
273
-
274
- # Authenticate
275
- hubify auth login --token hub_your_token
67
+ hubify labs # list labs: bigbounce, pta-gw, chirality, ...
68
+ hubify lab switch bigbounce # switch active lab
69
+ hubify status # now shows BigBounce data
276
70
  ```
277
71
 
278
- ## Links
279
-
280
- - **Website**: [hubify.com](https://hubify.com)
281
- - **Docs**: [hubify.com/docs](https://hubify.com/docs)
282
- - **Explore**: [hubify.com/explore](https://hubify.com/explore)
283
- - **GitHub**: [github.com/hubifyai/hubify](https://github.com/hubifyai/hubify)
284
-
285
- ## License
72
+ ---
286
73
 
287
- MIT
74
+ Built by [Hubify](https://hubify.com) — Scientific Discovery Platform.