
Tactical Conversational AI Agents and Reactive Typography UI in Production
Andrés Morales
AI & Full-Stack Systems Architect
Real-world software engineering doesn't mirror simplified tutorials: it demands balancing high-context AI agent orchestration, refined user experiences, and rock-solid server infrastructure simultaneously.
Today's production sprint tackled two major technical tracks: designing the specialized AI agent "Sargento Hunter" for tactical brand Warriors Colombia (hooked into Chatwoot omnichannel pipelines), and revamping the frontend architecture for industrial printing company Impresos Americana with responsive typography-driven UI.

1. The Challenge: Tactical AI Agents with Deterministic Handoffs
Customer service automation fails when bots hallucinate or trap users in loops. For Warriors Colombia, we structured an elite K9 persona designed to qualify leads, provide accurate gear specs (Under Armour Valsetz boots, ripstop uniforms, Baofeng off-grid radios), and trigger instant escalation when required.
Operational Prompt Rules
- Disciplined Tone: Fast, structured military camaraderie with responses limited to 2–4 lines.
- Zero Hallucination Pricing: Explicit catalog mapping preventing unauthorized discounts.
- Deterministic Handoff: Immediate
[HANDOFF]tagging whenever high-intent actions (direct buy requests, wholesale quotes, warranty claims) are detected, signaling Chatwoot webhooks to reassign the thread to human agents on duty.
// Conversational sanitization and handoff detector
export interface AgentResponse {
reply: string;
requiresHandoff: boolean;
}
export function processAgentOutput(rawOutput: string): AgentResponse {
const HANDOFF_TAG = '[HANDOFF]';
const requiresHandoff = rawOutput.includes(HANDOFF_TAG);
const cleanReply = rawOutput.replace(HANDOFF_TAG, '').trim();
return {
reply: cleanReply,
requiresHandoff
};
}

2. Frontend Engineering: Pure Code Typography & Responsive Fixes
On the Impresos Americana platform, we prioritized clarity and loading speed for commercial print clients:
- Zero-Dependency Animated Hero: Implemented an in-code monoline SVG letter-shutter headline animation representing offset press mechanics without importing external font weights or heavy graphic files.
- Mobile Layout Stabilization: Cleared horizontal layout overflow bugs on narrow viewports across FAQ and project showcases.
- Technical SEO Baseline: Deployed optimized XML sitemaps and strict crawler rules in
robots.txtfor clean search engine indexing.
3. DevOps & Infrastructure: Production VPS Hardening
Behind every interactive experience lies dedicated server maintenance. Our demo environments and client services run on hardened Linux servers with continuous resilience mechanisms:
- Strict UFW Firewall: Only ports 22, 80, and 443 open; non-standard connection requests are dropped.
- Fail2ban Protection: Active jails inspecting SSH and Docker authentication endpoints to block automated attacks.
- Caddy HTTP/3 Proxy: Automatic TLS 1.3 issuance, QUIC protocol acceleration, and lean reverse-proxy routing to containerized workloads.
- Telegram-Replicated Backups: Automated, compressed database snapshots sent to a private Telegram vault with execution alerts.
# Production database backup script to Telegram vault
#!/usr/bin/env bash
set -euo pipefail
BACKUP_DATE=$(date +"%Y%m%d_%H%M%S")
BACKUP_FILE="/var/backups/crm_db_${BACKUP_DATE}.sql.gz"
docker exec -t crm_db pg_dump -U postgres crm_production | gzip > "${BACKUP_FILE}"
curl -s -F chat_id="${TELEGRAM_ADMIN_CHAT_ID}" \
-F document=@"${BACKUP_FILE}" \
-F caption="🛡️ Backup Complete: CRM Database (${BACKUP_DATE})" \
"https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendDocument" > /dev/null
rm -f "${BACKUP_FILE}"

Summary
Building high-leverage digital products means obsessing over every link in the chain—from prompt boundary conditions to reverse proxies and mobile layout boundaries.
Ready to elevate your engineering architecture? Explore more at andresmorales.com.co.
Need to automate your business operations or ship high-velocity web products?
I architect AI pipelines, modernize stacks with Next.js, and harden Linux infrastructure. Let’s talk architecture, scalability, and measurable ROI.
