MCPcopy Index your code
hub / github.com/etkecc/baibot

github.com/etkecc/baibot @v1.25.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.25.0 ↗ · + Follow
938 symbols 2,170 edges 178 files 38 documented · 4% updated 3d ago★ 23432 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img src="https://github.com/etkecc/baibot/raw/v1.25.0/etc/assets/baibot.svg" alt="baibot logo" width="150" />
<h1 align="center">baibot</h1>

🤖 baibot is an AI (Large Language Model) bot for Matrix built by etke.cc (managed Matrix servers).

The name is pronounced 'bye'-bot and is a play on AI, referencing the fictional character 🇧🇬 Bai Ganyo.

It's designed as a more private and featureful alternative to matrix-chatgpt-bot. It's influenced by chaz, but does not use the AIChat CLI tool and instead does everything in-process, without forking.

🌟 Features

🖼️ Screenshots

Introduction and general usage

You can find more screenshots on the 🌟 Features and other 📚 Documentation pages, as well as in the docs/screenshots directory.

🚀 Getting Started

🗲 For a quick experiment, you can refer to the 🧑‍💻 development documentation which contains information on how to build and run the bot (and its various dependency services) locally.

For a real installation, see the 🚀 Installation documentation which contains information on 🐋 Running in a container and 🖥️️️️️ Running a binary.

📚 Documentation

See the bot's 📚 documentation for more information on how to use and configure the bot.

💻 Development

See the bot's 🧑‍💻 development documentation for more information on how to develop on the bot.

📜 Changes

This bot evolves over time, sometimes with backward-incompatible changes.

When updating the bot, refer to the changelog to catch up with what's new.

🆘 Support

Extension points exported contracts — how you extend this code

ControllerTrait (Interface)
(no doc) [5 implementers]
src/agent/provider/controller.rs
ConfigTrait (Interface)
(no doc) [4 implementers]
src/agent/provider/config.rs

Core symbols most depended-on inside this repo

room
called by 114
src/entity/message_context.rs
messaging
called by 96
src/bot/implementation.rs
thread_info
called by 84
src/entity/message_context.rs
send_error_markdown_no_fail
called by 42
src/bot/messaging.rs
as_str
called by 40
src/agent/purpose.rs
command_prefix
called by 37
src/bot/implementation.rs
room_config_context
called by 34
src/entity/message_context.rs
send_text_markdown_no_fail
called by 24
src/bot/messaging.rs

Shape

Function 549
Method 240
Class 111
Enum 36
Interface 2

Languages

Rust100%

Modules by API surface

src/strings/help/cfg.rs52 symbols
src/strings/cfg.rs48 symbols
src/strings/agent.rs36 symbols
src/bot/implementation.rs34 symbols
src/entity/cfg/config.rs24 symbols
src/strings/help/access.rs19 symbols
src/entity/room_config_context.rs18 symbols
src/controller/chat_completion/mod.rs18 symbols
src/agent/provider/venice/tests.rs18 symbols
src/agent/provider/venice/config.rs18 symbols
src/agent/provider/openai/config.rs18 symbols
src/entity/message_context.rs17 symbols

For agents

$ claude mcp add baibot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact