Skip to content

Conversation

@sivang
Copy link
Owner

@sivang sivang commented Feb 9, 2026

Summary

  • Adds bedsheet/sense/ module with PubNub-based distributed communication for agents across processes, machines, and cloud providers
  • Implements SenseTransport protocol, SenseMixin, SenseNetwork, Signal dataclass with 7 kinds, compact serialization, claim-based coordination, and MockSenseTransport for testing
  • Includes cloud-monitor demo (5 agents in separate subprocesses), progressive tutorial documentation, and 31 new tests (296 total, zero regressions)

Test plan

  • Run pytest tests/ -v --ignore=tests/integration — all 296 tests pass
  • Run pytest tests/test_sense.py -v — all 31 sense tests pass
  • Verify cloud-monitor demo launches with PubNub keys set
  • Open docs/sixth-sense-guide.html and verify styling matches existing guides

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)
@sivang
Copy link
Owner Author

sivang commented Feb 9, 2026

@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.
@sivang
Copy link
Owner Author

sivang commented Feb 10, 2026

@claude please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant