alright so we just pushed scripts beta to everyone. you can check it out at janitorai.com/scripts heads up - its still early days and were actively iterating on everything.
what are scripts anyway
basically scripts let you add actual logic to your characters instead of just praying the ai follows your prompt. you can write code to control how conversations flow, when certain info gets revealed, how relationships develop - that kind of thing.
want a character that only drops their backstory after 50 messages? you can code that. want different responses based on keywords? thats possible too.
the advanced mode is straight code editing right now and the lorebook mode is more visual. were working on making both more intuitive as we go.
two ways to create
you can find scripts by clicking your profile icon and hitting the scripts tab. there are two modes:

- lorebooks: visual editor mode for world-building and lore management. you can also import your existing sillytavern json lorebooks
- advanced: code editor for more complex logic and full control
huge shoutout to icehellonix who made a guide to help people get started. honestly without community members like them stepping up, this would be even more confusing.
why documentation is sparse
lots of stuff is going to change. were still figuring out the best way to make this accessible to people who dont code. the ui needs major work. the api will probably change. thats why we havent written extensive docs yet - dont want to document something thats gonna be different next week.
were planning to add:
- way better visual editors so you dont need to code
- script sharing and discovery
- real world connections (time of day, weather, etc)
- probably a bunch of other stuff based on what you guys want
but right now? its basically a code playground for the brave.
what to expect from beta
this is a true beta - were releasing it early so creators can start experimenting and help shape what this becomes. if youre comfortable diving into early features, jump in. if you prefer more polished tools, check back in a few weeks as we iterate.
whats actually working
you can:
- create scripts that control conversation flow
- connect scripts to multiple characters
- stack multiple scripts on one character
- build some genuinely cool narrative systems if you know what youre doing
what were improving:
- ui
- better documentation once features stabilize
- clearer error messages
- visual tools for non-coders
- tons of other stuff based on feedback
help us build this
if you make something cool, share it. found a bug or have ideas to make scripts better? we want your feedback plz join the conversation in our #bug-reports Discord channel.
check out the scripts section on our help site for some examples to get started.
this is just the beginning. lets see what you can build with it.