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.
/**
* Where an old `/agents` link goes now that the roster and each Bot's page replaced it.
*
* Old links are not only bookmarks: the model was told a new Bot's profile is at
* `/agents?agent=<id>`, and that sentence is in conversations people still scroll back through.
*/
export function legacyAgentsTarget(search: { new?: boolean; agent?: string }) {
if (search.new === true) {
return { to: "/bots", search: { new: true }, replace: true } as const;
}
if (search.agent) {
return {
to: "/bots/$agentId",
params: { agentId: search.agent },
replace: true,
} as const;
}
return { to: "/bots", replace: true } as const;
}
/**
* The pages that left the sidebar, and where their contents went. What was about one Bot is on that
* Bot's page; what was the person's own is in Settings.
*/
export const LEGACY_PAGES = {
"/approvals": "/settings/approvals",
"/memory": "/capabilities/memory",
"/reachability": "/settings/notifications",
"/responsibilities": "/bots",
// A group is started from the new-conversation screen by putting two or more Bots in To:.
"/group/new": "/channel/new",
} as const;