KALNET Agent Batch Executor Guide
How to actually invoke agents to build out KALNET’s full architecture in parallel.Quick Start: Run One Stage
Recommended Batch Sequences
Batch A: Build Foundation Tonight (30 mins, 4 agents)
Goal: Infrastructure layer ready for services- Traefik reverse proxy configured
- Storage/volume strategy defined
- Observability/logging ready
- Security foundation + secrets management
Batch B: Deploy Core Services (45 mins, 5 agents)
Goal: Streaming, automation, chat, CI/CD, service mesh Run AFTER Stage 0 completes.- Game streaming (Sunshine/Moonlight)
- Private encrypted comms (Matrix)
- CI/CD pipeline with git webhooks
- n8n automation workflows
- Enhanced discovery service with service mesh
Batch C: Polish & Integration (30 mins, 3 agents)
Goal: Unified UI, setup wizard, documentation Run AFTER Stage 1 completes.- Beautiful unified dashboard
- Interactive setup wizard
- Comprehensive documentation (user + dev)
Batch D: Validate & Release (20 mins, 2 agents)
Goal: Tests passing, release procedures ready Run AFTER Stage 2 completes.- Full test suite (integration, performance, stress tests)
- Release procedures and deployment automation
- Pre-release checklist
- Rollback procedures
Individual Agent Invocation
If you want to run agents one at a time or in custom batches:Agent Prompts (Inline)
If using Claude directly, here are the prompts formatted for copy-paste:STAGE 0 (Copy one at a time to Claude)
Agent 0.1: Network & Infrastructure
Integration Points Between Agents
When Agent Finishes
Each agent should report:- Status: PASS or FAIL
- Deliverables: List of files created
- Dependencies Met: What it depends on (and did they complete?)
- Blocking Issues: Anything that would block next stage
Validation Checkpoints
After each stage, verify:Workflow: Step-by-Step Execution
If You Have 2+ Hours (Run All Stages in Parallel)
If You Have 30 Mins (Just Run Stage 0)
If You Have 1.5 Hours (Stages 0-2)
Agent Communication
Status Messages
Each agent should output:Failure Handling
If an agent reports failure:Monitoring Agent Progress
Real-Time Progress
Summary After Each Stage
Customization: Skip/Reorder Agents
Example: Run Only Networking (0.1) + Code Deployment (1.3)
Example: Prioritize Dashboard + Docs
Output Organization
All agent deliverables should be organized as:Checkpoints: Before Proceeding to Next Stage
After Stage 0 ✓- All 4 agents report COMPLETE
- docker-compose.prod.yml validates
- .env.example has all required variables
- Security foundation is documented
- No blocking issues reported
- All 5 agents report COMPLETE
- All service docker images build successfully
- Enhanced discovery service compiles
- Workflow templates are valid n8n exports
- No blocking issues reported
- All 3 agents report COMPLETE
- Dashboard loads without errors
- Setup wizard runs and creates config
- Documentation is complete and searchable
- No blocking issues reported
- All tests pass
- Release procedures documented
- Rollback tested successfully
- Ready for production deployment!
Estimated Timelines
| Scenario | Approach | Wall Clock | Agent Hours |
|---|---|---|---|
| Full build (all 14 agents) | All parallel by stage | ~2 hours | 5.5 hours |
| Build Stages 0-2 | All parallel | ~1.75 hours | 4.5 hours |
| Just Stage 0 (foundation) | 4 in parallel | ~30 mins | 0.5 hours |
| Sequential (one agent/time) | One at a time | ~1.75 hours | 5.5 hours |
| Pick & choose (8 agents) | Custom selection | ~1 hour | 3 hours |
Pro Tips
- Validate early: Don’t wait for stage to complete. Check agent 0.1 output while 0.2-0.4 are running.
- Skip non-critical agents: Don’t need observability yet? Skip 0.3. Need to ship fast? Skip 2.3 docs (for now).
- Reuse from existing: If you already have Traefik config from another project, tell agent 0.1 and it can adapt it instead of starting from scratch.
- Parallelize more aggressively: If you have compute, don’t wait for stage to complete. Start Stage 1 agents once Stage 0.1-0.2 are done (they don’t depend on 0.3-0.4).
- Create a Makefile:
If Something Goes Wrong
Agent Fails During Stage 0
Agent Completes But Output Is Wrong
Stage N Has Blocking Issue for Stage N+1
This guide gives you everything needed to orchestrate agent-driven KALNET development at scale! 🚀