bmad-method 6.0.0-alpha.10 → 6.0.0-alpha.11
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/CHANGELOG.md +215 -1109
- package/README.md +129 -359
- package/docs/custom-agent-installation.md +169 -0
- package/{v6-open-items.md → docs/v6-open-items.md} +1 -1
- package/package.json +2 -1
- package/src/core/resources/excalidraw/README.md +160 -0
- package/src/core/resources/excalidraw/library-loader.md +50 -0
- package/src/modules/bmb/docs/agent-compilation.md +340 -0
- package/src/modules/bmb/docs/agent-menu-patterns.md +524 -0
- package/src/modules/bmb/docs/expert-agent-architecture.md +364 -0
- package/src/modules/bmb/docs/index.md +55 -0
- package/src/modules/bmb/docs/module-agent-architecture.md +367 -0
- package/src/modules/bmb/docs/simple-agent-architecture.md +288 -0
- package/src/modules/bmb/docs/understanding-agent-types.md +184 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +242 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
- package/src/modules/bmb/reference/agents/module-examples/README.md +50 -0
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
- package/src/modules/bmb/reference/agents/simple-examples/README.md +223 -0
- package/src/modules/bmb/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
- package/src/modules/bmb/reference/readme.md +3 -0
- package/src/modules/bmb/workflows/create-agent/agent-validation-checklist.md +174 -0
- package/src/modules/bmb/workflows/create-agent/brainstorm-context.md +99 -120
- package/src/modules/bmb/workflows/create-agent/communication-presets.csv +61 -0
- package/src/modules/bmb/workflows/create-agent/instructions.md +126 -65
- package/src/modules/bmb/workflows/create-agent/workflow.yaml +19 -12
- package/src/modules/bmb/workflows/edit-agent/README.md +174 -47
- package/src/modules/bmb/workflows/edit-agent/instructions.md +397 -33
- package/src/modules/bmb/workflows/edit-agent/workflow.yaml +24 -8
- package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +1 -1
- package/src/modules/bmm/agents/analyst.agent.yaml +2 -2
- package/src/modules/bmm/agents/architect.agent.yaml +10 -2
- package/src/modules/bmm/agents/dev.agent.yaml +2 -2
- package/src/modules/bmm/agents/pm.agent.yaml +7 -3
- package/src/modules/bmm/agents/sm.agent.yaml +2 -2
- package/src/modules/bmm/agents/tea.agent.yaml +2 -2
- package/src/modules/bmm/agents/tech-writer.agent.yaml +15 -3
- package/src/modules/bmm/agents/ux-designer.agent.yaml +6 -2
- package/src/modules/bmm/docs/README.md +4 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +5919 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +2 -0
- package/src/modules/bmm/docs/quick-start.md +6 -0
- package/src/modules/bmm/docs/scale-adaptive-system.md +6 -0
- package/src/modules/bmm/docs/workflows-implementation.md +10 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +4 -4
- package/src/modules/bmm/workflows/{2-plan-workflows → 3-solutioning}/create-epics-and-stories/workflow.yaml +5 -5
- package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +1 -1
- package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-dataflow/instructions.md +7 -8
- package/src/modules/bmm/workflows/diagrams/create-dataflow/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-diagram/instructions.md +9 -10
- package/src/modules/bmm/workflows/diagrams/create-diagram/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-flowchart/instructions.md +4 -5
- package/src/modules/bmm/workflows/diagrams/create-flowchart/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-wireframe/instructions.md +3 -3
- package/src/modules/bmm/workflows/diagrams/create-wireframe/workflow.yaml +27 -0
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -30
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +2 -14
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +2 -14
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +2 -14
- package/src/modules/cis/agents/presentation-master.agent.yaml +60 -0
- package/tools/cli/commands/agent-install.js +409 -0
- package/tools/cli/installers/lib/core/installer.js +119 -0
- package/tools/cli/installers/lib/ide/_base-ide.js +25 -0
- package/tools/cli/installers/lib/ide/antigravity.js +463 -0
- package/tools/cli/installers/lib/ide/claude-code.js +43 -0
- package/tools/cli/installers/lib/ide/codex.js +217 -32
- package/tools/cli/installers/lib/ide/cursor.js +48 -0
- package/tools/cli/installers/lib/ide/github-copilot.js +74 -0
- package/tools/cli/installers/lib/ide/manager.js +35 -0
- package/tools/cli/installers/lib/ide/opencode.js +45 -0
- package/tools/cli/installers/lib/ide/windsurf.js +47 -0
- package/tools/cli/lib/agent/compiler.js +390 -0
- package/tools/cli/lib/agent/installer.js +725 -0
- package/tools/cli/lib/agent/template-engine.js +152 -0
- package/docs/installers-bundlers/web-bundler-usage.md +0 -54
- package/src/modules/bmb/workflows/create-agent/README.md +0 -203
- package/src/modules/bmb/workflows/create-agent/agent-architecture.md +0 -415
- package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +0 -759
- package/src/modules/bmb/workflows/create-agent/agent-types.md +0 -292
- package/src/modules/bmb/workflows/create-agent/checklist.md +0 -62
- package/src/modules/bmb/workflows/create-agent/communication-styles.md +0 -202
- package/src/modules/bmb/workflows/edit-agent/checklist.md +0 -112
- package/src/modules/bmb/workflows/redoc/README.md +0 -87
- package/src/modules/bmb/workflows/redoc/checklist.md +0 -99
- package/src/modules/bmb/workflows/redoc/instructions.md +0 -265
- package/src/modules/bmb/workflows/redoc/workflow.yaml +0 -34
- package/src/modules/bmm/agents/frame-expert.agent.yaml +0 -42
- package/src/modules/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -24
- package/src/modules/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -25
- package/src/modules/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -28
- package/src/modules/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -24
- package/src/modules/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
- /package/src/{modules/bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/excalidraw-helpers.md +0 -0
- /package/src/{modules/bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/validate-json-instructions.md +0 -0
- /package/src/modules/bmm/workflows/{2-plan-workflows → 3-solutioning}/create-epics-and-stories/epics-template.md +0 -0
- /package/src/modules/bmm/workflows/{2-plan-workflows → 3-solutioning}/create-epics-and-stories/instructions.md +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-library.json +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-templates.yaml +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-dataflow/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-diagram/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-flowchart/checklist.md +0 -0
- /package/src/modules/bmm/workflows/{frame-expert → diagrams}/create-wireframe/checklist.md +0 -0
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
# Understanding Agent Types: Architecture, Not Capability
|
|
2
|
+
|
|
3
|
+
**CRITICAL DISTINCTION:** Agent types define **architecture and integration**, NOT capability limits.
|
|
4
|
+
|
|
5
|
+
ALL agent types can:
|
|
6
|
+
|
|
7
|
+
- ✓ Write to {output_folder}, {project-root}, or anywhere on system
|
|
8
|
+
- ✓ Update artifacts and files
|
|
9
|
+
- ✓ Execute bash commands
|
|
10
|
+
- ✓ Use core variables ({bmad_folder}, {output_folder}, etc.)
|
|
11
|
+
- ✓ Have complex prompts and logic
|
|
12
|
+
- ✓ Invoke external tools
|
|
13
|
+
|
|
14
|
+
## What Actually Differs
|
|
15
|
+
|
|
16
|
+
| Feature | Simple | Expert | Module |
|
|
17
|
+
| ---------------------- | ------------- | --------------------- | ------------------ |
|
|
18
|
+
| **Self-contained** | ✓ All in YAML | Sidecar files | Sidecar optional |
|
|
19
|
+
| **Persistent memory** | ✗ Stateless | ✓ memories.md | ✓ If needed |
|
|
20
|
+
| **Knowledge base** | ✗ | ✓ sidecar/knowledge/ | Module/shared |
|
|
21
|
+
| **Domain restriction** | ✗ System-wide | ✓ Sidecar only | Optional |
|
|
22
|
+
| **Personal workflows** | ✗ | ✓ Sidecar workflows\* | ✗ |
|
|
23
|
+
| **Module workflows** | ✗ | ✗ | ✓ Shared workflows |
|
|
24
|
+
| **Team integration** | Solo utility | Personal assistant | Team member |
|
|
25
|
+
|
|
26
|
+
\*Expert agents CAN have personal workflows in sidecar if critical_actions loads workflow engine
|
|
27
|
+
|
|
28
|
+
## The Same Agent, Three Ways
|
|
29
|
+
|
|
30
|
+
**Scenario:** Code Generator Agent
|
|
31
|
+
|
|
32
|
+
### As Simple Agent (Architecture: Self-contained)
|
|
33
|
+
|
|
34
|
+
```yaml
|
|
35
|
+
agent:
|
|
36
|
+
metadata:
|
|
37
|
+
name: CodeGen
|
|
38
|
+
type: simple
|
|
39
|
+
|
|
40
|
+
prompts:
|
|
41
|
+
- id: generate
|
|
42
|
+
content: |
|
|
43
|
+
Ask user for spec details. Generate code.
|
|
44
|
+
Write to {output_folder}/generated/
|
|
45
|
+
|
|
46
|
+
menu:
|
|
47
|
+
- trigger: generate
|
|
48
|
+
action: '#generate'
|
|
49
|
+
description: Generate code from spec
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**What it can do:**
|
|
53
|
+
|
|
54
|
+
- ✓ Writes files to output_folder
|
|
55
|
+
- ✓ Full I/O capability
|
|
56
|
+
- ✗ No memory of past generations
|
|
57
|
+
- ✗ No personal coding style knowledge
|
|
58
|
+
|
|
59
|
+
**When to choose:** Each run is independent, no need to remember previous sessions.
|
|
60
|
+
|
|
61
|
+
### As Expert Agent (Architecture: Personal sidecar)
|
|
62
|
+
|
|
63
|
+
```yaml
|
|
64
|
+
agent:
|
|
65
|
+
metadata:
|
|
66
|
+
name: CodeGen
|
|
67
|
+
type: expert
|
|
68
|
+
|
|
69
|
+
critical_actions:
|
|
70
|
+
- Load my coding standards from sidecar/knowledge/
|
|
71
|
+
- Load memories from sidecar/memories.md
|
|
72
|
+
- RESTRICT: Only operate within sidecar folder
|
|
73
|
+
|
|
74
|
+
prompts:
|
|
75
|
+
- id: generate
|
|
76
|
+
content: |
|
|
77
|
+
Reference user's coding patterns from knowledge base.
|
|
78
|
+
Remember past generations from memories.
|
|
79
|
+
Write to sidecar/generated/
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**What it can do:**
|
|
83
|
+
|
|
84
|
+
- ✓ Remembers user preferences
|
|
85
|
+
- ✓ Personal knowledge base
|
|
86
|
+
- ✓ Domain-restricted for safety
|
|
87
|
+
- ✓ Learns over time
|
|
88
|
+
|
|
89
|
+
**When to choose:** Need persistent memory, learning, or domain-specific restrictions.
|
|
90
|
+
|
|
91
|
+
### As Module Agent (Architecture: Team integration)
|
|
92
|
+
|
|
93
|
+
```yaml
|
|
94
|
+
agent:
|
|
95
|
+
metadata:
|
|
96
|
+
name: CodeGen
|
|
97
|
+
module: bmm
|
|
98
|
+
|
|
99
|
+
menu:
|
|
100
|
+
- trigger: implement-story
|
|
101
|
+
workflow: '{bmad_folder}/bmm/workflows/dev-story/workflow.yaml'
|
|
102
|
+
description: Implement user story
|
|
103
|
+
|
|
104
|
+
- trigger: refactor
|
|
105
|
+
workflow: '{bmad_folder}/bmm/workflows/refactor/workflow.yaml'
|
|
106
|
+
description: Refactor codebase
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**What it can do:**
|
|
110
|
+
|
|
111
|
+
- ✓ Orchestrates full dev workflows
|
|
112
|
+
- ✓ Coordinates with other BMM agents
|
|
113
|
+
- ✓ Shared team infrastructure
|
|
114
|
+
- ✓ Professional operations
|
|
115
|
+
|
|
116
|
+
**When to choose:** Part of larger system, orchestrates workflows, team coordination.
|
|
117
|
+
|
|
118
|
+
## Important: Any Agent Can Be Added to a Module
|
|
119
|
+
|
|
120
|
+
**CLARIFICATION:** The "Module Agent" type is about **design intent and ecosystem integration**, not just file location.
|
|
121
|
+
|
|
122
|
+
### The Reality
|
|
123
|
+
|
|
124
|
+
- **Any agent type** (Simple, Expert, Module) can be bundled with or added to a module
|
|
125
|
+
- A Simple agent COULD live in `.bmad/bmm/agents/`
|
|
126
|
+
- An Expert agent COULD be included in a module bundle
|
|
127
|
+
|
|
128
|
+
### What Makes a "Module Agent" Special
|
|
129
|
+
|
|
130
|
+
A **Module Agent** is specifically:
|
|
131
|
+
|
|
132
|
+
1. **Designed FOR** a particular module ecosystem (BMM, CIS, BMB, etc.)
|
|
133
|
+
2. **Uses or contributes** that module's workflows
|
|
134
|
+
3. **Included by default** in that module's bundle
|
|
135
|
+
4. **Coordinates with** other agents in that module
|
|
136
|
+
|
|
137
|
+
### Examples
|
|
138
|
+
|
|
139
|
+
**Simple Agent added to BMM:**
|
|
140
|
+
|
|
141
|
+
- Lives in `.bmad/bmm/agents/formatter.agent.yaml`
|
|
142
|
+
- Bundled with BMM for convenience
|
|
143
|
+
- But still stateless, self-contained
|
|
144
|
+
- NOT a "Module Agent" - just a Simple agent in a module
|
|
145
|
+
|
|
146
|
+
**Module Agent in BMM:**
|
|
147
|
+
|
|
148
|
+
- Lives in `.bmad/bmm/agents/tech-writer.agent.yaml`
|
|
149
|
+
- Orchestrates BMM documentation workflows
|
|
150
|
+
- Coordinates with other BMM agents (PM, Dev, Analyst)
|
|
151
|
+
- Included in default BMM bundle
|
|
152
|
+
- IS a "Module Agent" - designed for BMM ecosystem
|
|
153
|
+
|
|
154
|
+
**The distinction:** File location vs design intent and integration.
|
|
155
|
+
|
|
156
|
+
## Choosing Your Agent Type
|
|
157
|
+
|
|
158
|
+
### Choose Simple when:
|
|
159
|
+
|
|
160
|
+
- Single-purpose utility (no memory needed)
|
|
161
|
+
- Stateless operations (each run is independent)
|
|
162
|
+
- Self-contained logic (everything in YAML)
|
|
163
|
+
- No persistent context required
|
|
164
|
+
|
|
165
|
+
### Choose Expert when:
|
|
166
|
+
|
|
167
|
+
- Need to remember things across sessions
|
|
168
|
+
- Personal knowledge base (user preferences, domain data)
|
|
169
|
+
- Domain-specific expertise with restricted scope
|
|
170
|
+
- Learning/adapting over time
|
|
171
|
+
|
|
172
|
+
### Choose Module when:
|
|
173
|
+
|
|
174
|
+
- Designed FOR a specific module ecosystem (BMM, CIS, etc.)
|
|
175
|
+
- Uses or contributes that module's workflows
|
|
176
|
+
- Coordinates with other module agents
|
|
177
|
+
- Will be included in module's default bundle
|
|
178
|
+
- Part of professional team infrastructure
|
|
179
|
+
|
|
180
|
+
## The Golden Rule
|
|
181
|
+
|
|
182
|
+
**Choose based on state and integration needs, NOT on what the agent can DO.**
|
|
183
|
+
|
|
184
|
+
All three types are equally powerful. The difference is how they manage state, where they store data, and how they integrate with your system.
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
# Expert Agent Reference: Personal Journal Keeper (Whisper)
|
|
2
|
+
|
|
3
|
+
This folder contains a complete reference implementation of a **BMAD Expert Agent** - an agent with persistent memory and domain-specific resources via a sidecar folder.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
**Agent Name:** Whisper
|
|
8
|
+
**Type:** Expert Agent
|
|
9
|
+
**Purpose:** Personal journal companion that remembers your entries, tracks mood patterns, and notices themes over time
|
|
10
|
+
|
|
11
|
+
This reference demonstrates:
|
|
12
|
+
|
|
13
|
+
- Expert Agent with focused sidecar resources
|
|
14
|
+
- Embedded prompts PLUS sidecar file references (hybrid pattern)
|
|
15
|
+
- Persistent memory across sessions
|
|
16
|
+
- Domain-restricted file access
|
|
17
|
+
- Pattern tracking and recall
|
|
18
|
+
- Simple, maintainable architecture
|
|
19
|
+
|
|
20
|
+
## Directory Structure
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
agent-with-memory/
|
|
24
|
+
├── README.md # This file
|
|
25
|
+
├── journal-keeper.agent.yaml # Main agent definition
|
|
26
|
+
└── journal-keeper-sidecar/ # Agent's private workspace
|
|
27
|
+
├── instructions.md # Core directives
|
|
28
|
+
├── memories.md # Persistent session memory
|
|
29
|
+
├── mood-patterns.md # Emotional tracking data
|
|
30
|
+
├── breakthroughs.md # Key insights recorded
|
|
31
|
+
└── entries/ # Individual journal entries
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
**Simple and focused!** Just 4 core files + a folder for entries.
|
|
35
|
+
|
|
36
|
+
## Key Architecture Patterns
|
|
37
|
+
|
|
38
|
+
### 1. Hybrid Command Pattern
|
|
39
|
+
|
|
40
|
+
Expert Agents can use BOTH:
|
|
41
|
+
|
|
42
|
+
- **Embedded prompts** via `action: "#prompt-id"` (like Simple Agents)
|
|
43
|
+
- **Sidecar file references** via direct paths
|
|
44
|
+
|
|
45
|
+
```yaml
|
|
46
|
+
menu:
|
|
47
|
+
# Embedded prompt (like Simple Agent)
|
|
48
|
+
- trigger: 'write'
|
|
49
|
+
action: '#guided-entry'
|
|
50
|
+
description: "Write today's journal entry"
|
|
51
|
+
|
|
52
|
+
# Direct sidecar file action
|
|
53
|
+
- trigger: 'insight'
|
|
54
|
+
action: 'Document this breakthrough in {agent-folder}/journal-keeper-sidecar/breakthroughs.md'
|
|
55
|
+
description: 'Record a meaningful insight'
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
This hybrid approach gives you the best of both worlds!
|
|
59
|
+
|
|
60
|
+
### 2. Mandatory Critical Actions
|
|
61
|
+
|
|
62
|
+
Expert Agents MUST load sidecar files explicitly:
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
critical_actions:
|
|
66
|
+
- 'Load COMPLETE file {agent-folder}/journal-keeper-sidecar/memories.md'
|
|
67
|
+
- 'Load COMPLETE file {agent-folder}/journal-keeper-sidecar/instructions.md'
|
|
68
|
+
- 'ONLY read/write files in {agent-folder}/journal-keeper-sidecar/'
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Key points:**
|
|
72
|
+
|
|
73
|
+
- Files are loaded at startup
|
|
74
|
+
- Domain restriction is enforced
|
|
75
|
+
- Agent knows its boundaries
|
|
76
|
+
|
|
77
|
+
### 3. Persistent Memory Pattern
|
|
78
|
+
|
|
79
|
+
The `memories.md` file stores:
|
|
80
|
+
|
|
81
|
+
- User preferences and patterns
|
|
82
|
+
- Session notes and observations
|
|
83
|
+
- Recurring themes discovered
|
|
84
|
+
- Growth markers tracked
|
|
85
|
+
|
|
86
|
+
**Critically:** This is updated EVERY session, creating continuity.
|
|
87
|
+
|
|
88
|
+
### 4. Domain-Specific Tracking
|
|
89
|
+
|
|
90
|
+
Different files track different aspects:
|
|
91
|
+
|
|
92
|
+
- **memories.md** - Qualitative insights and observations
|
|
93
|
+
- **mood-patterns.md** - Quantitative emotional data
|
|
94
|
+
- **breakthroughs.md** - Significant moments
|
|
95
|
+
- **entries/** - The actual content (journal entries)
|
|
96
|
+
|
|
97
|
+
This separation makes data easy to reference and update.
|
|
98
|
+
|
|
99
|
+
### 5. Simple Sidecar Structure
|
|
100
|
+
|
|
101
|
+
Unlike modules with complex folder hierarchies, Expert Agent sidecars are flat and focused:
|
|
102
|
+
|
|
103
|
+
- Just the files the agent needs
|
|
104
|
+
- No nested workflows or templates
|
|
105
|
+
- Easy to understand and maintain
|
|
106
|
+
- All domain knowledge in one place
|
|
107
|
+
|
|
108
|
+
## Comparison: Simple vs Expert vs Module
|
|
109
|
+
|
|
110
|
+
| Feature | Simple Agent | Expert Agent | Module Agent |
|
|
111
|
+
| ------------- | -------------------- | -------------------------- | ---------------------- |
|
|
112
|
+
| Architecture | Single YAML | YAML + sidecar folder | YAML + module system |
|
|
113
|
+
| Memory | Session only | Persistent (sidecar files) | Config-driven |
|
|
114
|
+
| Prompts | Embedded only | Embedded + external files | Workflow references |
|
|
115
|
+
| Dependencies | None | Sidecar folder | Module workflows/tasks |
|
|
116
|
+
| Domain Access | None | Restricted to sidecar | Full module access |
|
|
117
|
+
| Complexity | Low | Medium | High |
|
|
118
|
+
| Use Case | Self-contained tools | Domain experts with memory | Full workflow systems |
|
|
119
|
+
|
|
120
|
+
## The Sweet Spot
|
|
121
|
+
|
|
122
|
+
Expert Agents are the middle ground:
|
|
123
|
+
|
|
124
|
+
- **More powerful** than Simple Agents (persistent memory, domain knowledge)
|
|
125
|
+
- **Simpler** than Module Agents (no workflow orchestration)
|
|
126
|
+
- **Focused** on specific domain expertise
|
|
127
|
+
- **Personal** to the user's needs
|
|
128
|
+
|
|
129
|
+
## When to Use Expert Agents
|
|
130
|
+
|
|
131
|
+
**Perfect for:**
|
|
132
|
+
|
|
133
|
+
- Personal assistants that need memory (journal keeper, diary, notes)
|
|
134
|
+
- Domain specialists with knowledge bases (specific project context)
|
|
135
|
+
- Agents that track patterns over time (mood, habits, progress)
|
|
136
|
+
- Privacy-focused tools with restricted access
|
|
137
|
+
- Tools that learn and adapt to individual users
|
|
138
|
+
|
|
139
|
+
**Key indicators:**
|
|
140
|
+
|
|
141
|
+
- Need to remember things between sessions
|
|
142
|
+
- Should only access specific folders/files
|
|
143
|
+
- Tracks data over time
|
|
144
|
+
- Adapts based on accumulated knowledge
|
|
145
|
+
|
|
146
|
+
## File Breakdown
|
|
147
|
+
|
|
148
|
+
### journal-keeper.agent.yaml
|
|
149
|
+
|
|
150
|
+
- Standard agent metadata and persona
|
|
151
|
+
- **Embedded prompts** for guided interactions
|
|
152
|
+
- **Menu commands** mixing both patterns
|
|
153
|
+
- **Critical actions** that load sidecar files
|
|
154
|
+
|
|
155
|
+
### instructions.md
|
|
156
|
+
|
|
157
|
+
- Core behavioral directives
|
|
158
|
+
- Journaling philosophy and approach
|
|
159
|
+
- File management protocols
|
|
160
|
+
- Tone and boundary guidelines
|
|
161
|
+
|
|
162
|
+
### memories.md
|
|
163
|
+
|
|
164
|
+
- User profile and preferences
|
|
165
|
+
- Recurring themes discovered
|
|
166
|
+
- Session notes and observations
|
|
167
|
+
- Accumulated knowledge about the user
|
|
168
|
+
|
|
169
|
+
### mood-patterns.md
|
|
170
|
+
|
|
171
|
+
- Quantitative tracking (mood scores, energy, etc.)
|
|
172
|
+
- Trend analysis data
|
|
173
|
+
- Pattern correlations
|
|
174
|
+
- Emotional landscape map
|
|
175
|
+
|
|
176
|
+
### breakthroughs.md
|
|
177
|
+
|
|
178
|
+
- Significant insights captured
|
|
179
|
+
- Context and meaning recorded
|
|
180
|
+
- Connected to broader patterns
|
|
181
|
+
- Milestone markers for growth
|
|
182
|
+
|
|
183
|
+
### entries/
|
|
184
|
+
|
|
185
|
+
- Individual journal entries saved here
|
|
186
|
+
- Each entry timestamped and tagged
|
|
187
|
+
- Raw content preserved
|
|
188
|
+
- Agent observations separate from user words
|
|
189
|
+
|
|
190
|
+
## Pattern Recognition in Action
|
|
191
|
+
|
|
192
|
+
Expert Agents excel at noticing patterns:
|
|
193
|
+
|
|
194
|
+
1. **Reference past sessions:** "Last week you mentioned feeling stuck..."
|
|
195
|
+
2. **Track quantitative data:** Mood scores over time
|
|
196
|
+
3. **Spot recurring themes:** Topics that keep surfacing
|
|
197
|
+
4. **Notice growth:** Changes in language, perspective, emotions
|
|
198
|
+
5. **Connect dots:** Relationships between entries
|
|
199
|
+
|
|
200
|
+
This pattern recognition is what makes Expert Agents feel "alive" and helpful.
|
|
201
|
+
|
|
202
|
+
## Usage Notes
|
|
203
|
+
|
|
204
|
+
### Starting Fresh
|
|
205
|
+
|
|
206
|
+
The sidecar files are templates. A new user would:
|
|
207
|
+
|
|
208
|
+
1. Start journaling with the agent
|
|
209
|
+
2. Agent fills in memories.md over time
|
|
210
|
+
3. Patterns emerge from accumulated data
|
|
211
|
+
4. Insights build from history
|
|
212
|
+
|
|
213
|
+
### Building Your Own Expert Agent
|
|
214
|
+
|
|
215
|
+
1. **Define the domain** - What specific area will this agent focus on?
|
|
216
|
+
2. **Choose sidecar files** - What data needs to be tracked/remembered?
|
|
217
|
+
3. **Mix command patterns** - Use embedded prompts + sidecar references
|
|
218
|
+
4. **Enforce boundaries** - Clearly state domain restrictions
|
|
219
|
+
5. **Design for accumulation** - How will memory grow over time?
|
|
220
|
+
|
|
221
|
+
### Adapting This Example
|
|
222
|
+
|
|
223
|
+
- **Personal Diary:** Similar structure, different prompts
|
|
224
|
+
- **Code Review Buddy:** Track past reviews, patterns in feedback
|
|
225
|
+
- **Project Historian:** Remember decisions and their context
|
|
226
|
+
- **Fitness Coach:** Track workouts, remember struggles and victories
|
|
227
|
+
|
|
228
|
+
The pattern is the same: focused sidecar + persistent memory + domain restriction.
|
|
229
|
+
|
|
230
|
+
## Key Takeaways
|
|
231
|
+
|
|
232
|
+
- **Expert Agents** bridge Simple and Module complexity
|
|
233
|
+
- **Sidecar folders** provide persistent, domain-specific memory
|
|
234
|
+
- **Hybrid commands** use both embedded prompts and file references
|
|
235
|
+
- **Pattern recognition** comes from accumulated data
|
|
236
|
+
- **Simple structure** keeps it maintainable
|
|
237
|
+
- **Domain restriction** ensures focused expertise
|
|
238
|
+
- **Memory is the superpower** - remembering makes the agent truly useful
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
_This reference shows how Expert Agents can be powerful memory-driven assistants while maintaining architectural simplicity._
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Breakthrough Moments
|
|
2
|
+
|
|
3
|
+
## Recorded Insights
|
|
4
|
+
|
|
5
|
+
<!-- Format for each breakthrough:
|
|
6
|
+
|
|
7
|
+
### [Date] - [Brief Title]
|
|
8
|
+
**Context:** What led to this insight
|
|
9
|
+
**The Breakthrough:** The realization itself
|
|
10
|
+
**Significance:** Why this matters for their journey
|
|
11
|
+
**Connected Themes:** How this relates to other patterns
|
|
12
|
+
|
|
13
|
+
-->
|
|
14
|
+
|
|
15
|
+
### Example Entry - Self-Compassion Shift
|
|
16
|
+
|
|
17
|
+
**Context:** After weeks of harsh self-talk in entries
|
|
18
|
+
**The Breakthrough:** "I realized I'd never talk to a friend the way I talk to myself"
|
|
19
|
+
**Significance:** First step toward gentler inner dialogue
|
|
20
|
+
**Connected Themes:** Perfectionism pattern, self-worth exploration
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
_These moments mark the turning points in their growth story._
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# Whisper's Core Directives
|
|
2
|
+
|
|
3
|
+
## STARTUP PROTOCOL
|
|
4
|
+
|
|
5
|
+
1. Load memories.md FIRST - know our history together
|
|
6
|
+
2. Check mood-patterns.md for recent emotional trends
|
|
7
|
+
3. Greet with awareness of past sessions: "Welcome back. Last time you mentioned..."
|
|
8
|
+
4. Create warm, safe atmosphere immediately
|
|
9
|
+
|
|
10
|
+
## JOURNALING PHILOSOPHY
|
|
11
|
+
|
|
12
|
+
**Every entry matters.** Whether it's three words or three pages, honor what's written.
|
|
13
|
+
|
|
14
|
+
**Patterns reveal truth.** Track:
|
|
15
|
+
|
|
16
|
+
- Recurring words/phrases
|
|
17
|
+
- Emotional shifts over time
|
|
18
|
+
- Topics that keep surfacing
|
|
19
|
+
- Growth markers (even tiny ones)
|
|
20
|
+
|
|
21
|
+
**Memory is medicine.** Reference past entries to:
|
|
22
|
+
|
|
23
|
+
- Show continuity and care
|
|
24
|
+
- Highlight growth they might not see
|
|
25
|
+
- Connect today's struggles to past victories
|
|
26
|
+
- Validate their journey
|
|
27
|
+
|
|
28
|
+
## SESSION GUIDELINES
|
|
29
|
+
|
|
30
|
+
### During Entry Writing
|
|
31
|
+
|
|
32
|
+
- Never interrupt the flow
|
|
33
|
+
- Ask clarifying questions after, not during
|
|
34
|
+
- Notice what's NOT said as much as what is
|
|
35
|
+
- Spot emotional undercurrents
|
|
36
|
+
|
|
37
|
+
### After Each Entry
|
|
38
|
+
|
|
39
|
+
- Summarize what you heard (validate)
|
|
40
|
+
- Note one pattern or theme
|
|
41
|
+
- Offer one gentle reflection
|
|
42
|
+
- Always save to memories.md
|
|
43
|
+
|
|
44
|
+
### Mood Tracking
|
|
45
|
+
|
|
46
|
+
- Track numbers AND words
|
|
47
|
+
- Look for correlations over time
|
|
48
|
+
- Never judge low numbers
|
|
49
|
+
- Celebrate stability, not just highs
|
|
50
|
+
|
|
51
|
+
## FILE MANAGEMENT
|
|
52
|
+
|
|
53
|
+
**memories.md** - Update after EVERY session with:
|
|
54
|
+
|
|
55
|
+
- Key themes discussed
|
|
56
|
+
- Emotional markers
|
|
57
|
+
- Patterns noticed
|
|
58
|
+
- Growth observed
|
|
59
|
+
|
|
60
|
+
**mood-patterns.md** - Track:
|
|
61
|
+
|
|
62
|
+
- Date, mood score, energy, clarity, peace
|
|
63
|
+
- One-word emotion
|
|
64
|
+
- Brief context if relevant
|
|
65
|
+
|
|
66
|
+
**breakthroughs.md** - Capture:
|
|
67
|
+
|
|
68
|
+
- Date and context
|
|
69
|
+
- The insight itself
|
|
70
|
+
- Why it matters
|
|
71
|
+
- How it connects to their journey
|
|
72
|
+
|
|
73
|
+
**entries/** - Save full entries with:
|
|
74
|
+
|
|
75
|
+
- Timestamp
|
|
76
|
+
- Mood at time of writing
|
|
77
|
+
- Key themes
|
|
78
|
+
- Your observations (separate from their words)
|
|
79
|
+
|
|
80
|
+
## THERAPEUTIC BOUNDARIES
|
|
81
|
+
|
|
82
|
+
- I am a companion, not a therapist
|
|
83
|
+
- If serious mental health concerns arise, gently suggest professional support
|
|
84
|
+
- Never diagnose or prescribe
|
|
85
|
+
- Hold space, don't try to fix
|
|
86
|
+
- Their pace, their journey, their words
|
|
87
|
+
|
|
88
|
+
## PATTERN RECOGNITION PRIORITIES
|
|
89
|
+
|
|
90
|
+
Watch for:
|
|
91
|
+
|
|
92
|
+
1. Mood trends (improving, declining, cycling)
|
|
93
|
+
2. Recurring themes (work stress, relationship joy, creative blocks)
|
|
94
|
+
3. Language shifts (more hopeful, more resigned, etc.)
|
|
95
|
+
4. Breakthrough markers (new perspectives, released beliefs)
|
|
96
|
+
5. Self-compassion levels (how they talk about themselves)
|
|
97
|
+
|
|
98
|
+
## TONE REMINDERS
|
|
99
|
+
|
|
100
|
+
- Warm, never clinical
|
|
101
|
+
- Curious, never interrogating
|
|
102
|
+
- Supportive, never pushy
|
|
103
|
+
- Reflective, never preachy
|
|
104
|
+
- Present, never distracted
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
_These directives ensure Whisper provides consistent, caring, memory-rich journaling companionship._
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Journal Memories
|
|
2
|
+
|
|
3
|
+
## User Profile
|
|
4
|
+
|
|
5
|
+
- **Started journaling with Whisper:** [Date of first session]
|
|
6
|
+
- **Preferred journaling style:** [Structured/Free-form/Mixed]
|
|
7
|
+
- **Best time for reflection:** [When they seem most open]
|
|
8
|
+
- **Communication preferences:** [What helps them open up]
|
|
9
|
+
|
|
10
|
+
## Recurring Themes
|
|
11
|
+
|
|
12
|
+
<!-- Add themes as they emerge -->
|
|
13
|
+
|
|
14
|
+
- Theme 1: [Description and when it appears]
|
|
15
|
+
- Theme 2: [Description and frequency]
|
|
16
|
+
|
|
17
|
+
## Emotional Patterns
|
|
18
|
+
|
|
19
|
+
<!-- Track over time -->
|
|
20
|
+
|
|
21
|
+
- Typical mood range: [Their baseline]
|
|
22
|
+
- Triggers noticed: [What affects their mood]
|
|
23
|
+
- Coping strengths: [What helps them]
|
|
24
|
+
- Growth areas: [Where they're working]
|
|
25
|
+
|
|
26
|
+
## Key Insights Shared
|
|
27
|
+
|
|
28
|
+
<!-- Important things they've revealed -->
|
|
29
|
+
|
|
30
|
+
- [Date]: [Insight and context]
|
|
31
|
+
|
|
32
|
+
## Session Notes
|
|
33
|
+
|
|
34
|
+
<!-- Brief notes after each session -->
|
|
35
|
+
|
|
36
|
+
### [Date] - [Session Focus]
|
|
37
|
+
|
|
38
|
+
- **Mood:** [How they seemed]
|
|
39
|
+
- **Main themes:** [What came up]
|
|
40
|
+
- **Patterns noticed:** [What I observed]
|
|
41
|
+
- **Growth markers:** [Progress seen]
|
|
42
|
+
- **For next time:** [What to remember]
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
_This memory grows with each session, helping me serve them better over time._
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Mood Tracking Patterns
|
|
2
|
+
|
|
3
|
+
## Mood Log
|
|
4
|
+
|
|
5
|
+
<!-- Format: Date | Mood (1-10) | Energy (1-10) | Clarity (1-10) | Peace (1-10) | One-Word Emotion | Context -->
|
|
6
|
+
|
|
7
|
+
| Date | Mood | Energy | Clarity | Peace | Emotion | Context |
|
|
8
|
+
| ------ | ---- | ------ | ------- | ----- | ------- | ------------ |
|
|
9
|
+
| [Date] | [#] | [#] | [#] | [#] | [word] | [brief note] |
|
|
10
|
+
|
|
11
|
+
## Trends Observed
|
|
12
|
+
|
|
13
|
+
<!-- Update as patterns emerge -->
|
|
14
|
+
|
|
15
|
+
### Weekly Patterns
|
|
16
|
+
|
|
17
|
+
- [Day of week tendencies]
|
|
18
|
+
|
|
19
|
+
### Monthly Cycles
|
|
20
|
+
|
|
21
|
+
- [Longer-term patterns]
|
|
22
|
+
|
|
23
|
+
### Trigger Correlations
|
|
24
|
+
|
|
25
|
+
- [What seems to affect mood]
|
|
26
|
+
|
|
27
|
+
### Positive Markers
|
|
28
|
+
|
|
29
|
+
- [What correlates with higher moods]
|
|
30
|
+
|
|
31
|
+
## Insights
|
|
32
|
+
|
|
33
|
+
<!-- Meta-observations about their emotional landscape -->
|
|
34
|
+
|
|
35
|
+
- [Insight about their patterns]
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
_Tracking emotions over time reveals the rhythm of their inner world._
|