Building a production AI worker harness from first principles: market, technology, compliance, and an 18-month roadmap
Zenfai is positioned at the intersection of two powerful trends: the collapse of AI implementation costs and the structural inefficiency of traditional SMEs. The company is not a chatbot vendor, not an enterprise AI platform, and not an AI-washing SaaS. It is a new category: an AI worker implementation firm for businesses that run on email, WhatsApp, spreadsheets, and basic ERPs.
The strategic opportunity is clear. Traditional SMEs across Europe, Turkey, and B2B trade corridors spend enormous amounts of human time on repeated operational workflows, quote preparation, order tracking, production status updates, owner briefings. These companies have not adopted AI because existing tools require an AI team, a platform migration, or a tolerance for uncontrolled automation. Zenfai removes all three barriers with its pilot-led, human-approved AI worker model.
However, the product cannot be built on top of a generic agent framework. The research confirms that Zenfai must build its own harness from the ground up, using a 12-level progression from basic chat interface to production deployment. The ARLI project provides a validated reference implementation, but Zenfai needs a focused, business-specific harness rather than a general-purpose system. The ARLI components that matter most are its actor-based agent loop, its kernel-level sandbox, its multi-agent swarm orchestration, its memory system, and its audit architecture.
This report synthesizes research from three sources:
Every recommendation in this report is tied to one of the 12 harness levels, a specific market segment, or a compliance requirement. The goal is not breadth for its own sake, but actionable depth.
Zenfai's initial three AI workers. Iris, Atlas, and Nora, are well chosen. They cover the customer-facing, operational, and executive layers of a typical SME. Each has a clear scope and a clear human approval boundary.
| Worker | Function | Core Value | Approval Gate |
|---|---|---|---|
| Iris | Inquiry and quote preparation | Reduces quote prep time by 60–80% | All customer-facing quotes require human approval |
| Atlas | Order and production tracking | Surfaces risks 2–5 days earlier; reduces status inquiries by 70% | All customer status updates require human approval |
| Nora | Owner briefings and exceptions | Reduces briefing time from hours to minutes | Strategic decisions remain with the owner |
Beyond the initial three, Zenfai should develop a pipeline of specialized workers. The research suggests five high-priority additions:
| Worker | Function | Target Industry | Harness Level |
|---|---|---|---|
| Mercury | Payment follow-up and invoice reconciliation | Trade, distribution, services | Level 5 (multi-step workflow) |
| Freya | Supplier inquiry and procurement coordination | Manufacturing, construction | Level 5 (multi-step workflow) |
| Sage | Document extraction from PDFs, scans, contracts | All B2B verticals | Level 2 (tool-calling) + Level 7 (RAG) |
| Scout | Lead qualification and partner opportunity triage | Sales, partnerships | Level 6 (multi-agent swarm) |
| Ledger | Cost estimation and margin analysis | Construction, manufacturing | Level 9 (human-in-the-loop) |
The most scalable path to software subscriptions is vertical templates, reusable AI worker configurations for industries with similar workflows. The research identifies four strong candidates:
| Vertical | Common Workflows | Template Readiness | Why It Works |
|---|---|---|---|
| Metalworking / fabrication SMEs | Quote from drawings, order tracking, material availability | High | Workflows are extremely standardized; data is structured |
| Industrial distribution | RFQ handling, stock checks, delivery status, invoice follow-up | High | High email volume, repeated questions, clear ROI |
| Construction subcontracting | Document tracking, subcontractor coordination, cost checks | Medium | Fragmented but high-value; data is semi-structured |
| Import/export trading | Customer inquiry, customs document prep, shipment tracking | Medium | Cross-border complexity rewards automation |
Many of Zenfai's target SMEs operate primarily on WhatsApp. A WhatsApp-native AI worker interface is not a feature, it is a market entry strategy. The worker should receive customer messages, prepare draft replies, and route them to a human for approval before sending. The approval UI should also be WhatsApp-native: a notification with approve/reject/edit buttons.
ARLI's arli-gateway/src/whatsapp.rs provides a reference for WhatsApp integration, but Zenfai should not adopt the full 20-platform gateway. Start with web widget + WhatsApp. Expand only after validation.
France and Turkey require native-quality handling of French and Turkish. The research indicates that multilingual models (e.g., GPT-4o, Claude 3.5, Kimi) are sufficient for business communication, but specialized terminology requires domain adaptation. Zenfai's strategy should be:
This is the most important front. Zenfai must build a custom harness, not rent one. The 12-level framework provides a clear progression from prototype to production.
The research and ARLI analysis point to a hybrid answer:
| Level | What to Build | From ARLI | Effort | Priority |
|---|---|---|---|---|
| 1. Chat Interface | Web widget with streaming responses, session state | Agent actor model, session compaction | 2–3 weeks | Critical |
| 2. Tool-Calling | Tool registry, JSON schema execution, error handling | 18 builtin tools, registry pattern | 3–4 weeks | Critical |
| 3. Memory | Short-term buffer, vector recall, context compression | memory.rs, lessons.rs | 3–4 weeks | Critical |
| 4. ReAct Loop | Observe-think-act-reflect cycle, iteration limits | agent.rs, quality_critic.rs | 4–5 weeks | Critical |
| 5. Multi-Step Workflow | Sequential tool chains, state dependencies | task_state.rs, task_contract.rs | 4–5 weeks | High |
| 6. Multi-Agent Swarm | Supervisor + worker agents, shared memory | swarm/ directory, shared_memory.rs | 6–8 weeks | High |
| 7. RAG Grounding | Knowledge base pipeline, citation, hallucination testing | skill_loader.rs, native_search.rs | 4–6 weeks | Critical |
| 8. Evaluation Harness | Automated tests for accuracy, latency, regression | harness_telemetry.rs, harness_analytics.rs | 4–5 weeks | High |
| 9. Human-in-the-Loop | Approval gates, pause/resume, audit trail | policy.rs, agent_governance.rs, audit.rs | 5–7 weeks | Critical |
| 10. Cost Optimization | Model routing, KV caching, token budgeting | inference.rs, brokering.rs | 3–4 weeks | Medium |
| 11. Security + Guardrails | Prompt injection detection, PII redaction, output filtering | safety.rs, sandbox/, guardrail.rs | 5–6 weeks | High |
| 12. Production Deployment | vLLM/SGLang, observability, alerts, canary | metrics.rs, health.rs, dashboard.rs | 4–6 weeks | High |
For the first public website agent and first pilot, Zenfai needs only Levels 1–4 plus Level 7 (RAG) and Level 9 (HITL) in a minimal form. The full 12-level system is a 12–18 month build. The MVP must be:
ARLI is a general-purpose harness. Zenfai should extract and adapt, not fork wholesale:
| ARLI Component | What to Take | What to Skip |
|---|---|---|
| Agent actor loop | Mailbox-driven state machine, pause/resume | Full TUI, slash commands |
| Swarm orchestrator | Supervisor/worker pattern, shared blackboard | 20-platform gateway complexity |
| Memory system | FTS5 + vector recall, correction tracking | Reflect mode (too slow for website) |
| Skill loader | Lazy loading of markdown knowledge files | Auto-skill creation (not needed) |
| Policy engine | Allow/deny/approve with rate limits | Hyperliquid trading policies |
| Audit trail | OCSF logging format | On-chain attestation (overkill for MVP) |
| Sandbox | Landlock + seccomp for tool execution | Full verification pipeline if not needed yet |
| Inference router | Model fallback chains, cost routing | Brokering API for external users |
The zenfai.com agent is both a sales tool and a product demo. It must be fast, reliable, and grounded.
Each client deployment should be isolated. The recommended topology:
Europe has approximately 25 million SMEs. France alone has over 4 million SMEs, with manufacturing and trade representing a significant portion. Turkey has over 3 million SMEs, with a strong manufacturing base concentrated in Istanbul, Bursa, Izmir, and Gaziantep. The B2B trade corridor between Turkey and Europe is particularly relevant because it involves repeated cross-border workflows, quotes, orders, customs, logistics, that are ideal for AI workers.
The specific market for AI worker implementation is not a well-defined category in analyst reports, which is itself an opportunity. However, adjacent markets provide benchmarks:
| Category | Examples | Strength | Weakness | Zenfai's Advantage |
|---|---|---|---|---|
| Enterprise AI platforms | Palantir, Databricks, C3.ai | Powerful, scalable | Expensive, require data teams, long sales cycles | 30-day pilot, no AI team needed |
| AI chatbots | Intercom Fin, Zendesk AI, Drift | Easy to deploy | Limited to FAQs; no operational work | Real workflow automation, not just answers |
| AI-washing SaaS | Many legacy tools with "AI" labels | Existing customer base | No real agent behavior; feature bolted on | Native AI worker architecture |
| RPA tools | UiPath, Automation Anywhere | Proven workflow automation | Fragile, require technical setup, UI-based | LLM-native, flexible, human-in-the-loop |
| Emerging AI worker startups | Relevance, Lindy, MultiOn | Modern agent architecture | Often horizontal, not vertical; may lack human approval focus | Vertical focus, safety-first, traditional industries |
France is attractive because of its large SME base, strong manufacturing tradition, and high labor costs that make automation compelling. However, French businesses are conservative and relationship-driven. Trust is built through personal introduction, references, and gradual pilot validation.
Key entry points:
Turkey's manufacturing and export sectors are highly active. SMEs in Turkey are often lean, owner-driven, and responsive to tools that improve speed and reduce errors. The WhatsApp penetration is extremely high, making a WhatsApp-first agent interface particularly suitable.
Key entry points:
Singapore registration provides credibility, a business-friendly regulatory environment, and access to grants such as Enterprise Singapore's schemes. For European clients, Singapore signals seriousness and stability. For potential partners and investors, it provides a clean corporate structure. However, Singapore is not the market, it is the headquarters. Client acquisition must happen in Europe and Turkey.
The research supports a three-tier model aligned with client maturity and workflow standardization:
| Stage | Price Range | Deliverable | Duration |
|---|---|---|---|
| Pilot | €2,000–€8,000 | One AI worker, one workflow, setup, calibration, 30-day review | 1 month |
| Managed Operations | €500–€2,000 per AI worker/month | Operational worker, monitoring, refinements, support | Ongoing |
| Software Subscription | €200–€800 per module/month | Standardized module, dashboard, API | Ongoing |
Pricing should be scoped per workflow complexity, not published as a fixed price list. Complexity factors: number of data sources, number of approval rules, language requirements, integration depth, and message volume.
| Year | Pilots | Managed Ops | Subscriptions | Revenue Range | Team |
|---|---|---|---|---|---|
| 1 | 5–10 | 3–5 | 0–1 | €30k–€100k | 2–3 |
| 2 | 15–25 | 20–30 | 5–10 | €300k–€700k | 5–8 |
| 3 | 30–50 | 40–60 | 50+ | €1.5M–€3M | 12–18 |
A typical pilot:
A client converting to managed operations:
Lifetime value increases dramatically with template reuse. The second client for a given vertical costs 30–50% less to deploy than the first.
At the MVP stage, external funding is not necessary if the team can self-fund or operate leanly. However, funding accelerates three things: harness development, market expansion, and hiring. A pre-seed round of €250k–€500k at a reasonable valuation would be appropriate after 2–3 successful pilots demonstrate conversion and referenceability. Before that, grants from Singapore (Enterprise Singapore, EDB) or European innovation programs may be more suitable.
Zenfai must systematize how it discovers workflows. The recommended process:
As the number of AI workers and clients grows, prompt management becomes a governance issue. The research suggests:
Academic research on agent evaluation (AEMA, Evaluation Agent) emphasizes three dimensions: task completion, transparency, and controllability. For Zenfai, the practical metrics are:
| Metric | How to Measure | Target |
|---|---|---|
| Output accuracy | Human review of AI drafts vs. ground truth | >90% for simple workflows |
| Human edit distance | Number of changes required before approval | <20% of drafts need significant edits |
| Time saved | Compare time to complete workflow before and after | 50%+ reduction |
| Escalation rate | Percentage of tasks that require human clarification | <10% |
| Hallucination rate | False or unsupported claims in output | <1% |
A simple decision matrix:
Fine-tuning should be deferred until at least 5–10 clients in the same vertical have generated sufficient examples. When the cost of prompt engineering exceeds the cost of collecting and fine-tuning on 500–1,000 examples, fine-tuning becomes worthwhile. The research on retrieval-augmented generation (Engineering the RAG Stack, FAIR-RAG) suggests that most gains come from better retrieval and grounding, not from model fine-tuning. Zenfai should prioritize RAG and templates over fine-tuning in the first 12 months.
For EU clients, Zenfai must operate as a data processor under a Data Processing Agreement. The client remains the data controller. Practical steps:
The EU AI Act categorizes AI systems by risk. Zenfai's AI workers are likely limited-risk or high-risk depending on the use case. Systems that interact with humans (chatbots) must disclose that the user is interacting with AI. Systems used for critical infrastructure or employment decisions may be high-risk. Since Zenfai focuses on operational preparation, not autonomous decisions, most workers will fall under limited-risk or transparency obligations. The website agent must include a clear disclosure that the user is talking to an AI.
Singapore's AI Verify framework and PDPA provide a sensible governance baseline. Compliance with Singapore's standards is a positive signal to European clients. Zenfai should consider:
ARLI's security whitepaper identifies a defense-in-depth model that Zenfai should emulate. Key layers:
Research on prompt injection (UniGuardian, Detecting Prompt Injection Attacks) confirms that multi-layered defense, detection classifiers, input validation, and strict output control, is more effective than any single technique.
Zenfai should publish a concise ethical AI statement emphasizing:
A workflow becomes a standardized software module when:
Partners are essential for scaling. The program should include:
Zenfai's free AI education is a strategic moat. Content topics:
Formats: blog, short video, webinar, workshop. Cadence: 1–2 pieces per week once the website is live.
Every successful pilot should generate referrals. The ask should be:
After France and Turkey, the next priority markets should be evaluated on: SME density, AI readiness, partner availability, language complexity, and regulatory ease. Candidates:
A well-funded horizontal AI agent startup could enter the SME space. Zenfai's defense is vertical depth and human-in-the-loop trust. A horizontal player will struggle to match the domain-specific prompt templates, the approval workflows, and the accumulated client data.
If LLM capabilities jump, prompt engineering becomes more valuable, not less. If LLM costs drop, Zenfai's margins improve. The main risk is model dependency. Mitigation: maintain model-agnostic architecture and fallback chains from the start.
SMEs are slow adopters. Pilots may fail because the client is not ready, not because the technology fails. Mitigation: rigorous qualification, clear pilot success criteria, no-penalty pause option, and honest pre-pilot assessment.
Building a custom harness is ambitious. The fallback is to use ARLI as-is for the first MVP while building the Zenfai-specific harness in parallel. This prevents a single-point failure and provides immediate validation.
A single AI worker sending a wrong quote or an unapproved customer message could damage trust. Mitigation: architectural approval gates, never bypassable; comprehensive audit trail; human review for all external actions.
Zenfai has a clear strategic opportunity: bring AI workers to traditional SMEs that have been left behind by platform-centric AI vendors. The path is not to outspend or out-model competitors, but to out-understand the customer, out-simplify the deployment, and out-safeguard the workflow.
The 12-level harness is the right mental model. It breaks a daunting engineering challenge into sequential, verifiable milestones. ARLI provides a proven reference for many of these levels, but Zenfai must build its own business-specific implementation. The first six months are about proving the model with real clients. The next twelve months are about turning successful pilots into a repeatable, scalable product.
The research confirms that this is a viable category, that the technology is ready, and that the main risks are adoption and execution, not fundamental feasibility. The question is not whether AI workers can help traditional SMEs. The question is whether Zenfai can build the right harness, find the right workflows, and earn the trust of the right customers.
| ID | Title | Relevance |
|---|---|---|
| 2607.01233 | Measuring the Gap Between Human and LLM Research Ideas | Human-AI collaboration research |
| 2607.01224 | AutoMem: Automated Learning of Memory as a Cognitive Skill | Memory and learning systems |
| 2607.01223 | Theoria: Rewrite-Acceptability Verification over Informal Reasoning States | Trust and verification |
| 2606.20023 | When Lower Privileges Suffice: Investigating Over-Privileged Tool Selection in LLM Agents | Tool-calling safety |
| 2507.10593 | ToolRegistry: A Protocol-Agnostic Tool Management Library | Tool registry design |
| 2512.11147 | MiniScope: A Least Privilege Framework for Authorizing Tool Calling Agents | Authorization and least privilege |
| 2601.05264 | Engineering the RAG Stack: A Comprehensive Review | RAG architecture and trust |
| 2510.22344 | FAIR-RAG: Faithful Adaptive Iterative Refinement for Retrieval-Augmented Generation | RAG faithfulness |
| 2603.14170 | Citation-Enforced RAG for Fiscal Document Intelligence | Citation enforcement |
| 2404.07220 | Blended RAG: Improving RAG Accuracy with Semantic Search and Hybrid Query-Based Retrievers | Hybrid retrieval |
| 2308.15272 | AutoDroid: LLM-powered Task Automation in Android | Task automation patterns |
| 2401.07324 | Small LLMs Are Weak Tool Learners: A Multi-LLM Agent | Model selection for tool use |
| 2601.11903 | AEMA: Verifiable Evaluation Framework for Trustworthy and Controlled Agentic LLM Systems | Agent evaluation |
| 2502.13141 | UniGuardian: A Unified Defense for Detecting Prompt Injection, Backdoor Attacks and Adversarial Attacks | Security defenses |
| 2512.12583 | Detecting Prompt Injection Attacks Against Application Using Classifiers | Prompt injection detection |
| 2601.12359 | Zero-Shot Embedding Drift Detection: A Lightweight Defense Against Prompt Injections | Lightweight security |
| 2510.11837 | Countermind: A Multi-Layered Security Architecture for Large Language Models | Multi-layered security |
| 2601.18833 | Agentic Business Process Management Systems | AI agents in business processes |
| 2007.13257 | From Robotic Process Automation to Intelligent Process Automation | Industry evolution |
ARLI membership: the notes from the workshop
One site of yours, measured, with the price for the work in the same document
ARLI, Inc., a Delaware corporation. Questions: hq@arliwork.com.