Rvosy/Sakura
一个通用桌宠 Agent 框架,能导入自定义角色包,并让角色感知屏幕内容与系统事件,根据用户当前场景主动做出自然反应。
What it solves
Sakura solves the problem of wanting a favourite character to feel more alive than a static desktop decoration. Instead of a simple animated sticker, it turns a character into an AI companion that can look at your screen, decide when to start a conversation, and reply to you. It also solves the sharing problem: people who can't build a character from scratch can import a ready-made character pack, and creators can export their own packs to share.
How it works
Sakura is an extensible desktop pet framework. You start with a character pack (a .char file) that contains the character's artwork, personality profile, expression tags, voice resources, and colour scheme. You create or edit such packs in the built-in character studio. The app then loads the pack and renders the pet on your desktop, with expressions and voice as configured.
For proactive behaviour, Sakura has an optional "screen awareness" feature. When enabled, the pet periodically captures a screenshot of your screen and sends it to a model service you configure. The model judges whether the pet should initiate a conversation based on what it sees. This requires a model that supports images and system screenshot permission on your OS.
Additional abilities — like speech, long-term memory, or browser automation — are added as optional plugins. For example, there is an optional Playwright browser plugin (based on the MIT-licensed shinsekai-playwright-browser project) that gives the pet browser automation capability. Developers can write their own plugins using the Plugin API v4, and core developers can modify the framework itself following the architecture docs.
Who it's for
Sakura is for people who enjoy anime or game characters and want a personalised desktop companion that feels interactive and proactive. It's also for creators who want to design and share their own character packs, and for developers who want to extend the framework with new plugins or modify its core behaviour. Users need to bring their own model service API (address, key, model name) and be comfortable with possible usage fees, plus they need a character pack to start.
Highlights
- Character studio: edit personality, form, artwork, expression tags, voice, and colour scheme, then export as a .char pack
- Screen-aware proactive conversation: the pet screenshots your display and lets a model decide when to speak
- Plugin system: add voice, memory, browser operation, and more on demand
- Cross-platform: available for Windows, macOS, and Linux
- Open source under MIT License, with an optional Playwright-based browser plugin also MIT-licensed
Related
- Project
- Project
- Project
- Project
- Project