Resilient browser automation through autonomous Sentinel coordination.
Starlight is an open protocol for building self-healing browser automation systems. Instead of brittle scripts that break when the DOM changes, Starlight uses a constellation of autonomous Sentinels that detect and clear obstacles in real-time.
- 🔴 Flaky tests fail randomly due to popups, spinners, network delays
- 🔴 Hardcoded waits slow down execution and still fail
- 🔴 Selector changes break entire test suites
- ✅ Autonomous Sentinels handle popups, cookies, modals automatically
- ✅ Entropy-based stability waits only as long as needed
- ✅ Self-healing learns to clear new obstacles without code changes
pip install starlight-protocolfrom starlight_protocol import SentinelBase
class MySentinel(SentinelBase):
async def on_pre_check(self, params, msg_id):
# Your obstacle detection logic
await self.send_clear()
sentinel = MySentinel()
sentinel.run()| Repo | Description |
|---|---|
| starlight | Reference implementation (Node.js Hub + Python SDK) |
┌─────────────────────────────────────────────────────────────────┐
│ INTENT LAYER │
│ (Your Test Script) │
└─────────────────────────────────────────────────────────────────┘
│ starlight.intent
▼
┌─────────────────────────────────────────────────────────────────┐
│ HUB │
│ (Orchestrator + Browser Control) │
└─────────────────────────────────────────────────────────────────┘
▲ ▲ ▲
│ │ │
┌───────────────┐ ┌─────────────┐ ┌─────────────┐
│ Pulse │ │ Janitor │ │ Vision │
│ (Stability) │ │ (Obstacles) │ │ (AI) │
│ Priority: 1 │ │ Priority: 5 │ │ Priority: 7 │
└───────────────┘ └─────────────┘ └─────────────┘
MIT - Created by Dhiraj Das