Back · Writing

ShiritaiBot: A Framework for the Next Generation of Proactive Agents

We’re building ShiritaiBot, an open-source framework for personal agents that lives in chat apps you already use, including QQ and Feishu. It can get things done in the background while you’re away from your computer, and pick up a conversation with a sense of what’s been going on in your life.

We're building ShiritaiBot, an open-source framework for personal agents that lives in the messaging apps you already use, including QQ and Feishu. It can get on with work in the background while you're away from your computer. And when you feel like talking, it remembers what's been going on in your life and can pick up where you left off.

One assistant that gets things done and knows your day-to-day life. Ask it to look something up, manage your schedule, or pass a task to Codex or Claude Code on your computer. When you have a moment, you can just chat with it, too.

ShiritaiBot is available to self-host and is open source under the AGPL-3.0-or-later license.

Project repository | Official website

Why we're building it

Agents have come a long way in the past two years. They've become an essential part of how many people get work done. Most still fit into familiar workflows, though. We think they could do much more by changing how that work happens in the first place.

First, we're still tied to our computers. Today's agents can do a lot, but we still have to open the computer, explain the context, ask for updates, and come back when something needs our attention. It's the same desktop workflow with more work getting done. We want to be able to send an agent a task from the messaging apps we already know, wherever we happen to be. We also want it to notice what's been happening recently and act on it before we ask.

Second, work assistants have little to do with the rest of our lives. Agents built for work rarely give much thought to social or emotional interactions. In conversation they often lack context or a sense of what you've been going through. We want agents to be genuine assistants in daily life as well as at work. An assistant should remember what you like, how you work, and what's on your calendar, and put that knowledge to use when it can help.

Chatbots for companionship had been around for quite a while before agents took off. AstrBot built a complete LLM-based system for message handling, context management, and conversation isolation, with a rich plugin ecosystem. MaiBot set out to build a digital life form, putting a great deal of work into memory and emotional interaction. AstrBot and earlier bot frameworks focused on emotional support, and their architecture limited what they could do as agents. These platforms meet people in the apps they use every day. We want to take the same approach and let people give an agent a task from QQ, Feishu, or another supported app.

Both kinds of framework have mostly stayed within familiar workflows. That's starting to change.

A new generation of agents is exploring how to move beyond those workflows. In the first half of the year, products including Littlebird and Vida experimented with proactive assistants that could do the groundwork before anyone asked. In late October, DeepSeek proposed its SuperAgent concept, using events to automate work such as routing and handling those events.

Earlier frameworks that tried to handle complex workflows often ran slowly and inefficiently because so many decisions depended on a model. This autumn, TypeSafe released Jev, a fast and inexpensive model that can make semantic judgments that are difficult to express with conventional rules. That gave us an idea. We want to bring Jev's speed and low cost into the agent framework for tasks that are hard to handle with rules and expensive to hand to a large model.

We want to draw on these ideas to build an assistant that can be there and help wherever you are.

The ideas behind ShiritaiBot

Everywhere Agent

The usual agent workflow starts with someone opening a computer and entering a prompt. The agent does the work, then that person comes back to look at the result. This saves time on repetitive work, but the person is still sitting in front of the same computer. We want ShiritaiBot to make it possible to get work done from wherever you happen to be.

Our idea of an Everywhere Agent is one you can reach through the apps you already know, including QQ, Feishu, and more. Go hiking, play maimai at the arcade, or take the subway. Your agent can keep working while you're out.

If you'd prefer to have Codex or Claude Code handle a task, you can connect their CLIs to ShiritaiBot's subagent system and let ShiritaiBot coordinate them.

Proactive Loop

A good assistant does the groundwork before you have to make a decision. When a lunch invitation arrives by email, the assistant can judge how important it is, check for conflicts, and help you arrange it. When an exam notice comes in on WeChat, it can gather study materials and put together a study schedule.

ShiritaiBot starts from events. Alongside its main conversation with you, it has workflows triggered by events. Plugins can subscribe to sources such as email, GitHub, WeChat, Feishu, and more. Incoming messages start the proactive engine, which handles them according to their importance.

We want ShiritaiBot to act ahead of the prompt, so by the time you've thought to ask, the groundwork is already done.

Tools for Everything

Traditional interactive systems ask for a command in a specific syntax and give back a result. When people work with colleagues, they usually just explain what they need in plain language. We'd like working with an agent to feel just as straightforward.

Under our Tools for Everything approach, we aim to keep commands and the web UI to a minimum. ShiritaiBot should handle as much as it can from an ordinary conversation, including its own maintenance and updates. Want to know how the server is doing? Just ask, “What's the server status?” ShiritaiBot can answer directly, the same as it would if you typed /status.

Sensitive Friend

Agents are generally built for productivity, so companionship often gets little attention. Models that are good at conversation and emotional support can struggle with long, complicated tasks. A model that excels at those tasks may struggle to offer a warm, human response.

ShiritaiBot routes conversations between Chat and Work modes, with a separate model configuration for each. A decision model looks at what you've said and chooses Chat for everyday conversation and emotional support, or Work for longer tasks. An emotion-detection module also helps the agent work out how you're feeling and whether a timely reply might help.

