═══ UNDER THE HOOD ═══

HOW WE BUILD

Every Scalogy install ships with the same infrastructure we use internally. No black boxes. No duct tape. Here is exactly what runs under every agent we deploy.

🧠

MEMORY MANAGEMENT & PRUNING

AGENTS THAT REMEMBER — WITHOUT THE BLOAT

Every agent we deploy runs a structured memory system. Facts about your business, your preferences, and your workflows are stored in indexed files — not shoved into a single giant prompt. Each session loads only what is relevant.

WHAT IS INCLUDED
File-based memory with typed entries (user, feedback, project, reference)
Automatic pruning of stale or superseded entries
MEMORY.md index kept under 200 lines — enforced, not aspirational
Session-start hooks that surface relevant context without loading everything
Weekly compaction jobs that flag entries older than 30 days for review
WHY IT MATTERS

Most AI deployments degrade over time because context windows fill up with garbage. Our agents get sharper the longer they run, not dumber.

🔐

OFFSITE SECRET MANAGEMENT

YOUR API KEYS NEVER TOUCH THE SERVER

We use Infisical — a self-hosted secrets manager on isolated infrastructure — to store every API key, token, and credential your agents need. Secrets are injected at runtime and never written to disk, environment files, or logs.

WHAT IS INCLUDED
Self-hosted Infisical instance on Railway (separate from agent infrastructure)
Dual-token architecture: read-only for pipelines, read-write for dashboard
Secrets never stored on the VPS — injected at runtime via SDK
Agent code cannot print, log, or return secret values (enforced by guardrails)
Credential rotation without redeploying agents
WHY IT MATTERS

A leaked API key can cost you thousands in minutes. We treat secret management as infrastructure, not an afterthought.

📡

AUTOMATED SESSION MONITORING & PRUNING

NO ZOMBIE PROCESSES. NO RUNAWAY COSTS.

Every agent session is tracked, time-bounded, and automatically cleaned up. A dedicated monitoring agent watches for stale sessions, orphaned processes, and abnormal resource consumption — and kills them before they become problems.

WHAT IS INCLUDED
Session cleanup cron runs every 30 minutes
Automatic termination of sessions idle for more than 30 minutes
RAM alerts when usage exceeds 80% with auto-remediation
PM2 and Caddy watchdog with automatic restart on failure
Thermal and resource monitoring to prevent server crashes
WHY IT MATTERS

AI agents that run unsupervised can rack up compute costs, hog memory, or just hang. Our monitoring layer makes that impossible.

💾

FREQUENT BACKUPS

EVERY 4 HOURS. EVERY REPO. EVERY CONFIG.

A dedicated infrastructure agent backs up all code, configuration, agent memory, and pipeline state to GitHub every four hours. Weekly disaster recovery snapshots are pushed to both GitHub and Google Docs for redundancy.

WHAT IS INCLUDED
Automated backup to GitHub every 4 hours via cron
Weekly disaster recovery pipeline syncs to GitHub and Google Docs
Full workspace backup: code, configs, memory, pipeline state, secrets references
Git-based versioning so you can roll back to any checkpoint
DR documentation auto-updated with current system state
WHY IT MATTERS

Backups are not optional. When something breaks at 2 AM, the recovery path should already be there — tested, documented, and current.

DETERMINISTIC PIPELINES

NO HALLUCINATIONS. NO DRIFT. JUST EXECUTION.

Our agents do not generate emails, reports, or workflows on the fly from raw prompts. Every pipeline runs through pre-written templates, deterministic logic, and auditable execution paths. AI assists with generation — but the rails are fixed.

WHAT IS INCLUDED
Template-based email campaigns with variable substitution, not prompt generation
Every pipeline step logged with timestamp, input, output, and status
Audit trails for every email sent, every API call made, every decision point
Brand scoring gates that block off-brand content before it ships
Cron-driven execution (not prompt loops) so pipelines run on schedule, not on vibes
WHY IT MATTERS

AI drift is real. An agent that "writes your emails" will eventually say something you would never say. Deterministic pipelines keep your brand voice locked in and your operations predictable.

WANT THIS FOR YOUR BUSINESS?

Every install gets the full platform — memory, secrets, monitoring, backups, and deterministic pipelines. No tiers. No upsells.

BOOK A DISCOVERY CALL