Skip to content

Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.

874 B
Raw Blame
import { createFileRoute } from "@tanstack/react-router";
import { BotActivitySections } from "@/components/bot-profile/activity";
import { BotSubpage } from "@/components/bot-profile/bot-subpage";

export const Route = createFileRoute("/_authed/_app/bots/$agentId/activity")({
  component: ActivityPage,
});

/**
 * Everything this Bot is doing, has lined up and has finished, on a page of its own. On the Bot's
 * own page the three lists ran on for screens and pushed its settings out of reach; there, one row
 * counts them and opens this.
 */
function ActivityPage() {
  const { agentId } = Route.useParams();
  return (
    <BotSubpage
      agentId={agentId}
      description="Review this Bot’s current work, scheduled tasks, and completed tasks."
      title="Activity"
    >
      {(agent) => <BotActivitySections agentId={agent.id} />}
    </BotSubpage>
  );
}