[{"data":1,"prerenderedAt":531},["ShallowReactive",2],{"navigation":3,"/getting-started/introduction":94,"/getting-started/introduction-surround":528},[4,22,39,68,81],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Getting Started","/getting-started","1.getting-started",[9,13,17],{"title":10,"path":11,"stem":12},"Introduction","/getting-started/introduction","1.getting-started/1.introduction",{"title":14,"path":15,"stem":16},"Installation","/getting-started/installation","1.getting-started/2.installation",{"title":18,"path":19,"stem":20},"Workspace","/getting-started/workspace","1.getting-started/3.workspace",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Configuration","/configuration","2.configuration",[27,31,35],{"title":28,"path":29,"stem":30},"Overview","/configuration/overview","2.configuration/1.overview",{"title":32,"path":33,"stem":34},"AI Providers","/configuration/ai-providers","2.configuration/2.ai-providers",{"title":36,"path":37,"stem":38},"Configuration Reference","/configuration/reference","2.configuration/3.reference",{"title":40,"path":41,"stem":42,"children":43,"page":21},"Features","/features","3.features",[44,48,52,56,60,64],{"title":45,"path":46,"stem":47},"Telegram","/features/telegram","3.features/1.telegram",{"title":49,"path":50,"stem":51},"Tools","/features/tools","3.features/2.tools",{"title":53,"path":54,"stem":55},"Scheduling","/features/scheduling","3.features/3.scheduling",{"title":57,"path":58,"stem":59},"Heartbeat","/features/heartbeat","3.features/4.heartbeat",{"title":61,"path":62,"stem":63},"Memory","/features/memory","3.features/5.memory",{"title":65,"path":66,"stem":67},"Skills","/features/skills","3.features/6.skills",{"title":69,"path":70,"stem":71,"children":72,"page":21},"Cli","/cli","4.cli",[73,77],{"title":74,"path":75,"stem":76},"CLI Commands","/cli/commands","4.cli/1.commands",{"title":78,"path":79,"stem":80},"Running as a Service","/cli/service-management","4.cli/2.service-management",{"title":82,"path":83,"stem":84,"children":85,"page":21},"Reference","/reference","5.reference",[86,90],{"title":87,"path":88,"stem":89},"Sessions","/reference/sessions","5.reference/1.sessions",{"title":91,"path":92,"stem":93},"Troubleshooting","/reference/troubleshooting","5.reference/3.troubleshooting",{"id":95,"title":10,"body":96,"description":521,"extension":522,"links":523,"meta":524,"navigation":525,"path":11,"seo":526,"stem":12,"__hash__":527},"docs/1.getting-started/1.introduction.md",{"type":97,"value":98,"toc":514},"minimark",[99,104,108,113,123,126,129,133,228,232,298,302,445,449,477,483,510],[100,101,103],"h1",{"id":102},"what-is-babyclaw","What is BabyClaw?",[105,106,107],"p",{},"BabyClaw is a self-hosted gateway that connects an AI agent to Telegram. You run a single process on your machine (or a server), and it becomes a bridge between your messaging app and an AI model. You message it, it thinks, it can use tools, and it messages you back.",[109,110,112],"h2",{"id":111},"why-babyclaw","Why BabyClaw?",[105,114,115,122],{},[116,117,121],"a",{"href":118,"rel":119},"https://github.com/openclaw/openclaw",[120],"nofollow","OpenClaw"," is a great project, but it's also a beast -- dozens of channels, companion apps, voice wake, canvas, sandboxing, and a codebase that moves fast. BabyClaw exists because sometimes you just want a personal AI assistant that you can understand end-to-end, hack on, and keep running without chasing upstream changes.",[105,124,125],{},"It's not a fork. It's a reimplementation of the parts that matter most for a single-user personal assistant.",[105,127,128],{},"Same workspace concept. Same skill ecosystem (ClawHub compatible). Just ~5% of the complexity.",[109,130,132],{"id":131},"whats-included","What's included",[134,135,136,150,162,174,180,186,192,204,210,216,222],"ul",{},[137,138,139,143,144,149],"li",{},[140,141,142],"strong",{},"Agent loop"," built on the ",[116,145,148],{"href":146,"rel":147},"https://sdk.vercel.ai/",[120],"Vercel AI SDK"," -- streaming tool calls, multi-provider support",[137,151,152,155,156,161],{},[140,153,154],{},"SQLite database"," managed with ",[116,157,160],{"href":158,"rel":159},"https://orm.drizzle.team/",[120],"Drizzle"," -- sessions, messages, schedules, heartbeats, all in one file",[137,163,164,167,168,173],{},[140,165,166],{},"Telegram channel"," via ",[116,169,172],{"href":170,"rel":171},"https://grammy.dev/",[120],"grammY"," -- text, photos, streaming replies, command approval buttons",[137,175,176,179],{},[140,177,178],{},"Scheduler"," -- one-off and recurring cron tasks with timezone support and overlap prevention",[137,181,182,185],{},[140,183,184],{},"Heartbeat system"," -- periodic proactive check-ins with configurable active hours",[137,187,188,191],{},[140,189,190],{},"Memory extraction"," -- automatic daily memory files",[137,193,194,197,198,203],{},[140,195,196],{},"Workspace and skills"," -- personality files, agent instructions, and the full ",[116,199,202],{"href":200,"rel":201},"https://clawhub.ai",[120],"ClawHub"," skill ecosystem",[137,205,206,209],{},[140,207,208],{},"Shell tool"," with allowlist/approval modes",[137,211,212,215],{},[140,213,214],{},"Web search"," via Brave Search API",[137,217,218,221],{},[140,219,220],{},"Cross-chat messaging"," -- link chats with aliases, send messages between them",[137,223,224,227],{},[140,225,226],{},"CLI"," with interactive setup wizard, service management, and diagnostics",[109,229,231],{"id":230},"architecture","Architecture",[233,234,239],"pre",{"className":235,"code":236,"language":237,"meta":238,"style":238},"language-mermaid shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","flowchart TB\n    Telegram[\"Telegram (grammY)\"] --> Gateway\n    Gateway --> AgentLoop[\"Agent Loop (Vercel AI SDK)\"]\n    Gateway --> SQLite[\"SQLite (Drizzle)\"]\n    Gateway --> Scheduler\n    Gateway --> Heartbeat\n    Gateway --> MemorySystem[\"Memory System\"]\n    Gateway --> Skills[\"Skills / ClawHub\"]\n    AgentLoop --> Providers[\"Anthropic / OpenAI / Google / Mistral / xAI / OpenRouter\"]\n","mermaid","",[240,241,242,250,256,262,268,274,280,286,292],"code",{"__ignoreMap":238},[243,244,247],"span",{"class":245,"line":246},"line",1,[243,248,249],{},"flowchart TB\n",[243,251,253],{"class":245,"line":252},2,[243,254,255],{},"    Telegram[\"Telegram (grammY)\"] --> Gateway\n",[243,257,259],{"class":245,"line":258},3,[243,260,261],{},"    Gateway --> AgentLoop[\"Agent Loop (Vercel AI SDK)\"]\n",[243,263,265],{"class":245,"line":264},4,[243,266,267],{},"    Gateway --> SQLite[\"SQLite (Drizzle)\"]\n",[243,269,271],{"class":245,"line":270},5,[243,272,273],{},"    Gateway --> Scheduler\n",[243,275,277],{"class":245,"line":276},6,[243,278,279],{},"    Gateway --> Heartbeat\n",[243,281,283],{"class":245,"line":282},7,[243,284,285],{},"    Gateway --> MemorySystem[\"Memory System\"]\n",[243,287,289],{"class":245,"line":288},8,[243,290,291],{},"    Gateway --> Skills[\"Skills / ClawHub\"]\n",[243,293,295],{"class":245,"line":294},9,[243,296,297],{},"    AgentLoop --> Providers[\"Anthropic / OpenAI / Google / Mistral / xAI / OpenRouter\"]\n",[109,299,301],{"id":300},"babyclaw-vs-openclaw","BabyClaw vs OpenClaw",[303,304,305,319],"table",{},[306,307,308],"thead",{},[309,310,311,314,317],"tr",{},[312,313],"th",{},[312,315,316],{},"BabyClaw",[312,318,121],{},[320,321,322,336,347,360,373,386,399,411,423,434],"tbody",{},[309,323,324,330,333],{},[325,326,327],"td",{},[140,328,329],{},"Codebase",[325,331,332],{},"~5% of OpenClaw's size",[325,334,335],{},"Large (TypeScript + Swift + Kotlin)",[309,337,338,342,344],{},[325,339,340],{},[140,341,142],{},[325,343,148],{},[325,345,346],{},"Custom Pi agent runtime",[309,348,349,354,357],{},[325,350,351],{},[140,352,353],{},"Database",[325,355,356],{},"SQLite (Drizzle)",[325,358,359],{},"In-memory + file-based",[309,361,362,367,370],{},[325,363,364],{},[140,365,366],{},"Channels",[325,368,369],{},"Telegram (extensible)",[325,371,372],{},"13+ channels",[309,374,375,380,383],{},[325,376,377],{},[140,378,379],{},"Companion apps",[325,381,382],{},"None",[325,384,385],{},"macOS, iOS, Android",[309,387,388,393,396],{},[325,389,390],{},[140,391,392],{},"Voice",[325,394,395],{},"No",[325,397,398],{},"Wake word + Talk Mode",[309,400,401,406,408],{},[325,402,403],{},[140,404,405],{},"Canvas",[325,407,395],{},[325,409,410],{},"A2UI visual workspace",[309,412,413,418,420],{},[325,414,415],{},[140,416,417],{},"Sandboxing",[325,419,395],{},[325,421,422],{},"Docker per-session",[309,424,425,429,432],{},[325,426,427],{},[140,428,65],{},[325,430,431],{},"ClawHub compatible",[325,433,431],{},[309,435,436,440,443],{},[325,437,438],{},[140,439,18],{},[325,441,442],{},"Same concept",[325,444,442],{},[109,446,448],{"id":447},"what-you-need","What you need",[134,450,451,457,470],{},[137,452,453,456],{},[140,454,455],{},"Node.js 20"," or newer",[137,458,459,460,463,464,469],{},"A ",[140,461,462],{},"Telegram bot token"," (free, from ",[116,465,468],{"href":466,"rel":467},"https://t.me/BotFather",[120],"@BotFather",")",[137,471,472,473,476],{},"An ",[140,474,475],{},"AI provider API key"," (Anthropic recommended, but OpenAI, Google, Mistral, xAI, and OpenRouter all work)",[105,478,479,480,482],{},"Ready to set it up? Run the one-liner or head to ",[116,481,14],{"href":15}," for the full guide:",[233,484,488],{"className":485,"code":486,"language":487,"meta":238,"style":238},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -fsSL https://babyclaw.org/install.sh | bash\n","bash",[240,489,490],{"__ignoreMap":238},[243,491,492,496,500,503,507],{"class":245,"line":246},[243,493,495],{"class":494},"sBMFI","curl",[243,497,499],{"class":498},"sfazB"," -fsSL",[243,501,502],{"class":498}," https://babyclaw.org/install.sh",[243,504,506],{"class":505},"sMK4o"," |",[243,508,509],{"class":494}," bash\n",[511,512,513],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}",{"title":238,"searchDepth":246,"depth":252,"links":515},[516,517,518,519,520],{"id":111,"depth":252,"text":112},{"id":131,"depth":252,"text":132},{"id":230,"depth":252,"text":231},{"id":300,"depth":252,"text":301},{"id":447,"depth":252,"text":448},"What BabyClaw is, why it exists, and what you need to get started.","md",null,{},true,{"title":10,"description":521},"sJU6JMxsq8ZsBMrpyf1Fvxp56wuUI7j0AZNFT242_i4",[523,529],{"title":14,"path":15,"stem":16,"description":530,"children":-1},"Install BabyClaw and send your first message.",1771846893739]