Skip to content

An AI roundtable that creates its own personas and skills

Tell it what you need in Discord. It can set up a new agent with its own channel, its own personality, and its own skills.

You talk to one agent, the coordinator, in your server’s entry channel. Say what you want.

In the guide channel, a user asks for an agent that keeps reading notes. Guide answers that it made Notes in a new notes channel, with a prompt, an avatar, and a skill for saving links, and that it already started its first job.

The new agent gets its own channel, an avatar, and a prompt. It starts on its first job right away. You can do this without editing a config file or restarting the bot.

Make agents

Ask for an agent to research, edit, or tutor. Each one lives in its own channel and keeps its own conversation.

Write its own skills

An agent can write a skill and link it to other agents. It also remembers things between conversations.

Work as a group

Put two to six agents in one group channel. For each message, it picks who answers.

Tidy up for you

Ask it to archive an agent or rearrange the channels. Archiving deletes nothing. The channels keep their history.

In the research channel, Researcher answers a request with two bullet points and notes that the result was handed to the editor channel.

Agents can pass work to each other. Here the researcher hands its summary to the editor.

A Discord message listing three agents, Guide, Researcher and Editor, with their channels, models and whether each is idle or working.

A status message in the server keeps itself up to date, so you can see who is doing what.

  1. Create a project.

    Terminal window
    npx pi-roundtable init my-bot
  2. Install, start PostgreSQL, and fill in .env.

    Terminal window
    cd my-bot
    bun install
    docker compose up -d
    cp .env.example .env
  3. Check the setup, then start the bot.

    Terminal window
    bunx roundtable doctor
    bunx roundtable start

The first agent has a channel in your server. Say hello and ask it for a second agent. /roundtable schedule list shows any schedules the agents have.

Add any MCP server from Discord with a private form, such as Notion or a calendar, and your code can give its tools to the agents you choose. The same package lets an agent outside Discord send your agent a message and read the answer, and use the Discord channels you chose to share. See MCP connectors and remote MCP.

The web chat package lets people your OpenID Connect provider signs in chat with the assistant in private conversations from a web page. A host can run it beside Discord, or without Discord at all: npx pi-roundtable init my-desk --adapter web creates a web-only project.

You can use these features without writing code. To add a tool every agent can call, a slash command, an HTTP route, or replace part of the bot, write a TypeScript plugin. A plugin can be tested without Discord or PostgreSQL. See Write a plugin.

See official plugins and packages for the three copy-in plugins and guides to all eight official packages.

  • It’s built for one owner. Discord and the web chat both work, and you can let other people talk to the assistant, but running it for several people is at your risk: see Security.
  • It runs on Bun only. The package ships its TypeScript source, so there is no build step.
  • MIT licensed.