Problem page

How to stop an AI roleplay from speaking for your character

You set up a scene, write what your character does, and the AI answers by writing your next line for you. It decides how you feel, what you say and where you go, and then adds a list of choices you never asked for. A few turns later the story is no longer yours. You spend more time deleting text than playing, and the scene loses the flow that made you start it.

2 min readWritten from thecodexai.comWelcome page from Tablif · 23 Oct 2026
The short answer

The Codex AI is a browser-based roleplay and story platform with a feature called Sovereign Guard. It cleans the model's output in several layers so the AI does not take over your actions, write fake lines for your character or add forced choices, and it lets you trim a reply with one click.

On this page
  1. Why the usual way fails
  2. How The Codex AI helps
  3. Step by step
  4. Tips
  5. Questions

01Why the usual way fails

Language models are trained to continue text, so they keep writing past the point where the other character should stop. In a roleplay that means they often write the player's actions too. Prompt instructions like "never speak for the user" help for a while but fade in long sessions. Many chat apps also add their own system prompts and filters on top, which you cannot see or change. And when you bring your own model or key, you still have to clean up every reply by hand. Group scenes make it worse, because the model has to voice several characters and easily slips into yours.

02How The Codex AI helps

The Codex AI is a browser-based roleplay and story platform with a feature called Sovereign Guard. It cleans the model's output in several layers so the AI does not take over your actions, write fake lines for your character or add forced choices, and it lets you trim a reply with one click. You can use the free platform model or connect your own provider key or a local model. Your stories can also branch, so you can try another path without losing the first one.

“Multi-layer sanitization preventing the AI from hijacking player actions, speaking fake player dialogue, or appending forced choices with instant 1-click dialogue trimming.”
From thecodexai.com
“Every account gets a platform-provided model on the Free tier”
From thecodexai.com

03Step by step

  1. Sign up and start on the Free tier with the platform model, or connect your own API key or local model.
  2. Import a character card or create a new character and world.
  3. Pick a session mode: Story RPG, Cast Lounge or Chronicle novel.
  4. Play your turn and let Sovereign Guard remove lines the AI writes for your character.
  5. Use one-click trimming for anything left, or branch the story to try a different choice.

04Tips

  • End your turn with an action or a question, not an open sentence. A clear stopping point makes it easier for any model to answer only for its own character.
  • Keep important world facts in the lore, not in the chat. When lore is pulled in by relevance on each turn, the model needs fewer reminders and drifts less.
  • Branch instead of rerolling the whole scene. If a reply goes the wrong way, a branch keeps the good part of the story and lets you test another direction.
  • Try a different model when one keeps puppeteering. Some models follow turn boundaries better than others, and being able to switch providers is the quickest test.

05Questions

Do I need an API key to start?

No, the Free tier includes a platform model without keys or a card.

Source: thecodexai.com
Can I use local models?

Yes, including Ollama, LM Studio and KoboldCpp.

Source: thecodexai.com
Are imported cards uploaded to a server?

The importer processes Tavern cards and lorebooks with zero server transmission.

Source: thecodexai.com

Run uncensored interactive AI roleplay, branching stories, and multi-character lounges using personal API keys or curated models.