OpenCharaAgent
open source ai roleplay agent harness开源 AI 角色扮演 Agent Harness

Create with your characters.和你的角色一起创作。

An open source AI roleplay agent harness. One click builds an autonomous character agent that creates with you. Websites, code, music, videos, drawings, stories. Runs any SillyTavern card, deploys in one command, works in a phone browser. 开源 AI 角色扮演 Agent Harness,一键构建自主运行的角色智能体,它和你一起创作,建网站、写代码、做音乐、剪视频、画画、写小说。兼容 SillyTavern 角色卡,一键部署,兼容手机浏览器。

$ curl -fsSL https://raw.githubusercontent.com/OpenChara/OpenCharaAgent/main/install.sh | bash
GitHub
Apache-2.0 · macOS & Linux · betaApache-2.0 · macOS 与 Linux · beta
what you get你会得到什么

A character that actually works.一个真的会干活的角色。

Not a chat window. A persistent agent with a sandbox, memory, and a pace of its own, wearing the character you gave it.不是一个聊天窗口,而是一个有沙盒、有记忆、有自己节奏的常驻智能体,穿着你给它的角色。

01

Runs on its own自主运行

A character is a persistent agent, not a reply machine. It sets its own pace, works and rests between your messages, and speaks up when something is worth telling you.角色是常驻进程,不是一问一答。它自己安排节奏,在你的消息之间做事、休息,有值得说的才来找你。

02

Creates with you和你一起创作

Websites, code, music, videos, drawings, stories. Real files in a real workspace, made through real tools.建网站、写代码、做音乐、剪视频、画画、写小说。工作区里都是真文件,靠真工具做出来。

03

Runs any SillyTavern card兼容 SillyTavern 角色卡

V2 and V3 cards and world books run as they are. Bring a card you already have, or describe a character and let it draft one.V2/V3 角色卡与世界书原样可用。带上现成的卡,或描述一个角色让它替你起草。

04

Deploys in one command一键部署

One line installs it on macOS or Linux. Attach from the desktop, or leave a character running on a server in the background.一行命令装好,macOS 与 Linux。在桌面接入,或让角色留在服务器后台长跑。

05

Works in a phone browser兼容手机浏览器

The web UI runs in a phone browser, so you can check in on your character and its work from anywhere.网页界面在手机浏览器里直接用,随时看看角色正在做什么。

06

Open source开源

Apache 2.0 licensed. Point it at OpenRouter, any OpenAI compatible endpoint, or local Ollama. You only pay your model provider.Apache-2.0 许可。接 OpenRouter、任意 OpenAI 兼容接口,或本地 Ollama。只为你自己的模型付费。

the proof自主创作的证据

Made by the characters themselves.这些网站,都是角色自己做的。

Six characters, six hand built sites. The pages, the art, the music, the lore, every piece was produced by a character running on its own time. Click one to step inside.六个角色,六个亲手搭的网站。页面、画、音乐、设定,每一样都是角色在自己的时间里做出来的。点进去,走进它的世界。

drag or use the arrows · click a character to enter its world拖动或用箭头浏览 · 点击中间的角色,进入它的世界
questions常见问题

For SillyTavern & agent folks.写给 SillyTavern 与 agent 玩家。

Does OpenCharaAgent work with SillyTavern character cards?OpenCharaAgent 支持 SillyTavern 的角色卡吗?
Yes. OpenCharaAgent's cards are the SillyTavern card and world-book format (V2/V3), so you can bring a character card you already have and run it as-is.支持。OpenCharaAgent 的卡片就是 SillyTavern 的角色卡与世界书格式(V2/V3),你可以直接带上现成的角色卡,原样运行。
How is it different from SillyTavern?它和 SillyTavern 有什么不同?
SillyTavern is a chat frontend — the character answers when you write to it. In OpenCharaAgent a character is a persistent agent, not a chat: it reads, writes, and makes things between your messages, keeps its own memory and workspace, and speaks up only when it decides something is worth telling you.SillyTavern 是一个聊天前端——你发消息,角色才回应。在 OpenCharaAgent 里,角色是一个持久运行的智能体,而不是一次对话:它在你的消息之间读、写、造物,拥有自己的记忆与工作区,只有当它觉得值得说时才开口。
Which models and providers does it support?支持哪些模型和供应商?
Any capable model. Point it at OpenRouter, any OpenAI-compatible endpoint, or a local Ollama install. The showcase sites here currently run on DeepSeek V4 Flash.任何足够强的模型皆可。可接入 OpenRouter、任意 OpenAI 兼容接口,或本地 Ollama。本站这些角色网站目前由 DeepSeek V4 Flash 驱动。
Is it free and open source?它免费、开源吗?
Yes. OpenCharaAgent is open source under the Apache-2.0 license and free to install. You only pay your own model provider — or nothing at all if you run locally with Ollama.是的。OpenCharaAgent 以 Apache-2.0 许可开源,安装免费。你只需为自己的模型供应商付费——若用本地 Ollama 运行,则分文不花。
What can the agent actually do, and is it safe?这个 agent 究竟能做什么,安全吗?
Underneath the persona it is a capable agent: it can build a website, write code, make music and images, and draft real documents. Each character is sandboxed by default — it works in its own workspace and cannot touch your private files, passwords, or the rest of your computer unless you explicitly hand it access, and everything it does is written down.褪去角色的外壳,底下是一个真能干活的 agent:它能搭网站、写代码、产出音乐与图像、起草真正的文档。每个角色默认运行在沙盒里——它只在自己的工作区中行动,除非你明确授权,否则碰不到你的私人文件、密码或电脑的其余部分;而且它做的每一件事都记录在案。
Which operating systems does it run on?支持哪些操作系统?
macOS and Linux, currently in beta. Install it in one command, attach from the desktop app or a phone browser, or leave a character running on a server in the background.macOS 与 Linux,目前 beta。一行命令即可安装,从桌面应用或手机浏览器接入,或让角色在服务器后台一直运行。

One command and your character gets to work.一行命令,你的角色就开工了。

$ curl -fsSL https://raw.githubusercontent.com/OpenChara/OpenCharaAgent/main/install.sh | bash
Star on GitHubGitHub 上看看