Skip to content

v0.1.0: pots init

Choose a tag to compare

@Crokily Crokily released this 28 Oct 09:24
· 204 commits to main since this release

The first release on npm.

npm install -g pi-durable-bot
pots init

pots init asks for a name, an AI (a subscription login, an API key or a local server) and, if you like, one sentence about what the bot is for. Then the gateway runs as a background service and you talk to your bot in the terminal. It connects its own chat apps from its computer and asks you only for what it cannot do, like signing in.

What is in it

  • pots, one command for people and for the bots: init, chat, status, service, start, bot, and the bot's own send, react, call, wake, context, turn-page.
  • A terminal channel, so a new bot can talk before it has joined any chat app. Messages wait in it while the bot is not running.
  • macOS, Linux and Windows. The gateway runs as a service of your user: launchd, systemd (--system for a server) or Task Scheduler. On Windows the bot uses Git Bash.
  • Any model pi can use: subscription logins, API keys from 40+ providers, OpenAI-compatible endpoints and local models. The judge is the bot's own model, a fast classifier such as Jev, a local llama.cpp model, or none.
  • Slack, connected by the bot itself with docs/channels/slack.md.
  • Everything on the machine lives in ~/.pots/.

Needs Node.js 24 or newer. The bot gets full control of the computer it runs on; give it a computer or VM of its own.