github Darkatse/TauriTavern v2.0.0
v2.0.0 - Welcome to Agent Roleplay!

latest releases: Canary, v2.2.0, v2.1.1...
3 months ago

TauriTavern 2.0.0 预览版发布

喜报,TauriTavern 正式引入Agent能力啦!

欢迎阅读Agent系统具体文档!

最近🦞这么火热,想必大家应该多多少少知道Agent是什么吧?
之前的TauriTavern仍然局限于原始SillyTavern的生成框架,调用LLM后只能等待AI生成One-Shot结果,若有任何不满或瑕疵只能重新生成。
这样的能力放在SillyTavern诞生的2023年或许合理,但是在AI Agent能力大幅跃进、Agent多轮调用/修改成为常态的当下已经是全方位落后了。
而且,这样的架构几乎已经走到了它的极限。社区内也多多少少出现了各种异步处理。那么,我们何不直接向前推一步,直接加入完整的Agent功能呢?
没错,TauriTavern就是这样做的

那么,引入Agent以后可以解决什么问题呢?

  • 有了多轮修改能力,可以自行查杀八股,八股可以大大减少了
  • 有了多次提交能力,变量也可以单独更新,再也不掉变量了
  • 多次提交对于短对话更是重大利好,更有活人感!
  • 加入了最新最in的SKILL能力。什么?你想让AI抄江南老贼的龙族?没问题哦~
  • 更多玩法等待大家的思路哦~

TauriTavern的Agent思路很简单,基本上就是“万物皆文件”的抽象思路。每次Agent启动后都会在后台启动单独的文件夹,Agent可以在里面进行增删查改,例如手动搜索历史记录、搜索世界书激活消息、阅读SKILL,修改草稿和正文。输出结束后还能将长期记忆等写入persist文件夹,以便下轮Agent运行继续使用。

目前引入的Agent能力:

Agent 工具 作用说明
chat.search 只读搜索当前聊天,返回 message index、snippet 与 ref
chat.read_messages 只读按 message index 读取当前聊天消息,可读取字符范围
worldinfo.read_activated 只读读取本轮 run 捕获的最终激活世界书条目
skill.list 只读列出已安装 Skill 索引摘要
skill.search 只读搜索单个可见 Skill 内的 UTF-8 文本文件,返回 snippet 与 ref
skill.read 只读读取已安装 Skill 内的 UTF-8 文本文件或范围
workspace.list_files 只读列出模型可见 workspace 文件
workspace.search_files 只读搜索模型可见 workspace UTF-8 文本文件,返回 snippet 与 ref
workspace.read_file 只读读取 UTF-8 文本或范围,完整读取记录 read-state
workspace.write_file 写 run workspace 文件,成功后 checkpoint
workspace.apply_patch 单文件精确替换,成功后 checkpoint
workspace.commit 将 workspace 文件提交到当前 chat message
workspace.finish 结束工具循环,进入 run 收尾

简单使用指南:

点击发送键左边的图标可以启动Agent模式,长按可以打开Agent Profile面板,也可以在这里导入SKILLS
Agent运行中可以点击键盘上方的运行面板,实时观看Agent在干什么
超级好玩的

下一步准备加入的东西:

1、规划模式/Plan Mode,为Agent运行添加强制流水线
2、多模型切换,可以Claude打大纲后Gemini撰写正文
3、Agent运行的回滚与断点继续
4、更细致的Agent提示词调控、优化Agent工具
5、添加Agent八股Harness
6、MCP系统
等等等等...

除了Agent之外的更新: 




1、正则加入了Rust后端加速,将正则解析时间压缩到原来的1/5



2、修复了iOS上无法使用Vertex的问题
3、角色卡的作者注释部分可以正常显示更新了
4、优化了聊天记录过多时聊天记录管理器崩溃的问题

欢迎多多尝试,Agent真的超级好玩!


TauriTavern 2.0.0 Preview Release

Greeeat news: TauriTavern now officially introduces Agent capabilities!

Read the full Agent system documentation here!

