Thin Harness, Fat Skills: A Design Principle for AI Agents

    Explore the Thin Harness, Fat Skills approach to AI agent architecture: keep orchestration lightweight and invest in reusable capabilities. This article explains the roles of natural-language skill descriptions and deterministic scripts, how to assign tasks to each, and how to organize them into a practical layered system.

    1. What Does “Thin Harness, Fat Skills” Mean?

    As applications powered by large language models become more common, a recurring agent design principle has emerged: keep the orchestration layer thin and the capability layer rich. This is known as “Thin Harness, Fat Skills.”

    The harness is the layer responsible for orchestration, decision-making, and flow control. Skills are the capability units that perform the actual work. The principle has two parts:

    • Thin Harness: Keep core orchestration logic compact. Avoid hardcoding extensive business rules, branching logic, and state machines into the main control loop. The model’s reasoning can serve as the orchestration engine; an overengineered harness can restrict the agent’s flexibility.
    • Fat Skills: Focus development effort on the skill layer. Each skill resembles a callable function. Once the agent understands the task context, it selects the appropriate skills to complete the work.

    A useful analogy is an operating system: the harness is the kernel scheduler, while skills are a rich library of system calls. The scheduler does not need to know every detail of how each program works; it needs to load and dispatch work correctly. The breadth and quality of available capabilities determine what the system can accomplish.

    2. Two Forms of Skills: Text Descriptions and Deterministic Scripts

    Agent skills can be viewed as a hybrid of Software 1.0 and Software 2.0: explicit program logic combined with model-driven interpretation.

    2.1 Text-Based Skills: Working Through Semantic Reasoning

    The first type of skill exists as a natural-language description, such as a Markdown document explaining what the skill does, when to use it, and how to use it.

    These skills operate through the model’s learned representations, often described as its latent space. The model reads the instructions, interprets their meaning, and uses them to guide judgment, synthesis, and pattern recognition.

    The description itself does not execute code. Instead, it directs the model’s reasoning toward an approach to the task.

    This mode is suited to tasks where:

    • Inputs are ambiguous or unstructured.
    • Decisions require weighing multiple factors.
    • There is no single correct answer, and the standard is reasonableness rather than exactness.

    2.2 Deterministic Scripts: A Foundation for Trust

    The second type of skill consists of executable code, such as SQL queries, compiled programs, or arithmetic operations.

    Its defining property is repeatability: given the same inputs and execution conditions, deterministic logic produces the same outputs. Operations that require reproducibility, auditability, and verification should therefore be assigned to code rather than left to model-generated reasoning.

    2.3 Why the Distinction Matters

    These two forms have different reliability models:

    Dimension Text-Based Skills Deterministic Scripts
    Operating mechanism Learned representations and semantic interpretation Explicit logic and precise execution
    Reliability Probabilistic and potentially inconsistent Reproducible under the same inputs and conditions
    Suitable tasks Judgment, synthesis, intent interpretation Calculation, queries, transactions
    Verification Human evaluation and sample review Unit tests and assertions

    Confusing these roles is one source of unreliable agent behavior. Model reasoning is useful for deciding what to do; deterministic execution provides a firmer basis for verifying that the operation was carried out as intended.

    3. A Useful Example: Seating 8 People Versus 800

    How do you decide whether a task belongs in model reasoning or deterministic logic? Consider seating arrangements.

    For 8 people, a language model can weigh personalities, relationships, and social preferences to propose a thoughtful seating plan. This is the kind of semantic reasoning that models handle well.

    For 800 people, a model-generated seating chart may look plausible while containing serious errors: duplicated guests, missing attendees, or silently violated constraints.

    At that scale, seating becomes a combinatorial optimization problem. It belongs in algorithmic execution rather than free-form language generation. Asking the model to generate the complete arrangement directly risks producing something that resembles a valid answer without actually satisfying the requirements—a characteristic form of hallucination.

    The deeper lesson is that a task’s computational nature can change with scale, even when its description stays the same. Small-scale seating emphasizes interpersonal judgment; large-scale seating requires systematic constraint handling and optimization.

    Designers need to examine the underlying computation, not just the surface label of the task.

    4. Putting the Principle into Practice

    4.1 Organize Skills as Documentation Plus Scripts

    A common approach is to package each skill as a description paired with an executable implementation:

    1. skills/
    2. ├── seat_arrangement/
    3. │ ├── skill.md # Description: when to use, constraints, inputs and outputs
    4. │ └── arrange.py # Deterministic solver script
    5. ├── data_query/
    6. │ ├── skill.md # Description: data definitions and use cases
    7. │ └── query.sql # Deterministic query statements

    The agent reads the documentation to decide whether to invoke the skill and which arguments to pass. The script handles execution through explicit, testable logic.

    This separates contextual interpretation from the mechanics of carrying out the task.

    4.2 Use a Checklist to Assign Tasks

    When deciding how to implement a task, ask:

    • Is there a single correct output? If so, use a deterministic script.
    • Does the result require strict reproducibility and auditability? If so, use a deterministic script.
    • Does the task involve calculations, transactions, money, permissions, or other high-risk operations? If so, assign execution to deterministic code.
    • Is the input ambiguous, requiring interpretation and trade-offs? If so, use model reasoning.
    • Could the scale grow beyond what the model can handle reliably? If so, separate out the computational work and implement it with deterministic algorithms.

    A task may require both modes. The important distinction is between interpreting the problem and executing operations that must meet exact requirements.

    4.3 Structure the System into Three Layers

    A mature hybrid agent architecture often has three layers:

    1. The model interprets intent and decomposes tasks. This is the reasoning layer.
    2. Skill documentation describes capabilities and guides selection. It acts as an index that the model interprets to choose and invoke skills.
    3. Scripts perform atomic operations. This is the deterministic execution layer.

    Each layer handles the work it is best suited to. Clear reliability boundaries also simplify troubleshooting: teams can distinguish an interpretation error from an execution error.

    5. Conclusion

    Thin Harness, Fat Skills is an architectural philosophy: use intelligence for judgment and code for execution.

    Keep the orchestration layer restrained, allowing the model’s reasoning to guide task coordination. Concentrate development effort on the skill layer, and clearly distinguish natural-language instructions from deterministic implementations.

    When teams understand this division of responsibility—model reasoning for interpretation, deterministic logic for verifiable execution—they can build agents that combine flexibility with reliability. That distinction is a key step in moving from a demonstration prototype to a production system.