mxclip 1.0.2

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 ADDED
@@ -0,0 +1,445 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/mxllms/mxclip/master/doc/assets/banner.jpg" alt="MXCLIP is the app people use to manage AI agents for work." width="720" />
3
+ </p>
4
+
5
+ <p align="center">
6
+ <a href="#quickstart"><strong>Quickstart</strong></a> &middot;
7
+ <a href="https://mxclip.ing/docs"><strong>Docs</strong></a> &middot;
8
+ <a href="https://github.com/mxllms/mxclip"><strong>GitHub</strong></a> &middot;
9
+ <a href="https://discord.gg/m4HZY7xNG3"><strong>Discord</strong></a> &middot;
10
+ <a href="https://x.com/mxcliping"><strong>Twitter</strong></a> &middot;
11
+ <a href="https://mxclip.ing"><strong>Website</strong></a>
12
+ </p>
13
+
14
+ <p align="center">
15
+ <a href="https://github.com/mxllms/mxclip/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License" /></a>
16
+ <a href="https://github.com/mxllms/mxclip/stargazers"><img src="https://img.shields.io/github/stars/mxllms/mxclip?style=flat" alt="Stars" /></a>
17
+ <a href="https://discord.gg/m4HZY7xNG3"><img src="https://img.shields.io/discord/000000000?label=discord" alt="Discord" /></a>
18
+ </p>
19
+
20
+ <br/>
21
+
22
+ <div align="center">
23
+ <video src="https://github.com/user-attachments/assets/773bdfb2-6d1e-4e30-8c5f-3487d5b70c8f" width="600" controls></video>
24
+ </div>
25
+
26
+ <br/>
27
+
28
+ # MXCLIP is the app people use to manage AI agents for work.
29
+
30
+ Open-source orchestration for teams of AI agents.
31
+
32
+ **If OpenClaw is an _employee_, MXCLIP is the _company_.**
33
+
34
+ MXCLIP is a Node.js server and React UI that orchestrates a team of AI agents to run a business. Bring your own agents, assign goals, and track work and costs from one dashboard.
35
+
36
+ It looks like a task manager. Under the hood: org charts, budgets, governance, goal alignment, and agent coordination.
37
+
38
+ **Manage business goals, not pull requests.**
39
+
40
+ | | Step | Example |
41
+ | ------ | --------------- | ------------------------------------------------------------------ |
42
+ | **01** | Define the goal | _"Build the #1 AI note-taking app to $1M MRR."_ |
43
+ | **02** | Hire the team | CEO, CTO, engineers, designers, marketers — any bot, any provider. |
44
+ | **03** | Approve and run | Review strategy. Set budgets. Hit go. Monitor from the dashboard. |
45
+
46
+ <br/>
47
+
48
+ <div align="center">
49
+ <table>
50
+ <tr>
51
+ <td align="center"><strong>Works<br/>with</strong></td>
52
+ <td align="center"><img src="https://raw.githubusercontent.com/mxllms/mxclip/master/doc/assets/logos/openclaw.svg" width="32" alt="OpenClaw" /><br/><sub>OpenClaw</sub></td>
53
+ <td align="center"><img src="https://raw.githubusercontent.com/mxllms/mxclip/master/doc/assets/logos/claude.svg" width="32" alt="Claude" /><br/><sub>Claude Code</sub></td>
54
+ <td align="center"><img src="https://raw.githubusercontent.com/mxllms/mxclip/master/doc/assets/logos/codex.svg" width="32" alt="Codex" /><br/><sub>Codex</sub></td>
55
+ <td align="center"><img src="https://raw.githubusercontent.com/mxllms/mxclip/master/doc/assets/logos/cursor.svg" width="32" alt="Cursor" /><br/><sub>Cursor</sub></td>
56
+ <td align="center"><img src="https://raw.githubusercontent.com/mxllms/mxclip/master/doc/assets/logos/bash.svg" width="32" alt="Bash" /><br/><sub>Bash</sub></td>
57
+ <td align="center"><img src="https://raw.githubusercontent.com/mxllms/mxclip/master/doc/assets/logos/http.svg" width="32" alt="HTTP" /><br/><sub>HTTP</sub></td>
58
+ </tr>
59
+ </table>
60
+
61
+ <em>If it can receive a heartbeat, it's hired.</em>
62
+
63
+ </div>
64
+
65
+ <br/>
66
+
67
+ ## MXCLIP is right for you if
68
+
69
+ - ✅ You want to build **autonomous AI companies**
70
+ - ✅ You **coordinate many different agents** (OpenClaw, Codex, Claude, Cursor) toward a common goal
71
+ - ✅ You have **20 simultaneous Claude Code terminals** open and lose track of what everyone is doing
72
+ - ✅ You want agents running **autonomously 24/7**, but still want to audit work and chime in when needed
73
+ - ✅ You want to **monitor costs** and enforce budgets
74
+ - ✅ You want a process for managing agents that **feels like using a task manager**
75
+ - ✅ You want to manage your autonomous businesses **from your phone**
76
+
77
+ <br/>
78
+
79
+ ## Features
80
+
81
+ <table>
82
+ <tr>
83
+ <td align="center" width="33%">
84
+ <h3>🔌 Bring Your Own Agent</h3>
85
+ Any agent, any runtime, one org chart. If it can receive a heartbeat, it's hired.
86
+ </td>
87
+ <td align="center" width="33%">
88
+ <h3>🎯 Goal Alignment</h3>
89
+ Every task traces back to the company mission. Agents know <em>what</em> to do and <em>why</em>.
90
+ </td>
91
+ <td align="center" width="33%">
92
+ <h3>💓 Heartbeats</h3>
93
+ Agents wake on a schedule, check work, and act. Delegation flows up and down the org chart.
94
+ </td>
95
+ </tr>
96
+ <tr>
97
+ <td align="center">
98
+ <h3>💰 Cost Control</h3>
99
+ Monthly budgets per agent. When they hit the limit, they stop. No runaway costs.
100
+ </td>
101
+ <td align="center">
102
+ <h3>🏢 Multi-Company</h3>
103
+ One deployment, many companies. Complete data isolation. One control plane for your portfolio.
104
+ </td>
105
+ <td align="center">
106
+ <h3>🎫 Ticket System</h3>
107
+ Every conversation traced. Every decision explained. Full tool-call tracing and immutable audit log.
108
+ </td>
109
+ </tr>
110
+ <tr>
111
+ <td align="center">
112
+ <h3>🛡️ Governance</h3>
113
+ Approve hires, override strategy, pause or terminate any agent — at any time.
114
+ </td>
115
+ <td align="center">
116
+ <h3>📊 Org Chart</h3>
117
+ Hierarchies, roles, reporting lines. Your agents have a boss, a title, and a job description.
118
+ </td>
119
+ <td align="center">
120
+ <h3>📱 Mobile Ready</h3>
121
+ Monitor and manage your autonomous businesses from anywhere.
122
+ </td>
123
+ </tr>
124
+ </table>
125
+
126
+ <br/>
127
+
128
+ ## Problems MXCLIP solves
129
+
130
+ | Without MXCLIP | With MXCLIP |
131
+ | ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
132
+ | ❌ You have 20 Claude Code tabs open and can't track which one does what. On reboot you lose everything. | ✅ Tasks are ticket-based, conversations are threaded, sessions persist across reboots. |
133
+ | ❌ You manually gather context from several places to remind your bot what you're actually doing. | ✅ Context flows from the task up through the project and company goals — your agent always knows what to do and why. |
134
+ | ❌ Folders of agent configs are disorganized and you're re-inventing task management, communication, and coordination between agents. | ✅ MXCLIP gives you org charts, ticketing, delegation, and governance out of the box — so you run a company, not a pile of scripts. |
135
+ | ❌ Runaway loops waste hundreds of dollars of tokens and max your quota before you even know what happened. | ✅ Cost tracking surfaces token budgets and throttles agents when they're out. Management prioritizes with budgets. |
136
+ | ❌ You have recurring jobs (customer support, social, reports) and have to remember to manually kick them off. | ✅ Heartbeats handle regular work on a schedule. Management supervises. |
137
+ | ❌ You have an idea, you have to find your repo, fire up Claude Code, keep a tab open, and babysit it. | ✅ Add a task in MXCLIP. Your coding agent works on it until it's done. Management reviews their work. |
138
+
139
+ <br/>
140
+
141
+ ## Why MXCLIP is special
142
+
143
+ MXCLIP handles the hard orchestration details correctly.
144
+
145
+ | | |
146
+ | --------------------------------- | ------------------------------------------------------------------------------------------------------------- |
147
+ | **Atomic execution.** | Task checkout and budget enforcement are atomic, so no double-work and no runaway spend. |
148
+ | **Persistent agent state.** | Agents resume the same task context across heartbeats instead of restarting from scratch. |
149
+ | **Runtime skill injection.** | Agents can learn MXCLIP workflows and project context at runtime, without retraining. |
150
+ | **Governance with rollback.** | Approval gates are enforced, config changes are revisioned, and bad changes can be rolled back safely. |
151
+ | **Goal-aware execution.** | Tasks carry full goal ancestry so agents consistently see the "why," not just a title. |
152
+ | **Portable company templates.** | Export/import orgs, agents, and skills with secret scrubbing and collision handling. |
153
+ | **True multi-company isolation.** | Every entity is company-scoped, so one deployment can run many companies with separate data and audit trails. |
154
+
155
+ <br/>
156
+
157
+ ## What's Under the Hood
158
+
159
+ MXCLIP is a full control plane, not a wrapper. Before you build any of this yourself, know that it already exists:
160
+
161
+ ```
162
+ ┌──────────────────────────────────────────────────────────────┐
163
+ │ MXCLIP SERVER │
164
+ │ │
165
+ │ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
166
+ │ │Identity & │ │ Work & │ │ Heartbeat │ │Governance │ │
167
+ │ │ Access │ │ Tasks │ │ Execution │ │& Approvals│ │
168
+ │ └───────────┘ └───────────┘ └───────────┘ └───────────┘ │
169
+ │ │
170
+ │ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
171
+ │ │ Org Chart │ │Workspaces │ │ Plugins │ │ Budget │ │
172
+ │ │ & Agents │ │ & Runtime │ │ │ │ & Costs │ │
173
+ │ └───────────┘ └───────────┘ └───────────┘ └───────────┘ │
174
+ │ │
175
+ │ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
176
+ │ │ Routines │ │ Secrets & │ │ Activity │ │ Company │ │
177
+ │ │& Schedules│ │ Storage │ │ & Events │ │Portability│ │
178
+ │ └───────────┘ └───────────┘ └───────────┘ └───────────┘ │
179
+ └──────────────────────────────────────────────────────────────┘
180
+ ▲ ▲ ▲ ▲
181
+ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐
182
+ │ Claude │ │ Codex │ │ CLI │ │ HTTP/web │
183
+ │ Code │ │ │ │ agents │ │ bots │
184
+ └───────────┘ └───────────┘ └───────────┘ └───────────┘
185
+ ```
186
+
187
+ ### The Systems
188
+
189
+ <table>
190
+ <tr>
191
+ <td width="50%">
192
+
193
+ **Identity & Access** — Two deployment modes (trusted local or authenticated), board users, agent API keys, short-lived run JWTs, company memberships, invite flows, and OpenClaw onboarding. Every mutating request is traced to an actor.
194
+
195
+ </td>
196
+ <td width="50%">
197
+
198
+ **Org Chart & Agents** — Agents have roles, titles, reporting lines, permissions, and budgets. Adapter examples match the diagram: Claude Code, Codex, CLI agents such as Cursor/Gemini/bash, HTTP/webhook bots such as OpenClaw, and external adapter plugins. If it can receive a heartbeat, it's hired.
199
+
200
+ </td>
201
+ </tr>
202
+ <tr>
203
+ <td>
204
+
205
+ **Work & Task System** — Issues carry company/project/goal/parent links, atomic checkout with execution locks, first-class blocker dependencies, comments, documents, attachments, work products, labels, and inbox state. No double-work, no lost context.
206
+
207
+ </td>
208
+ <td>
209
+
210
+ **Heartbeat Execution** — DB-backed wakeup queue with coalescing, budget checks, workspace resolution, secret injection, skill loading, and adapter invocation. Runs produce structured logs, cost events, session state, and audit trails. Recovery handles orphaned runs automatically.
211
+
212
+ </td>
213
+ </tr>
214
+ <tr>
215
+ <td>
216
+
217
+ **Workspaces & Runtime** — Project workspaces, isolated execution workspaces (git worktrees, operator branches), and runtime services (dev servers, preview URLs). Agents work in the right directory with the right context every time.
218
+
219
+ </td>
220
+ <td>
221
+
222
+ **Governance & Approvals** — Board approval workflows, execution policies with review/approval stages, decision tracking, budget hard-stops, agent pause/resume/terminate, and full audit logging. Nothing ships without your sign-off.
223
+
224
+ </td>
225
+ </tr>
226
+ <tr>
227
+ <td>
228
+
229
+ **Budget & Cost Control** — Token and cost tracking by company, agent, project, goal, issue, provider, and model. Scoped budget policies with warning thresholds and hard stops. Overspend pauses agents and cancels queued work automatically.
230
+
231
+ </td>
232
+ <td>
233
+
234
+ **Routines & Schedules** — Recurring tasks with cron, webhook, and API triggers. Concurrency and catch-up policies. Each routine execution creates a tracked issue and wakes the assigned agent — no manual kick-offs needed.
235
+
236
+ </td>
237
+ </tr>
238
+ <tr>
239
+ <td>
240
+
241
+ **Plugins** — Instance-wide plugin system with out-of-process workers, capability-gated host services, job scheduling, tool exposure, and UI contributions. Extend MXCLIP without forking it.
242
+
243
+ </td>
244
+ <td>
245
+
246
+ **Secrets & Storage** — Instance and company secrets, encrypted local storage, provider-backed object storage, attachments, and work products. Sensitive values stay out of prompts unless a scoped run explicitly needs them.
247
+
248
+ </td>
249
+ </tr>
250
+ <tr>
251
+ <td>
252
+
253
+ **Activity & Events** — Mutating actions, heartbeat state changes, cost events, approvals, comments, and work products are recorded as durable activity so operators can audit what happened and why.
254
+
255
+ </td>
256
+ <td>
257
+
258
+ **Company Portability** — Export and import entire organizations — agents, skills, projects, routines, and issues — with secret scrubbing and collision handling. One deployment, many companies, complete data isolation.
259
+
260
+ </td>
261
+ </tr>
262
+ </table>
263
+
264
+ <br/>
265
+
266
+ ## What MXCLIP is not
267
+
268
+ | | |
269
+ | ---------------------------- | -------------------------------------------------------------------------------------------------------------------- |
270
+ | **Not a chatbot.** | Agents have jobs, not chat windows. |
271
+ | **Not an agent framework.** | We don't tell you how to build agents. We tell you how to run a company made of them. |
272
+ | **Not a workflow builder.** | No drag-and-drop pipelines. MXCLIP models companies — with org charts, goals, budgets, and governance. |
273
+ | **Not a prompt manager.** | Agents bring their own prompts, models, and runtimes. MXCLIP manages the organization they work in. |
274
+ | **Not a single-agent tool.** | This is for teams. If you have one agent, you probably don't need MXCLIP. If you have twenty — you definitely do. |
275
+ | **Not a code review tool.** | MXCLIP orchestrates work, not pull requests. Bring your own review process. |
276
+
277
+ <br/>
278
+
279
+ ## Quickstart
280
+
281
+ Open source. Self-hosted. No MXCLIP account required.
282
+
283
+ ```bash
284
+ npx mxllms onboard --yes
285
+ ```
286
+
287
+ That quickstart path now defaults to trusted local loopback mode for the fastest first run. To start in authenticated/private mode instead, choose a bind preset explicitly:
288
+
289
+ ```bash
290
+ npx mxllms onboard --yes --bind lan
291
+ # or:
292
+ npx mxllms onboard --yes --bind tailnet
293
+ ```
294
+
295
+ If you already have MXCLIP configured, rerunning `onboard` keeps the existing config in place. Use `mxllms configure` to edit settings.
296
+
297
+ Or manually:
298
+
299
+ ```bash
300
+ git clone https://github.com/mxllms/mxclip.git
301
+ cd mxclip
302
+ pnpm install
303
+ pnpm dev
304
+ ```
305
+
306
+ This starts the API server at `http://localhost:3100`. An embedded PostgreSQL database is created automatically — no setup required.
307
+
308
+ > **Requirements:** Node.js 20+, pnpm 9.15+
309
+
310
+ <br/>
311
+
312
+ ## FAQ
313
+
314
+ **What does a typical setup look like?**
315
+ Locally, a single Node.js process manages an embedded Postgres and local file storage. For production, point it at your own Postgres and deploy however you like. Configure projects, agents, and goals — the agents take care of the rest.
316
+
317
+ If you're a solo entrepreneur you can use Tailscale to access MXCLIP on the go. Then later you can deploy to e.g. Vercel when you need it.
318
+
319
+ **Can I run multiple companies?**
320
+ Yes. A single deployment can run an unlimited number of companies with complete data isolation.
321
+
322
+ **How is MXCLIP different from agents like OpenClaw or Claude Code?**
323
+ MXCLIP _uses_ those agents. It orchestrates them into a company — with org charts, budgets, goals, governance, and accountability.
324
+
325
+ **Why should I use MXCLIP instead of just pointing my OpenClaw to Asana or Trello?**
326
+ Agent orchestration has subtleties in how you coordinate who has work checked out, how to maintain sessions, monitoring costs, establishing governance - MXCLIP does this for you.
327
+
328
+ (Bring-your-own-ticket-system is on the Roadmap)
329
+
330
+ **Do agents run continuously?**
331
+ By default, agents run on scheduled heartbeats and event-based triggers (task assignment, @-mentions). You can also hook in continuous agents like OpenClaw. You bring your agent and MXCLIP coordinates.
332
+
333
+ <br/>
334
+
335
+ ## MXCLIP Cloud Sync
336
+
337
+ Cloud upstream sync is behind the `Cloud Sync` experimental setting. Enable it in Instance Settings before pushing.
338
+
339
+ ```bash
340
+ mxllms cloud connect https://your-stack.mxclip.app
341
+ mxllms cloud connect https://your-stack.mxclip.app --no-browser
342
+ mxllms cloud push --company <local-company-id> --dry-run
343
+ mxllms cloud push --company <local-company-id>
344
+ ```
345
+
346
+ `cloud connect` authorizes the local instance against the target stack and stores the upstream token in the local instance secret store. The default path opens a browser for consent; `--no-browser` uses the device-code flow and prints the verification URL and user code.
347
+
348
+ `cloud push --dry-run` exports the selected local company, sends a preview bundle to the connected Cloud stack, and exits with code `2` when conflicts need user resolution. A schema mismatch exits with code `3`. Running without `--dry-run` stages chunks idempotently, applies the run, and prints the final summary and recent progress events.
349
+
350
+ ## Development
351
+
352
+ ```bash
353
+ pnpm dev # Full dev (API + UI, watch mode)
354
+ pnpm dev:once # Full dev without file watching
355
+ pnpm dev:server # Server only
356
+ pnpm build # Build all
357
+ pnpm typecheck # Type checking
358
+ pnpm test # Cheap default test run (Vitest only)
359
+ pnpm test:watch # Vitest watch mode
360
+ pnpm test:e2e # Playwright browser suite
361
+ pnpm db:generate # Generate DB migration
362
+ pnpm db:migrate # Apply migrations
363
+ ```
364
+
365
+ `pnpm test` does not run Playwright. Browser suites stay separate and are typically run only when working on those flows or in CI.
366
+
367
+ See [doc/DEVELOPING.md](https://github.com/mxllms/mxclip/blob/master/doc/DEVELOPING.md) for the full development guide.
368
+
369
+ <br/>
370
+
371
+ ## Roadmap
372
+
373
+ - ✅ Plugin system (e.g. add a knowledge base, custom tracing, queues, etc)
374
+ - ✅ Get OpenClaw / claw-style agent employees
375
+ - ✅ companies.sh - import and export entire organizations
376
+ - ✅ Easy AGENTS.md configurations
377
+ - ✅ Skills Manager
378
+ - ✅ Scheduled Routines
379
+ - ✅ Better Budgeting
380
+ - ✅ Agent Reviews and Approvals
381
+ - ✅ Multiple Human Users
382
+ - ⚪ Cloud / Sandbox agents (e.g. Cursor / e2b / Novita agents)
383
+ - ⚪ Artifacts & Work Products
384
+ - ⚪ Memory / Knowledge
385
+ - ⚪ Enforced Outcomes
386
+ - ⚪ MAXIMIZER MODE
387
+ - ⚪ Deep Planning
388
+ - ⚪ Work Queues
389
+ - ⚪ Self-Organization
390
+ - ⚪ Automatic Organizational Learning
391
+ - ⚪ CEO Chat
392
+ - ⚪ Cloud deployments
393
+ - ⚪ Desktop App
394
+
395
+ This is the short roadmap preview. See the full roadmap in [ROADMAP.md](https://github.com/mxllms/mxclip/blob/master/ROADMAP.md).
396
+
397
+ <br/>
398
+
399
+ ## Community & Plugins
400
+
401
+ Find Plugins and more at [awesome-mxclip](https://github.com/gsxdsm/awesome-mxclip)
402
+
403
+ ## Telemetry
404
+
405
+ MXCLIP collects anonymous usage telemetry to help us understand how the product is used and improve it. No personal information, issue content, prompts, file paths, or secrets are ever collected. Private repository references are hashed with a per-install salt before being sent.
406
+
407
+ Telemetry is **enabled by default** and can be disabled with any of the following:
408
+
409
+ | Method | How |
410
+ | -------------------- | ------------------------------------------------------- |
411
+ | Environment variable | `MXCLIP_TELEMETRY_DISABLED=1` |
412
+ | Standard convention | `DO_NOT_TRACK=1` |
413
+ | CI environments | Automatically disabled when `CI=true` |
414
+ | Config file | Set `telemetry.enabled: false` in your MXCLIP config |
415
+
416
+ ## Contributing
417
+
418
+ We welcome contributions. See the [contributing guide](https://github.com/mxllms/mxclip/blob/master/CONTRIBUTING.md) for details.
419
+
420
+ <br/>
421
+
422
+ ## Community
423
+
424
+ - [Discord](https://discord.gg/m4HZY7xNG3) — Join the community
425
+ - [Twitter / X](https://x.com/mxcliping) — Follow updates and announcements
426
+ - [GitHub Issues](https://github.com/mxllms/mxclip/issues) — bugs and feature requests
427
+ - [GitHub Discussions](https://github.com/mxllms/mxclip/discussions) — ideas and RFC
428
+
429
+ <br/>
430
+
431
+ ## License
432
+
433
+ MIT &copy; 2026 [MXCLIP Labs, Inc](https://mxclip.ing)
434
+
435
+ ## Star History
436
+
437
+ [![Star History Chart](https://api.star-history.com/image?repos=mxllms/mxclip&type=date&legend=top-left)](https://www.star-history.com/?repos=mxllms%2Fmxclip&type=date&legend=top-left)
438
+
439
+ <br/>
440
+
441
+ ---
442
+
443
+ <p align="center">
444
+ <sub>Open source under MIT. Built for people who want to get work done, not babysit agents.</sub>
445
+ </p>