AI completion

Added

Proposing generated content — phrases, sentences, paragraphs, or derived values — as the actor composes, to anticipate what comes next.

Part of the assisted task completion spectrum — the co-creative middle, where the system generates alongside the actor. The system proposes what it thinks the actor wants to say, which raises trust and agency questions that don’t come up with deterministic patterns like autocomplete or autofill.

Inline completion vs. block generation

Inline completion continues the actor’s current thought — ghost text extending the cursor position. The actor evaluates character by character whether the suggestion matches their intent. Good predictions get accepted almost automatically; divergence is instant (keep typing). Gmail Smart Compose and GitHub Copilot single-line suggestions work this way.

Block generation produces a discrete chunk the actor reviews as a whole — a paragraph, a code function, a reply draft. Evaluation here is more conscious: read, judge, accept or edit. This sits closer to generated content than to completion, and the design shifts toward review and editing affordances.

Design considerations

  • Suggestions should feel lighter than the actor’s own input — ghost text, reduced opacity, vanishing the moment the actor types something different. The suggestion should not compete with the actor’s flow.
  • Watch for fixation risk: a concrete AI suggestion can narrow creative exploration. For generative tasks, question-driven scaffolding may preserve more diversity.
  • Latency tolerance is higher than for autocomplete because the actor is composing, not selecting — a delay before ghost text appears is less disruptive than a delayed dropdown.
  • Suppress suggestions when the model’s uncertainty is high. Low-quality completions erode trust faster than silence does.

Consequences

  • inline generation makes accepting cheaper than evaluating, so over-reliance accrues by default — deliberate friction is the countermove

Resources & references

Appears in

Assistance escalation

Related patterns

Precedes

  • Cognitive forcing functions — inline generation makes accepting cheaper than evaluating, so over-reliance accrues by default — deliberate friction is the countermove

Serves

  • Assistance — assistance's performing and knowing steps — completion assists the user at both

Enacts

  • Agency — the actor remains in creative lead; the system only proposes
  • Adaptivity — ai completion adjusts its output over time from observed actor corrections

Complements

  • Assisted task completion — the spectrum this pattern belongs to
  • Suggestion — AI completion is a suggestion mechanism; fixation risk and dismissal apply directly
  • Agent — powers AI completion via the inline mode of interaction
  • Generated content — block generation is closer to this pattern than to inline completion
  • Explanation — explaining why a completion was suggested, especially for derived values

Related to

Preceded by

  • Autocomplete — “Where candidates shift from matching a known index to proposing related or inferred options, treat them as a suggestion; and where the continuation must be generated rather than looked up, hand over to AI completion”

Hosted by