Skip to main content

README

Agent Runtimes


Agent Runtimes / agents/AgentRuntimeChat

agents/AgentRuntimeChat

AgentRuntimeChat - Generic, full-page chat surface for a live agent runtime.

This is the shared component used to render the plain (non-floating) chat view for an agent runtime. It is designed to be reused across the app:

  • The agent runtime detail page (e.g. /agents/runtime-...).
  • Gallery example pages (e.g. /gallery/agents/analyze-excel-spreadsheet).

Behaviour:

  • It launches (or connects to) a runtime from the given agentSpecId using useAgentRuntimes.
  • The plain chat shell is shown as soon as possible. While the runtime is still being created/launched, the input and controls are disabled and a spinner overlay is shown (via the launching prop of Chat).
  • When ready, the same shell becomes interactive with the live endpoint.
  • An optional overlay (e.g. a sign-in gate) can be shown on top of the disabled chat for anonymous users.

Interfaces

Functions

References

default

Renames and re-exports AgentRuntimeChat