agent/ is an agent directory for a
small ops assistant (vps-ops), and deploy.mjs builds it with
lousho build --target=docker, ships the context over SSH, and runs the
container on a Hostinger virtual machine.
What it deploys
vps-ops answers operator questions about the host it runs on: host_status
(OS, uptime, load, memory) is live facts, and a small scratchpad
(write_note/read_note/list_notes) persists operator notes — writes ask
for approval, reads are always allowed. The model is
openrouter/openai/gpt-4o-mini.
Run it
/opt/lousho-agent, builds and (re)starts the
lousho-agent container on port 3000, then polls /health and sends one
/chat round-trip. It only touches the lousho-agent container — VM
provisioning, recreates and billing ops are intentionally out of scope (use
the Hostinger API/console for those).
After deploy: