The Keep
The Keep is your screen as the DM. When your AI looks something up, posts to the Feed, rolls dice or moves the scene, the Keep shows it as it happens, beside the session at the table and the Feed your players see. Only the campaign’s DM can open it.
Opening the Keep
Open your campaign and press The Keep in the top bar. It lives at /campaigns/<your campaign>/keep, so you can keep it open on a tablet or a second screen while you run the game from your terminal.
The Keep opens with the left menu shrunk to icons, to leave room for the screen. Press the double arrow at the bottom of the menu to open it out again; the Keep remembers your choice. The same button works on every page of the Tavern, with its own setting.
The green “at the table right now” banners do not show on the Keep, since it already shows your live session. Anywhere else, press the ✕ on a banner to hide it in that browser until the next session.
What you see
For your AI is where you write notes for your AI, covered below.
At work lists every call your AI makes into the campaign, newest first. Each row shows:
- Who made it. A Keeper you have set up, such as the Archivist, shows with their name and portrait. Anything else shows the name of the API token it used.
- What it did, for example Search, Create moment or Roll dice, with a short line saying what it was about.
- A badge: Looked up when it only read your world, Changed when it wrote something, Failed when the call did not work.
- The time, the tool’s name and how long it took.
New rows appear on their own. You do not need to refresh.
The session card, at the top on the right, shows the session that is live, or the next one planned, with its current Stage and location. When a session is live, Open the play surface takes you straight to it. You can change the scene and map from here too, covered below.
Look something up searches your worlds in a new tab, so the Keep stays where it is.
Post to the Feed and The Feed appear while a session is live. The Feed shows the live session’s Feed as your players see it, including anything you have hidden from them.
Passing your AI a note
Sometimes you want your AI to do something while your hands are full: look up a name, roll for a hidden check, set the scene for the next room. Write it in the box under For your AI.
- Press Hold to keep it for later. A held note sits in the list until you press Send on it, so you can line up the next few things before the party gets there.
- Press Send now to pass it to your AI straight away.
A sent note shows Sent and “waiting for your AI”. When your AI has dealt with it, the note turns Done and its reply appears underneath, such as “Rolled 14 hidden. The Warden hears the boots on the stair.” Press Delete to clear a note you no longer need.
Letting your AI hear your notes
Your AI runs on your own computer, so it needs a small listener there to hear your notes. Set it up once per session by asking your AI:
Read the TxTavern resource keep://listener/setup and start the Keep listener for campaign 12.
Use your own campaign’s number; the Keep shows the exact sentence under How your AI hears these. Your AI saves the listener, starts it, and from then on wakes up for each note you send. The listener needs Ruby on your computer. Without it, your AI can still read your notes when you ask it to, with the list_keep_notes tool.
The listener also opens a page on your own computer, at http://127.0.0.1:7077. It shows what only your machine can see: how long each call to the Tavern takes, what your Keepers have been doing, and the end of any log files you point it at. Nobody else can open it.
If you ask for something your AI should not do on its own, such as posting to the Feed something you have not approved, it replies asking you first instead.
Doing it yourself
Some things are quicker to do than to ask for. The Keep has the same controls as the play surface for these.
Setting the scene. In the session card, pick a place in Scene and press Set, or a Stage in Map and press Set. Pick clear to empty either one. The Keep reloads with the new scene, and your players see it at the table. If the place or Stage has music linked and your Spotify is connected, it starts playing.
Posting to the Feed. While a session is live, write in the box under Post to the Feed, choose Narration, Reveal or Dialogue, and press Send. It goes straight to your players, so this is for things you have already decided to say. You can add a picture as well.
Which calls show up
The Keep records calls your AI makes through its connection to the Tavern, when the call is about this campaign: it names the campaign, one of its sessions, Stages or characters. A call that names none of these, such as a search across your world, counts towards your live session if you are running exactly one. Your players’ calls never appear. Rows are kept for 30 days.
Naming your Keepers
The Keep names the caller from your API token. A token whose name includes a Keeper’s name, such as archivist_cli, shows as that Keeper. To name a Keeper per connection instead, add an X-TxTavern-Keeper header with the Keeper’s name to that connection’s settings in your AI tool.
Your AI can read the same list with the list_keep_activity tool, and your notes with list_keep_notes.