Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 5.56 KB

status.md

File metadata and controls

29 lines (27 loc) · 5.56 KB

Status

pi-durable-bot runs every day as a teammate in a real workspace. What works today and what is next:

  • Slack adapter (socket mode), with backfill after downtime
  • Discord adapter (Gateway WebSocket), with backfill after downtime. A send again after a crash carries the same nonce, which Discord matches to the first message only for a few minutes, so when the bot is back later it can send twice
  • Telegram adapter (long polling). Telegram's Bot API cannot read history or look up a sent message, so the bot gets what it missed only within 24 hours, and a crash at the moment of a send can send it twice
  • Microsoft Teams adapter, a preview (Socket Mode, or HTTP at the public address), with backfill of channels and group chats through Microsoft Graph. Tested with fakes and Microsoft 365 Agents Playground, not yet in a real organisation: the live socket, the permissions people grant, the backfill, files, admin policies and rate limits are untested. A crash at the moment of a send can send it twice, as on Telegram
  • Feishu and Lark adapter (the long connection of Feishu's SDK, so no public address), with backfill of groups, DMs and recent topics through the history API. Tested live in a Lark tenant (DMs, every message of a group, topics, the bot's own edits, reactions, recalls, files, card buttons and forms, the bot added and removed, the backfill after a restart, the scan-to-create app); not yet in a Feishu (mainland) tenant, with many people, or at the free plan's monthly API limit. A send repeated within an hour after a crash does not post twice; after an hour it can
  • Personal WeChat adapter, through Tencent's WeChat ClawBot (the iLink bot API's long polling, so no public address): the person scans a QR code with WeChat, and talks with the bot in one chat. WeChat gives a bot no groups, history, edits or reactions, and takes its messages only for a while after the person's last one. Tested live with a mainland WeChat account (the binding by a phone scan; text, Markdown, typing, pictures and files both ways, a quote, about 16 KB in one message, messages sent while the gateway was down, the limit on the bot's messages after one of the person's); not yet a voice message, a binding that WeChat asks digits for, or how long WeChat keeps messages for a bot that is down. A crash at the moment of a send sends it again with the same client ID, which WeChat for Windows showed once
  • WhatsApp adapter, a preview, through Meta's WhatsApp Business Cloud API: one DM per person, pushed to a webhook on the page server (so the computer needs a public address), with text, images, documents, audio, video, stickers, locations, reactions and the typing sign; people known by their business-scoped user ID, so a person who hides their phone number behind a username keeps one DM; a send within WhatsApp's 24-hour window, and a clear error when it is closed. Tested against a fake Graph API with Meta's documented payloads, and live on Meta's test number with a person's WhatsApp: Meta's webhook check and signature, text, a picture and a PDF downloaded, reactions added, replaced and removed, quote replies, the typing sign, people known by their BSUID, a message sent while the gateway was down arriving when Meta sent it again, and a send that failed shown in the person's DM. The bot's messages, reactions and buttons were taken by Meta's API but not delivered: Meta lets a new business send only once it is verified, so delivery is not yet tested. A crash at the moment of a send can send it twice, as on Telegram. Meta's terms limit what the bot may be there. Since 15 January 2026, the WhatsApp Business Solution Terms ("AI Providers") bar general-purpose AI assistants from the WhatsApp Business Platform when the assistant is the main thing the number offers, except for users in the European Economic Area, Brazil and Türkiye, where the law makes Meta allow them. A bot that answers a business's own customers about that business is fine. A general personal assistant on WhatsApp is not, and Meta can suspend the number at once. Meta's pricing for AI Providers lists the markets
  • Mention, DM, judge and timer wakes, grouping, and steering
  • Code mode on its own machine, pots command line
  • Turning the page with notes, compaction as a fallback
  • Memory it keeps by itself after each piece of work, its own and one shared about you
  • Crash-safe inbox and outbox, tested with a forced crash mid-send
  • Several bots per machine
  • pots init: name, AI, judge and one sentence, then the bot sets up its own chat apps from the terminal
  • macOS, Linux and Windows, as a background service of the user
  • The screen, mouse and keyboard of its computer, used like a person (computer use), or no screen on a server
  • Children for longer work in the background, whose final messages are kept across restarts; they wake the bot themselves when it needs to know
  • Any model pi can use: subscription logins, API keys, OpenAI-compatible endpoints, local models
  • A judge you choose: the bot's own model, Jev or another classifier, a local llama.cpp model, or none
  • AGENTS.md, Agent Skills and images as in a pi session
  • MCP servers and code mode, through pi's own MCP support
  • Pages, buttons, forms and a password page, with a public address that needs no setup
  • A desktop page: a person takes over the bot's screen from a link, on a phone or a computer, and hands it back
  • More adapters: QQ
  • pots init in a web page, for people who do not use a terminal