Agent

Added

The sustained mediation between actor intent and system capability, transforming fuzzy goals into concrete outcomes through an adaptable intermediary that evolves with use. This umbrella term encompasses all user-facing AI interactions — from the strict sense of a model running tools in a loop to achieve a goal, to chat interfaces where tool use is incidental or absent.

Agency

Agent patterns embody different levels of system agency from the agency spectrum:

  1. Chatbot: User-driven interaction requiring explicit prompts
  2. Inline: Assistance mode providing contextual help and smart suggestions
  3. Workflow automation: autonomous action that follows predefined sequence
  4. Full autonomy: proactive monitoring and acting without direct user input

Higher agency modes require more careful preservation of user agency to maintain control and transparency.

Modes of interaction

  • Focused: Agent as a primary interface, typically via messaging.
  • Inline: Contextual interactions embedded directly in the UI, such as AI completion, rewrite suggestions, or smart defaults.
  • Ambient: Behind-the-scenes monitoring or support, offering proactive help or taking actions without direct prompting. Next-best action is the primary pattern here.

Variants

Single-turn interactions

Simple query-response patterns without state persistence or tool use.

Multi-turn conversations

Maintaining context across exchanges, allowing for clarification, follow-ups, and evolving understanding.

Tool augmentation

Agents that can invoke external capabilities—from simple calculations to complex API calls. This includes the bounded loop execution pattern where agents run tools iteratively until reaching objectives.

Memory

Short-term

Conversation context provides implicit short-term memory, allowing agents to maintain state across interactions within a session.

Long-term

Persistent memory requires explicit implementation through:

  • Storage tools (databases, files, vector stores)
  • Retrieval mechanisms with semantic search
  • Memory management strategies to prevent unbounded growth

Anti-patterns

Algorithmic loafing

When agents take creative or cognitive lead, humans reduce effort and disengage—accepting agent output with minimal reflection. This manifests as:

  • Reduced cognitive engagement despite task importance
  • Loss of skill development and expertise over time
  • Decreased perceived ownership and commitment to outcomes
  • Homogenisation of outputs across users

The effect parallels social loafing, where individuals reduce contribution when responsibility diffuses.

Mitigation: Design interactions where humans remain in creative or cognitive lead whilst agent provides scaffolding through questions, analogies, or contextual knowledge rather than complete solutions. See Conversation dialogue forms for question-driven approaches that maintain engagement.

Mismatched scope

Applying agents to tasks requiring genuine accountability, sustained comprehension, or human empathy. Agents cannot take responsibility for actions or form independent intentions, and their understanding operates within learned patterns without true comprehension.

Uncalibrated trust

Treating agent outputs as authoritative without verification mechanisms. Agents can generate plausible but incorrect information, and performance degrades with extended interactions or complex state.

Undefined boundaries

Failing to communicate agent capabilities and limitations, leading to misuse and frustration. Users need clear understanding of what agents can and cannot do to set appropriate expectations.

Consequences

  • there is a standing intermediary between intent and capability: the actor says what they want and something else decides how, which is both the whole benefit and the whole exposure
  • how much freedom the agent has to act unprompted is a setting rather than a fixed property, so the actor's trust has to be calibrated to whatever it currently is — and they have to be able to find that out
  • the work happened somewhere the actor wasn't watching, so it owes an account of itself afterwards to be reviewable at all

Resources & references

Appears in

Related patterns

Precedes

  • Activity log — actions and reasoning are tracked and displayed in the activity log.
  • Bounded autonomy — the agent's degree of freedom is a setting rather than a fixed property; bounded autonomy is where the actor sets it
  • Onboarding — the agent's capabilities and limits are what a first run is designed to introduce
  • Generated content — generated content is the form an agent's output takes once a run ends, whether or not anyone watched it; live presentation shows the output while the run is under way
  • Work trail — “An agent has taken on multi-step work—searching, reading, calling tools, or working through a problem—either inside a conversation or out of sight under delegation.”
  • Live presentation — generates the stream that this surface presents in flight
  • Handoff — “Work is under way—assigned to an agent in governing autonomy or delegating standing work, or carried by a participant in working on the same thing—and whoever holds it cannot continue alone because a limit in bounded autonomy was reached, human credentials or a colleague's review are needed, or the actor stepped in to take over.”

Instantiates

  • Assistance — the chatbot and inline agent modes apply the assistance configuration
  • Delegation — the ambient and workflow automation agent modes apply the delegation configuration

Enacts

  • Agency — each mode hands the system a different amount of freedom to act unprompted
  • Formality — agents accept unstructured input by design; structure can be inferred or gradually formalised from interaction.
  • Learnability — the agent lets the actor ask the system rather than decipher it; learning happens through dialogue at the actor's pace
  • Adaptivity — agent shifts its behaviour and output in response to inferred intent and context

Complements

  • Collaboration — Agents participate as collaborators with adaptable mediation capabilities
  • AI completion — powers AI completion via the inline mode of interaction
  • Next-best action — powers next-best action via the ambient mode of interaction
  • Workflow — gives the workflow-automation agent mode its procedure — the agent runs it, this artifact shows and edits it

Tangential to

  • Localization — multilingual interaction
  • Outside agent — the artifact's own agent is designed and steered by the artifact's maker, whereas an outside agent answers to the actor and works across tools the maker does not see

Alternatives

Related to

Preceded by

  • Agent fallback — “Place the fallback offer inside the control's empty state and carry what the actor typed into a prompt they can edit before sending to an agent.”
  • Help — “Where written pages do not cover the actor's case, use agent fallback to pass the question to an agent grounded in the help pages with citations, and where the fix requires access, authority, or judgement someone else holds, route the actor to reaching a person”

Enabled by