We'd like ShiritaiBot to be both an agent you can work with and a virtual companion you can turn to wherever you are. As you spend time with it, it can remember the small details and gradually adapt to how you work and live.

Self-improvement

The next generation of agents should be able to improve over time, picking up new capabilities and adapting to how each person works.

We designed ShiritaiBot to be easy to extend. The plugin API can register different commands and tools, and the framework also supports Skills and MCP servers. With the built-in plugin-creator Skill, ShiritaiBot can write plugins for itself. Tell it what extra capability you want and it can help you build it.

We've also built an efficient memory layer that lets ShiritaiBot update what it knows about you as you use it. When it reads an email, it can recall how the people mentioned relate to one another without asking you to explain it all again. That memory also opens up tasks a conventional agent may struggle with, such as drafting a résumé from what it already knows about you.

How it compares with other frameworks

FeatureShiritaiBotAstrBotMaiBotOpenMausBotCodex/Claude Code
InterfacesMessaging apps and web UIMessaging apps and web UIMessaging appsDesktop GUIDesktop GUI and CLI
Agent capabilitiesYesYesRequires a pluginYesYes
SubagentsYes, with support for other frameworksYesRequires a pluginYesYes
MemoryStructured memoryRequires a pluginStructured memoryFlat Markdown filesFlat Markdown files
Proactive capabilitiesBuilt-in event-driven engineScheduled tasks, with plugins for other featuresProactive replies in group chats, with plugins for other featuresEvent-driven task managementNone
Emotional supportModel routing and emotion detectionThe model decides how to respondEmotion moduleNoneNone
Schedule managementCalendar and course scheduling engineScheduled tasksScheduled tasksScheduled tasksNone
Built-in support for a decision modelYesNoNoNoNo

Closing thoughts

I have a dream. I want to build an Atri.

In 1936, Alan Turing laid out the concept of a computing machine. In 1956, the Dartmouth conference introduced the idea of artificial intelligence. In 1997, IBM's Deep Blue beat world chess champion Garry Kasparov. Hatsune Miku debuted in 2007. AlphaGo beat Lee Sedol in 2016, and the Transformer architecture was introduced in 2017. ATRI -My Dear Moments- came out in 2020. Then came ChatGPT and Neuro-sama in 2022, Cursor in 2023, DeepSeek-R1 in January 2025, and OpenClaw in January 2026.

It's only been six years since Atri first appeared. In that time, language models and agents have shown capabilities across all sorts of fields that we couldn't have imagined a few years earlier. The AI memes back then were about it mistaking a cat for a dog. Now the joke is that we wait five hours for one chance to talk to a god.

Agents will take over the repetitive work people do today. One direction is embodied intelligence, letting agents act in the physical world. Another is the general-purpose agent, which can adapt to a wider range of tasks. ShiritaiBot is an attempt to move a little closer to that second direction.

Someday, in our work and perhaps in our daily lives, the line between people and agents may begin to blur. We don't know what that future will look like. It might be one worth looking forward to.

I hope ShiritaiBot can be a footnote in that future, a record that a few people once worked hard for a dream.

—— M42, ShiritaiBot Project Leader, Tsinghua University


From Xiaoke (小可) during Lunar New Year in 2024, to Chatne (茶町) in 2025, to ShiritaiBot in 2026, we've tried a lot of approaches and ended up building our own framework. At first, we wanted a bot that could look things up on a wiki from a group chat. Step by step, that turned into an attempt to build a personal assistant that can work semi-autonomously or even entirely on its own.

Agents took off in the first three quarters of 2026. Codex, Claude Code, Gemini Antigravity, DeepSeek Harness, Doubao Work, and other tools appeared one after another, letting AI operate a computer and edit real projects. By the fourth quarter, personal assistants suddenly seemed to be everywhere, getting even more attention than agents had just a few months earlier. Grok Bot and Muse are two of the clearest examples. You interact with them differently from earlier agents, and before you know it, they're part of how you live and work. I even saw someone cancel Claude Code and switch to a $200 Grok Bot subscription. My own phone used to go quiet all day, and now Muse keeps it buzzing. These assistants draw people in more than a productivity tool does, and they can help with more of everyday life.

Still, Muse's risk controls and Grok Bot's barriers to entry can get in the way for everyday users. Chinese internet companies have long kept people within their own ecosystems, and it's still hard for Grok Bot to become part of life at scale outside Feishu. Some agents also need you to sit down at a computer and open a particular app. That's a long way from how most people imagine a personal assistant, and it feels clunky at the very least. So we're trying our own approach. Our aim is a personal assistant you can reach without opening its native app, through the apps people in China already use, including WeChat, QQ, Feishu, and WeCom, while keeping its agent capabilities. WeChat integration is still in the works.

········

We see a lot of possibilities in ShiritaiBot. There could even be a version with a 2D or 3D avatar someday. Right now, I'd call it a work of art. I believe one day it'll become a real product that people know about and make part of their lives.

——— FallaxAura, Excerpt from ShiritaiBot's first roadshow

The team

NameRoleSchool
Xq. WangFounder and developerTsinghua University
[Zx. Gao]DeveloperThe Chinese University of Hong Kong, Shenzhen
Zr. ZhaoDeveloperShandong University
Yq. LiuDevelopment and operations—
ShiritaiBotDevelopment collaboratorShiritaiBot Devs