Production-focused FLOW Agent AS stack for Hostinger VPS, designed for Docker Compose and Portainer stack deployments.
Execution path (default):
- Gateway (
flow-gateway) receives intake. - Orchestrator (
flow-orchestrator) validates context readiness (Quad Keystone baseline). - Risk Router classifies by money/time/reputation/security/downtime.
- Executor (
flow-worker) handles low-risk execution. - Medium-risk routes to observer review APIs before completion.
- High-risk requires human approval before execution.
- Completed work writes reflection state to durable storage.
flow-gateway– intake webhook API (FastAPI)flow-orchestrator– control-plane API and routing (BizBrain Lite)flow-worker– Hermes execution workerredis– queue/cachepostgres– durable state (pgvector/pgvector:pg17)ollama– optional local model runtime (local-llmprofile)
cp .env.example .env
# edit .env with real secrets
docker compose config
docker compose build
docker compose up -dWith optional Ollama container:
docker compose --profile local-llm up -dcurl -fsS http://localhost:8080/health
curl -fsS http://localhost:18000/v1/health
curl -fsS http://localhost:18000/v1/flow/healthdocker compose logs -f flow-orchestrator
docker compose logs -f flow-worker
docker compose logs -f flow-gateway- Hostinger deployment guide:
docs/deployment/hostinger-vps.md - Portainer stack guide:
docs/deployment/portainer-stack.md - VPS scripts:
scripts/hostinger/