- Updated: January 28, 2026
- 6 min read
How Hightouch Engineered Its Long‑Running Agent Harness for Scalable Data Sync
Hightouch’s long‑running agent harness is a modular, context‑aware architecture that separates planning from execution, uses dynamic sub‑agents, file‑buffering, and a fan‑out pattern to lightweight models, enabling scalable, low‑code data‑sync and ETL workflows for marketers and data engineers.
Hightouch Unveils a New Engine for Autonomous Marketing
In a recent Amplify Partners article, Hightouch announced the launch of its long‑running agent harness. The solution is designed to let non‑technical users ask complex, multi‑step questions—like “What are the leading indicators of churn?”—and receive data‑driven answers without writing a single line of code. By leveraging the core UBOS platform overview, the harness can tap into any connected data source (Facebook Ads, HubSpot, Snowflake, etc.) and orchestrate sophisticated analysis pipelines in real time.
Architecture Overview: MECE‑Styled Breakdown
1. Planning vs. Execution Layer
The first breakthrough is the explicit split between plan generation and plan execution. When a user submits a prompt, the orchestrator LLM produces a step‑by‑step roadmap (e.g., data extraction → feature engineering → model training → reporting). This roadmap is stored as a structured object and fed back to the model before any heavy lifting begins. By keeping the plan in the foreground, the system avoids the “local optimum” trap that many single‑turn LLM calls fall into.
2. Dynamic Plan Updates
As execution progresses, the agent can invoke an update_plan tool to insert, delete, or reorder steps. For instance, discovering an unexpected spike in user activity may trigger a new sub‑task to investigate that segment. This dynamic loop mirrors human problem‑solving: plan, act, reassess, and re‑plan.
3. Context Buffering with a Virtual File System
Long‑running tasks quickly exceed token limits. Hightouch solves this by letting the agent write_file large query results or intermediate tables to a temporary, session‑specific file system. The file name and a short description stay in the LLM’s context, while the bulk data lives on disk. When needed later, the agent calls read_file to pull the data back into memory. This approach creates a “scratchpad” that mimics human note‑taking without bloating the prompt.
4. Dynamic Sub‑Agents (Hierarchical Delegation)
Some sub‑tasks—like exhaustive feature engineering—are too heavy for the main orchestrator. The harness spawns a dynamic sub‑agent with its own isolated context and a focused objective. The sub‑agent runs to completion, returns a concise summary, and discards its intermediate work. This hierarchy preserves context density while allowing deep, multi‑step reasoning on complex sub‑problems.
5. Fan‑Out to Lightweight Models
Instead of relying on expensive embeddings for every piece of unstructured data, Hightouch adopts a fan‑out pattern. The orchestrator dispatches hundreds of parallel calls to a cheap LLM (e.g., Anthropic’s Haiku) to evaluate individual assets—such as “Is this ad image bright or dark?”—and aggregates the structured results. This method reduces cost, improves latency, and sidesteps the brittleness of static vector stores.
Why This Matters for Data Sync, ETL, and Low‑Code Integration
- Scalable Context Management: File buffering and sub‑agents keep token usage low, allowing pipelines that process millions of rows without hitting model limits.
- Real‑Time Decision Making: The fan‑out architecture delivers sub‑second insights on ad creative performance, enabling real‑time sync of marketing metrics.
- Low‑Code Orchestration: Users define high‑level goals in plain language; the harness translates them into executable steps, eliminating the need for custom ETL scripts.
- Cost Efficiency: By delegating bulk classification to inexpensive models, overall API spend drops dramatically compared to monolithic LLM pipelines.
- Auditability & Reproducibility: Every plan, file write, and sub‑agent run is logged, making it easy to trace how a KPI was derived—a key requirement for compliance teams.
Real‑World Impact and Use Cases
Since its beta release, the harness has powered several high‑visibility scenarios:
- Churn Prediction Workshops: Marketing teams ask “What are the leading indicators of churn?” and receive a full feature‑importance report, complete with visualizations, in under two minutes.
- Creative Fatigue Detection: By fan‑outing image analysis across thousands of Instagram ads, the system flags creatives that have declining CTR, prompting automated refresh cycles.
- Cross‑Channel Attribution Modeling: The agent pulls data from Google Ads, Meta, and email platforms, builds a lightweight attribution model, and delivers a concise executive summary.
- Dynamic Audience Segmentation: Users request “Assemble a high‑value audience for a 20 % sale,” and the harness returns a ready‑to‑use segment ID that can be pushed back to ad platforms instantly.
These examples illustrate how the harness turns what used to be weeks of data‑engineer effort into a few conversational clicks—exactly the promise of modern AI‑driven data integration.
How UBOS Mirrors These Innovations
At UBOS homepage, we have been building a similar philosophy of “AI‑first, low‑code orchestration.” Our AI marketing agents leverage the same planning‑execution split, allowing marketers to generate campaign strategies without writing SQL. The Workflow automation studio provides a visual canvas for defining sub‑agents, while the Web app editor on UBOS lets developers embed custom file‑buffering logic when needed.
For enterprises seeking a turnkey solution, the Enterprise AI platform by UBOS offers built‑in connectors to all major data warehouses, mirroring Hightouch’s data‑source agnosticism. Startups can explore rapid prototypes via the UBOS for startups program, while SMBs benefit from the UBOS solutions for SMBs.
Our UBOS templates for quick start include ready‑made agents for AI SEO Analyzer and AI Article Copywriter, which adopt the same dynamic sub‑agent pattern. For voice‑first experiences, the ElevenLabs AI voice integration brings natural‑language responses to the front‑line, similar to Hightouch’s conversational reporting.
Adopting a Long‑Running Agent Harness in Your Stack
If you’re a data engineer or integration architect, consider the following checklist:
- Map all source systems to a unified schema (e.g., via OpenAI ChatGPT integration for natural‑language query translation).
- Define high‑level business goals as plain‑language prompts.
- Enable file buffering for any step that returns >10 k rows.
- Configure sub‑agent policies: allocate cheap LLMs for classification, reserve larger models for strategic reasoning.
- Instrument logging for every
make_plan,execute_step_in_plan, andupdate_plancall to satisfy audit requirements.
By following this framework, you can replicate Hightouch’s success while staying within your organization’s cost and compliance boundaries.
Ready to Transform Your Data Integration?
Discover how our data integration blog explains the fundamentals of building robust pipelines, and explore the real‑time sync solutions that power instant marketing insights. To learn more about the team behind these innovations, visit our About UBOS page.
Whether you’re a startup looking for rapid prototyping or an enterprise seeking a scalable AI platform, UBOS provides the tools, templates, and partner ecosystem to accelerate your journey. Join the UBOS partner program today and start building the next generation of autonomous data agents.
Andrii Bidochko
CTO UBOS
Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.