Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.
TypeScript agentai-agentai-agentsai-assistantandroidautomationchatgptcoding-agentcomputer-usedesktop-appelectronllmlocal-firstmcpmulti-agentollamaopenaiprivacyself-hostedtypescript
import { z } from "zod";
import { IdSchema } from "./ids.ts";
const count = z.number().int().nonnegative().safe();
export const PageSchema = z.strictObject({
before: IdSchema.optional(),
limit: count.positive().max(200).optional(),
});
export const BotPageSchema = PageSchema.extend({ botId: IdSchema.optional() });
const _botId = z.strictObject({ botId: IdSchema });
export type Page = z.infer<typeof PageSchema>;
export type BotPage = z.infer<typeof BotPageSchema>;