openwork 0.1.1-rc.3 → 0.1.1-rc.5
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 +22 -106
- package/out/main/index.js +372 -63
- package/out/preload/index.js +13 -9
- package/out/renderer/assets/{index-D2W2biEe.css → index-CK8V1Wgb.css} +86 -84
- package/out/renderer/assets/{index-Dvk2R-ko.js → index-D7l8y4Ya.js} +223 -218
- package/out/renderer/index.html +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
# openwork
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[![npm][npm-badge]][npm-url] [![License: MIT][license-badge]][license-url]
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[npm-badge]: https://img.shields.io/npm/v/openwork.svg
|
|
6
|
+
[npm-url]: https://www.npmjs.com/package/openwork
|
|
7
|
+
[license-badge]: https://img.shields.io/badge/License-MIT-yellow.svg
|
|
8
|
+
[license-url]: https://opensource.org/licenses/MIT
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+
A desktop interface for [deepagentsjs](https://github.com/langchain-ai/deepagentsjs) — an opinionated harness for building deep agents with filesystem capabilities planning, and subagent delegation.
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
- **TODO Tracking** - Visual task list showing agent's planning progress
|
|
11
|
-
- **Filesystem Browser** - See files the agent reads, writes, and edits
|
|
12
|
-
- **Subagent Monitoring** - Track spawned subagents and their status
|
|
13
|
-
- **Human-in-the-Loop** - Approve, edit, or reject sensitive tool calls
|
|
14
|
-
- **Multi-Model Support** - Use Claude, GPT-4, Gemini, or local models
|
|
15
|
-
- **Thread Persistence** - SQLite-backed conversation history
|
|
12
|
+

|
|
16
13
|
|
|
17
|
-
|
|
14
|
+
> [!CAUTION]
|
|
15
|
+
> openwork gives AI agents direct access to your filesystem and the ability to execute shell commands. Always review tool calls before approving them, and only run in workspaces you trust.
|
|
18
16
|
|
|
19
|
-
|
|
17
|
+
## Get Started
|
|
20
18
|
|
|
21
19
|
```bash
|
|
22
|
-
# Run directly
|
|
20
|
+
# Run directly with npx
|
|
23
21
|
npx openwork
|
|
24
22
|
|
|
25
23
|
# Or install globally
|
|
@@ -27,7 +25,7 @@ npm install -g openwork
|
|
|
27
25
|
openwork
|
|
28
26
|
```
|
|
29
27
|
|
|
30
|
-
Requires Node.js 18+.
|
|
28
|
+
Requires Node.js 18+.
|
|
31
29
|
|
|
32
30
|
### From Source
|
|
33
31
|
|
|
@@ -37,103 +35,21 @@ cd openwork
|
|
|
37
35
|
npm install
|
|
38
36
|
npm run dev
|
|
39
37
|
```
|
|
38
|
+
Or configure them in-app via the settings panel.
|
|
40
39
|
|
|
41
|
-
##
|
|
42
|
-
|
|
43
|
-
### API Keys
|
|
44
|
-
|
|
45
|
-
openwork supports multiple LLM providers. Set your API keys via:
|
|
46
|
-
|
|
47
|
-
1. **Environment Variables** (recommended)
|
|
48
|
-
```bash
|
|
49
|
-
export ANTHROPIC_API_KEY="sk-ant-..."
|
|
50
|
-
export OPENAI_API_KEY="sk-..."
|
|
51
|
-
export GOOGLE_API_KEY="..."
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
2. **In-App Settings** - Click the settings icon and enter your API keys securely.
|
|
55
|
-
|
|
56
|
-
### Supported Models
|
|
57
|
-
|
|
58
|
-
| Provider | Models |
|
|
59
|
-
|----------|--------|
|
|
60
|
-
| Anthropic | Claude Sonnet 4, Claude 3.5 Sonnet, Claude 3.5 Haiku |
|
|
61
|
-
| OpenAI | GPT-4o, GPT-4o Mini |
|
|
62
|
-
| Google | Gemini 2.0 Flash |
|
|
63
|
-
|
|
64
|
-
## Architecture
|
|
65
|
-
|
|
66
|
-
openwork is built with:
|
|
67
|
-
|
|
68
|
-
- **Electron** - Cross-platform desktop framework
|
|
69
|
-
- **React** - UI components with tactical/SCADA-inspired design
|
|
70
|
-
- **deepagentsjs** - Agent harness with planning, filesystem, and subagents
|
|
71
|
-
- **LangGraph** - State machine for agent orchestration
|
|
72
|
-
- **SQLite** - Local persistence for threads and checkpoints
|
|
73
|
-
|
|
74
|
-
```
|
|
75
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
76
|
-
│ Electron Main Process │
|
|
77
|
-
├─────────────────────────────────────────────────────────────┤
|
|
78
|
-
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │
|
|
79
|
-
│ │ IPC Handlers│ │ SQLite │ │ DeepAgentsJS │ │
|
|
80
|
-
│ │ - agent │ │ - threads │ │ - createAgent │ │
|
|
81
|
-
│ │ - threads │ │ - runs │ │ - checkpointer │ │
|
|
82
|
-
│ │ - models │ │ - assists │ │ - middleware │ │
|
|
83
|
-
│ └─────────────┘ └─────────────┘ └─────────────────────┘ │
|
|
84
|
-
└─────────────────────────────────────────────────────────────┘
|
|
85
|
-
│
|
|
86
|
-
IPC Bridge
|
|
87
|
-
│
|
|
88
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
89
|
-
│ Electron Renderer Process │
|
|
90
|
-
├─────────────────────────────────────────────────────────────┤
|
|
91
|
-
│ ┌──────────┐ ┌─────────────────────┐ ┌───────────────┐ │
|
|
92
|
-
│ │ Sidebar │ │ Chat Interface │ │ Right Panel │ │
|
|
93
|
-
│ │ - Threads│ │ - Messages │ │ - TODOs │ │
|
|
94
|
-
│ │ - Model │ │ - Tool Renderers │ │ - Files │ │
|
|
95
|
-
│ │ - Config │ │ - Streaming │ │ - Subagents │ │
|
|
96
|
-
│ └──────────┘ └─────────────────────┘ └───────────────┘ │
|
|
97
|
-
└─────────────────────────────────────────────────────────────┘
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
## Development
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
# Install dependencies
|
|
104
|
-
npm install
|
|
105
|
-
|
|
106
|
-
# Start development server
|
|
107
|
-
npm run dev
|
|
108
|
-
|
|
109
|
-
# Build for production
|
|
110
|
-
npm run build
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
## Releases
|
|
114
|
-
|
|
115
|
-
To publish a new release:
|
|
116
|
-
|
|
117
|
-
1. Create a git tag: `git tag v0.2.0`
|
|
118
|
-
2. Push the tag: `git push origin v0.2.0`
|
|
119
|
-
3. GitHub Actions will:
|
|
120
|
-
- Build the application
|
|
121
|
-
- Publish to npm
|
|
122
|
-
- Create a GitHub release
|
|
40
|
+
## Supported Models
|
|
123
41
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
- **Information density** - Dense layouts for monitoring agent activity
|
|
129
|
-
- **Status at a glance** - Color-coded status indicators (nominal, warning, critical)
|
|
130
|
-
- **Dark mode only** - Reduced eye strain for extended sessions
|
|
131
|
-
- **Monospace typography** - JetBrains Mono for data and code
|
|
42
|
+
| Provider | Models |
|
|
43
|
+
| --------- | ----------------------------------------------------------------- |
|
|
44
|
+
| Anthropic | Claude Opus 4.5, Claude Sonnet 4.5, Claude Haiku 4.5, Claude Opus 4.1, Claude Sonnet 4 |
|
|
45
|
+
| OpenAI | GPT-5.2, GPT-5.1, o3, o3 Mini, o4 Mini, o1, GPT-4.1, GPT-4o |
|
|
132
46
|
|
|
133
47
|
## Contributing
|
|
134
48
|
|
|
135
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for
|
|
49
|
+
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
50
|
+
|
|
51
|
+
Report bugs via [GitHub Issues](https://github.com/langchain-ai/openwork/issues).
|
|
136
52
|
|
|
137
53
|
## License
|
|
138
54
|
|
|
139
|
-
MIT
|
|
55
|
+
MIT — see [LICENSE](LICENSE) for details.
|