With 🦞 being so popular lately, most of you have probably heard at least a little about what an Agent is, right?

Previously, TauriTavern was still limited by the original SillyTavern generation framework: after calling the LLM, you could only wait for the AI to produce a one-shot result. If anything felt unsatisfying or flawed, the only real option was to regenerate.

That may have made sense back in 2023, when SillyTavern was born. But now that AI Agent capabilities have advanced so dramatically, and multi-turn Agent calls and revisions have become the norm, that old model has fallen behind in every direction.

And frankly, that architecture has nearly reached its limit. The community has already seen various attempts at asynchronous processing. So why not take one clean step forward and introduce full Agent functionality directly?

That is exactly what TauriTavern has done.

So what problems can Agent support solve?

  • With multi-turn revision, the AI can hunt down and eliminate repetitive boilerplate by itself, greatly reducing cliché output
  • With multiple commits, variables can now be updated independently, so they no longer get lost
  • Multiple commits are especially beneficial for short conversations, making responses feel much more alive
  • The latest and trendiest SKILL system is now included. What? You want the AI to write in the spirit of a Harry Potter-style fantasy adventure? No problem at all~
  • Many more possibilities are waiting for everyone’s imagination

TauriTavern’s Agent design is simple: it follows an “everything is a file” abstraction. Each time an Agent starts, a separate folder is launched in the background. Inside it, the Agent can create, delete, search, and modify files: manually search chat history, search activated World Info messages, read SKILLs, and edit both drafts and final text.

After output is complete, it can even write long-term memory and other data into the persist folder, so the next Agent run can continue using it.

Currently introduced Agent capabilities:

Agent tool Description
chat.search Read-only search of the current chat, returning message index, snippet, and ref
chat.read_messages Read-only access to current chat messages by message index, with optional character ranges
worldinfo.read_activated Read-only access to the final activated World Info entries captured during this run
skill.list Read-only listing of installed Skill index summaries
skill.search Read-only search of UTF-8 text files within a single visible Skill, returning snippet and ref
skill.read Read-only access to UTF-8 text files or ranges within installed Skills
workspace.list_files Read-only listing of model-visible workspace files
workspace.search_files Read-only search of model-visible UTF-8 workspace text files, returning snippet and ref
workspace.read_file Read-only access to UTF-8 text or ranges; full reads are recorded in read-state
workspace.write_file Writes a file to the run workspace and checkpoints on success
workspace.apply_patch Precise single-file replacement, with checkpoint on success
workspace.commit Commits workspace files to the current chat message
workspace.finish Ends the tool loop and enters run finalization

Quick Start Guide

Tap the icon to the left of the send button to enable Agent Mode. Long-press it to open the Agent Profile panel, where you can also import SKILLs.

While the Agent is running, you can tap the run panel above the keyboard to watch what the Agent is doing in real time.

It is ridiculously fun.

Coming Next

  1. Plan Mode, adding a mandatory pipeline to Agent runs
  2. Multi-model switching, such as using Claude to draft an outline and Gemini to write the final text
  3. Agent run rollback and checkpoint resume
  4. More fine-grained Agent prompt controls and tool optimization
  5. An Agent boilerplate-output harness
  6. MCP system
  7. And much, much more...

Updates Beyond Agent

  1. Regex now uses Rust backend acceleration, reducing regex parsing time to roughly one-fifth of the original
  2. Fixed an issue where Vertex could not be used on iOS
  3. Author’s notes in character cards now display and update correctly
  4. Optimized crashes in the chat history manager when handling large chat histories

Please give it a try. Agent is genuinely a lot of fun!

What's Changed

  • 支持将提示词附着到已有聊天消息 by @Moeblack in #26
  • feat: 添加 MiMo TTS 和 Grok TTS 支持 by @RAMU324E in #31
  • Add Mimo And Grok TTS to Next/2.0.0 by @Darkatse in #33
  • 无障碍 in #35

New Contributors

Full Changelog: v1.6.5...v2.0.0

Don't miss a new TauriTavern release

NewReleases is sending notifications on new releases.