KALNET Agent Prompts: Quick Reference
Use this as a lookup table. See the full prompts inKALNET-AGENT-STRATEGY.md.
STAGE 0: Foundation (30 mins)
Agent 0.1: Network & Infrastructure
Duration: 8 mins | Files: 4 | Complexity: MediumKey Output: Traefik proxy, docker-compose.prod.yml, routing config
Integration: All other services depend on this
Validation:
docker-compose build && docker-compose up -d
Quick Brief:
- Traefik reverse proxy (centralized routing)
- Service labels for automatic routing
- Health checks + resource limits
- TLS/SSL foundation
Agent 0.2: Persistent Storage & Data Architecture
Duration: 6 mins | Files: 3 | Complexity: LowKey Output: init-storage.sh, storage structure, backup strategy
Integration: All data-bearing services depend on this
Validation:
./init-storage.sh && ls -la nas-storage/
Quick Brief:
- Volume management strategy
- Storage initialization script (idempotent)
- Data layout for Jellyfin, n8n, Samba
- Backup/recovery procedures
Agent 0.3: Observability & Monitoring
Duration: 10 mins | Files: 5 | Complexity: HighKey Output: Logging aggregation, metrics collector, health dashboard
Integration: Used by Stage 2 Dashboard (2.1)
Validation: Health checks visible in logs, metrics accessible Quick Brief:
- Centralized logging (Loki or file-based)
- Prometheus-compatible metrics
- Go-based metrics collector
- HTML dashboard for service status
- Alert rules + thresholds
Agent 0.4: Security & Authentication
Duration: 8 mins | Files: 4 | Complexity: MediumKey Output: Security config, secrets template, firewall rules, auth strategy
Integration: Secrets used by all services
Validation:
./init-security.sh && cat .secrets.example
Quick Brief:
- Auth strategy per service (Jellyfin, n8n, Samba, API key)
- Secrets management (gitignore, environment injection)
- Firewall rules (ufw for ArchLinux)
- Access control matrix
- Pre/post-deployment checklists
STAGE 1: Core Services (45 mins)
Agent 1.1: Game Streaming & Remote Access
Duration: 12 mins | Files: 6 | Complexity: HighKey Output: Sunshine Docker setup, Moonlight client guides, game import scripts
Integration: Feeds into Dashboard (2.1)
Validation: Stream a game from another device Quick Brief:
- Sunshine container (game streaming server)
- Moonlight client setup (iOS, Android, Windows, Mac, Linux)
- Integration with Jellyfin (game discovery)
- Performance tuning (bitrate, resolution, FPS)
- Game library import
Agent 1.2: Private Communications & Social Layer
Duration: 12 mins | Files: 5 | Complexity: HighKey Output: Matrix/Synapse Docker setup, client guides, room structure
Integration: Used by 1.4 (n8n notifications), 2.1 (dashboard notifications)
Validation: Send a message via Element app Quick Brief:
- Matrix/Synapse server (E2E encrypted family chat)
- Element client setup (Web, iOS, Android)
- Default room structure (#general, #alerts, #requests, #projects)
- Backup/recovery for chat history
- Encryption key management
Agent 1.3: Custom Code Deployment & CI/CD
Duration: 12 mins | Files: 5+ | Complexity: HighKey Output: Webhook receiver, deployment pipeline, Dockerfile templates
Integration: Builds and deploys everything, critical infrastructure
Validation: Git push triggers automatic deploy Quick Brief:
- Git webhook receiver (on push → build → deploy)
- Deployment pipeline (validate, build, test, deploy, healthcheck, rollback)
- Dockerfile templates (Go, Python, Node, Rust)
- Version tagging (semver, git commit hash)
- Deployment status → notifications to chat
Agent 1.4: Advanced n8n Workflows & Integrations
Duration: 8 mins | Files: 7+ | Complexity: MediumKey Output: Pre-built workflows (JSON exports), integration guide, templates
Integration: Sends notifications via 1.2 (comms), integrates with everything
Validation: Import a workflow, test it, verify notification sent Quick Brief:
- Pre-built workflows (file added → notify, service down → alert, etc.)
- Webhook receiver for external triggers
- API integration patterns (HTTP, REST)
- Secrets management in n8n
- Testing/debug mode instructions
Agent 1.5: Extended Discovery Service & Service Mesh
Duration: 10 mins | Files: 5 | Complexity: HighKey Output: Enhanced Go service, service mesh config, API specification
Integration: Used by Dashboard (2.1), deployment pipeline (1.3)
Validation: Query service registry, get responses Quick Brief:
- Service registration API (dynamic service discovery)
- Service-to-service communication (authentication, routing)
- Circuit breaker pattern (fail gracefully)
- Metrics (request count, latency, error rate per service)
- Admin API (register, deregister, list services)
- Integration with deployment pipeline (auto-register on deploy)
STAGE 2: Integration & Polish (30 mins)
Agent 2.1: Unified Dashboard & UI Layer
Duration: 12 mins | Files: 4-5 | Complexity: HighKey Output: React/vanilla JS dashboard app, API server, screenshots
Integration: Displays data from 0.3, 1.1, 1.2, 1.5
Validation: Dashboard loads, shows all services, updates in real-time Quick Brief:
- React or vanilla JS single-page app
- Service status cards (live from Discovery Service)
- Activity feed (recent events)
- System metrics (CPU, memory, disk, network - graphs)
- Quick action buttons (restart service, view logs, run backup)
- Mobile responsive, dark mode, accessibility
- WebSocket for real-time updates (with polling fallback)
Agent 2.2: Configuration & Setup Wizard
Duration: 8 mins | Files: 4 | Complexity: MediumKey Output: Interactive setup wizard (Go), config schema, validation scripts
Integration: Used on first deployment, reusable for reconfig
Validation: Run wizard, verify generated config files Quick Brief:
- Interactive setup (asks about network, services, storage, users)
- Config file generation (YAML with all options documented)
- Pre-flight validation (disk space, ports, permissions)
- Post-setup validation (can reach all services)
- Re-runnable (safe to update config anytime)
- Environment variable overrides (Docker/k8s friendly)
Agent 2.3: Documentation & Onboarding
Duration: 8 mins | Files: 10+ | Complexity: LowKey Output: Complete docs site (Markdown), guides per service, quick ref cards
Integration: Comprehensive reference for everything
Validation: Docs searchable, keyboard navigable, links working Quick Brief:
- User guides (installation, service guides, common tasks, troubleshooting)
- Developer guides (API reference, architecture, contributing, debugging)
- Quick reference cards (CLI commands, API endpoints, service ports, shortcuts)
- Video tutorials (2-5 min each, optional)
- Printed cheat sheet PDFs
STAGE 3: Validation & Testing (20 mins)
Agent 3.1: Integration Tests & Validation Suite
Duration: 12 mins | Files: 5 | Complexity: HighKey Output: Test suite (Go), performance benchmarks, stress tests
Integration: Validates all of Stages 0-2
Validation:
./run-tests.sh passes
Quick Brief:
- Integration tests (all services start, health checks pass, cross-service communication works)
- User flow tests (create account → login → use service → logout)
- Error scenario tests (crash → recover, network fail → recover)
- Performance tests (startup time, API latency, throughput)
- Stress tests (24-hour run, memory leaks, disk usage monitoring)
- Runs in <5 minutes
Agent 3.2: Release & Deployment Validation
Duration: 10 mins | Files: 4 | Complexity: MediumKey Output: Release scripts, deployment procedures, rollback automation
Integration: Final step before production
Validation: Automated release, zero-downtime deployment, successful rollback Quick Brief:
- Semantic versioning (x.y.z)
- Automated changelog generation
- Pre-release checklist (tests pass, docs updated, security reviewed)
- Staging deployment (test before production)
- Production deployment (zero-downtime)
- Automatic rollback (if health checks fail)
- Health monitoring during/after deployment
- Notifications to family (deployment status)
Lookup by Function
I Need to…
…add a new service to KALNET → Use Agent 1.3 (CI/CD) + Agent 1.5 (Discovery) → Push code to git, pipeline auto-deploys, discovery auto-registers …access KALNET from my phone → Use Agent 2.1 (Dashboard) for UI → Use Agent 1.1 (Games), 1.2 (Comms), or Jellyfin directly …backup my data → Use Agent 0.2 (Storage) for backup strategy → Use Agent 1.4 (n8n) to automate backups …see what services are running → Use Agent 1.5 (Discovery Service) to query/discover
→ Use Agent 2.1 (Dashboard) to view status visually
…set up encryption
→ Use Agent 0.4 (Security) for TLS
→ Use Agent 1.2 (Comms) for E2E chat encryption
…automate something
→ Use Agent 1.4 (n8n) to build the workflow
…deploy custom code
→ Use Agent 1.3 (CI/CD) to git push → auto-deploy
…understand the system
→ Use Agent 2.3 (Docs) or KALNET-ARCHITECTURE.md
Quick Prompts for Copy-Paste
Below are ultra-short versions if you want to prompt agents directly without reading the full documents.0.1: Network & Infrastructure
0.2: Storage & Data
0.3: Observability
0.4: Security
1.1: Game Streaming
1.2: Private Communications
1.3: CI/CD Pipeline
1.4: n8n Workflows
1.5: Service Mesh
2.1: Dashboard
2.2: Setup Wizard
2.3: Documentation
3.1: Tests
3.2: Release & Deployment
When to Run Each Agent
Last updated: Jan 30, 2025
KALNET Status: MVP deployed, architecture ready for expansion
Next Steps: Pick a stage and start running agents! 🚀