Rethinking Agent Architecture: Beyond Thin Harness and Fat Skills

    In modern Agent architecture design, "Thin Harness, Fat Skills" is widely regarded as an efficient engineering principle: keep the core orchestration logic minimal and push business capabilities into independent, deterministic skill modules. While this approach delivers excellent reliability and maintainability, it also creates a subtle cognitive trap—it produces a powerful executor with no capacity to learn. This article examines the limitations of this design principle and explores how introducing a dedicated memory layer can reshape the underlying Agent architecture.

    The “Thin Harness, Fat Skills” Pattern and the Trap of Determinism

    In the traditional “lightweight orchestration + massive skills” architecture, the Harness handles intent recognition, task decomposition, and workflow orchestration, while Skills serve as concrete execution units—typically a set of encapsulated APIs or code functions. The core advantage of this architecture is determinism: the same input always produces the same output. For engineering teams, this “never forgets” characteristic translates into high stability and predictability.

    But hidden behind “never forgets” is a fatal flaw: the system never learns.

    The remarkable thing about human memory is forgetting. Forgetting is not a cognitive defect but a sophisticated information-filtering mechanism. It fades out unimportant details and distills key experiences into tendencies, intuitions, and even muscle memory. A person does not need to remember the exact center-of-gravity shifts and pedal forces from every bicycle ride—they simply “know how to ride.” That knowing is the core capability that forgetting helps humans extract from a sea of redundant data.

    Fat Skills, by contrast, neither forget nor distill. Every skill invocation is a fresh, from-scratch function execution, completely disconnected from the last one. If an Agent has 100 skills, it has 100 capabilities—but those capabilities are isolated from one another, with no accumulation and no “tendencies” grown from real usage. The system merely repeats; it does not grow.

    A Biological Metaphor: Skeleton, Muscles, and Nervous System

    If we compare an Agent system to the human body, the missing piece in the traditional architecture becomes clear:

    1. Harness (orchestration framework) = Skeleton: It determines the system’s structure, posture, and direction of movement. It supports the overall framework, ensuring components work together and task flows move smoothly.
    2. Skills (capability modules) = Muscles: They determine the system’s strength, speed, and concrete actions. Each muscle (each Skill) handles a specific task and is the executor that produces actual business value.
    3. Memory = Nervous system: It connects the skeleton and muscles, making every movement more precise than the last.

    Without a nervous system, every muscle contraction is isolated. In the physical world, after 100 squats, muscle fibers undergo structural changes from repeated stimulation and become stronger. In the software world, a Skill that executes the same task 100 times shows no change whatsoever in its code logic or execution efficiency.

    The memory layer exists to simulate exactly this kind of “structural change.” It lets the Agent extract tendencies and lessons from every task execution—for example: “This particular user prefers short, direct answers,” “Step 3 in this business scenario is error-prone and needs extra validation,” or “This call path was faster than the alternative by 30% last time.” These tendencies are not new Skills created out of thin air; they are experience-based fine-tuning that grows on top of existing Skills.

    The Opposite of “Never Forgets” Is Not “Always Forgets”—It’s Progressive Optimization

    Engineering-wise, “never forgets” guarantees the reliability of Skills as foundational components. But the ultimate goal of a truly intelligent Agent should not be “always producing the same output”—it should be “performing better than last time in the same scenario.” This advanced capability depends not on determinism but on the accumulation of memory.

    The distinction can be captured with a simple logical model:

    • Pure Skills mode: Each invocation = function execution. The result is constant, with no context awareness or adaptability.
    • Skills + Memory mode: Each invocation = function execution + experience accumulation. The result improves progressively within a controlled range.

    Once a memory layer is introduced, the Agent’s execution logic changes fundamentally. Here is a conceptual pseudocode comparison:

    1. # Traditional pure-Skills execution mode
    2. def execute_task_skill_only(input_data):
    3. skill = select_skill(input_data)
    4. return skill.run(input_data) # Output is always identical
    5. # Execution mode with a memory layer
    6. def execute_task_with_memory(input_data, user_context):
    7. # 1. Retrieve memory: extract past experience relevant to the current input and context
    8. past_experience = memory_layer.retrieve(input_data, user_context)
    9. # 2. Inject and refine: pass experience as context into the Skill
    10. refined_input = inject_experience(input_data, past_experience)
    11. skill = select_skill(refined_input)
    12. result = skill.run(refined_input)
    13. # 3. Update memory: evaluate the result, distill new tendencies, and write them to memory
    14. if is_better_than_before(result, past_experience):
    15. memory_layer.update(input_data, user_context, extract_tendency(result))
    16. return result # Output improves continuously as experience accumulates

    Engineering the Memory Layer with Cloud-Native Infrastructure

    Building a memory layer with this kind of “aliveness” requires far more than local in-memory state or simple logging. It needs long-term persistence, efficient vector-based retrieval, and dynamic update mechanisms.

    In practice, developers typically build this layer on cloud-native infrastructure. Object storage services can archive massive volumes of historical interaction logs; high-performance vector databases store semantically encoded experience slices, enabling millisecond-level retrieval of similar scenarios; message queues and offline computing services asynchronously analyze historical execution chains to distill high-dimensional experience tags such as “user preferences” and “optimal paths.” These general-purpose cloud services provide a solid foundation for the memory layer’s stable operation and horizontal scaling.

    In addition, memory extraction should not be a crude full-text dump—it requires an “experience distillation” mechanism. After each task, the Agent should perform self-reflection: Which steps took the longest? Which pieces of user feedback indicate that the output format needs adjustment? Through this reflection, the Agent converts raw interaction data into actionable “tendency parameters,” which are then automatically injected into the Harness’s orchestration strategy or the Skills’ execution parameters on the next invocation.

    Conclusion

    “Thin Harness, Fat Skills” provides a clear and robust starting point for bringing Agents into production, but it is only the foundational blueprint. When we expect an Agent to evolve from a mechanical executor into an intelligent assistant, we must complete the missing nervous system of the three-layer architecture: memory. Only when an Agent can distill experience through the balance of forgetting and remembering, and achieve structural self-optimization through repeated execution, can we truly reach the ultimate goal of “same scenario, better than last time.”