Skip to content

A personal agent with a browser, terminal, files, and work that keeps going built with CopilotKit and AG-UI.

TypeScript
250 B
Raw Blame
/** The agent computer's status, shown in the header and read out by its button label. */
export function computerStatus(available: boolean, activeSessions: number) {
  return !available ? "offline" : activeSessions > 0 ? "take control" : "ready";
}