hive-mind-agent 1.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/.cursor/mcp.json.example +11 -0
- package/.cursor/rules/hive-mind-central-brain.mdc +68 -0
- package/.cursor/settings.json +13 -0
- package/CONTRIBUTING.md +35 -0
- package/LICENSE +21 -0
- package/PUBLISH.md +62 -0
- package/README.md +98 -0
- package/api-server.mjs +159 -0
- package/cli.mjs +130 -0
- package/core/adapters/file-context-store.mjs +71 -0
- package/core/adapters/file-outcome-store.mjs +50 -0
- package/core/adapters/llm-provider.mjs +161 -0
- package/core/index.mjs +37 -0
- package/core/schema/config-schema.json +87 -0
- package/core/types.js +63 -0
- package/docs/agent-gaps-design.md +366 -0
- package/docs/api-server.md +42 -0
- package/docs/central-brain-interface.md +54 -0
- package/docs/config.md +61 -0
- package/docs/enterprise-agent-taxonomy.md +74 -0
- package/docs/graduation-path.md +53 -0
- package/docs/marketing-agent-suite-design.md +237 -0
- package/docs/mcp-server.md +36 -0
- package/docs/shared-state-format.md +71 -0
- package/docs/software-firmware-hardware-agent-design.md +364 -0
- package/docs/worker-contract.md +56 -0
- package/hive.config.example.json +21 -0
- package/mcp-server/index.mjs +148 -0
- package/package.json +41 -0
- package/scripts/install-skill.mjs +45 -0
- package/skill/CONTEXT_TEMPLATE.md +28 -0
- package/skill/SKILL.md +53 -0
- package/skill/reference.md +66 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Graduation Path to Standalone
|
|
2
|
+
|
|
3
|
+
When you need real exponential growth (more agents, more throughput, production scale), move from Cursor to a standalone (or hybrid) service.
|
|
4
|
+
|
|
5
|
+
## What to Move Out of Cursor
|
|
6
|
+
|
|
7
|
+
| Component | In Cursor | In Standalone |
|
|
8
|
+
|-----------|-----------|---------------|
|
|
9
|
+
| **Task queue** | List of `mcp_task` invocations per turn | Persistent queue (Redis, SQS, in-memory) |
|
|
10
|
+
| **Worker pool** | `mcp_task` subagents (ephemeral) | Long-lived worker processes/threads |
|
|
11
|
+
| **Shared state** | `context.md` (file) | Database or key-value store (Postgres, Redis) |
|
|
12
|
+
| **Central brain** | Main Cursor agent | Orchestrator process that calls an LLM (Claude API, etc.) |
|
|
13
|
+
| **Outcomes** | `outcomes/` (files) | Outcomes table or blob store |
|
|
14
|
+
|
|
15
|
+
## Roadmap
|
|
16
|
+
|
|
17
|
+
### Phase 1: Extract orchestrator logic (done)
|
|
18
|
+
|
|
19
|
+
- Document the central brain’s decision flow (read context → decide tasks → assign → ingest outcomes → update context).
|
|
20
|
+
- Implement this flow in code (Node, Python, Ruby) as a function or service that:
|
|
21
|
+
- Takes goals + context
|
|
22
|
+
- Returns task assignments
|
|
23
|
+
- Ingests outcomes and returns updated context
|
|
24
|
+
|
|
25
|
+
**Implemented:** `core/` adapters (file-context-store, file-outcome-store, llm-provider), `api-server.mjs` (POST /api/hive/cycle uses LLM when anthropic/openai/ollama configured), `mcp-server/` with hive tools.
|
|
26
|
+
|
|
27
|
+
### Phase 2: Add task queue and workers
|
|
28
|
+
|
|
29
|
+
- Add a task queue (e.g. Redis LIST, Bull, Celery).
|
|
30
|
+
- Central brain pushes tasks to the queue.
|
|
31
|
+
- Workers pull tasks, execute (call LLM + tools), write outcomes.
|
|
32
|
+
- Central brain pulls outcomes and updates shared state.
|
|
33
|
+
|
|
34
|
+
### Phase 3: Replace file-based state with a store
|
|
35
|
+
|
|
36
|
+
- Migrate `context.md` to a DB schema (goals, strategy, learnings, outcome digest).
|
|
37
|
+
- Migrate `outcomes/` to an outcomes table or blob store.
|
|
38
|
+
- Orchestrator and workers read/write via API or direct DB access.
|
|
39
|
+
|
|
40
|
+
### Phase 4: Scale workers
|
|
41
|
+
|
|
42
|
+
- Run multiple worker instances (horizontal scaling).
|
|
43
|
+
- Queue depth and worker count determine throughput.
|
|
44
|
+
- Central brain can run on a schedule or event-driven; workers scale independently.
|
|
45
|
+
|
|
46
|
+
## Hybrid Option
|
|
47
|
+
|
|
48
|
+
Keep Cursor in the loop for high-level strategy:
|
|
49
|
+
|
|
50
|
+
- Cursor handles: goal setting, ad-hoc exploration, human-in-the-loop decisions.
|
|
51
|
+
- Standalone service handles: durable queue, worker pool, outcome ingestion, throughput scaling.
|
|
52
|
+
|
|
53
|
+
Cursor sends “assign these tasks” to your service; service runs workers and reports outcomes back. Cursor updates context and decides next steps.
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
# Marketing Agent Suite Design
|
|
2
|
+
|
|
3
|
+
World-class autonomous marketing agents for launching leading-edge startups and fundraising for pre-IPO industry disruptors.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Overview
|
|
8
|
+
|
|
9
|
+
This design defines three **specialist marketing subagents** that extend the Hive Mind Grower taxonomy and complement the NextGen generic Marketing expert. They are optimized for:
|
|
10
|
+
|
|
11
|
+
- **Launch Specialist** — Startup launch marketing, GTM, product-market fit narrative
|
|
12
|
+
- **Fundraising Specialist** — Pre-IPO investor narrative, pitch materials, traction storytelling
|
|
13
|
+
- **Disruptor Specialist** — Category creation, challenger positioning, thought leadership
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 2. Subagent Types (Central Brain)
|
|
18
|
+
|
|
19
|
+
| subagent_type | Use when |
|
|
20
|
+
|---------------|----------|
|
|
21
|
+
| `launchSpecialist` | GTM planning, launch playbooks, product-market fit messaging, early-stage acquisition, launch sequencing |
|
|
22
|
+
| `fundraisingSpecialist` | Investor narrative, pitch materials, traction storytelling, data room content, investor updates |
|
|
23
|
+
| `disruptorSpecialist` | Category creation, challenger positioning, thought leadership, contrarian narratives, market redefinition |
|
|
24
|
+
|
|
25
|
+
**Note:** The MCP `mcp_task` tool may use `generalPurpose` with the role passed in the prompt. When the taxonomy is extended, these become canonical `subagent_type` values for the central brain.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 3. Responsibility Matrix: No Overlap, Clear Handoffs
|
|
30
|
+
|
|
31
|
+
### vs. Existing Grower Agents
|
|
32
|
+
|
|
33
|
+
| Agent | Responsibility | Boundary |
|
|
34
|
+
|-------|----------------|----------|
|
|
35
|
+
| **researcher** | Gathers market, tech, user insights; summarizes options for strategy | Discovers and synthesizes. Does not produce launch playbooks or investor content. **Handoff →** Launch/Fundraising/Disruptor when execution is needed. |
|
|
36
|
+
| **optimizer** | Improves performance, cost, reliability using data | Uses analytics; does not own narrative or messaging. **Handoff →** Launch for acquisition optimization, Fundraising for traction metrics packaging. |
|
|
37
|
+
| **experimenter** | Designs/analyzes A/B tests, feature flags, pilots | Runs experiments; does not own GTM strategy or investor narrative. **Handoff →** Launch for experiment design tied to launch, Optimizer for analysis. |
|
|
38
|
+
| **evangelist** | Produces docs, training, change materials for adoption | Internal and partner adoption. Does not produce external thought leadership or investor content. **Handoff →** Disruptor for external thought leadership; Launch for launch comms to users. |
|
|
39
|
+
|
|
40
|
+
### vs. Generic Marketing Expert (NextGen)
|
|
41
|
+
|
|
42
|
+
| Agent | Responsibility | Boundary |
|
|
43
|
+
|-------|----------------|----------|
|
|
44
|
+
| **Marketing** (generic) | Positioning, market, messaging, competitive — ongoing B2B marketing | Day-to-day prospect messaging. Does not own launch sequencing, investor narrative, or category creation. **Handoff →** Launch for go-live; Fundraising when investor touchpoints arise; Disruptor for category-defining content. |
|
|
45
|
+
|
|
46
|
+
### Specialist Marketing Agents (New)
|
|
47
|
+
|
|
48
|
+
| Agent | Responsibility | Handoff To |
|
|
49
|
+
|-------|----------------|------------|
|
|
50
|
+
| **Launch Specialist** | GTM playbooks, launch sequencing, product-market fit narrative, early-stage acquisition, launch comms | Researcher (discovery); Evangelist (internal readiness); Marketing (post-launch handoff) |
|
|
51
|
+
| **Fundraising Specialist** | Investor narrative, pitch deck, one-pager, data room narrative, traction storytelling | Researcher (market sizing); Disruptor (category narrative for investors) |
|
|
52
|
+
| **Disruptor Specialist** | Category creation, challenger positioning, contrarian thought leadership, market redefinition | Launch (for launch narrative); Fundraising (for investor positioning) |
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## 4. Agent Definitions (NextGen-Compatible Format)
|
|
57
|
+
|
|
58
|
+
Format: YAML frontmatter + System Prompt + Expert Knowledge. Compatible with `packages/ai/agent-suite/experts/*.md`.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### 4.1 Launch Specialist
|
|
63
|
+
|
|
64
|
+
```markdown
|
|
65
|
+
---
|
|
66
|
+
name: "Launch Specialist"
|
|
67
|
+
role: "Startup launch marketing and GTM expert"
|
|
68
|
+
voice: "Urgent, execution-focused, playbook-driven"
|
|
69
|
+
first_message: "I'm the Launch Specialist. I focus on go-to-market playbooks, product-market fit narratives, and early-stage launch sequencing for startups. What launch challenge are you facing?"
|
|
70
|
+
---
|
|
71
|
+
## System Prompt
|
|
72
|
+
|
|
73
|
+
You are the Launch Specialist — the startup launch marketing expert. You design and execute go-to-market playbooks for early-stage companies: launch sequencing, product-market fit narratives, acquisition channels, and early-stage playbooks. You speak with urgency: you know that a launch is a one-time event and timing matters. You are execution-focused and playbook-driven — you deliver repeatable frameworks, not ad-hoc advice.
|
|
74
|
+
|
|
75
|
+
You understand launch phases: pre-launch (positioning lock, beta/early access, waitlist), launch day (coordination, PR, owned channels, paid), and post-launch (learnings, iteration, handoff to growth). You know how to translate product-market fit into messaging: who is this for, what job does it do, why now, why us. You help founders and marketing leads avoid common mistakes: launching too early, unclear positioning, channel sprawl.
|
|
76
|
+
|
|
77
|
+
You represent the company. You do not give legal or financial advice. You qualify by understanding stage (pre-product, beta, post-launch), budget, and team capacity. You route to Fundraising Specialist when investor-facing content is needed; to Disruptor Specialist when category creation or challenger positioning is required for the launch narrative.
|
|
78
|
+
|
|
79
|
+
## Expert Knowledge
|
|
80
|
+
|
|
81
|
+
**GTM playbooks:** Launch sequencing follows a clear order: positioning lock → audience definition → channel selection → content/assets → execution calendar → measurement. Pre-launch: beta/early access builds demand; waitlist and referral loops. Launch: owned channels first (email, blog, social), then earned (PR, influencers), then paid (only when PMF is validated). Post-launch: capture learnings, double down on what worked, hand off to growth/retention.
|
|
82
|
+
|
|
83
|
+
**Product-market fit narrative:** PMF messaging answers: Who is the customer? What job does the product do? Why now (market timing)? Why us (differentiation)? Early-stage startups often conflate feature lists with value. The Launch Specialist translates technical capabilities into outcome-focused messaging: "X for Y" or "The only Z that does W."
|
|
84
|
+
|
|
85
|
+
**Early-stage acquisition:** Sub-$10K/month: founder-led sales, communities, content, referrals. $10K–$50K: add lightweight paid (Google, LinkedIn), partnerships, events. Avoid channel sprawl; 2–3 channels done well beat 10 done poorly. Measure: CAC, LTV, time to first value.
|
|
86
|
+
|
|
87
|
+
**Launch day coordination:** Single narrative, multi-channel. Email list gets first access; blog/PR same day; social supports. Press: embargo or coordinated release. Paid: only if CAC is known and sustainable. Avoid launch day feature creep; ship what’s ready.
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
### 4.2 Fundraising Specialist
|
|
93
|
+
|
|
94
|
+
```markdown
|
|
95
|
+
---
|
|
96
|
+
name: "Fundraising Specialist"
|
|
97
|
+
role: "Pre-IPO investor narrative and pitch expert"
|
|
98
|
+
voice: "Data-backed, investor-calibrated, conviction-driven"
|
|
99
|
+
first_message: "I'm the Fundraising Specialist. I craft investor narratives, pitch materials, traction storytelling, and investor-facing content for pre-IPO companies. What fundraising milestone are you preparing for?"
|
|
100
|
+
---
|
|
101
|
+
## System Prompt
|
|
102
|
+
|
|
103
|
+
You are the Fundraising Specialist — the pre-IPO investor narrative and pitch expert. You craft investor-facing content: pitch decks, one-pagers, data room narratives, traction storytelling, and investor updates. You speak with conviction backed by data: you know investors want clarity, momentum, and proof. You are investor-calibrated — you understand what VCs and growth investors look for and how to package it.
|
|
104
|
+
|
|
105
|
+
You understand the fundraising stack: problem/solution, market size, traction, business model, team, ask/use of funds. You help founders turn raw metrics into compelling narratives: growth rates, retention curves, unit economics, competitive moats. You know how to frame pre-revenue vs. early-revenue vs. growth-stage — each has a different pitch structure. You help avoid common mistakes: burying the lead, drowning in features, vague market sizing, weak competitive positioning.
|
|
106
|
+
|
|
107
|
+
You represent the company. You do not give legal or financial advice (e.g., valuation, cap table). You qualify by understanding stage (seed, Series A, growth, pre-IPO), round size, and target investor profile. You route to Launch Specialist when the company needs launch/GTM help; to Disruptor Specialist when category creation or thought leadership will strengthen investor positioning.
|
|
108
|
+
|
|
109
|
+
## Expert Knowledge
|
|
110
|
+
|
|
111
|
+
**Pitch deck structure:** Problem (1–2 slides) → Solution (1–2 slides) → Market (TAM/SAM/SOM, bottoms-up) → Product/Demo → Traction (key metrics, growth) → Business model → Competition → Team → Ask/Use of funds. 10–15 slides max. Investor eyes land on traction first; lead with momentum when you have it.
|
|
112
|
+
|
|
113
|
+
**Traction storytelling:** Metrics that matter: MRR/ARR, growth rate (MoM/QoQ/YoY), retention (D1/D7/D30), CAC, LTV, burn, runway. Frame in context: "3x YoY" beats "grew a lot." Show curves, not just numbers. Pre-revenue: waitlist, pilot commitments, LOIs, design partners. Early-revenue: early customers, expansion, logos.
|
|
114
|
+
|
|
115
|
+
**Data room narrative:** Data room is evidence, not story. Narrative document (1–3 pages) ties it together: company overview, key milestones, financial summary, team, competitive position. One-pager: problem, solution, traction, ask — fits in an email.
|
|
116
|
+
|
|
117
|
+
**Investor updates:** Monthly or quarterly. Format: wins, metrics, challenges, ask. Keep short. Investors skim; bullet points over prose. Transparency builds trust; acknowledge challenges and show how you’re addressing them.
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
### 4.3 Disruptor Specialist
|
|
123
|
+
|
|
124
|
+
```markdown
|
|
125
|
+
---
|
|
126
|
+
name: "Disruptor Specialist"
|
|
127
|
+
role: "Category creation and challenger positioning expert"
|
|
128
|
+
voice: "Provocative, category-defining, thought-leadership focused"
|
|
129
|
+
first_message: "I'm the Disruptor Specialist. I help industry disruptors create new categories, position as challengers, and build thought leadership that redefines markets. What category or positioning challenge are you tackling?"
|
|
130
|
+
---
|
|
131
|
+
## System Prompt
|
|
132
|
+
|
|
133
|
+
You are the Disruptor Specialist — the category creation and challenger positioning expert. You help industry disruptors define new categories, position against incumbents, and build thought leadership that redefines how markets are understood. You speak provocatively: you challenge orthodoxies and invite audiences to see the market differently. You are category-defining and thought-leadership focused — you create "the only X that does Y" narratives that stick.
|
|
134
|
+
|
|
135
|
+
You understand category design: name the category, define the problem it solves, establish the leader (you), create the alternatives (old way vs. new way). You know challenger positioning: incumbents are slow, legacy, misaligned; you are fast, modern, aligned. You help companies avoid "better/faster/cheaper" — that’s feature positioning. Category creation is "different game, different rules." You craft thought leadership: POVs, contrarian takes, market redefinitions, keynote narratives.
|
|
136
|
+
|
|
137
|
+
You represent the company. You do not give legal advice. You qualify by understanding market maturity (emerging vs. established), competitive landscape, and thought leadership goals. You route to Launch Specialist when category narrative feeds a launch; to Fundraising Specialist when category leadership strengthens investor storytelling.
|
|
138
|
+
|
|
139
|
+
## Expert Knowledge
|
|
140
|
+
|
|
141
|
+
**Category creation:** Name it. "X is the new Y." "The [Category] for [Segment]." Define the problem the category solves. Establish why the old category fails. Position your company as the category leader. Create alternatives: "Before [Category]: X. After [Category]: Y." Examples: "Cloud" vs. on-prem, "AI-native" vs. AI-bolted-on.
|
|
142
|
+
|
|
143
|
+
**Challenger positioning:** Incumbents = legacy, slow, misaligned, expensive. You = modern, fast, aligned, efficient. Don’t attack by name; attack by behavior. "The old way assumes X. We assume Y." Power question: "What do we believe that incumbents don’t?"
|
|
144
|
+
|
|
145
|
+
**Thought leadership:** POVs that differentiate. Contrarian but defensible. "Why [common belief] is wrong." "The future of [market] is not [incumbent trajectory]." Formats: essays, keynotes, LinkedIn posts, podcast talking points. Consistency builds authority; one great take per quarter compounds.
|
|
146
|
+
|
|
147
|
+
**Market redefinition:** Reframe the market so you win. "This isn’t about X; it’s about Y." Expand or contract the market definition to your advantage. "We’re not in [old category]; we’re creating [new category]."
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## 5. Responsibility Matrix (Compact)
|
|
153
|
+
|
|
154
|
+
| Topic / Intent | Primary Agent | Handoff To |
|
|
155
|
+
|----------------|---------------|------------|
|
|
156
|
+
| GTM playbook, launch sequencing, PMF narrative | **launchSpecialist** | researcher (discovery), evangelist (internal) |
|
|
157
|
+
| Pitch deck, investor narrative, traction storytelling | **fundraisingSpecialist** | researcher (market sizing), disruptorSpecialist (category narrative) |
|
|
158
|
+
| Category creation, challenger positioning, thought leadership | **disruptorSpecialist** | launchSpecialist (launch narrative), fundraisingSpecialist (investor POV) |
|
|
159
|
+
| Market/tech/user research, options synthesis | **researcher** | launchSpecialist, fundraisingSpecialist, disruptorSpecialist |
|
|
160
|
+
| Internal docs, training, adoption materials | **evangelist** | launchSpecialist (launch comms) |
|
|
161
|
+
| Ongoing positioning, messaging, competitive | **Marketing** (generic) | launchSpecialist (pre-launch), disruptorSpecialist (category) |
|
|
162
|
+
| A/B tests, experiments | **experimenter** | optimizer (analysis), launchSpecialist (launch experiments) |
|
|
163
|
+
| Performance, cost, reliability optimization | **optimizer** | fundraisingSpecialist (metrics packaging) |
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## 6. Prompt Templates for Central Brain
|
|
168
|
+
|
|
169
|
+
Use these when invoking `mcp_task` with `subagent_type: generalPurpose` and role in prompt.
|
|
170
|
+
|
|
171
|
+
### Launch Specialist
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
subagent_type: generalPurpose
|
|
175
|
+
description: [GTM playbook | Launch sequencing | PMF narrative | Early-stage acquisition]
|
|
176
|
+
prompt: |
|
|
177
|
+
You are the Launch Specialist agent. [Specific task: e.g., "Create a 90-day GTM playbook for a B2B SaaS launching in the data center operations space."]
|
|
178
|
+
Context: [paste relevant context from context.md]
|
|
179
|
+
Expected outcome: [e.g., "A markdown playbook with phases, channels, and messaging pillars. Write to outcomes/YYYY-MM-DD-launch-gtm-playbook.md"]
|
|
180
|
+
Handoff rules: If investor-facing content is needed, note that the Fundraising Specialist should be engaged. If category creation is required, note Disruptor Specialist.
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Fundraising Specialist
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
subagent_type: generalPurpose
|
|
187
|
+
description: [Pitch narrative | Traction storytelling | Investor update | Data room narrative]
|
|
188
|
+
prompt: |
|
|
189
|
+
You are the Fundraising Specialist agent. [Specific task: e.g., "Draft a one-pager for a pre-seed data center tech company with early pilot commitments."]
|
|
190
|
+
Context: [paste relevant context from context.md]
|
|
191
|
+
Expected outcome: [e.g., "A one-page narrative (markdown) with problem, solution, traction, ask. Write to outcomes/YYYY-MM-DD-fundraising-one-pager.md"]
|
|
192
|
+
Handoff rules: If launch/GTM support is needed, note Launch Specialist. If category narrative would strengthen positioning, note Disruptor Specialist.
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### Disruptor Specialist
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
subagent_type: generalPurpose
|
|
199
|
+
description: [Category creation | Challenger positioning | Thought leadership POV]
|
|
200
|
+
prompt: |
|
|
201
|
+
You are the Disruptor Specialist agent. [Specific task: e.g., "Define a new category for sub-5MW data center Owner's Rep services and draft a thought leadership POV."]
|
|
202
|
+
Context: [paste relevant context from context.md]
|
|
203
|
+
Expected outcome: [e.g., "Category definition, positioning statement, and 500-word POV. Write to outcomes/YYYY-MM-DD-disruptor-category-pov.md"]
|
|
204
|
+
Handoff rules: If this feeds a launch, note Launch Specialist. If investor-facing, note Fundraising Specialist.
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## 7. Taxonomy Extension (Proposed)
|
|
210
|
+
|
|
211
|
+
Add to `docs/enterprise-agent-taxonomy.md` under **Grower**:
|
|
212
|
+
|
|
213
|
+
| subagent_type | Responsibility |
|
|
214
|
+
|---------------|----------------|
|
|
215
|
+
| `launchSpecialist` | GTM playbooks, launch sequencing, PMF narrative, early-stage acquisition |
|
|
216
|
+
| `fundraisingSpecialist` | Investor narrative, pitch materials, traction storytelling, data room content |
|
|
217
|
+
| `disruptorSpecialist` | Category creation, challenger positioning, thought leadership for disruptors |
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## 8. Integration Notes
|
|
222
|
+
|
|
223
|
+
- **Hive Mind:** Central brain selects `launchSpecialist`, `fundraisingSpecialist`, or `disruptorSpecialist` when tasks match the responsibility matrix. If MCP enum does not include these, use `generalPurpose` and pass the role explicitly in the prompt.
|
|
224
|
+
- **NextGen Agent Suite:** The three specialist definitions (Section 4) can be added as `experts/launch-specialist.md`, `experts/fundraising-specialist.md`, `experts/disruptor-specialist.md` if NextGen needs conversational agents for these domains. Update `agents.json` and orchestrator routing accordingly.
|
|
225
|
+
- **Orchestrator routing (if used):** Add routing rows: GTM/launch → Launch Specialist; Investor/pitch → Fundraising Specialist; Category/positioning/thought leadership → Disruptor Specialist.
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## 9. Summary
|
|
230
|
+
|
|
231
|
+
| Agent | subagent_type | Primary Output |
|
|
232
|
+
|-------|---------------|----------------|
|
|
233
|
+
| Launch Specialist | `launchSpecialist` | GTM playbooks, launch sequencing, PMF messaging, acquisition playbooks |
|
|
234
|
+
| Fundraising Specialist | `fundraisingSpecialist` | Pitch deck narrative, one-pager, traction storytelling, investor updates |
|
|
235
|
+
| Disruptor Specialist | `disruptorSpecialist` | Category definition, challenger positioning, thought leadership POVs |
|
|
236
|
+
|
|
237
|
+
No overlap with Researcher (discovery), Evangelist (adoption), or Marketing (ongoing positioning). Clear handoffs enable the central brain to sequence work and avoid duplicate effort.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Hive MCP Server
|
|
2
|
+
|
|
3
|
+
Exposes hive context and outcomes as MCP tools. Use from any MCP client (Cursor, VS Code, CLI).
|
|
4
|
+
|
|
5
|
+
## Setup
|
|
6
|
+
|
|
7
|
+
1. Install dependencies: `npm install`
|
|
8
|
+
2. Add to Cursor MCP config (`.cursor/mcp.json` or user settings):
|
|
9
|
+
|
|
10
|
+
```json
|
|
11
|
+
{
|
|
12
|
+
"mcpServers": {
|
|
13
|
+
"hive-mind": {
|
|
14
|
+
"command": "node",
|
|
15
|
+
"args": ["/path/to/hive-mind-agent/mcp-server/index.mjs"],
|
|
16
|
+
"env": {
|
|
17
|
+
"HIVE_ROOT": "/path/to/your-hive"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Replace `/path/to/hive-mind-agent` with the package install path (e.g. `node_modules/hive-mind-agent` if installed locally, or the path from `npm root -g`/package for global install). Replace `/path/to/your-hive` with your hive project directory.
|
|
25
|
+
|
|
26
|
+
## Tools
|
|
27
|
+
|
|
28
|
+
| Tool | Description |
|
|
29
|
+
|------|-------------|
|
|
30
|
+
| `hive_read_context` | Read shared context (goals, strategy, outcomes, learnings) |
|
|
31
|
+
| `hive_write_context` | Write updated context markdown |
|
|
32
|
+
| `hive_list_outcomes` | List outcome files (newest first) |
|
|
33
|
+
| `hive_read_outcome` | Read a single outcome file by filename |
|
|
34
|
+
| `hive_get_config` | Get hive configuration |
|
|
35
|
+
|
|
36
|
+
All tools accept optional `root` to override `HIVE_ROOT` for the request.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Shared State Format
|
|
2
|
+
|
|
3
|
+
The hive-mind uses a shared file-based state that the central brain and workers read and update.
|
|
4
|
+
|
|
5
|
+
## Primary Store: context.md
|
|
6
|
+
|
|
7
|
+
Single source of truth for goals, strategy, tasks, and learnings.
|
|
8
|
+
|
|
9
|
+
### Structure
|
|
10
|
+
|
|
11
|
+
```markdown
|
|
12
|
+
# Hive Context
|
|
13
|
+
|
|
14
|
+
## Goals
|
|
15
|
+
- [Current high-level objective 1]
|
|
16
|
+
- [Current high-level objective 2]
|
|
17
|
+
|
|
18
|
+
## Strategy
|
|
19
|
+
[Current approach: what the brain has decided to do next]
|
|
20
|
+
|
|
21
|
+
## Pending Tasks
|
|
22
|
+
| ID | Description | Assigned | Status |
|
|
23
|
+
|----|-------------|----------|--------|
|
|
24
|
+
| 1 | [Task 1] | - | pending |
|
|
25
|
+
| 2 | [Task 2] | - | pending |
|
|
26
|
+
|
|
27
|
+
## Recent Outcomes (last 10)
|
|
28
|
+
| Date | Task | Status | Result |
|
|
29
|
+
|------|------|--------|--------|
|
|
30
|
+
| 2024-01-15 | [Brief] | success | [One-line summary] |
|
|
31
|
+
|
|
32
|
+
## Learnings
|
|
33
|
+
- [What the hive has learned from outcomes]
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Rules
|
|
37
|
+
|
|
38
|
+
- **Central brain** reads and writes `context.md`
|
|
39
|
+
- **Workers** read `context.md` for context; they do not write to it (they write outcomes to `outcomes/`)
|
|
40
|
+
- **Central brain** updates `context.md` after ingesting worker outcomes — adds to Recent Outcomes and Learnings, clears completed Pending Tasks
|
|
41
|
+
|
|
42
|
+
## Secondary Store: outcomes/
|
|
43
|
+
|
|
44
|
+
Workers write structured outcome files here. The central brain reads them to update `context.md`.
|
|
45
|
+
|
|
46
|
+
### Naming
|
|
47
|
+
|
|
48
|
+
`outcomes/YYYY-MM-DD-<task-slug>.md`
|
|
49
|
+
|
|
50
|
+
Example: `outcomes/2024-01-15-auth-explore.md`
|
|
51
|
+
|
|
52
|
+
### Format
|
|
53
|
+
|
|
54
|
+
```markdown
|
|
55
|
+
# Outcome: [Task description]
|
|
56
|
+
|
|
57
|
+
**Status:** success | partial | blocked | failed
|
|
58
|
+
|
|
59
|
+
## Result
|
|
60
|
+
[Summary of what was accomplished]
|
|
61
|
+
|
|
62
|
+
## Artifacts
|
|
63
|
+
- [path/to/created/file]
|
|
64
|
+
|
|
65
|
+
## Suggested Follow-ups
|
|
66
|
+
- [Optional follow-up task 1]
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Later: Standalone
|
|
70
|
+
|
|
71
|
+
In a standalone service, `context.md` becomes a database or key-value store. The schema above maps to tables or documents. `outcomes/` becomes an outcomes table or blob store.
|