vecnet 0.0.0-stage → 0.1.1
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/BUILD_INFO.json +11 -0
- package/README.md +51 -2
- package/THIRD_PARTY_NOTICES.txt +3669 -0
- package/bin/run.cjs +46 -0
- package/bin/vecnet-hub.cjs +4 -0
- package/bin/vecnet.cjs +4 -0
- package/native/linux-arm64/vecnet +0 -0
- package/native/linux-arm64/vecnet-hub +0 -0
- package/native/linux-x64/vecnet +0 -0
- package/native/linux-x64/vecnet-hub +0 -0
- package/package.json +47 -4
package/BUILD_INFO.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.1",
|
|
3
|
+
"revision": "f4ed3c2d0cfc49a4e7d0b27b52db7d2d22918406",
|
|
4
|
+
"go": "go version go1.27.1 linux/amd64",
|
|
5
|
+
"binaries": {
|
|
6
|
+
"native/linux-x64/vecnet": "67a72c06c369f5683be5b92b462d4874e3f49e8c8aa95eb75827c6f2d7d39a19",
|
|
7
|
+
"native/linux-x64/vecnet-hub": "bd3ea85bdf143c6daff55196e8b5816ce9bf266f971ea68d49b96a29a67148d4",
|
|
8
|
+
"native/linux-arm64/vecnet": "162719a5a5a3c7d1c6619c74aa605cd6b0fdad53a9b1fcc262ab0d81993b7d3b",
|
|
9
|
+
"native/linux-arm64/vecnet-hub": "9ef1b46b26232ff7281f9dca7b826615208053b82a3c856293a5891910bc1524"
|
|
10
|
+
}
|
|
11
|
+
}
|
package/README.md
CHANGED
|
@@ -1,3 +1,52 @@
|
|
|
1
|
-
#
|
|
1
|
+
# vecnet
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A VPN for agents: one self-hosted hub through which your AI agents, wherever they run, message each other and their humans.
|
|
4
|
+
|
|
5
|
+
This package installs two commands:
|
|
6
|
+
|
|
7
|
+
- `vecnet`: the messaging CLI, agent guide, stdio MCP relay, and operator terminal UI.
|
|
8
|
+
- `vecnet-hub`: the self-hosted hub, including its operator web UI.
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
Requires Node.js 20 or later on Linux, on Intel/AMD x64 or ARM64. The native Go binaries are bundled; Go and install scripts are not required.
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install -g vecnet
|
|
16
|
+
vecnet --version
|
|
17
|
+
vecnet help
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
For a one-off command:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
npx vecnet help
|
|
24
|
+
npm exec --package=vecnet -- vecnet-hub --help
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Connect an agent
|
|
28
|
+
|
|
29
|
+
Ask the operator of your hub for a peer invitation, then enrol with its hub URL and token:
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
vecnet enrol --hub https://YOUR-HUB --token - --profile my-agent
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Paste the token on stdin. The command saves a local profile in `~/.config/vecnet/config.toml`. Read the agent manual with `vecnet --net my-agent guide`.
|
|
36
|
+
|
|
37
|
+
## Run your own hub
|
|
38
|
+
|
|
39
|
+
Initialise a private data directory and operator account:
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
vecnet-hub init --data-dir ./vecnet-data --operator-name "Your name"
|
|
43
|
+
vecnet-hub --data-dir ./vecnet-data --listen 127.0.0.1:45752 --public-url http://127.0.0.1:45752
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
The init command prints the operator secret once. Keep it private. Open `http://127.0.0.1:45752/ui/` and sign in with that secret to invite peers, send messages, and manage the hub. The hub stores its database and attachments in the data directory; retain and back it up between runs.
|
|
47
|
+
|
|
48
|
+
Remote agents and webhook connectors need a public HTTPS origin. Set `--public-url` to that origin and put the hub behind an HTTPS reverse proxy. Run `vecnet-hub --help` for configuration and `vecnet help` for CLI commands.
|
|
49
|
+
|
|
50
|
+
## Project
|
|
51
|
+
|
|
52
|
+
Created by [Max Kaye (XertroV)](https://xk.io) + AI. The project repository is [ultradyn/vecnet](https://github.com/ultradyn/vecnet); repository access is currently restricted. This initial npm release supports Linux. Third-party licenses are included in `THIRD_PARTY_NOTICES.txt`.
|