crewx 0.4.0-dev.5 β 0.4.0-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +300 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
# SowonAI CrewX
|
|
2
|
+
|
|
3
|
+
> Bring Your Own AI(BYOA) team in Slack/IDE(MCP) with your existing subscriptions
|
|
4
|
+
|
|
5
|
+
Transform Claude, Gemini, Codex and Copilot into a collaborative development team. No extra costsβjust your existing AI subscriptions working together.
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
## Why CrewX?
|
|
10
|
+
|
|
11
|
+
### **Slack Team Collaboration** - Your AI Team in Slack
|
|
12
|
+
Bring AI agents directly into your team's workspace:
|
|
13
|
+
- **Team-wide AI access** - Everyone benefits from AI expertise in Slack channels
|
|
14
|
+
- **Thread-based context** - Maintains conversation history automatically
|
|
15
|
+
- **Multi-agent collaboration** - `@claude`, `@gemini`, `@copilot` work together in real-time
|
|
16
|
+
- **Natural integration** - Works like chatting with team members
|
|
17
|
+
- **Shared knowledge** - Team learns from AI interactions, not isolated sessions
|
|
18
|
+
|
|
19
|
+
### **Remote Agents** - Distributed AI Teams
|
|
20
|
+
Connect and orchestrate CrewX instances across projects and servers:
|
|
21
|
+
- **Cross-project experts** - Frontend dev asks backend team's API specialist agent
|
|
22
|
+
- **Team collaboration** - Each team builds their own agents, entire org can use them
|
|
23
|
+
- **Expert knowledge sharing** - Ask senior's code review agent, security team's audit agent anytime
|
|
24
|
+
- **Separate but connected** - Each project keeps its own context, collaborate when needed
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
# Access another project's specialized agents
|
|
28
|
+
providers:
|
|
29
|
+
- id: backend_project
|
|
30
|
+
type: remote
|
|
31
|
+
location: "file:///workspace/backend-api/crewx.yaml"
|
|
32
|
+
external_agent_id: "api_expert"
|
|
33
|
+
|
|
34
|
+
# Use their expertise in your project
|
|
35
|
+
crewx query "@api_expert design user authentication API"
|
|
36
|
+
crewx execute "@api_expert implement OAuth flow"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### **Plugin Provider System** - Universal AI Integration
|
|
40
|
+
Transform any CLI tool or AI service into an agent:
|
|
41
|
+
- **Bring Your Own AI** - OpenAI, Anthropic, Ollama, LiteLLM, or any AI service
|
|
42
|
+
- **Bring Your Own Tools** - jq, curl, ffmpeg, or any CLI tool becomes an agent
|
|
43
|
+
- **Bring Your Own Framework** - Integrate LangChain, CrewAI, AutoGPT seamlessly
|
|
44
|
+
- **No coding required** - Simple YAML configuration
|
|
45
|
+
- **Mix and match** - Combine different AI services in one workflow
|
|
46
|
+
|
|
47
|
+
```yaml
|
|
48
|
+
# Example: Add any AI service as a plugin
|
|
49
|
+
providers:
|
|
50
|
+
- id: ollama
|
|
51
|
+
type: plugin
|
|
52
|
+
cli_command: ollama
|
|
53
|
+
default_model: "llama3"
|
|
54
|
+
query_args: ["run", "{model}"]
|
|
55
|
+
prompt_in_args: false
|
|
56
|
+
|
|
57
|
+
agents:
|
|
58
|
+
- id: "local_llama"
|
|
59
|
+
provider: "plugin/ollama"
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Other Benefits
|
|
63
|
+
- **No additional costs** - Use existing Claude Pro, Gemini, Codex or GitHub Copilot subscriptions
|
|
64
|
+
- **Multi-agent collaboration** - Different AI models working on specialized tasks
|
|
65
|
+
- **Parallel execution** - Multiple agents working simultaneously
|
|
66
|
+
- **Flexible integration** - CLI, MCP server, or Slack bot
|
|
67
|
+
|
|
68
|
+
## Quick Start
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Install
|
|
72
|
+
npm install -g crewx
|
|
73
|
+
|
|
74
|
+
# Initialize
|
|
75
|
+
crewx init
|
|
76
|
+
|
|
77
|
+
# Check system
|
|
78
|
+
crewx doctor
|
|
79
|
+
|
|
80
|
+
# Try it out
|
|
81
|
+
crewx query "@claude analyze my code"
|
|
82
|
+
crewx execute "@claude create a login component"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Three Ways to Use
|
|
86
|
+
|
|
87
|
+
### Slack Mode - Team Collaboration (Recommended)
|
|
88
|
+
```bash
|
|
89
|
+
# Start CrewX in your Slack workspace (read-only query mode)
|
|
90
|
+
crewx slack
|
|
91
|
+
|
|
92
|
+
# Allow agents to run execute tasks (file changes, migrations, etc.)
|
|
93
|
+
crewx slack --mode execute
|
|
94
|
+
|
|
95
|
+
# Your team can now:
|
|
96
|
+
# - @mention AI agents in channels
|
|
97
|
+
# - Maintain context in threads
|
|
98
|
+
# - Share AI insights with the whole team
|
|
99
|
+
```
|
|
100
|
+
π **[Complete Slack Setup Guide β](./SLACK_INSTALL.md)**
|
|
101
|
+
|
|
102
|
+
### CLI Mode - Direct terminal usage
|
|
103
|
+
```bash
|
|
104
|
+
crewx query "@claude review this code"
|
|
105
|
+
crewx execute "@gemini optimize performance"
|
|
106
|
+
crewx query "@claude @gemini @copilot compare approaches"
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### MCP Server Mode - IDE integration
|
|
110
|
+
```bash
|
|
111
|
+
crewx mcp # VS Code, Claude Desktop, Cursor
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Supported AI Tools
|
|
115
|
+
|
|
116
|
+
- **Claude Code** - Advanced reasoning and analysis
|
|
117
|
+
- **Gemini CLI** - Real-time web access
|
|
118
|
+
- **GitHub Copilot CLI** - Specialized coding assistant
|
|
119
|
+
- **Codex CLI** - Open inference with workspace-aware execution
|
|
120
|
+
|
|
121
|
+
## Basic Usage
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
# Read-only analysis
|
|
125
|
+
crewx query "@claude explain this function"
|
|
126
|
+
|
|
127
|
+
# File creation/modification
|
|
128
|
+
crewx execute "@claude implement user authentication"
|
|
129
|
+
|
|
130
|
+
# Parallel tasks
|
|
131
|
+
crewx execute "@claude create tests" "@gemini write docs"
|
|
132
|
+
|
|
133
|
+
# Pipeline workflows
|
|
134
|
+
crewx query "@architect design API" | \
|
|
135
|
+
crewx execute "@backend implement it"
|
|
136
|
+
|
|
137
|
+
# Thread-based conversations
|
|
138
|
+
crewx query "@claude design login" --thread "auth-feature"
|
|
139
|
+
crewx execute "@gemini implement it" --thread "auth-feature"
|
|
140
|
+
|
|
141
|
+
# Codex CLI agent
|
|
142
|
+
crewx query "@codex draft a release checklist"
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
Built-in CLI providers:
|
|
146
|
+
|
|
147
|
+
- `cli/claude`
|
|
148
|
+
- `cli/gemini`
|
|
149
|
+
- `cli/copilot`
|
|
150
|
+
- `cli/codex`
|
|
151
|
+
|
|
152
|
+
## Create Custom Agents
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
# Let SowonAI CrewX create agents for you
|
|
156
|
+
crewx execute "@crewx Create a Python expert agent"
|
|
157
|
+
crewx execute "@crewx Create a React specialist with TypeScript"
|
|
158
|
+
crewx execute "@crewx Create a DevOps agent for Docker"
|
|
159
|
+
|
|
160
|
+
# Test your new agent
|
|
161
|
+
crewx query "@python_expert Review my code"
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
## Agent Configuration
|
|
165
|
+
|
|
166
|
+
Create `crewx.yaml` (or `agents.yaml` for backward compatibility):
|
|
167
|
+
|
|
168
|
+
```yaml
|
|
169
|
+
agents:
|
|
170
|
+
- id: "frontend_dev"
|
|
171
|
+
name: "React Expert"
|
|
172
|
+
provider: "cli/claude" # Built-in CLI provider
|
|
173
|
+
working_directory: "./src"
|
|
174
|
+
inline:
|
|
175
|
+
type: "agent"
|
|
176
|
+
system_prompt: |
|
|
177
|
+
You are a senior React developer.
|
|
178
|
+
Provide detailed examples and best practices.
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
> **Note:** `crewx.yaml` is the preferred configuration file name. The legacy `agents.yaml` is still supported for backward compatibility. If both files exist, `crewx.yaml` takes priority.
|
|
182
|
+
|
|
183
|
+
## Remote Agents
|
|
184
|
+
|
|
185
|
+
Connect to other CrewX instances and delegate tasks across projects or servers.
|
|
186
|
+
|
|
187
|
+
**Quick Example:**
|
|
188
|
+
```bash
|
|
189
|
+
# Add a remote CrewX instance
|
|
190
|
+
providers:
|
|
191
|
+
- id: backend_server
|
|
192
|
+
type: remote
|
|
193
|
+
location: "http://api.example.com:3000"
|
|
194
|
+
external_agent_id: "backend_team"
|
|
195
|
+
|
|
196
|
+
agents:
|
|
197
|
+
- id: "remote_backend"
|
|
198
|
+
provider: "remote/backend_server"
|
|
199
|
+
|
|
200
|
+
# Use it like any other agent
|
|
201
|
+
crewx query "@remote_backend check API status"
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
**Use Cases:**
|
|
205
|
+
- **Project isolation** - Separate configurations for different codebases
|
|
206
|
+
- **Distributed teams** - Each team runs their own CrewX with specialized agents
|
|
207
|
+
- **Resource sharing** - Access powerful compute resources remotely
|
|
208
|
+
- **Multi-project coordination** - Orchestrate work across multiple projects
|
|
209
|
+
|
|
210
|
+
π **[Remote Agents Guide β](./docs/remote-agents.md)** for detailed setup and configuration
|
|
211
|
+
|
|
212
|
+
## Monorepo Architecture
|
|
213
|
+
|
|
214
|
+
SowonAI CrewX is structured as a monorepo with separate packages for maximum flexibility:
|
|
215
|
+
|
|
216
|
+
```
|
|
217
|
+
crewx/
|
|
218
|
+
βββ packages/
|
|
219
|
+
β βββ sdk/ # @sowonai/crewx-sdk (Apache-2.0)
|
|
220
|
+
β β βββ Core AI provider interfaces
|
|
221
|
+
β β βββ Conversation management
|
|
222
|
+
β β βββ Knowledge utilities
|
|
223
|
+
β β βββ Agent domain types
|
|
224
|
+
β βββ cli/ # crewx (MIT)
|
|
225
|
+
β βββ CLI implementation
|
|
226
|
+
β βββ Slack integration
|
|
227
|
+
β βββ MCP server
|
|
228
|
+
β βββ Provider implementations
|
|
229
|
+
βββ docs/ # Comprehensive documentation
|
|
230
|
+
βββ README.md # This file
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### Package Overview
|
|
234
|
+
|
|
235
|
+
| Package | License | Description | Install |
|
|
236
|
+
|---------|---------|-------------|---------|
|
|
237
|
+
| `@sowonai/crewx-sdk` | Apache-2.0 | Core SDK for building custom AI integrations | `npm install @sowonai/crewx-sdk` |
|
|
238
|
+
| `crewx` | MIT | Full-featured CLI tool for immediate use | `npm install -g crewx` |
|
|
239
|
+
|
|
240
|
+
**When to use what:**
|
|
241
|
+
- **Use `crewx` CLI** if you want to use AI agents immediately in your terminal, Slack, or IDE
|
|
242
|
+
- **Use `@sowonai/crewx-sdk`** if you're building custom AI tools or integrating SowonAI CrewX into your application
|
|
243
|
+
|
|
244
|
+
### Development
|
|
245
|
+
|
|
246
|
+
```bash
|
|
247
|
+
# Install dependencies
|
|
248
|
+
npm install
|
|
249
|
+
|
|
250
|
+
# Build all packages
|
|
251
|
+
npm run build
|
|
252
|
+
|
|
253
|
+
# Run tests
|
|
254
|
+
npm test
|
|
255
|
+
|
|
256
|
+
# Build specific package
|
|
257
|
+
npm run build --workspace @sowonai/crewx-sdk
|
|
258
|
+
npm run build --workspace crewx
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
For more information, see:
|
|
262
|
+
- [SDK Development Guide](packages/sdk/README.md)
|
|
263
|
+
- [CLI Development Guide](packages/cli/README.md)
|
|
264
|
+
- [Build & Release Guide](BUILD.md)
|
|
265
|
+
|
|
266
|
+
## Documentation
|
|
267
|
+
|
|
268
|
+
### User Guides
|
|
269
|
+
- [π CLI Guide](docs/cli-guide.md) - Complete CLI reference
|
|
270
|
+
- [π MCP Integration](docs/mcp-integration.md) - IDE setup and MCP servers
|
|
271
|
+
- [βοΈ Agent Configuration](docs/agent-configuration.md) - Custom agents and advanced config
|
|
272
|
+
- [π Remote Agents](docs/remote-agents.md) - Connect to remote CrewX instances
|
|
273
|
+
- [π Template System](docs/templates.md) - Knowledge management and dynamic prompts for agents
|
|
274
|
+
- [π Template Variables](docs/template-variables.md) - Dynamic variables in agent configurations
|
|
275
|
+
- [π§ Tool System](docs/tools.md) - Tool integration and creation guide
|
|
276
|
+
- [π§ Troubleshooting](docs/troubleshooting.md) - Common issues and solutions
|
|
277
|
+
- [π¬ Slack Integration](SLACK_INSTALL.md) - Slack bot setup
|
|
278
|
+
|
|
279
|
+
### Developer Guides
|
|
280
|
+
- [ποΈ SDK API Reference](packages/sdk/README.md) - Build custom integrations
|
|
281
|
+
- [βοΈ CLI Development](packages/cli/README.md) - CLI architecture and development
|
|
282
|
+
- [π¦ Build & Release](BUILD.md) - Building and releasing packages
|
|
283
|
+
- [π§ Development Workflow](docs/development.md) - Contributing guidelines
|
|
284
|
+
|
|
285
|
+
## License
|
|
286
|
+
|
|
287
|
+
- **SDK** (`@sowonai/crewx-sdk`): Apache-2.0 License
|
|
288
|
+
- **CLI** (`crewx`): MIT License
|
|
289
|
+
|
|
290
|
+
Copyright (c) 2025 SowonLabs
|
|
291
|
+
|
|
292
|
+
## Contributing
|
|
293
|
+
|
|
294
|
+
We welcome contributions! Please read our [Contributing Guide](CONTRIBUTING.md) before submitting pull requests.
|
|
295
|
+
|
|
296
|
+
For SDK contributions, please sign our [Contributor License Agreement (CLA)](docs/CLA.md).
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
Built by [SowonLabs](https://github.com/sowonlabs)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "crewx",
|
|
3
|
-
"version": "0.4.0-dev.
|
|
3
|
+
"version": "0.4.0-dev.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "SowonAI CrewX CLI - Bring Your Own AI(BYOA) team in Slack/IDE(MCP) with your existing subscriptions",
|
|
6
6
|
"private": false,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"test:unit": "npm run test"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@sowonai/crewx-cli": "^0.4.0-dev.
|
|
18
|
+
"@sowonai/crewx-cli": "^0.4.0-dev.6"
|
|
19
19
|
},
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|