agent

agent-variants

One agent session, many presentations — sidecar and inline shells around the shared conversation core, app-agnostic by prop injection.

Total budget · 120

The focused subject — a passage, a node, an artifact.

Sidecar: persistent in-flow panel beside a focused subject. Subject binding comes from the AttentionProvider wrapper — the shell takes the session by prop and never imports app wiring.

Installation

Usage

AgentVariants: AgentSidecar · AgentInline · AGENT_VARIANTS registry

Use when

  • An agent conversation must live beside a focused subject (split-pane companion) — sidecar
  • A transient 'ask about THIS thing' anchored to an element or selection — inline
  • The shell must not import app wiring: session arrives by prop, subject binding by AttentionProvider composition

Not for

  • The global floating dock — that's AgentHud over FloatingDock, the shell default
  • Ambient digest without a conversation — the future strip variant (deferred)

Inline

Inline: transient popover anchored to a target element. The trigger IS the subject; clicking opens a compact conversation.