Multi-Agent Content Systems from Mobile: An Engineering Retrospective

    This article reviews how to run a multi-agent content system remotely from a phone. Instead of treating mobile as a smaller desktop, it frames the phone as a decision and exception-handling interface backed by a layered architecture: a thin interaction layer, an orchestration layer, and specialized execution agents. It covers role decomposition, contract-based messaging, layered context and memory, state machines with idempotency and human approval gates, measurable quality checks, and cost, security, and observability guardrails, then outlines applicability boundaries and a three-step adoption path.

    Introduction: The Bottleneck Is the Command Structure, Not the Device

    Most people still imagine mobile work as “moving desktop tasks onto a smaller screen.” But the more interesting question is different: when you are away from your computer and have only a phone, can a content system made of multiple agents still run reliably?

    The answer is yes, but it is not science-fiction-style full automation. It is a division of labor in which humans make judgments and agents do the execution. In this setup, the phone serves as the decision entry point and exception-handling terminal, not as the main productivity engine. Based on a real test conducted during a trip, this article abstracts a general architecture and engineering practices without referencing any specific product.

    1. Layering the Pipeline: A Minimal Front End, a Capable Back End

    A system that can be commanded remotely needs at least three layers:

    • Interaction layer: a chat window on the phone, responsible only for issuing intent, adding constraints, and confirming results.
    • Orchestration layer: task decomposition, role routing, state management, and retry policies. This is the scheduling core of the system.
    • Execution layer: several specialized agents responsible for retrieval, writing, rewriting, image generation, review, and archiving.

    The key point is that the interaction layer must stay thin. Typing long text on a phone is inefficient and error-prone, so commands should be structured and reusable. For example, common intents can be fixed as short commands:

    1. /topic subject=remote content system audience=developers output=outline
    2. /write outline_id=1024 style=technical retrospective words=1500
    3. /review draft_id=1024 dimensions=facts,terminology,structure
    4. /archive draft_id=1024 target=knowledge base

    The benefit is that the phone only transmits “intent + parameters,” while the orchestration layer retrieves context and materials from storage. This avoids repeatedly moving large blocks of text over a mobile network.

    2. From a Single Assistant to Multiple Agents: How the Bottleneck Appeared

    The initial approach was natural: hand everything to one “all-in-one assistant.” To-dos, topic selection, writing, images, and research analysis were all stuffed into it. The short-term experience was excellent because there was finally an executor available on demand.

    But problems accumulated quickly:

    1. Context pollution. Terminology, tone, and format requirements from different tasks mixed in the same context, causing style drift.
    2. Difficult failure attribution. When results were poor, it was impossible to tell whether the cause was insufficient retrieval, a poor writing strategy, or missing review.
    3. Mixed permissions and risks. High-risk actions such as retrieval, publishing, and deletion shared the same channel as low-risk writing.
    4. Uncontrollable cost. Repeatedly replaying long contexts drove up both token consumption and latency.

    So the direction of evolution was not a “stronger monolith” but a multi-agent structure with single responsibilities that could be evaluated independently.

    3. Role Decomposition and Contract Design

    The recommended minimal set of roles:

    • Research agent: only performs retrieval, extraction, and citation organization, producing a structured fact list.
    • Writing agent: only consumes the fact list and outline, and does not invent facts on its own.
    • Visual agent: generates image prompts from the draft’s key points and produces images.
    • Review agent: scores along fixed dimensions and gives actionable revision suggestions.
    • Archiving agent: handles metadata, versioning, and storage.

    Roles communicate through “contracts” rather than free text. A sample message structure:

    1. {
    2. "task_id": "1024",
    3. "role": "writer",
    4. "input": {
    5. "outline_ref": "outline://1024",
    6. "facts_ref": "facts://1024",
    7. "constraints": {"tone": "technical", "words": 1500}
    8. },
    9. "output_schema": ["draft_ref", "open_questions"]
    10. }

    Contract-based communication brings three direct benefits: replaceable implementations, parallel execution, and automated evaluation. On mobile, you only need to look at “items pending confirmation” instead of checking every intermediate artifact word by word.

    4. Layered Context and Memory Management

    Remote scenarios place higher demands on context management. Four layers are recommended:

    • Instruction layer: the hard requirements for the current task, with the highest priority.
    • Fact layer: citable materials and sources, with version numbers.
    • Style layer: long-term writing standards, maintained separately and injected on demand.
    • Session layer: temporary additions and clarifications, reclaimed when the task ends.

    In engineering terms, avoid “full concatenation.” A more reliable approach is to retrieve first and then inject, and to validate citations in the fact layer: every key claim in the writing output should point back to a record in the fact layer; otherwise, review marks it as pending verification.

    5. Orchestration and State Machines: Getting the System to “Turn Slowly”

    The essence of mobile work is asynchronous. A person may check the phone only once every few hours, so the system must be interruptible and recoverable. A state machine is the most intuitive way to describe the task lifecycle:

    1. DRAFTED -> FACT_CHECKED -> WRITTEN -> REVIEWED -> APPROVED -> ARCHIVED
    2. | | |
    3. v v v
    4. BLOCKED RETRY NEEDS_HUMAN

    The orchestration layer needs three mechanisms:

    1. Idempotency: repeated delivery of the same task_id does not produce duplicate artifacts.
    2. Timeout and retry: distinguish retryable errors (network, rate limiting) from non-retryable errors (constraint conflicts).
    3. Human gates: high-risk actions must wait for confirmation on the phone, defaulting to deny rather than allow.

    Pseudocode sketch:

    1. def run(task):
    2. state = load_state(task.id)
    3. while state not in ("ARCHIVED", "BLOCKED"):
    4. action = planner.next_action(state)
    5. result = action.execute()
    6. if result.needs_human:
    7. notify_mobile(task.id, result.summary) # wait for confirmation
    8. state = wait_for_approval(task.id)
    9. else:
    10. state = reducer.apply(state, result)
    11. return state

    6. Quality Assurance: Turning “Looks Fine” into Something Measurable

    Without careful proofreading in front of a computer, quality must rely on mechanisms rather than the human eye. Four practical gates:

    • Factual consistency: align claims with the fact layer one by one, and block anything missing.
    • Terminology consistency: maintain a glossary to standardize capitalization, abbreviations, and translated names.
    • Structural completeness: check whether the opening, arguments, evidence, and conclusion are all present.
    • Style thresholds: set computable metrics such as sentence-length distribution and paragraph length; exceeding the range triggers a rewrite.

    Review output should be a structured issue list rather than a vague evaluation:

    1. {"issues":[
    2. {"type":"unsupported_claim","text_ref":"p3","action":"add a source or remove"},
    3. {"type":"style_drift","metric":"avg_sentence_len","value":42,"range":[18,28]}
    4. ]}

    This way, the phone only handles a small number of high-value decisions before the system continues.

    7. Cost, Security, and Observability

    The biggest fear in remote operation is “unattended loss of control.” Three bottom lines:

    • Cost: set context limits and call budgets for each role; when the budget is exceeded, degrade to “summary only.”
    • Security: the execution layer has no publishing permission by default; write operations go through a whitelist and secondary confirmation; keys never enter the conversation context.
    • Observability: use unified log fields (task_id, role, latency, token, retry) with monitoring and alerts; on exceptions, the phone receives only an aggregated summary and the next recommended step.

    8. Test Results and Applicability Boundaries

    This test shows that mobile competitiveness does not come from the screen or compute power, but from whether the back end has clear role boundaries, contract-based communication, and a recoverable state machine. The suitable scenarios are asynchronous content production and research processing that can tolerate latency. It is not suitable for layout work, complex tables, and real-time collaboration that require frequent, fine-grained interaction.

    The rollout recommendation is three steps: first structure the commands, then split the monolith into two or three roles and introduce a review gate, and finally add idempotency, budgets, and alerts. With these three steps in place, you truly gain the ability to “command a group of agents from your phone,” rather than shrinking your desk into your pocket.