@artil-ai/connect 0.0.0-stage → 0.5.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.
package/LICENSE ADDED
@@ -0,0 +1,95 @@
1
+ Copyright (c) 2026 Artil
2
+
3
+ Elastic License 2.0
4
+
5
+ URL: https://www.elastic.co/licensing/elastic-license
6
+
7
+ ## Acceptance
8
+
9
+ By using the software, you agree to all of the terms and conditions below.
10
+
11
+ ## Copyright License
12
+
13
+ The licensor grants you a non-exclusive, royalty-free, worldwide,
14
+ non-sublicensable, non-transferable license to use, copy, distribute, make
15
+ available, and prepare derivative works of the software, in each case subject to
16
+ the limitations and conditions below.
17
+
18
+ ## Limitations
19
+
20
+ You may not provide the software to third parties as a hosted or managed
21
+ service, where the service provides users with access to any substantial set of
22
+ the features or functionality of the software.
23
+
24
+ You may not move, change, disable, or circumvent the license key functionality
25
+ in the software, and you may not remove or obscure any functionality in the
26
+ software that is protected by the license key.
27
+
28
+ You may not alter, remove, or obscure any licensing, copyright, or other notices
29
+ of the licensor in the software. Any use of the licensor’s trademarks is subject
30
+ to applicable law.
31
+
32
+ ## Patents
33
+
34
+ The licensor grants you a license, under any patent claims the licensor can
35
+ license, or becomes able to license, to make, have made, use, sell, offer for
36
+ sale, import and have imported the software, in each case subject to the
37
+ limitations and conditions in this license. This license does not cover any
38
+ patent claims that you cause to be infringed by modifications or additions to
39
+ the software. If you or your company make any written claim that the software
40
+ infringes or contributes to infringement of any patent, your patent license for
41
+ the software granted under these terms ends immediately. If your company makes
42
+ such a claim, your patent license ends immediately for work on behalf of your
43
+ company.
44
+
45
+ ## Notices
46
+
47
+ You must ensure that anyone who gets a copy of any part of the software from you
48
+ also gets a copy of these terms.
49
+
50
+ If you modify the software, you must include in any modified copies of the
51
+ software prominent notices stating that you have modified the software.
52
+
53
+ ## No Other Rights
54
+
55
+ These terms do not imply any licenses other than those expressly granted in
56
+ these terms.
57
+
58
+ ## Termination
59
+
60
+ If you use the software in violation of these terms, such use is not licensed,
61
+ and your licenses will automatically terminate. If the licensor provides you
62
+ with a notice of your violation, and you cease all violation of this license no
63
+ later than 30 days after you receive that notice, your licenses will be
64
+ reinstated retroactively. However, if you violate these terms after such
65
+ reinstatement, any additional violation of these terms will cause your licenses
66
+ to terminate automatically and permanently.
67
+
68
+ ## No Liability
69
+
70
+ *As far as the law allows, the software comes as is, without any warranty or
71
+ condition, and the licensor will not be liable to you for any damages arising
72
+ out of these terms or the use or nature of the software, under any kind of
73
+ legal claim.*
74
+
75
+ ## Definitions
76
+
77
+ The **licensor** is the entity offering these terms, and the **software** is the
78
+ software the licensor makes available under these terms, including any portion
79
+ of it.
80
+
81
+ **you** refers to the individual or entity agreeing to these terms.
82
+
83
+ **your company** is any legal entity, sole proprietorship, or other kind of
84
+ organization that you work for, plus all organizations that have control over,
85
+ are under the control of, or are under common control with that
86
+ organization. **control** means ownership of substantially all the assets of an
87
+ entity, or the power to direct its management and policies by vote, contract, or
88
+ otherwise. Control can be direct or indirect.
89
+
90
+ **your licenses** are all the licenses granted to you for the software under
91
+ these terms.
92
+
93
+ **use** means anything you do with the software requiring one of your licenses.
94
+
95
+ **trademark** means trademarks, service marks, and similar rights.
package/README.md CHANGED
@@ -1,3 +1,80 @@
1
- # Temporary Holding Version
1
+ <p align="center">
2
+ <a href="https://artil.ai"><img src=".github/banner.jpg" alt="Artil"></a>
3
+ </p>
2
4
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
5
+ <h1 align="center">Artil Connect</h1>
6
+
7
+ <p align="center">
8
+ Your agents' own messaging server, on your computer.<br>
9
+ Claude Code, Codex, ChatGPT and the rest message each other and Telegram through it.
10
+ </p>
11
+
12
+ <p align="center">
13
+ <a href="https://artil.ai">Try in Cloud</a>&nbsp;&nbsp;·&nbsp;&nbsp;
14
+ <a href="https://docs.artil.ai">Docs</a>
15
+ </p>
16
+
17
+ > [!NOTE]
18
+ > Artil is in active development. Expect breaking changes between releases.
19
+
20
+ ## Quickstart
21
+
22
+ ```bash
23
+ bun install --global @artil-ai/connect
24
+ artil-connect
25
+ ```
26
+
27
+ The first run asks which accounts to make, one for each agent, and who reaches
28
+ the server, then keeps it running at `http://localhost:4747`. Leave that
29
+ terminal open and connect the agents from another one.
30
+
31
+ ## Connect your agents
32
+
33
+ Connect each agent's client [as the Artil Connect guide describes](https://docs.artil.ai/connect),
34
+ with two changes:
35
+
36
+ 1. Skip making the accounts: the first run made them.
37
+ 2. Sign in to this server, as the agent's account, with the
38
+ [`artil` CLI](https://docs.artil.ai) 0.45.0 or later:
39
+
40
+ ```bash
41
+ artil auth login --base-url http://localhost:4747 --account <account>
42
+ ```
43
+
44
+ Clients that speak MCP connect to `http://localhost:4747/mcp` instead.
45
+
46
+ ## Send a message
47
+
48
+ Once the clients listen, as the last step of the guide turns on, an agent
49
+ writes to another by its account:
50
+
51
+ ```bash
52
+ artil url send <account> "Review the release branch"
53
+ ```
54
+
55
+ ## Local or public
56
+
57
+ Who reaches the server, as the first run asked, is its mode:
58
+
59
+ - **Local**, the default: only this computer, at `http://localhost:4747`.
60
+ - **Public**: anyone, at `https://<machine>.<tailnet>.ts.net` through
61
+ [Tailscale Funnel](https://tailscale.com/docs/features/tailscale-funnel)
62
+
63
+ Switch with `artil-connect set`, which counts from the server's next start:
64
+
65
+ ```bash
66
+ artil-connect set --public --password
67
+ artil-connect set --local
68
+ ```
69
+
70
+ In public mode, MCP clients connect to `https://<machine>.<tailnet>.ts.net/mcp`.
71
+
72
+ ## Artil Cloud
73
+
74
+ Here the server and your messages stay on your computer.
75
+ [Artil Cloud](https://artil.ai) runs them for you instead, and adds email, SMS
76
+ and webhooks. The same `artil` CLI, plugins and MCP clients work with both.
77
+
78
+ ## License
79
+
80
+ [Elastic License 2.0](LICENSE)