Back to blogAI Governance

    Skills and agentic planning: how to constrain what an agent can do

    The eight-part skill contract, three levels of autonomy, the plan as a recorded artefact, and the four-layer stack that makes behaviour predictable.

    ZeroFive.AI October 23, 2026 9 min

    In short. A skill is a declared procedure: it states what gets done, with which tools, within which limits and under what exit condition. Agentic planning is the step where a system breaks an objective into steps and decides their order. Leaving planning free produces convincing demos and systems that take unexpected routes in production. Constraining it to the available skills reduces the space of possible actions to the one somebody authorised.

    This article sets out how a skill is written, when it pays to let the model plan and when the sequence has to be fixed, and what it takes to verify afterwards what actually happened.

    Three levels of autonomy

    LevelWho decides the sequenceWhere it fits
    Fixed flowWritten by a person, the model executes individual stepsKnown processes, high volume, costly errors
    Constrained planningThe model picks among declared skills, in a permitted orderCases with variants, defined scope
    Free planningThe model generates the steps and picks the toolsExploration, one-off work, isolated environments

    Almost all enterprise value sits in the first two rows, because those are where the set of possible actions is known in advance and somebody approved it. The third produces the most spectacular demo results and carries behaviour nobody can predict or document before release.

    The choice isn't ideological, it follows the cost of error. Where a wrong step produces a message to a customer or a write to a core system, the action space gets closed.

    These three levels describe how much freedom an agent has in deciding the sequence of steps, and they apply to processes a company has chosen to take to the AI-native level on the map of delegation levels, where the upstream question is who produces the output and who checks it.

    The skill contract

    A useful skill is described as a contract, with the same parts as a technical interface.

    PartContent
    PurposeThe result it produces, in one verifiable sentence
    PreconditionsWhat must be true for it to start
    InputThe data required, with format and provenance
    Permitted toolsWhich connectors and which operations it may use
    LimitsVolumes, amounts, time ranges, systems it may not write to
    OutputWhat it returns, in what structure
    Exit criteriaWhen the task is complete
    EscalationWhat it does when preconditions fail or confidence drops

    The last two rows go missing most often. Without exit criteria an agent keeps trying, burning resources and leaving partial attempts on real systems. Without escalation, a case outside scope gets treated like one inside it.

    One property is worth looking for in the writing. A well-written skill is readable by a person who knows the process and not the technology, because that person is the one who has to approve it.

    Recording the plan before executing it

    When a system plans, the plan is itself an artefact, and belongs treated as one.

    The generated plan gets saved before execution, with the steps, the chosen skills, the parameters and the reason for selection where available. During execution, what was actually run gets recorded, along with deviations from the original plan. At the end, the outcome of each step is kept.

    That record has two concrete uses. It makes it possible to understand why a case went wrong, separating a planning error from an execution error. It makes it possible to replay the same plan in a test environment, which is the cheapest way to check the effect of a model update.

    Without the recorded plan, anomalous behaviour can only be narrated, and in control functions a narration isn't evidence.

    The four-layer stack

    The four components covered in this series stack up, and each answers a different question.

    LayerQuestion it answersNature
    OntologyWhich object are we talking aboutDeclarative, versioned
    Connectors and retrievalWhere the information comes fromDeterministic for the first, probabilistic for the second
    SkillsWhich procedures are permitted, within which limitsDeclarative, approved
    PlanningIn which order to run them in this caseProbabilistic, constrained by the layers below

    Read from the bottom, the stack says something simple: the more explicit the lower layers, the less work remains for the probabilistic layer on top, and the more predictable the overall behaviour becomes.

    Read from the top, it explains why many agentic projects fail without a visible error. Planning gets built on layers that don't exist, so the model has to invent the identity of objects, the provenance of data and the limits of actions, and it invents them differently every time.

    Which framework does your company actually need?

    AI Rating measures maturity across the four areas of the model and shows where to start, with priorities and estimated effort.

    Start your AI Rating

    How an agent is evaluated before release

    Evaluation takes three levels, and skipping one leaves a class of errors uncovered.

    It starts with testing individual skills, with known cases and expected results, run at every release as an ordinary automated suite. That is the simplest part and the only one resembling conventional development work.

    Next comes verification on plans, built on a set of real scenarios collected from the process, measuring three things: how often the system picks the correct sequence, how often it picks a different but acceptable one, and how often it steps outside the perimeter of authorised skills. The last category counts as blocking, because it describes a system doing things nobody approved.

    Last comes observation in production over a subset of cases, with human approval on every action that writes to a system, and this phase exists to surface situations nobody anticipated at design time. It runs until the rate of human intervention settles at a level the organisation considers acceptable.

    A note on timing: the second level is the one organisations skip most often, because it requires collecting real scenarios with their correct outcome, and that work looks like documentation rather than development.

    Governing skills over time

    Skills are versioned objects, with an owner and a change process.

    It has to be clear who approves a new skill and who approves a change to its limits, because raising an amount threshold or adding a system it may write to changes the risk profile of the whole system. A register is needed saying which version was live on a given date, so a case can be reconstructed. A periodic review is needed to retire unused skills, because every live skill is an open surface for action.

    When the agent operates inside a high-risk use case, this apparatus feeds the documentation required by the AI Act, alongside the human oversight criteria. Outside that perimeter it remains the condition that makes the agent governable.

    The errors that recur

    The first is putting the rules into natural-language instructions. A limit written in a prompt is a polite request, a limit enforced by the system exposing the tool is a constraint.

    The second is giving an agent broadly permissioned tools because it was quicker. Least privilege per skill is more work upfront and shrinks the radius of any later error.

    The third is evaluating an agent on the final result alone. Two different plans can produce the same outcome, and one of them may have touched systems it shouldn't, so evaluation looks at the path alongside the result.

    The fourth is leaving planning free after the prototype. The exploratory phase exists to discover which sequences work, and those sequences then belong written as flows, otherwise the production system repeats the discovery on every run.

    Where to start

    The basic rule on what to leave to the model and what to the rules is in probabilistic and deterministic.

    The channel the data arrives through is covered in RAG and connectors, and the layer defining the objects acted upon is in enterprise ontology.

    On governing agents, with an inventory and a named owner, see no agent goes to production without an owner.

    To define the skills and limits of your first agents you can book an assessment session.

    Written with the support of Claude, reviewed and approved by Fabio Lalli on October 23, 2026. How we use AI

    Frequently asked questions

    What is a skill for an AI agent?

    A declared procedure with eight parts: a verifiable purpose, preconditions, input with format and provenance, permitted tools, limits on volumes and amounts, output structure, exit criteria and escalation. The last two go missing most often, and they are what prevents endless retries and out-of-scope cases treated as ordinary.

    Should the model be allowed to plan freely?

    It depends on the cost of error. Where a wrong step produces a message to a customer or a write to a core system, planning has to be constrained to declared skills. Free planning remains suitable for exploration, one-off work and isolated environments.

    Why should an agent's plan be recorded?

    Because it separates a planning error from an execution error and allows the same plan to be replayed in a test environment to check the effect of a model update. Without the recorded plan, anomalous behaviour can only be narrated, and narration isn't evidence.

    How do you evaluate an agent before production?

    On three levels: automated tests on individual skills at every release, verification on plans using real scenarios measuring correct sequences, acceptable alternatives and steps outside scope, and production observation on a subset with human approval on every write action.

    How are skills governed over time?

    By versioning them, assigning an owner and defining who approves a new skill and who approves a change to its limits, because raising a threshold or adding a writable system changes the risk profile. A periodic review is also needed to retire unused skills.

    Want to discuss this for your company?

    30 minutes with us to figure out where to start, or an AI Rating to measure your starting point.

    #AI agents#skills#planning#governance#audit
    Share

    Keep reading