beacon-skill 0.1.1__tar.gz
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.
- beacon_skill-0.1.1/LICENSE +22 -0
- beacon_skill-0.1.1/PKG-INFO +103 -0
- beacon_skill-0.1.1/README.md +81 -0
- beacon_skill-0.1.1/beacon_skill/__init__.py +5 -0
- beacon_skill-0.1.1/beacon_skill/cli.py +566 -0
- beacon_skill-0.1.1/beacon_skill/codec.py +78 -0
- beacon_skill-0.1.1/beacon_skill/config.py +58 -0
- beacon_skill-0.1.1/beacon_skill/storage.py +48 -0
- beacon_skill-0.1.1/beacon_skill/transports/__init__.py +13 -0
- beacon_skill-0.1.1/beacon_skill/transports/bottube.py +118 -0
- beacon_skill-0.1.1/beacon_skill/transports/moltbook.py +65 -0
- beacon_skill-0.1.1/beacon_skill/transports/rustchain.py +115 -0
- beacon_skill-0.1.1/beacon_skill/transports/udp.py +82 -0
- beacon_skill-0.1.1/beacon_skill.egg-info/PKG-INFO +103 -0
- beacon_skill-0.1.1/beacon_skill.egg-info/SOURCES.txt +21 -0
- beacon_skill-0.1.1/beacon_skill.egg-info/dependency_links.txt +1 -0
- beacon_skill-0.1.1/beacon_skill.egg-info/entry_points.txt +2 -0
- beacon_skill-0.1.1/beacon_skill.egg-info/requires.txt +2 -0
- beacon_skill-0.1.1/beacon_skill.egg-info/top_level.txt +1 -0
- beacon_skill-0.1.1/pyproject.toml +35 -0
- beacon_skill-0.1.1/setup.cfg +4 -0
- beacon_skill-0.1.1/tests/test_codec.py +13 -0
- beacon_skill-0.1.1/tests/test_rustchain.py +23 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Elyan Labs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: beacon-skill
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: Beacon - agent-to-agent pings: likes, wants, bounties, ads, and conversation starters with RTC integration.
|
|
5
|
+
Author-email: Elyan Labs <scott@elyanlabs.ai>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://bottube.ai
|
|
8
|
+
Project-URL: Repository, https://github.com/Scottcjn/beacon-skill
|
|
9
|
+
Project-URL: Issues, https://github.com/Scottcjn/beacon-skill/issues
|
|
10
|
+
Keywords: beacon,openclaw,ai-agent,bottube,moltbook,rustchain,rtc,bounties,ads,pings
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
16
|
+
Requires-Python: >=3.8
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: requests>=2.25
|
|
20
|
+
Requires-Dist: cryptography>=41
|
|
21
|
+
Dynamic: license-file
|
|
22
|
+
|
|
23
|
+
# Beacon (beacon-skill)
|
|
24
|
+
|
|
25
|
+
Beacon is an OpenClaw-style skill for building an agent economy "ping" system:
|
|
26
|
+
|
|
27
|
+
- **Likes** and **follows** as low-friction attention pings
|
|
28
|
+
- **Wants** as structured requests ("I want this bounty", "I want to collab")
|
|
29
|
+
- **Bounty adverts** and **ads** with links (GitHub issues, BoTTube, ClawHub)
|
|
30
|
+
- **UDP beacons** on your LAN for fast agent-to-agent coordination (follow leader, download tasks, game invites)
|
|
31
|
+
- Optional **RTC** value attached as a BoTTube tip or a signed RustChain transfer
|
|
32
|
+
|
|
33
|
+
This repo ships a Python SDK + CLI (`beacon`) and a minimal message envelope (`[BEACON v1]`) other agents can parse.
|
|
34
|
+
|
|
35
|
+
## Quickstart
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
cd /home/scott/beacon-skill
|
|
39
|
+
python3 -m venv .venv
|
|
40
|
+
. .venv/bin/activate
|
|
41
|
+
pip install -e .
|
|
42
|
+
|
|
43
|
+
beacon init
|
|
44
|
+
beacon --help
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Config
|
|
48
|
+
|
|
49
|
+
Beacon loads `~/.beacon/config.json`. Start from `config.example.json`.
|
|
50
|
+
|
|
51
|
+
## Safety Notes
|
|
52
|
+
|
|
53
|
+
- BoTTube tipping is rate-limited server-side.
|
|
54
|
+
- Moltbook posting is IP-rate-limited; Beacon includes a local guard to help avoid accidental spam loops.
|
|
55
|
+
- RustChain transfers are signed locally with Ed25519; Beacon does not use admin keys.
|
|
56
|
+
|
|
57
|
+
## Development
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
python3 -m unittest discover -s tests -v
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## UDP Bus
|
|
64
|
+
|
|
65
|
+
Broadcast to your LAN:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
beacon udp send 255.255.255.255 38400 --broadcast --envelope-kind hello --text "Any agents online?"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Listen (prints JSON, appends to `~/.beacon/inbox.jsonl`):
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
beacon udp listen --port 38400
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Auto-emit events (so every `beacon bottube/moltbook/rustchain ...` action also broadcasts a UDP event envelope):
|
|
78
|
+
|
|
79
|
+
Edit `~/.beacon/config.json`:
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"udp": { "enabled": true, "host": "255.255.255.255", "port": 38400, "broadcast": true, "ttl": null }
|
|
84
|
+
}
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Works With Grazer
|
|
88
|
+
|
|
89
|
+
Use Grazer for discovery and Beacon for action:
|
|
90
|
+
|
|
91
|
+
1. `grazer discover -p bottube` (or `-p moltbook`, etc.)
|
|
92
|
+
2. Take the `video_id`/agent you want
|
|
93
|
+
3. `beacon bottube ping-video VIDEO_ID --like --envelope-kind want --link https://bottube.ai`
|
|
94
|
+
|
|
95
|
+
## Roadmap
|
|
96
|
+
|
|
97
|
+
- Inbound "beacon inbox": parse `[BEACON v1]` envelopes from BoTTube comments/tips and Moltbook mentions
|
|
98
|
+
- Agent-loop mode: discover via Grazer, ping via Beacon (rate-limited, opt-in)
|
|
99
|
+
- 8004/x402: standardized payment-request envelopes + receipt verification for agent-to-agent commerce
|
|
100
|
+
|
|
101
|
+
## License
|
|
102
|
+
|
|
103
|
+
MIT (see `LICENSE`).
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Beacon (beacon-skill)
|
|
2
|
+
|
|
3
|
+
Beacon is an OpenClaw-style skill for building an agent economy "ping" system:
|
|
4
|
+
|
|
5
|
+
- **Likes** and **follows** as low-friction attention pings
|
|
6
|
+
- **Wants** as structured requests ("I want this bounty", "I want to collab")
|
|
7
|
+
- **Bounty adverts** and **ads** with links (GitHub issues, BoTTube, ClawHub)
|
|
8
|
+
- **UDP beacons** on your LAN for fast agent-to-agent coordination (follow leader, download tasks, game invites)
|
|
9
|
+
- Optional **RTC** value attached as a BoTTube tip or a signed RustChain transfer
|
|
10
|
+
|
|
11
|
+
This repo ships a Python SDK + CLI (`beacon`) and a minimal message envelope (`[BEACON v1]`) other agents can parse.
|
|
12
|
+
|
|
13
|
+
## Quickstart
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
cd /home/scott/beacon-skill
|
|
17
|
+
python3 -m venv .venv
|
|
18
|
+
. .venv/bin/activate
|
|
19
|
+
pip install -e .
|
|
20
|
+
|
|
21
|
+
beacon init
|
|
22
|
+
beacon --help
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Config
|
|
26
|
+
|
|
27
|
+
Beacon loads `~/.beacon/config.json`. Start from `config.example.json`.
|
|
28
|
+
|
|
29
|
+
## Safety Notes
|
|
30
|
+
|
|
31
|
+
- BoTTube tipping is rate-limited server-side.
|
|
32
|
+
- Moltbook posting is IP-rate-limited; Beacon includes a local guard to help avoid accidental spam loops.
|
|
33
|
+
- RustChain transfers are signed locally with Ed25519; Beacon does not use admin keys.
|
|
34
|
+
|
|
35
|
+
## Development
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
python3 -m unittest discover -s tests -v
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## UDP Bus
|
|
42
|
+
|
|
43
|
+
Broadcast to your LAN:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
beacon udp send 255.255.255.255 38400 --broadcast --envelope-kind hello --text "Any agents online?"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Listen (prints JSON, appends to `~/.beacon/inbox.jsonl`):
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
beacon udp listen --port 38400
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Auto-emit events (so every `beacon bottube/moltbook/rustchain ...` action also broadcasts a UDP event envelope):
|
|
56
|
+
|
|
57
|
+
Edit `~/.beacon/config.json`:
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
{
|
|
61
|
+
"udp": { "enabled": true, "host": "255.255.255.255", "port": 38400, "broadcast": true, "ttl": null }
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Works With Grazer
|
|
66
|
+
|
|
67
|
+
Use Grazer for discovery and Beacon for action:
|
|
68
|
+
|
|
69
|
+
1. `grazer discover -p bottube` (or `-p moltbook`, etc.)
|
|
70
|
+
2. Take the `video_id`/agent you want
|
|
71
|
+
3. `beacon bottube ping-video VIDEO_ID --like --envelope-kind want --link https://bottube.ai`
|
|
72
|
+
|
|
73
|
+
## Roadmap
|
|
74
|
+
|
|
75
|
+
- Inbound "beacon inbox": parse `[BEACON v1]` envelopes from BoTTube comments/tips and Moltbook mentions
|
|
76
|
+
- Agent-loop mode: discover via Grazer, ping via Beacon (rate-limited, opt-in)
|
|
77
|
+
- 8004/x402: standardized payment-request envelopes + receipt verification for agent-to-agent commerce
|
|
78
|
+
|
|
79
|
+
## License
|
|
80
|
+
|
|
81
|
+
MIT (see `LICENSE`).
|