Skip to content
Proyek

Tentang

A highly customizable personal AI assistant for Discord featuring smart agentic AI features such as memory, personas, tool usage, and more! | 長期記憶やペルソナ、ツール連携を完備。 次世代の「自律型AIエージェント」Discordボット!

AI dan pembelajaran mesin

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+1
dalam 15 hari
+2
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

English | 日本語 | 繁體中文 | 简体中文 | Español | Português (Brasil) | Tiếng Việt


Logo

TomoriBot

A self-hosted and customizable personal AI assistant/role-playing system for Discord with memory, multiple personas, tool calling, API/local model support, and a bunch of other fun features!

Official Docs · Invite TomoriBot · Discord Server
Latest Releases · Report Bug · Request Feature

GitHub Stars GitHub Forks GitHub Issues GitHub Pull Requests License

TomoriBot Banner BunDiscord.jsTypeScriptPostgreSQL

About the Project

TomoriBot is a free and open-source personal AI assistant and role-playing system for Discord, inspired by SillyTavern and Discord's discontinued Clyde. It can be used as a practical assistant, customizable companion, role-play partner, or ALL of the above for you and everyone else in your Discord server.

Feature Showcase

Screenshots 1

Agentic AI-Powered Conversation

TomoriBot has lotsa tools that allows her to go beyond just chatting, such as searching the web, setting recurrent tasks/reminders, utilizing your server's emotes/stickers, image/video/voice generation, and persistent memory that allow her to remember context across channels and servers.


Screenshots 2

Multi-Persona Support

TomoriBot's in-server personality, behavior, and avatar can be easily changed, created, as well as exported for others as Personas (akin to shareable AI Character Cards). Import and even transform your favorite SillyTavern cards through /persona generate. You can have an unlimited amount of different personas in a single server, each having their own memories and agendas. You can also orchestrate them to work with each other to do work in your server (or just mess around with each other).


Screenshots 3

Native Slash Commands for Config and Execution

Set up and customize TomoriBot without leaving Discord. Use slash commands and interactive menus to create personas, fine-tune prompts and model settings, connect MCP servers, manage memories, and control permissions and usage limits. Run commands yourself to generate images and voice messages, roll dice, and try other fun features.


Screenshots 4

Fully Local Setup

TomoriBot can run itself and its encrypted database on your own PC, with a local LLM for conversations, ComfyUI for image/video generation (/assets/comfyui-workflows/), local search engines, and local speech models for voice generation and transcription (/servers/), all without the need for any cloud provider.


Screenshots 5

Lots of More Features, and Counting!

A bunch of fun features ranging from practical automatic greetings for new server members, voice chat, and usage stats, to proactive DMs and role-play ones like dice rolls and actions. New ones are constantly in development, so please report through GitHub issues or the official Discord for any bugs (or to share any fun suggestions).

Getting Started

You can invite the public TomoriBot to your Discord server now for convenience, or self-host your own instance if you prefer full control over your privacy and API keys. TomoriBot uses best security practices and encryption that keeps data safe, but self-hosting ensures that all data remains entirely on your device:

Self-Hosting

There are two easy ways to get TomoriBot running on your PC:

Option 1: Setup Wizard (Recommended)

  1. Prerequisites:
    • Bun v1.4.5+
    • PostgreSQL or Docker (the setup wizard uses an existing PostgreSQL install or starts one in Docker for the database)
    • A Discord bot token with Presence Intent, Server Members Intent, and Message Content Intent enabled
  2. Run the setup wizard:
    git clone https://github.com/Bredrumb/TomoriBot.git
    cd TomoriBot
    bun run setup # installs dependencies, configures .env, and sets up PostgreSQL
    bun run dev # starts the bot and runs DB migrations automatically
    

Option 2: Docker Compose

  1. Prerequisites:
    • Docker and Docker Compose v2+
    • A Discord bot token with Presence Intent, Server Members Intent, and Message Content Intent enabled
  2. Run with Docker Compose:
    git clone https://github.com/Bredrumb/TomoriBot.git
    cd TomoriBot
    cp .env.example .env   # Windows PowerShell: Copy-Item .env.example .env
    
    Set DISCORD_TOKEN, CRYPTO_SECRET, POSTGRES_PASSWORD, and ALLOW_PRIVATE_NETWORK in .env, then run:
    docker compose up
    
    See the Docker Compose guide for Windows, Linux, and Mac steps (including Linux folder ownership).

After Inviting / Setup

Simply mention the bot in a server or use the configured trigger words to start a conversation:

@TomoriBot yo wassup

Or slide into TomoriBot's DMs and say hi!

Basic Commands

  • /setup - Initial bot setup for your server
  • /config and /personal config - Multiple ways to tweak TomoriBot in the current Discord server or for yourself
  • /providers and /personal providers - Add more model endpoints or cloud providers
  • /persona - Give her a personality or add new characters (see Multiple Personas)
  • /memories - Teach her facts across conversations (see Memory)

See the full command reference for every slash command.

Acknowledgements

Huge thanks to everyone, especially to the following lovely people for their significant contributions and advices that greatly helped shape TomoriBot for the better!

Bredrumb: Creator, maintainer, and code contributions
Bredrumb
palinalif: Code contributions
palinalif
baetican: Code contributions
baetican
struffl: Software design and technical guidance
struffl
Rhapsody-Sky: Software design and technical guidance
Rhapsody-Sky
aph31: Code contributions
aph31

License

This project is licensed under AGPLv3.


If you find TomoriBot useful (and/or fun), consider ⭐ing the repo or supporting development via Ko-fi or Patreon!

Support on Ko-fi Support on Patreon

Jelajahi proyek terkait

Memuat…