Skip to content
Français

AgentLiveInput

import type { AgentLiveInput } from "@elie-laloum/outpost";
  • openRequired
    (input: AgentInput) => AgentLiveSession
    Start the protocol state of one turn requested with the given input. Outpost opens a session when it runs the turn with liveInput and closes stdin after a final event once every written message was consumed.
export interface AgentLiveInput {
  /** Starts the protocol state of one turn requested with input. */
  open(input: AgentInput): AgentLiveSession;
}