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.
import type { ReactNode } from "react";
import { MemoryList, RememberFact } from "@/components/memory/memories";
import { RoutinesList } from "@/components/routines/routines-list";
/**
* OpenDots' workspace page: a small eyebrow, a large quiet title and one line under it, with the
* page's primary action on the title's right. What sits beneath is OpenBot's own list, so every
* switch, Run now, history and delete OpenBot offers is still there.
*/
function OpenDotsPage({
eyebrow = "YOUR WORKSPACE",
title,
description,
action,
children,
}: {
eyebrow?: string;
title: string;
description: string;
action?: ReactNode;
children: ReactNode;
}) {
return (
<div className="min-h-0 flex-1 overflow-y-auto" data-opendots-page>
<div className="mx-auto w-full max-w-[1090px] px-[54px] pt-16 pb-9 max-[1150px]:px-8 max-[1150px]:pt-[45px] max-md:px-[22px] max-md:pt-[38px]">
<header className="mb-[35px] flex items-center justify-between gap-[25px] max-[920px]:items-start max-md:flex-col max-md:items-stretch">
<div className="min-w-0">
<span className="text-[10px] font-semibold tracking-[1.5px] text-(--opendots-eyebrow)">
{eyebrow}
</span>
<h1 className="mt-3.5 mb-2 text-[34px] leading-tight font-[550] tracking-[-0.04em] text-foreground max-[920px]:text-[30px]">
{title}
</h1>
<p className="text-[12px] leading-[1.7] text-(--opendots-note)">
{description}
</p>
</div>
{action ? <div className="shrink-0">{action}</div> : null}
</header>
{children}
</div>
</div>
);
}
/** Routines: what each Bot does on a schedule, as OpenBot's routines list. */
export function RoutinesScreen() {
return (
<OpenDotsPage
description="What your Bots do on a schedule. Ask a Bot to set one up. Pause, run or delete one here."
title="Routines"
>
<RoutinesList embedded />
</OpenDotsPage>
);
}
/** "Memories": what the person's Bots know about them, as OpenBot's memory. */
export function MemoriesScreen() {
return (
<OpenDotsPage
action={<RememberFact />}
description="What your Bots know about you."
title="Memories"
>
<MemoryList />
</OpenDotsPage>
);
}