agentix-cli 0.14.0 → 0.16.0

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.
Files changed (100) hide show
  1. package/README.md +70 -34
  2. package/dist/agent-BCDPSPKU.js +2 -0
  3. package/dist/board-dashboard-LA7WW56M.js +5668 -0
  4. package/dist/board-dashboard-LA7WW56M.js.map +1 -0
  5. package/dist/chunk-5F3J55LG.js +2 -0
  6. package/dist/chunk-5F3J55LG.js.map +1 -0
  7. package/dist/chunk-64P4QHSZ.js +2 -0
  8. package/dist/chunk-64P4QHSZ.js.map +1 -0
  9. package/dist/chunk-7FJQGD6U.js +6 -0
  10. package/dist/chunk-7FJQGD6U.js.map +1 -0
  11. package/dist/{chunk-ZRYBSI5G.js → chunk-7MBTMCKY.js} +2 -2
  12. package/dist/chunk-ABDP7TDL.js +71 -0
  13. package/dist/chunk-ABDP7TDL.js.map +1 -0
  14. package/dist/chunk-BFZUG66X.js +45 -0
  15. package/dist/chunk-BFZUG66X.js.map +1 -0
  16. package/dist/chunk-CXY2RYNI.js +11 -0
  17. package/dist/chunk-CXY2RYNI.js.map +1 -0
  18. package/dist/chunk-FIOB3MEX.js +2 -0
  19. package/dist/chunk-FLOGK2U7.js +7 -0
  20. package/dist/chunk-FLOGK2U7.js.map +1 -0
  21. package/dist/{chunk-XVYMZ4M7.js → chunk-HVC6FJNP.js} +5 -5
  22. package/dist/chunk-K7BE4E35.js +138 -0
  23. package/dist/chunk-K7BE4E35.js.map +1 -0
  24. package/dist/chunk-KXJSLLSQ.js +199 -0
  25. package/dist/chunk-KXJSLLSQ.js.map +1 -0
  26. package/dist/chunk-LEIYC3BF.js +104 -0
  27. package/dist/chunk-LEIYC3BF.js.map +1 -0
  28. package/dist/{chunk-O72LPMBR.js → chunk-RB7265LO.js} +2 -2
  29. package/dist/chunk-WZEYII2S.js +6 -0
  30. package/dist/chunk-WZEYII2S.js.map +1 -0
  31. package/dist/chunk-YI2T5QYB.js +5 -0
  32. package/dist/{chunk-NJR5WF5E.js.map → chunk-YI2T5QYB.js.map} +1 -1
  33. package/dist/cli.js +209 -181
  34. package/dist/cli.js.map +1 -1
  35. package/dist/{compaction-7I3E5QUO.js → compaction-JBZZ7I7Y.js} +4 -4
  36. package/dist/config-LN6JEHMF.js +2 -0
  37. package/dist/config-mutator-24TH7PHM.js +2 -0
  38. package/dist/debug-3MEUO2P2.js +2 -0
  39. package/dist/{heal-OTGT5HHJ.js → heal-WKY5I4KB.js} +2 -2
  40. package/dist/index.d.ts +1078 -13
  41. package/dist/index.js +47 -44
  42. package/dist/index.js.map +1 -1
  43. package/dist/loader-PTCXLJEX.js +2 -0
  44. package/dist/memory-extract-AD7KMRPC.js +2 -0
  45. package/dist/{providers-G3WZ4RVJ.js → providers-VUIWO3ZK.js} +2 -2
  46. package/dist/query-PKGYE5HR.js +2 -0
  47. package/dist/registry-ASC2QS5K.js +2 -0
  48. package/dist/scheduler-A3TQOCKT.js +2 -0
  49. package/dist/scheduler-A3TQOCKT.js.map +1 -0
  50. package/dist/{subagent-WV7QKQ3L.js → subagent-2SJHSSJS.js} +2 -2
  51. package/dist/types-OIFU3KSQ.js +2 -0
  52. package/dist/types-OIFU3KSQ.js.map +1 -0
  53. package/dist/{usage-dashboard-M7AFIGMJ.js → usage-dashboard-QX3CF6KK.js} +8 -8
  54. package/dist/usage-dashboard-QX3CF6KK.js.map +1 -0
  55. package/dist/whatsapp-state-6D6FHHD2.js +2 -0
  56. package/dist/whatsapp-state-6D6FHHD2.js.map +1 -0
  57. package/dist/wiki-UDPYFJBL.js +2 -0
  58. package/dist/wiki-UDPYFJBL.js.map +1 -0
  59. package/dist/workspace-setup-ZWTT42XT.js +2 -0
  60. package/dist/workspace-setup-ZWTT42XT.js.map +1 -0
  61. package/package.json +3 -2
  62. package/dist/agent-DW3NYIIL.js +0 -2
  63. package/dist/board-dashboard-6TKE6NMV.js +0 -1435
  64. package/dist/board-dashboard-6TKE6NMV.js.map +0 -1
  65. package/dist/chunk-4YCH6IZV.js +0 -2
  66. package/dist/chunk-DYOBFJLX.js +0 -11
  67. package/dist/chunk-DYOBFJLX.js.map +0 -1
  68. package/dist/chunk-ITZEVXZ4.js +0 -2
  69. package/dist/chunk-ITZEVXZ4.js.map +0 -1
  70. package/dist/chunk-M33CB2H4.js +0 -6
  71. package/dist/chunk-M33CB2H4.js.map +0 -1
  72. package/dist/chunk-NJR5WF5E.js +0 -5
  73. package/dist/chunk-RB73FZXJ.js +0 -133
  74. package/dist/chunk-RB73FZXJ.js.map +0 -1
  75. package/dist/chunk-UPT2UMF6.js +0 -159
  76. package/dist/chunk-UPT2UMF6.js.map +0 -1
  77. package/dist/config-7QJ2QJIC.js +0 -2
  78. package/dist/config-mutator-GAEVGHDD.js +0 -2
  79. package/dist/debug-N3B5NVJU.js +0 -2
  80. package/dist/loader-YQE6XJBT.js +0 -2
  81. package/dist/memory-extract-RGPUPMKU.js +0 -2
  82. package/dist/registry-YVAG4EO5.js +0 -2
  83. package/dist/usage-dashboard-M7AFIGMJ.js.map +0 -1
  84. package/dist/workspace-setup-QQTCJY4B.js +0 -2
  85. /package/dist/{agent-DW3NYIIL.js.map → agent-BCDPSPKU.js.map} +0 -0
  86. /package/dist/{chunk-ZRYBSI5G.js.map → chunk-7MBTMCKY.js.map} +0 -0
  87. /package/dist/{chunk-4YCH6IZV.js.map → chunk-FIOB3MEX.js.map} +0 -0
  88. /package/dist/{chunk-XVYMZ4M7.js.map → chunk-HVC6FJNP.js.map} +0 -0
  89. /package/dist/{chunk-O72LPMBR.js.map → chunk-RB7265LO.js.map} +0 -0
  90. /package/dist/{compaction-7I3E5QUO.js.map → compaction-JBZZ7I7Y.js.map} +0 -0
  91. /package/dist/{config-7QJ2QJIC.js.map → config-LN6JEHMF.js.map} +0 -0
  92. /package/dist/{config-mutator-GAEVGHDD.js.map → config-mutator-24TH7PHM.js.map} +0 -0
  93. /package/dist/{debug-N3B5NVJU.js.map → debug-3MEUO2P2.js.map} +0 -0
  94. /package/dist/{heal-OTGT5HHJ.js.map → heal-WKY5I4KB.js.map} +0 -0
  95. /package/dist/{loader-YQE6XJBT.js.map → loader-PTCXLJEX.js.map} +0 -0
  96. /package/dist/{memory-extract-RGPUPMKU.js.map → memory-extract-AD7KMRPC.js.map} +0 -0
  97. /package/dist/{providers-G3WZ4RVJ.js.map → providers-VUIWO3ZK.js.map} +0 -0
  98. /package/dist/{registry-YVAG4EO5.js.map → query-PKGYE5HR.js.map} +0 -0
  99. /package/dist/{workspace-setup-QQTCJY4B.js.map → registry-ASC2QS5K.js.map} +0 -0
  100. /package/dist/{subagent-WV7QKQ3L.js.map → subagent-2SJHSSJS.js.map} +0 -0
