Watchdog Panda is the uptime guardian of the Panda Federation — a lightweight, local‑first monitoring agent that keeps your system, services, and AI agents alive, responsive, and stable.
It watches.
It reports.
It protects.
Watchdog Panda ensures that Spirit Panda, Steel Panda, and future Federation agents always know the state of the system.
Spirit Panda ← receives status + insights
▲
│
Watchdog Panda ← monitors uptime, processes, agents
│
▼
Steel Panda ← executes tasks + corrective actions
Watchdog Panda is the first line of defense, ensuring:
- Spirit Panda always has accurate system awareness
- Steel Panda only acts when necessary
- The Federation remains stable, predictable, and sovereign
- Local‑first monitoring loop
- Configurable heartbeat intervals
- Process/service uptime checks
- Failure detection and escalation
- Optional logging and event timeline
- Integration hooks for Spirit Panda
- Trigger hooks for Steel Panda
- Lightweight, modular architecture
Clone the repository:
git clone https://github.com/pandadad0214/watchdog-panda.git
cd watchdog-panda
Install dependencies (adjust based on your implementation):
pip install -r requirements.txt
or:
npm install
Watchdog Panda uses a simple configuration file:
config/
└── watchdog.yaml
Example:
heartbeat_interval: 5s
services:
- name: spirit-panda
type: process
- name: steel-panda
type: process
alerts:
on_failure: true
notify_spirit: true
trigger_steel: true
A timed loop checks:
- processes
- services
- agents
- system metrics (optional)
If something stops responding, Watchdog Panda:
- logs the event
- notifies Spirit Panda
- optionally triggers Steel Panda
Steel Panda may:
- restart a service
- run a script
- perform cleanup
- escalate to the user
watchdog-panda/
│
├── assets/ # Logos, images, crests
├── docs/ # Documentation
│ └── index.md
├── src/ # Core source code
├── scripts/ # Optional automation tools
│
├── LICENSE
├── README.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
└── CHANGELOG.md
- Multi‑agent heartbeat mesh
- Federation‑wide status dashboard
- Local‑first event timeline
- Configurable escalation levels
- Optional encrypted logs
- Integration with PandaMom and PandaLily
- Auto‑recovery routines
Full documentation is available at:
/docs/index.md
Build slow.
Build steady.
Build sovereign.
Watchdog Panda stands guard so the Federation may thrive.
This project is licensed under the MIT License.
See the LICENSE file for details.
