Agent inside.
Executor outside.

An intelligent executor can handle a changing route without changing its assignment. It observes, selects one step and verifies it; the planner still sees a regular executor.

Core idea. Intelligence resolves uncertainty in the route. It does not expand permissions, purpose, or the result format.
Stable contractThe same arguments and result as a direct executor.
Narrow mandateThe goal, allowed actions, and stopping conditions are fixed by code.
Verified outcomeSuccess requires an observable postcondition, not a model's assumption.

The architectural boundary

The mandate comes from the name, description, argument schema, declared capabilities, consent rules, limits, and postcondition. The internal model receives only the observation it needs and may choose only among actions enumerated by the runtime.

The intelligent executor loop The public contract contains a bounded internal loop surrounded by deterministic authority and checks. FIXED AUTHORITY: capabilities · consent · secrets · targets Observeminimum state Resolverules first DisambiguateLLM only if needed Act and verifypostcondition TYPED EXIT: verified success · user handoff · causal error Steps, elapsed time, and observation size are bounded.
The model works on the ambiguous segment; authority, limits, and verification remain deterministic.

Same shell, two execution modes

PropertyDirect executorIntelligent executor
Public contractTyped input and outputIdentical
RoutePredetermined procedureAdaptive, bounded loop
PurposeFixed by the nameUnchanged and not redefinable
AuthorityManifest and consentIdentical; it cannot expand itself
OutcomeSchema and postconditionIdentical, including explicit failure

Where it earns its complexity

Good fit

A narrow purpose, a changing route, limited actions, observable progress, and a verifiable end state.

Examples include signing in to a website, multi-screen procedures, extracting variable structures, and choosing among equivalent controls.

Poor fit

Open-ended research, cross-domain strategy, or creative work without a crisp completion criterion.

Those decisions belong to the planner, not to a hidden executor.

A new language, layout, or screen sequence should be absorbed by the same executor. New code is warranted when an action primitive, observation channel, authority, or verifiable postcondition is missing: intelligence cannot invent sensors or permissions.

When it cannot finish

The executor fails closed: it returns a causal code in the public schema, keeps only the state required for safe resumption, and does not invent results. External confirmation or unresolved ambiguity produces an explicit user handoff; exhausted limits, an unstable target, and a missing postcondition produce distinguishable errors.

Transport and intelligence are independent. A local, remote, or future MCP-backed executor may be direct or intelligent. MCP describes how to reach a tool; it does not decide the mandate, authority, or success criterion.