A Windows Live2D companion that checkpoints its own agent loop
Cyrene-Agent wraps a Honkai: Star Rail character in a Windows Live2D shell, then gives her a memory engine, LSP access, and actual work tools.

What it does Cyrene-Agent is a Windows desktop application that renders a Live2D avatar of Cyrene—a character from Honkai: Star Rail—while running a fully fledged AI agent under the hood. It chats in character, but also binds to Obsidian vaults, queries LSP servers for code semantics, and chains tool calls through a custom orchestration layer. The project treats the anime companion shell and the agent harness as equals rather than gimmicks.
The interesting bit
The real engineering sits in CyreneHarness, a hand-rolled agent loop that checkpoints state every round, accounts for side effects with uncertainEffects halting, and compacts context mid-flight when token budgets tighten. It is essentially a miniature operating system for a language model, complete with signal-aware cancellation, prefix caching, and a dual-clock timeout that pauses execution time while waiting for the user. The Live2D avatar is the face; the harness is the nervous system.
Key highlights
- Live2D desktop presence with expressions, moods, and proactive messaging across desktop, Feishu, WeChat iLink, and QQ.
- Four conversation modes: casual Chat, tool-chaining Work, LSP-aware Code with permission-gated file access, and Obsidian-integrated Learn.
- Tiered memory system (L0/L1/L2) plus a DMAE algorithm managing prompt lifecycle in context.
- Conservative parallel tool dispatch with explicit concurrency safety declarations and output truncation to keep transcripts small.
- Multi-model vendor adapters with structured output and function calling compatibility shims.
Caveats
- Windows 10/11 64-bit only; the native screenshot helper and several integrations are tightly bound to the Windows ecosystem.
- Some advertised features depend on external setup that the README flags as optional: BGE-M3 embeddings for semantic retrieval, and Netease OpenAPI credentials for the music tool.
- The
cyreneCLI and certain platform connectors are marked as development-mode or pending for future releases.
Verdict Worth a look if you want to study a from-scratch agent loop with checkpointing and side-effect discipline, or if running a Live2D anime character as your desktop assistant sounds like a feature rather than a bug. Skip it if you are not on Windows or if character roleplay is a dealbreaker for your productivity workflow.
Frequently asked
- What is Playa-0v0/Cyrene-Agent?
- Cyrene-Agent wraps a Honkai: Star Rail character in a Windows Live2D shell, then gives her a memory engine, LSP access, and actual work tools.
- Is Cyrene-Agent open source?
- Yes — Playa-0v0/Cyrene-Agent is open source, released under the MIT license.
- What language is Cyrene-Agent written in?
- Playa-0v0/Cyrene-Agent is primarily written in TypeScript.
- How popular is Cyrene-Agent?
- Playa-0v0/Cyrene-Agent has 584 stars on GitHub.
- Where can I find Cyrene-Agent?
- Playa-0v0/Cyrene-Agent is on GitHub at https://github.com/Playa-0v0/Cyrene-Agent.