package/README.md CHANGED
@@ -1,49 +1,84 @@
1
1
  # AgentX
2
2
 
3
- **Self-hosted multi-agent orchestrator.** Routes messages from Telegram, WhatsApp, Discord, GitLab, crons, webhooks, and cross-machine mesh to AI agents running on Claude Code, OpenAI, Ollama, or any LLM provider.
3
+ **The AI operations layer for small & medium businesses.** Plug in the channels your team already uses — Telegram, WhatsApp, Slack, Discord, GitLab — set schedules, and watch your agents work. Web wizard for non-technical operators, CLI for engineers. Self-hosted.
4
4
 
5
- ## Why AgentX?
5
+ ## Who it's for
6
6
 
7
- Existing multi-agent frameworks (CrewAI, AutoGen, LangGraph) are SDK-first, Python-heavy, and cloud-dependent. AgentX is **infrastructure-first** — closer to systemd for AI agents than to another framework.
7
+ **Small & medium businesses running AI agents on real channels.** Support queues, devops squads, ops teams, internal automation. You want multiple agents handling different jobs, coordinating across machines, answering on the tools your people already use — without standing up a ML platform or hiring dedicated infra.
8
8
 
9
- - **BYOAI** — Claude, OpenAI, Ollama, whatever
10
- - **Agents = directories** — workspace + config. No code required
11
- - **Channel routing** built in — Telegram, WhatsApp, Discord, GitLab, webhooks
12
- - **Mesh federation** — agents across machines collaborate over Tailscale/VPN
13
- - **Cron + business layer** — scheduled work with KPI tracking
14
- - **Wiki memory** — compounding knowledge from conversations
15
- - **Cross-channel `/send`** — receive on X, push to Y
16
- - **Live monitoring** — SSE event stream, debug categories
9
+ - **Non-technical operators** add agents, connect channels, and schedule jobs from a browser wizard and `/admin` panel — no JSON editing.
10
+ - **Engineers** get a full CLI, `agentx.json`, scoped API tokens, mesh federation, and a mutateConfig-safe write path.
11
+
12
+ > **Running AgentX solo for yourself?** [OpenClaw](https://github.com/openclaw/openclaw) is built for single-user assistants and has a lighter install path. If you outgrow it, we import your config — see [Migrate from OpenClaw](docs/migration/from-openclaw.md).
13
+
14
+ ## What you get out of the box
15
+
16
+ - **Answer on Telegram, WhatsApp, Slack, Discord, GitLab** — one config, all channels. Pair WhatsApp with a QR code in the browser.
17
+ - **Browser-based setup wizard + `/admin` panel** — add agents, wire channels, mint scoped API tokens, schedule crons, all without editing JSON
18
+ - **Agents = folders, not code** — each agent has its own persona, knowledge, and tools in plain Markdown
19
+ - **Multiple machines, one team** — mesh federation across laptops + servers; manage any peer's config from a single dashboard via the mesh selector
20
+ - **Scheduled jobs in plain English** — `agentx schedule "every Monday at 9am" --agent sales`
21
+ - **Live dashboard** — a browser view of what every agent is doing right now, with full task history, streaming output, and replay
22
+ - **Scoped API tokens** — let external apps message an agent with a time-bound, scope-limited token (see [Tokens](docs/reference/tokens.md) and [Public agents](docs/reference/public-agents.md))
23
+ - **`agentx doctor`** — pre-flight health check that catches missing keys, unreachable daemons, and misconfigured channels
24
+ - **Bring your own AI** — Claude Code (deep reasoning + tools), OpenAI / Anthropic API, Ollama, or anything in between
25
+ - **Wiki memory** — conversations compound into a shared knowledge base each agent draws from
17
26
 
18
27
  ## Install
19
28
 
29
+ **One line:**
30
+
31
+ ```bash
32
+ curl -fsSL https://raw.githubusercontent.com/anis-marrouchi/agentx/master/install.sh | bash
33
+ ```
34
+
35
+ Installs the CLI and launches the web setup wizard — no YAML, no JSON.
36
+
37
+ **Docker:**
38
+
39
+ ```bash
40
+ git clone https://github.com/anis-marrouchi/agentx.git && cd agentx
41
+ cp agentx.example.json agentx-data/agentx.json # or run `agentx setup` later
42
+ docker compose up -d
43
+ ```
44
+
45
+ **Manual:**
46
+
20
47
  ```bash
21
48
  npm install -g agentix-cli
22
- agentx init
23
- agentx agent add
24
- agentx channel add
25
- agentx daemon start
26
- agentx daemon watch # live, color-coded activity
49
+ agentx setup # opens the web wizard
27
50
  ```
28
51
 
29
- ## Read the docs
30
-
31
- The full documentation lives at **[https://agentx-docs.pages.dev](https://agentx-docs.pages.dev)** (or run `pnpm docs:dev` locally).
32
-
33
- - **[Install](docs/install.md)** — from zero to a running daemon in 5 minutes
34
- - **[Concepts](docs/concepts.md)** — agents, channels, crons, mesh, wiki, business
35
- - **Journey (simple → advanced):**
36
- - [1. Telegram Q&A bot](docs/journey/01-telegram-qa-bot.md)
37
- - [2. Scheduled reports with failure alerts](docs/journey/02-scheduled-reports.md)
38
- - [3. Multi-agent group chat](docs/journey/03-multi-agent-group.md)
39
- - [7. Business layer — run a team with AI agents](docs/journey/07-business-layer.md)
40
- - [8. Mesh federation — two machines, one team](docs/journey/08-mesh-federation.md)
41
- - **Reference:**
42
- - [CLI](docs/reference/cli.md)
43
- - [Config schema](docs/reference/config-schema.md)
44
- - [Communication matrix](docs/reference/communication-matrix.md)
45
- - **[Migrate from OpenClaw](docs/migration/from-openclaw.md)**
46
- - **[Contributing](docs/contributing.md)**
52
+ Open the dashboard at **http://127.0.0.1:4202** — live agents, task history, Kanban boards, and the `/admin` panel for managing agents, channels, and tokens. A `?`-Glossary link is in the topbar if anything looks unfamiliar.
53
+
54
+ See the [full install guide](docs/install.md) for advanced setups.
55
+
56
+ ## Docs
57
+
58
+ Full documentation: **[https://agentx-docs.pages.dev](https://agentx-docs.pages.dev)** (or `pnpm docs:dev` locally).
59
+
60
+ **Start here:**
61
+ - [Install](docs/install.md) — from zero to a running daemon in 5 minutes
62
+ - [Concepts](docs/concepts.md) — what an agent, channel, schedule, and team network are (glossary also lives at `/glossary` in the dashboard)
63
+
64
+ **Worked examples, simple → advanced:**
65
+ - [1. Telegram Q&A bot](docs/journey/01-telegram-qa-bot.md) — one agent, one channel, one conversation
66
+ - [2. Scheduled reports with failure alerts](docs/journey/02-scheduled-reports.md)
67
+ - [3. Multi-agent group chat](docs/journey/03-multi-agent-group.md)
68
+ - [7. Run a team with AI agents](docs/journey/07-business-layer.md) — roles, KPIs, org chart
69
+ - [8. Two machines, one team](docs/journey/08-mesh-federation.md) — mesh federation
70
+
71
+ **For configuration:**
72
+ - [CLI reference](docs/reference/cli.md) · [Config schema](docs/reference/config-schema.md) · [Communication matrix](docs/reference/communication-matrix.md)
73
+ - [Scoped API tokens](docs/reference/tokens.md) — mint / scope / revoke
74
+ - [Public agents](docs/reference/public-agents.md) — expose an agent over HTTP
75
+ - [`agentx doctor`](docs/reference/doctor.md) — pre-flight health check
76
+ - [Slack channel](docs/reference/slack.md) — Socket Mode setup
77
+
78
+ **Moving from another tool:**
79
+ - [Migrate from OpenClaw](docs/migration/from-openclaw.md) — we import the bulk of your config in one shot
80
+
81
+ [Contributing](docs/contributing.md)
47
82
 
48
83
  ## Architecture
49
84
 
@@ -51,6 +86,7 @@ The full documentation lives at **[https://agentx-docs.pages.dev](https://agentx
51
86
  graph LR
52
87
  T[Telegram] --> R(Router)
53
88
  W[WhatsApp] --> R
89
+ S[Slack] --> R
54
90
  D[Discord] --> R
55
91
  G[GitLab] --> R
56
92
  C[Cron] --> R
@@ -0,0 +1,2 @@
1
+ import{s as a,t as b,u as c}from"./chunk-HVC6FJNP.js";import"./chunk-SFQUP3BP.js";import"./chunk-RB7265LO.js";import"./chunk-KXZMYLHQ.js";import"./chunk-M7HKBG3V.js";import"./chunk-MCJUAE6V.js";import"./chunk-DSYKYZMT.js";import"./chunk-QOYAX2FT.js";import"./chunk-FIOB3MEX.js";export{a as createAgentContext,b as generate,c as generateStream};
2
+ //# sourceMappingURL=agent-BCDPSPKU.js.map