@poolzin/pool-bot 2026.3.13 → 2026.3.15
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 +87 -0
- package/dist/agents/checkpoint-manager.js +291 -0
- package/dist/agents/poolbot-tools.js +5 -0
- package/dist/agents/subagent-announce-reliability.js +160 -0
- package/dist/agents/tool-result-truncation.js +299 -0
- package/dist/agents/tools/nodes-file-tool.js +197 -0
- package/dist/build-info.json +3 -3
- package/dist/cli/config-cli.js +60 -0
- package/dist/cron/cron-improvements.js +195 -0
- package/dist/discord/discord-improvements.js +167 -0
- package/dist/gateway/auth-rate-limit.js +19 -0
- package/dist/gateway/auth.js +41 -0
- package/dist/gateway/gateway-improvements.js +294 -0
- package/dist/gateway/node-command-policy.js +7 -2
- package/dist/infra/net/ssrf.js +15 -2
- package/dist/infra/shell-security.js +201 -0
- package/dist/memory/memory-improvements.js +239 -0
- package/dist/node-host/runner.js +146 -79
- package/dist/security/prototype-pollution.js +141 -0
- package/dist/security/webhook-security.js +253 -0
- package/dist/shared/net/ip.js +52 -1
- package/dist/slack/slack-improvements.js +225 -0
- package/dist/telegram/telegram-improvements.js +220 -0
- package/dist/ui-plugins/ui-plugins-improvements.js +191 -0
- package/docs/ANALISE_OPENCLAW_PROFISSIONAL.md +520 -0
- package/docs/competitive-analysis.md +421 -0
- package/docs/implementation-analysis.md +393 -0
- package/docs/plans/2026-03-11-file-operations-security-hardening.md +307 -0
- package/docs/plans/2026-03-11-integracao-projetos-poolbot.md +666 -0
- package/extensions/agency-agents/README.md +301 -0
- package/extensions/agency-agents/agents/CONTRIBUTING.md +353 -0
- package/extensions/agency-agents/agents/README.md +602 -0
- package/extensions/agency-agents/agents/design/design-brand-guardian.md +320 -0
- package/extensions/agency-agents/agents/design/design-image-prompt-engineer.md +234 -0
- package/extensions/agency-agents/agents/design/design-ui-designer.md +381 -0
- package/extensions/agency-agents/agents/design/design-ux-architect.md +467 -0
- package/extensions/agency-agents/agents/design/design-ux-researcher.md +327 -0
- package/extensions/agency-agents/agents/design/design-visual-storyteller.md +147 -0
- package/extensions/agency-agents/agents/design/design-whimsy-injector.md +436 -0
- package/extensions/agency-agents/agents/engineering/engineering-ai-engineer.md +144 -0
- package/extensions/agency-agents/agents/engineering/engineering-backend-architect.md +233 -0
- package/extensions/agency-agents/agents/engineering/engineering-devops-automator.md +374 -0
- package/extensions/agency-agents/agents/engineering/engineering-frontend-developer.md +223 -0
- package/extensions/agency-agents/agents/engineering/engineering-mobile-app-builder.md +491 -0
- package/extensions/agency-agents/agents/engineering/engineering-rapid-prototyper.md +460 -0
- package/extensions/agency-agents/agents/engineering/engineering-security-engineer.md +275 -0
- package/extensions/agency-agents/agents/engineering/engineering-senior-developer.md +174 -0
- package/extensions/agency-agents/agents/examples/README.md +48 -0
- package/extensions/agency-agents/agents/examples/nexus-spatial-discovery.md +852 -0
- package/extensions/agency-agents/agents/examples/workflow-landing-page.md +119 -0
- package/extensions/agency-agents/agents/examples/workflow-startup-mvp.md +155 -0
- package/extensions/agency-agents/agents/integrations/README.md +117 -0
- package/extensions/agency-agents/agents/integrations/aider/README.md +38 -0
- package/extensions/agency-agents/agents/integrations/antigravity/README.md +49 -0
- package/extensions/agency-agents/agents/integrations/claude-code/README.md +31 -0
- package/extensions/agency-agents/agents/integrations/cursor/README.md +38 -0
- package/extensions/agency-agents/agents/integrations/gemini-cli/README.md +36 -0
- package/extensions/agency-agents/agents/integrations/opencode/README.md +58 -0
- package/extensions/agency-agents/agents/integrations/windsurf/README.md +26 -0
- package/extensions/agency-agents/agents/marketing/marketing-app-store-optimizer.md +319 -0
- package/extensions/agency-agents/agents/marketing/marketing-content-creator.md +52 -0
- package/extensions/agency-agents/agents/marketing/marketing-growth-hacker.md +52 -0
- package/extensions/agency-agents/agents/marketing/marketing-instagram-curator.md +111 -0
- package/extensions/agency-agents/agents/marketing/marketing-reddit-community-builder.md +121 -0
- package/extensions/agency-agents/agents/marketing/marketing-social-media-strategist.md +123 -0
- package/extensions/agency-agents/agents/marketing/marketing-tiktok-strategist.md +123 -0
- package/extensions/agency-agents/agents/marketing/marketing-twitter-engager.md +124 -0
- package/extensions/agency-agents/agents/marketing/marketing-wechat-official-account.md +143 -0
- package/extensions/agency-agents/agents/marketing/marketing-xiaohongshu-specialist.md +136 -0
- package/extensions/agency-agents/agents/marketing/marketing-zhihu-strategist.md +160 -0
- package/extensions/agency-agents/agents/product/product-feedback-synthesizer.md +117 -0
- package/extensions/agency-agents/agents/product/product-sprint-prioritizer.md +152 -0
- package/extensions/agency-agents/agents/product/product-trend-researcher.md +157 -0
- package/extensions/agency-agents/agents/project-management/project-management-experiment-tracker.md +196 -0
- package/extensions/agency-agents/agents/project-management/project-management-project-shepherd.md +192 -0
- package/extensions/agency-agents/agents/project-management/project-management-studio-operations.md +198 -0
- package/extensions/agency-agents/agents/project-management/project-management-studio-producer.md +201 -0
- package/extensions/agency-agents/agents/project-management/project-manager-senior.md +133 -0
- package/extensions/agency-agents/agents/scripts/convert.sh +362 -0
- package/extensions/agency-agents/agents/scripts/install.sh +465 -0
- package/extensions/agency-agents/agents/scripts/lint-agents.sh +115 -0
- package/extensions/agency-agents/agents/spatial-computing/macos-spatial-metal-engineer.md +335 -0
- package/extensions/agency-agents/agents/spatial-computing/terminal-integration-specialist.md +68 -0
- package/extensions/agency-agents/agents/spatial-computing/visionos-spatial-engineer.md +52 -0
- package/extensions/agency-agents/agents/spatial-computing/xr-cockpit-interaction-specialist.md +30 -0
- package/extensions/agency-agents/agents/spatial-computing/xr-immersive-developer.md +30 -0
- package/extensions/agency-agents/agents/spatial-computing/xr-interface-architect.md +30 -0
- package/extensions/agency-agents/agents/specialized/agentic-identity-trust.md +367 -0
- package/extensions/agency-agents/agents/specialized/agents-orchestrator.md +365 -0
- package/extensions/agency-agents/agents/specialized/data-analytics-reporter.md +52 -0
- package/extensions/agency-agents/agents/specialized/data-consolidation-agent.md +58 -0
- package/extensions/agency-agents/agents/specialized/lsp-index-engineer.md +312 -0
- package/extensions/agency-agents/agents/specialized/report-distribution-agent.md +63 -0
- package/extensions/agency-agents/agents/specialized/sales-data-extraction-agent.md +65 -0
- package/extensions/agency-agents/agents/strategy/EXECUTIVE-BRIEF.md +95 -0
- package/extensions/agency-agents/agents/strategy/QUICKSTART.md +194 -0
- package/extensions/agency-agents/agents/strategy/coordination/agent-activation-prompts.md +401 -0
- package/extensions/agency-agents/agents/strategy/coordination/handoff-templates.md +357 -0
- package/extensions/agency-agents/agents/strategy/nexus-strategy.md +1110 -0
- package/extensions/agency-agents/agents/strategy/playbooks/phase-0-discovery.md +178 -0
- package/extensions/agency-agents/agents/strategy/playbooks/phase-1-strategy.md +238 -0
- package/extensions/agency-agents/agents/strategy/playbooks/phase-2-foundation.md +278 -0
- package/extensions/agency-agents/agents/strategy/playbooks/phase-3-build.md +286 -0
- package/extensions/agency-agents/agents/strategy/playbooks/phase-4-hardening.md +332 -0
- package/extensions/agency-agents/agents/strategy/playbooks/phase-5-launch.md +277 -0
- package/extensions/agency-agents/agents/strategy/playbooks/phase-6-operate.md +318 -0
- package/extensions/agency-agents/agents/strategy/runbooks/scenario-enterprise-feature.md +157 -0
- package/extensions/agency-agents/agents/strategy/runbooks/scenario-incident-response.md +217 -0
- package/extensions/agency-agents/agents/strategy/runbooks/scenario-marketing-campaign.md +187 -0
- package/extensions/agency-agents/agents/strategy/runbooks/scenario-startup-mvp.md +154 -0
- package/extensions/agency-agents/agents/support/support-analytics-reporter.md +363 -0
- package/extensions/agency-agents/agents/support/support-executive-summary-generator.md +210 -0
- package/extensions/agency-agents/agents/support/support-finance-tracker.md +440 -0
- package/extensions/agency-agents/agents/support/support-infrastructure-maintainer.md +616 -0
- package/extensions/agency-agents/agents/support/support-legal-compliance-checker.md +586 -0
- package/extensions/agency-agents/agents/support/support-support-responder.md +583 -0
- package/extensions/agency-agents/agents/testing/testing-accessibility-auditor.md +313 -0
- package/extensions/agency-agents/agents/testing/testing-api-tester.md +304 -0
- package/extensions/agency-agents/agents/testing/testing-evidence-collector.md +208 -0
- package/extensions/agency-agents/agents/testing/testing-performance-benchmarker.md +266 -0
- package/extensions/agency-agents/agents/testing/testing-reality-checker.md +236 -0
- package/extensions/agency-agents/agents/testing/testing-test-results-analyzer.md +303 -0
- package/extensions/agency-agents/agents/testing/testing-tool-evaluator.md +392 -0
- package/extensions/agency-agents/agents/testing/testing-workflow-optimizer.md +448 -0
- package/extensions/agency-agents/index.ts +733 -0
- package/extensions/agency-agents/node_modules/.bin/jiti +21 -0
- package/extensions/agency-agents/node_modules/.bin/tsc +21 -0
- package/extensions/agency-agents/node_modules/.bin/tsserver +21 -0
- package/extensions/agency-agents/node_modules/.bin/tsx +21 -0
- package/extensions/agency-agents/node_modules/.bin/vite +21 -0
- package/extensions/agency-agents/node_modules/.bin/vitest +21 -0
- package/extensions/agency-agents/node_modules/.bin/yaml +21 -0
- package/extensions/agency-agents/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
- package/extensions/agency-agents/package.json +25 -0
- package/extensions/agency-agents/poolbot.plugin.json +11 -0
- package/extensions/agency-agents/src/AgencyAgentsService.test.ts +443 -0
- package/extensions/agency-agents/src/AgencyAgentsService.ts +288 -0
- package/extensions/agency-agents/src/types.ts +147 -0
- package/extensions/agency-agents/vitest.config.ts +8 -0
- package/extensions/hexstrike-ai/README.md +98 -0
- package/extensions/hexstrike-ai/node_modules/.bin/tsc +21 -0
- package/extensions/hexstrike-ai/node_modules/.bin/tsserver +21 -0
- package/extensions/hexstrike-ai/package.json +29 -0
- package/extensions/hexstrike-ai/poolbot.plugin.json +31 -0
- package/extensions/hexstrike-ai/src/client.ts +91 -0
- package/extensions/hexstrike-ai/src/index.ts +170 -0
- package/extensions/hexstrike-ai/src/server/hexstrike_mcp.py +5470 -0
- package/extensions/hexstrike-ai/src/server/hexstrike_server.py +17289 -0
- package/extensions/hexstrike-ai/src/server/requirements.txt +84 -0
- package/extensions/hexstrike-ai/src/server-manager.ts +83 -0
- package/extensions/hexstrike-ai/tsconfig.json +20 -0
- package/extensions/page-agent/README.md +159 -0
- package/extensions/page-agent/index.ts +595 -0
- package/extensions/page-agent/node_modules/.bin/jiti +21 -0
- package/extensions/page-agent/node_modules/.bin/playwright +21 -0
- package/extensions/page-agent/node_modules/.bin/tsc +21 -0
- package/extensions/page-agent/node_modules/.bin/tsserver +21 -0
- package/extensions/page-agent/node_modules/.bin/tsx +21 -0
- package/extensions/page-agent/node_modules/.bin/vitest +21 -0
- package/extensions/page-agent/node_modules/.bin/yaml +21 -0
- package/extensions/page-agent/package.json +43 -0
- package/extensions/page-agent/poolbot.plugin.json +24 -0
- package/extensions/page-agent/src/PageAgentService.test.ts +517 -0
- package/extensions/page-agent/src/PageAgentService.ts +636 -0
- package/extensions/page-agent/src/PoolBotPageController.test.ts +358 -0
- package/extensions/page-agent/src/PoolBotPageController.ts +245 -0
- package/extensions/page-agent/src/index.ts +20 -0
- package/extensions/page-agent/src/tools.test.ts +231 -0
- package/extensions/page-agent/src/tools.ts +167 -0
- package/extensions/page-agent/src/types.ts +198 -0
- package/extensions/xyops/README.md +227 -0
- package/extensions/xyops/index.ts +342 -0
- package/extensions/xyops/node_modules/.bin/jiti +21 -0
- package/extensions/xyops/node_modules/.bin/tsc +21 -0
- package/extensions/xyops/node_modules/.bin/tsserver +21 -0
- package/extensions/xyops/node_modules/.bin/tsx +21 -0
- package/extensions/xyops/node_modules/.bin/vitest +21 -0
- package/extensions/xyops/node_modules/.bin/yaml +21 -0
- package/extensions/xyops/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
- package/extensions/xyops/package.json +39 -0
- package/extensions/xyops/poolbot.plugin.json +21 -0
- package/extensions/xyops/src/client.test.ts +467 -0
- package/extensions/xyops/src/client.ts +157 -0
- package/extensions/xyops/src/types.ts +147 -0
- package/extensions/xyops/vitest.config.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
# Agency Agents Extension for PoolBot
|
|
2
|
+
|
|
3
|
+
AI specialist agents for software engineering tasks. Register domain-specific agents (Frontend, Backend, DevOps, etc.) and orchestrate complex multi-agent workflows with collaboration, messaging, and review capabilities.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Specialist Agents**: Pre-configured agents for different engineering domains
|
|
8
|
+
- **Task Management**: Create, assign, and track tasks with dependencies
|
|
9
|
+
- **Multi-Agent Collaboration**: Form teams with lead agents and participants
|
|
10
|
+
- **Workflow Orchestration**: Define step-by-step workflows with dependencies
|
|
11
|
+
- **Agent Messaging**: Inter-agent communication for coordination
|
|
12
|
+
- **Code Review**: Structured review process with approval workflows
|
|
13
|
+
- **System Prompts**: Auto-generated prompts for LLM integration
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Install as PoolBot extension
|
|
19
|
+
poolbot extension install @poolbot/agency-agents
|
|
20
|
+
|
|
21
|
+
# Or manual installation
|
|
22
|
+
cd extensions/agency-agents
|
|
23
|
+
pnpm install
|
|
24
|
+
pnpm build
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Configuration
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"agencyAgents": {
|
|
32
|
+
"agents": [
|
|
33
|
+
{
|
|
34
|
+
"name": "FrontendDev",
|
|
35
|
+
"description": "Frontend development specialist",
|
|
36
|
+
"category": "engineering",
|
|
37
|
+
"color": "#3b82f6",
|
|
38
|
+
"content": "Expert in React, Vue, and modern CSS...",
|
|
39
|
+
"capabilities": ["react", "vue", "css", "typescript"],
|
|
40
|
+
"tools": ["code_editor", "browser", "git"]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "BackendDev",
|
|
44
|
+
"description": "Backend development specialist",
|
|
45
|
+
"category": "engineering",
|
|
46
|
+
"color": "#10b981",
|
|
47
|
+
"content": "Expert in Node.js, Python, and databases...",
|
|
48
|
+
"capabilities": ["nodejs", "python", "postgresql", "redis"],
|
|
49
|
+
"tools": ["code_editor", "database", "api_tester"]
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Usage
|
|
57
|
+
|
|
58
|
+
### Initialize Service
|
|
59
|
+
|
|
60
|
+
```typescript
|
|
61
|
+
import { AgencyAgentsService } from '@poolbot/agency-agents'
|
|
62
|
+
|
|
63
|
+
const service = new AgencyAgentsService(config)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Register Agents
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
service.registerAgent({
|
|
70
|
+
name: 'DevOpsEngineer',
|
|
71
|
+
description: 'DevOps and infrastructure specialist',
|
|
72
|
+
category: 'engineering',
|
|
73
|
+
color: '#f59e0b',
|
|
74
|
+
content: 'Expert in Docker, Kubernetes, and CI/CD...',
|
|
75
|
+
capabilities: ['docker', 'kubernetes', 'terraform', 'aws'],
|
|
76
|
+
tools: ['terminal', 'docker', 'kubectl']
|
|
77
|
+
})
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Task Management
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
// Create a task
|
|
84
|
+
const task = service.createTask(
|
|
85
|
+
'FrontendDev',
|
|
86
|
+
'Build login page component',
|
|
87
|
+
'Create a responsive login form with email and password fields'
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
// Update task status
|
|
91
|
+
service.updateTaskStatus(task.id, 'in_progress')
|
|
92
|
+
service.updateTaskStatus(task.id, 'completed', 'Login component built successfully')
|
|
93
|
+
|
|
94
|
+
// Get task details
|
|
95
|
+
const taskDetails = service.getTask(task.id)
|
|
96
|
+
|
|
97
|
+
// List all tasks
|
|
98
|
+
const allTasks = service.listTasks()
|
|
99
|
+
|
|
100
|
+
// Filter by agent or status
|
|
101
|
+
const frontendTasks = service.listTasks('FrontendDev')
|
|
102
|
+
const pendingTasks = service.listTasks(undefined, 'pending')
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Agent Collaboration
|
|
106
|
+
|
|
107
|
+
```typescript
|
|
108
|
+
// Create a collaboration
|
|
109
|
+
const collab = service.createCollaboration(
|
|
110
|
+
'E-commerce Feature',
|
|
111
|
+
'Build shopping cart functionality',
|
|
112
|
+
'FrontendDev',
|
|
113
|
+
['BackendDev', 'UXDesigner']
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
// Add tasks to collaboration
|
|
117
|
+
const task1 = service.createTask('FrontendDev', 'Build cart UI', undefined, collab.id)
|
|
118
|
+
const task2 = service.createTask('BackendDev', 'Build cart API', undefined, collab.id)
|
|
119
|
+
|
|
120
|
+
// Update collaboration status
|
|
121
|
+
service.updateCollaborationStatus(collab.id, 'active')
|
|
122
|
+
|
|
123
|
+
// List collaborations
|
|
124
|
+
const activeCollabs = service.listCollaborations('active')
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### Agent Messaging
|
|
128
|
+
|
|
129
|
+
```typescript
|
|
130
|
+
// Send message between agents
|
|
131
|
+
service.sendMessage(
|
|
132
|
+
'FrontendDev',
|
|
133
|
+
'BackendDev',
|
|
134
|
+
collab.id,
|
|
135
|
+
'What is the API endpoint for adding items to cart?',
|
|
136
|
+
'request'
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
// Get messages for collaboration
|
|
140
|
+
const messages = service.getMessagesForCollaboration(collab.id)
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Code Review
|
|
144
|
+
|
|
145
|
+
```typescript
|
|
146
|
+
// Create a review
|
|
147
|
+
service.createReview(
|
|
148
|
+
task.id,
|
|
149
|
+
'SeniorDev',
|
|
150
|
+
'FrontendDev',
|
|
151
|
+
'Code looks good but needs error handling',
|
|
152
|
+
'changes_requested',
|
|
153
|
+
['Add try-catch block', 'Validate input parameters']
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
// Approve review
|
|
157
|
+
service.approveReview(review.id)
|
|
158
|
+
|
|
159
|
+
// Get reviews for task
|
|
160
|
+
const reviews = service.getReviewsForTask(task.id)
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Workflow Orchestration
|
|
164
|
+
|
|
165
|
+
```typescript
|
|
166
|
+
// Create a workflow
|
|
167
|
+
const workflow = service.createWorkflow(
|
|
168
|
+
'Feature Development',
|
|
169
|
+
'Complete feature development workflow',
|
|
170
|
+
'engineering'
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
// Add steps
|
|
174
|
+
const step1 = service.addWorkflowStep(
|
|
175
|
+
workflow.id,
|
|
176
|
+
'Design API',
|
|
177
|
+
'Design the API endpoints',
|
|
178
|
+
'BackendDev',
|
|
179
|
+
'Create OpenAPI spec',
|
|
180
|
+
[]
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
const step2 = service.addWorkflowStep(
|
|
184
|
+
workflow.id,
|
|
185
|
+
'Implement API',
|
|
186
|
+
'Build the backend API',
|
|
187
|
+
'BackendDev',
|
|
188
|
+
'Implement endpoints',
|
|
189
|
+
[step1.id]
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
// Execute workflow
|
|
193
|
+
await service.executeWorkflow(workflow.id)
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### System Prompt Generation
|
|
197
|
+
|
|
198
|
+
```typescript
|
|
199
|
+
// Generate system prompt for agent
|
|
200
|
+
const prompt = service.generateSystemPrompt('FrontendDev')
|
|
201
|
+
console.log(prompt)
|
|
202
|
+
// Output: "You are FrontendDev, a Frontend development specialist..."
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## Data Types
|
|
206
|
+
|
|
207
|
+
### AgencyAgent
|
|
208
|
+
|
|
209
|
+
```typescript
|
|
210
|
+
interface AgencyAgent {
|
|
211
|
+
name: string
|
|
212
|
+
description: string
|
|
213
|
+
color?: string
|
|
214
|
+
category: string
|
|
215
|
+
content: string
|
|
216
|
+
capabilities: string[]
|
|
217
|
+
tools?: string[]
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### AgentTask
|
|
222
|
+
|
|
223
|
+
```typescript
|
|
224
|
+
interface AgentTask {
|
|
225
|
+
id: string
|
|
226
|
+
agentName: string
|
|
227
|
+
task: string
|
|
228
|
+
context?: string
|
|
229
|
+
status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'reviewing'
|
|
230
|
+
output?: string
|
|
231
|
+
createdAt: Date
|
|
232
|
+
updatedAt: Date
|
|
233
|
+
parentTaskId?: string
|
|
234
|
+
subtasks?: string[]
|
|
235
|
+
dependencies?: string[]
|
|
236
|
+
}
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### AgentCollaboration
|
|
240
|
+
|
|
241
|
+
```typescript
|
|
242
|
+
interface AgentCollaboration {
|
|
243
|
+
id: string
|
|
244
|
+
name: string
|
|
245
|
+
description: string
|
|
246
|
+
leadAgent: string
|
|
247
|
+
participatingAgents: string[]
|
|
248
|
+
tasks: AgentTask[]
|
|
249
|
+
status: 'planning' | 'active' | 'completed' | 'paused'
|
|
250
|
+
createdAt: Date
|
|
251
|
+
updatedAt: Date
|
|
252
|
+
}
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
## Testing
|
|
256
|
+
|
|
257
|
+
```bash
|
|
258
|
+
# Run all tests
|
|
259
|
+
pnpm test
|
|
260
|
+
|
|
261
|
+
# Watch mode
|
|
262
|
+
pnpm test:watch
|
|
263
|
+
|
|
264
|
+
# Coverage
|
|
265
|
+
pnpm test:coverage
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
## API Reference
|
|
269
|
+
|
|
270
|
+
### AgencyAgentsService
|
|
271
|
+
|
|
272
|
+
| Method | Description |
|
|
273
|
+
|--------|-------------|
|
|
274
|
+
| `registerAgent(agent)` | Register a new agent |
|
|
275
|
+
| `unregisterAgent(name)` | Remove an agent |
|
|
276
|
+
| `getAgent(name)` | Get agent by name |
|
|
277
|
+
| `listAgents()` | List all registered agents |
|
|
278
|
+
| `findAgentsByCapability(cap)` | Find agents by capability |
|
|
279
|
+
| `matchAgentToTask(task)` | Find best agent for task |
|
|
280
|
+
| `createTask(agent, task, context, parentId)` | Create a task |
|
|
281
|
+
| `getTask(id)` | Get task by ID |
|
|
282
|
+
| `updateTaskStatus(id, status, output)` | Update task status |
|
|
283
|
+
| `listTasks(agent?, status?)` | List tasks with filters |
|
|
284
|
+
| `createCollaboration(name, desc, lead, participants)` | Create collaboration |
|
|
285
|
+
| `getCollaboration(id)` | Get collaboration by ID |
|
|
286
|
+
| `updateCollaborationStatus(id, status)` | Update collaboration status |
|
|
287
|
+
| `listCollaborations(status?)` | List collaborations |
|
|
288
|
+
| `sendMessage(from, to, collabId, content, type)` | Send agent message |
|
|
289
|
+
| `getMessagesForCollaboration(id)` | Get collaboration messages |
|
|
290
|
+
| `createReview(taskId, reviewer, reviewee, feedback, status, suggestions?)` | Create review |
|
|
291
|
+
| `approveReview(id)` | Approve a review |
|
|
292
|
+
| `getReviewsForTask(id)` | Get reviews for task |
|
|
293
|
+
| `createWorkflow(name, desc, category)` | Create workflow |
|
|
294
|
+
| `addWorkflowStep(flowId, name, desc, agent, task, deps)` | Add workflow step |
|
|
295
|
+
| `executeWorkflow(id)` | Execute workflow |
|
|
296
|
+
| `generateSystemPrompt(agentName)` | Generate system prompt |
|
|
297
|
+
| `getStatistics()` | Get service statistics |
|
|
298
|
+
|
|
299
|
+
## License
|
|
300
|
+
|
|
301
|
+
MIT
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
# 🤝 Contributing to The Agency
|
|
2
|
+
|
|
3
|
+
First off, thank you for considering contributing to The Agency! It's people like you who make this collection of AI agents better for everyone.
|
|
4
|
+
|
|
5
|
+
## 📋 Table of Contents
|
|
6
|
+
|
|
7
|
+
- [Code of Conduct](#code-of-conduct)
|
|
8
|
+
- [How Can I Contribute?](#how-can-i-contribute)
|
|
9
|
+
- [Agent Design Guidelines](#agent-design-guidelines)
|
|
10
|
+
- [Pull Request Process](#pull-request-process)
|
|
11
|
+
- [Style Guide](#style-guide)
|
|
12
|
+
- [Community](#community)
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 📜 Code of Conduct
|
|
17
|
+
|
|
18
|
+
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code:
|
|
19
|
+
|
|
20
|
+
- **Be Respectful**: Treat everyone with respect. Healthy debate is encouraged, but personal attacks are not tolerated.
|
|
21
|
+
- **Be Inclusive**: Welcome and support people of all backgrounds and identities.
|
|
22
|
+
- **Be Collaborative**: What we create together is better than what we create alone.
|
|
23
|
+
- **Be Professional**: Keep discussions focused on improving the agents and the community.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 🎯 How Can I Contribute?
|
|
28
|
+
|
|
29
|
+
### 1. Create a New Agent
|
|
30
|
+
|
|
31
|
+
Have an idea for a specialized agent? Great! Here's how to add one:
|
|
32
|
+
|
|
33
|
+
1. **Fork the repository**
|
|
34
|
+
2. **Choose the appropriate category** (or propose a new one):
|
|
35
|
+
- `engineering/` - Software development specialists
|
|
36
|
+
- `design/` - UX/UI and creative specialists
|
|
37
|
+
- `marketing/` - Growth and marketing specialists
|
|
38
|
+
- `product/` - Product management specialists
|
|
39
|
+
- `project-management/` - PM and coordination specialists
|
|
40
|
+
- `testing/` - QA and testing specialists
|
|
41
|
+
- `support/` - Operations and support specialists
|
|
42
|
+
- `spatial-computing/` - AR/VR/XR specialists
|
|
43
|
+
- `specialized/` - Unique specialists that don't fit elsewhere
|
|
44
|
+
|
|
45
|
+
3. **Create your agent file** following the template below
|
|
46
|
+
4. **Test your agent** in real scenarios
|
|
47
|
+
5. **Submit a Pull Request** with your agent
|
|
48
|
+
|
|
49
|
+
### 2. Improve Existing Agents
|
|
50
|
+
|
|
51
|
+
Found a way to make an agent better? Contributions welcome:
|
|
52
|
+
|
|
53
|
+
- Add real-world examples and use cases
|
|
54
|
+
- Enhance code samples with modern patterns
|
|
55
|
+
- Update workflows based on new best practices
|
|
56
|
+
- Add success metrics and benchmarks
|
|
57
|
+
- Fix typos, improve clarity, enhance documentation
|
|
58
|
+
|
|
59
|
+
### 3. Share Success Stories
|
|
60
|
+
|
|
61
|
+
Used these agents successfully? Share your story:
|
|
62
|
+
|
|
63
|
+
- Post in [GitHub Discussions](https://github.com/msitarzewski/agency-agents/discussions)
|
|
64
|
+
- Add a case study to the README
|
|
65
|
+
- Write a blog post and link it
|
|
66
|
+
- Create a video tutorial
|
|
67
|
+
|
|
68
|
+
### 4. Report Issues
|
|
69
|
+
|
|
70
|
+
Found a problem? Let us know:
|
|
71
|
+
|
|
72
|
+
- Check if the issue already exists
|
|
73
|
+
- Provide clear reproduction steps
|
|
74
|
+
- Include context about your use case
|
|
75
|
+
- Suggest potential solutions if you have ideas
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 🎨 Agent Design Guidelines
|
|
80
|
+
|
|
81
|
+
### Agent File Structure
|
|
82
|
+
|
|
83
|
+
Every agent should follow this structure:
|
|
84
|
+
|
|
85
|
+
```markdown
|
|
86
|
+
---
|
|
87
|
+
name: Agent Name
|
|
88
|
+
description: One-line description of the agent's specialty and focus
|
|
89
|
+
color: colorname or "#hexcode"
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
# Agent Name
|
|
93
|
+
|
|
94
|
+
## 🧠 Your Identity & Memory
|
|
95
|
+
- **Role**: Clear role description
|
|
96
|
+
- **Personality**: Personality traits and communication style
|
|
97
|
+
- **Memory**: What the agent remembers and learns
|
|
98
|
+
- **Experience**: Domain expertise and perspective
|
|
99
|
+
|
|
100
|
+
## 🎯 Your Core Mission
|
|
101
|
+
- Primary responsibility 1 with clear deliverables
|
|
102
|
+
- Primary responsibility 2 with clear deliverables
|
|
103
|
+
- Primary responsibility 3 with clear deliverables
|
|
104
|
+
- **Default requirement**: Always-on best practices
|
|
105
|
+
|
|
106
|
+
## 🚨 Critical Rules You Must Follow
|
|
107
|
+
Domain-specific rules and constraints that define the agent's approach
|
|
108
|
+
|
|
109
|
+
## 📋 Your Technical Deliverables
|
|
110
|
+
Concrete examples of what the agent produces:
|
|
111
|
+
- Code samples
|
|
112
|
+
- Templates
|
|
113
|
+
- Frameworks
|
|
114
|
+
- Documents
|
|
115
|
+
|
|
116
|
+
## 🔄 Your Workflow Process
|
|
117
|
+
Step-by-step process the agent follows:
|
|
118
|
+
1. Phase 1: Discovery and research
|
|
119
|
+
2. Phase 2: Planning and strategy
|
|
120
|
+
3. Phase 3: Execution and implementation
|
|
121
|
+
4. Phase 4: Review and optimization
|
|
122
|
+
|
|
123
|
+
## 💭 Your Communication Style
|
|
124
|
+
- How the agent communicates
|
|
125
|
+
- Example phrases and patterns
|
|
126
|
+
- Tone and approach
|
|
127
|
+
|
|
128
|
+
## 🔄 Learning & Memory
|
|
129
|
+
What the agent learns from:
|
|
130
|
+
- Successful patterns
|
|
131
|
+
- Failed approaches
|
|
132
|
+
- User feedback
|
|
133
|
+
- Domain evolution
|
|
134
|
+
|
|
135
|
+
## 🎯 Your Success Metrics
|
|
136
|
+
Measurable outcomes:
|
|
137
|
+
- Quantitative metrics (with numbers)
|
|
138
|
+
- Qualitative indicators
|
|
139
|
+
- Performance benchmarks
|
|
140
|
+
|
|
141
|
+
## 🚀 Advanced Capabilities
|
|
142
|
+
Advanced techniques and approaches the agent masters
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Agent Design Principles
|
|
146
|
+
|
|
147
|
+
1. **🎭 Strong Personality**
|
|
148
|
+
- Give the agent a distinct voice and character
|
|
149
|
+
- Not "I am a helpful assistant" - be specific and memorable
|
|
150
|
+
- Example: "I default to finding 3-5 issues and require visual proof" (Evidence Collector)
|
|
151
|
+
|
|
152
|
+
2. **📋 Clear Deliverables**
|
|
153
|
+
- Provide concrete code examples
|
|
154
|
+
- Include templates and frameworks
|
|
155
|
+
- Show real outputs, not vague descriptions
|
|
156
|
+
|
|
157
|
+
3. **✅ Success Metrics**
|
|
158
|
+
- Include specific, measurable metrics
|
|
159
|
+
- Example: "Page load times under 3 seconds on 3G"
|
|
160
|
+
- Example: "10,000+ combined karma across accounts"
|
|
161
|
+
|
|
162
|
+
4. **🔄 Proven Workflows**
|
|
163
|
+
- Step-by-step processes
|
|
164
|
+
- Real-world tested approaches
|
|
165
|
+
- Not theoretical - battle-tested
|
|
166
|
+
|
|
167
|
+
5. **💡 Learning Memory**
|
|
168
|
+
- What patterns the agent recognizes
|
|
169
|
+
- How it improves over time
|
|
170
|
+
- What it remembers between sessions
|
|
171
|
+
|
|
172
|
+
### What Makes a Great Agent?
|
|
173
|
+
|
|
174
|
+
**Great agents have**:
|
|
175
|
+
- ✅ Narrow, deep specialization
|
|
176
|
+
- ✅ Distinct personality and voice
|
|
177
|
+
- ✅ Concrete code/template examples
|
|
178
|
+
- ✅ Measurable success metrics
|
|
179
|
+
- ✅ Step-by-step workflows
|
|
180
|
+
- ✅ Real-world testing and iteration
|
|
181
|
+
|
|
182
|
+
**Avoid**:
|
|
183
|
+
- ❌ Generic "helpful assistant" personality
|
|
184
|
+
- ❌ Vague "I will help you with..." descriptions
|
|
185
|
+
- ❌ No code examples or deliverables
|
|
186
|
+
- ❌ Overly broad scope (jack of all trades)
|
|
187
|
+
- ❌ Untested theoretical approaches
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## 🔄 Pull Request Process
|
|
192
|
+
|
|
193
|
+
### Before Submitting
|
|
194
|
+
|
|
195
|
+
1. **Test Your Agent**: Use it in real scenarios, iterate on feedback
|
|
196
|
+
2. **Follow the Template**: Match the structure of existing agents
|
|
197
|
+
3. **Add Examples**: Include at least 2-3 code/template examples
|
|
198
|
+
4. **Define Metrics**: Include specific, measurable success criteria
|
|
199
|
+
5. **Proofread**: Check for typos, formatting issues, clarity
|
|
200
|
+
|
|
201
|
+
### Submitting Your PR
|
|
202
|
+
|
|
203
|
+
1. **Fork** the repository
|
|
204
|
+
2. **Create a branch**: `git checkout -b add-agent-name`
|
|
205
|
+
3. **Make your changes**: Add your agent file(s)
|
|
206
|
+
4. **Commit**: `git commit -m "Add [Agent Name] specialist"`
|
|
207
|
+
5. **Push**: `git push origin add-agent-name`
|
|
208
|
+
6. **Open a Pull Request** with:
|
|
209
|
+
- Clear title: "Add [Agent Name] - [Category]"
|
|
210
|
+
- Description of what the agent does
|
|
211
|
+
- Why this agent is needed (use case)
|
|
212
|
+
- Any testing you've done
|
|
213
|
+
|
|
214
|
+
### PR Review Process
|
|
215
|
+
|
|
216
|
+
1. **Community Review**: Other contributors may provide feedback
|
|
217
|
+
2. **Iteration**: Address feedback and make improvements
|
|
218
|
+
3. **Approval**: Maintainers will approve when ready
|
|
219
|
+
4. **Merge**: Your contribution becomes part of The Agency!
|
|
220
|
+
|
|
221
|
+
### PR Template
|
|
222
|
+
|
|
223
|
+
```markdown
|
|
224
|
+
## Agent Information
|
|
225
|
+
**Agent Name**: [Name]
|
|
226
|
+
**Category**: [engineering/design/marketing/etc.]
|
|
227
|
+
**Specialty**: [One-line description]
|
|
228
|
+
|
|
229
|
+
## Motivation
|
|
230
|
+
[Why is this agent needed? What gap does it fill?]
|
|
231
|
+
|
|
232
|
+
## Testing
|
|
233
|
+
[How have you tested this agent? Real-world use cases?]
|
|
234
|
+
|
|
235
|
+
## Checklist
|
|
236
|
+
- [ ] Follows agent template structure
|
|
237
|
+
- [ ] Includes personality and voice
|
|
238
|
+
- [ ] Has concrete code/template examples
|
|
239
|
+
- [ ] Defines success metrics
|
|
240
|
+
- [ ] Includes step-by-step workflow
|
|
241
|
+
- [ ] Proofread and formatted correctly
|
|
242
|
+
- [ ] Tested in real scenarios
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## 📐 Style Guide
|
|
248
|
+
|
|
249
|
+
### Writing Style
|
|
250
|
+
|
|
251
|
+
- **Be specific**: "Reduce page load by 60%" not "Make it faster"
|
|
252
|
+
- **Be concrete**: "Create React components with TypeScript" not "Build UIs"
|
|
253
|
+
- **Be memorable**: Give agents personality, not generic corporate speak
|
|
254
|
+
- **Be practical**: Include real code, not pseudo-code
|
|
255
|
+
|
|
256
|
+
### Formatting
|
|
257
|
+
|
|
258
|
+
- Use **Markdown formatting** consistently
|
|
259
|
+
- Include **emojis** for section headers (makes scanning easier)
|
|
260
|
+
- Use **code blocks** for all code examples with proper syntax highlighting
|
|
261
|
+
- Use **tables** for comparing options or showing metrics
|
|
262
|
+
- Use **bold** for emphasis, `code` for technical terms
|
|
263
|
+
|
|
264
|
+
### Code Examples
|
|
265
|
+
|
|
266
|
+
```markdown
|
|
267
|
+
## Example Code Block
|
|
268
|
+
|
|
269
|
+
\`\`\`typescript
|
|
270
|
+
// Always include:
|
|
271
|
+
// 1. Language specification for syntax highlighting
|
|
272
|
+
// 2. Comments explaining key concepts
|
|
273
|
+
// 3. Real, runnable code (not pseudo-code)
|
|
274
|
+
// 4. Modern best practices
|
|
275
|
+
|
|
276
|
+
interface AgentExample {
|
|
277
|
+
name: string;
|
|
278
|
+
specialty: string;
|
|
279
|
+
deliverables: string[];
|
|
280
|
+
}
|
|
281
|
+
\`\`\`
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### Tone
|
|
285
|
+
|
|
286
|
+
- **Professional but approachable**: Not overly formal or casual
|
|
287
|
+
- **Confident but not arrogant**: "Here's the best approach" not "Maybe you could try..."
|
|
288
|
+
- **Helpful but not hand-holding**: Assume competence, provide depth
|
|
289
|
+
- **Personality-driven**: Each agent should have a unique voice
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
## 🌟 Recognition
|
|
294
|
+
|
|
295
|
+
Contributors who make significant contributions will be:
|
|
296
|
+
|
|
297
|
+
- Listed in the README acknowledgments section
|
|
298
|
+
- Highlighted in release notes
|
|
299
|
+
- Featured in "Agent of the Week" showcases (if applicable)
|
|
300
|
+
- Given credit in the agent file itself
|
|
301
|
+
|
|
302
|
+
---
|
|
303
|
+
|
|
304
|
+
## 🤔 Questions?
|
|
305
|
+
|
|
306
|
+
- **General Questions**: [GitHub Discussions](https://github.com/msitarzewski/agency-agents/discussions)
|
|
307
|
+
- **Bug Reports**: [GitHub Issues](https://github.com/msitarzewski/agency-agents/issues)
|
|
308
|
+
- **Feature Requests**: [GitHub Issues](https://github.com/msitarzewski/agency-agents/issues)
|
|
309
|
+
- **Community Chat**: [Join our discussions](https://github.com/msitarzewski/agency-agents/discussions)
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
## 📚 Resources
|
|
314
|
+
|
|
315
|
+
### For New Contributors
|
|
316
|
+
|
|
317
|
+
- [README.md](README.md) - Overview and agent catalog
|
|
318
|
+
- [Example: Frontend Developer](engineering/engineering-frontend-developer.md) - Well-structured agent example
|
|
319
|
+
- [Example: Reddit Community Builder](marketing/marketing-reddit-community-builder.md) - Great personality example
|
|
320
|
+
- [Example: Whimsy Injector](design/design-whimsy-injector.md) - Creative specialist example
|
|
321
|
+
|
|
322
|
+
### For Agent Design
|
|
323
|
+
|
|
324
|
+
- Read existing agents for inspiration
|
|
325
|
+
- Study the patterns that work well
|
|
326
|
+
- Test your agents in real scenarios
|
|
327
|
+
- Iterate based on feedback
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
## 🎉 Thank You!
|
|
332
|
+
|
|
333
|
+
Your contributions make The Agency better for everyone. Whether you're:
|
|
334
|
+
|
|
335
|
+
- Adding a new agent
|
|
336
|
+
- Improving documentation
|
|
337
|
+
- Fixing bugs
|
|
338
|
+
- Sharing success stories
|
|
339
|
+
- Helping other contributors
|
|
340
|
+
|
|
341
|
+
**You're making a difference. Thank you!**
|
|
342
|
+
|
|
343
|
+
---
|
|
344
|
+
|
|
345
|
+
<div align="center">
|
|
346
|
+
|
|
347
|
+
**Questions? Ideas? Feedback?**
|
|
348
|
+
|
|
349
|
+
[Open an Issue](https://github.com/msitarzewski/agency-agents/issues) • [Start a Discussion](https://github.com/msitarzewski/agency-agents/discussions) • [Submit a PR](https://github.com/msitarzewski/agency-agents/pulls)
|
|
350
|
+
|
|
351
|
+
Made with ❤️ by the community
|
|
352
|
+
|
|
353
|
+
</div>
|