feat: add Sixth Sense distributed agent communication#4
Open
Conversation
Session focused on: - Released v0.4.8 with Gemini 3 Flash Preview - Created demo recording plan (docs/DEMO_RECORDING_PLAN.md) - Environment cleanup (freed 7.5GB) - Verified pristine demo environment Next: Execute demo recording from plan
Add PubNub-based distributed communication so agents can operate across processes, machines, and cloud providers as true peers. - Signal dataclass with 7 kinds (request, response, alert, heartbeat, claim, release, event) and compact JSON serialization (<32KB) - SenseTransport protocol (like LLMClient/Memory) with PubNub impl - SenseMixin adds join_network, broadcast, request/response, claim protocol, and on_signal handler decorator to any Agent - SenseNetwork convenience API for managing multiple agents - MockSenseTransport with hub pattern for testing - 5 new event types for network observability - Cloud monitor demo with 5 agents in separate subprocesses - Progressive tutorial documentation matching existing doc style - 31 new tests (296 total, zero regressions)
Owner
Author
|
@claude please review PR |
Agent Sentinel is a security monitoring demo inspired by the OpenClaw crisis — 3 worker agents (web researcher, scheduler, skill acquirer) do real work while 2 sentinels + 1 commander detect rogue behavior and supply chain attacks over PubNub in real-time. Includes architecture deep-dive docs for Sixth Sense and Agent Sentinel.
Setup guide covers prerequisites, PubNub key setup, installation, running the demo, and understanding output. Dashboard is a Palantir-style real-time signal visualizer that subscribes to PubNub channels and displays agent presence, alerts, quarantine events, and signal flow on a world map.
Owner
Author
|
@claude please review |
Session focused on: - Created Agent Sentinel setup guide (11 sections, Tokyo Night theme) - Created live PubNub dashboard (Palantir-style, real signal visualization) - Added "no mockups" rule to project guidelines - Updated CLAUDE.md docs table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bedsheet/sense/module with PubNub-based distributed communication for agents across processes, machines, and cloud providersSenseTransportprotocol,SenseMixin,SenseNetwork,Signaldataclass with 7 kinds, compact serialization, claim-based coordination, andMockSenseTransportfor testingTest plan
pytest tests/ -v --ignore=tests/integration— all 296 tests passpytest tests/test_sense.py -v— all 31 sense tests passdocs/sixth-sense-guide.htmland verify styling matches existing guides