Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Inner Self is an AI Dungeon mod that grants memory, goals, secrets, planning, and self-reflection capabilities to the characters living in your story!

License

NotificationsYou must be signed in to change notification settings

LewdLeah/Inner-Self

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inner Self 🎭

Giving characters minds of their own~

Made by LewdLeah ❤️


Overview

Inner Self is an AI Dungeon mod that grants memory, goals, secrets, planning, and self-reflection capabilities to the characters living in your story. Simulated agents build and maintain their own minds to learn from experiences, form opinions, and adapt their behavior over time. Inner Self provides the AI with the tools it needs to truly embody characters, allowing them to feel more alive and nuanced over long adventures.

In some ways this is the spiritual successor toAuto-Cards, which is already included with Inner Self and can be enabled at any time.


Main Features

FeatureDescription
Segmented MemoryEach NPC maintains their own private thoughts, separate from other characters
Self-Organizing ThoughtsCharacters agentically revise, prune, and maintain their own mental state
Zero Immersion BreaksAbsolutely NO "please select continue" messages (!!!)
Real-Time Brain EditorView or edit any NPC brain in the associated story card notes
Name-Based TriggersDifferent NPCs coexist seamlessly, activating when mentioned in the story
Visual IndicatorsSee exactly which character is thinking at any given moment
Universal CompatibilityGeneral-purpose design works across diverse character archetypes and scenarios
Auto-Cards IntegrationFully merged for comprehensive world-building (optional)

Permission

Inner Self is both free and open-source for anyone to use in their own scenarios or scripts, even published ones. You have my full permission to use, copy, or modify Inner Self. Please enjoy! ❤️


Scenario Script Install Guide

  1. Use theAI Dungeon website on PC (or view as desktop if mobile-only)
  2. Create a new scenario or edit an existing scenario
  3. Open theDETAILS tab at the top while editing your scenario
  4. Scroll down toScripting and toggle ON →Scripts Enabled
  5. SelectEDIT SCRIPTS
  6. Select theInput tab on the left
  7. Delete all code within said tab
  8. Copy and paste the following code into your emptyInput tab:
// Your "Input" tab should look like thisInnerSelf("input");constmodifier=(text)=>{// Any other input modifier scripts can go herereturn{ text};};modifier(text);
  1. Select theContext tab on the left
  2. Delete all code within said tab
  3. Copy and paste the following code into your emptyContext tab:
// Your "Context" tab should look like thisInnerSelf("context");constmodifier=(text)=>{// Any other context modifier scripts can go herereturn{ text, stop};};modifier(text);
  1. Select theOutput tab on the left
  2. Delete all code within said tab
  3. Copy and paste the following code into your emptyOutput tab:
// Your "Output" tab should look like thisInnerSelf("output");constmodifier=(text)=>{// Any other output modifier scripts can go herereturn{ text};};modifier(text);
  1. Select theLibrary tab on the left
  2. Delete all code within said tab
  3. Open the Library code (hyperlink below) in a new browser tab
  1. Copy thefull code from the page above and paste into your emptyLibrary tab
  2. Click the big yellowSAVE button in the top right corner

And you're done!

All adventures played from your scenario will now include Inner Self (even existing adventures)

Remember to read the in-game config card!


Gameplay Tips

  • Read the in-game config card to learn how to easily add NPCs
  • Set response length to 200 tokens if you notice short or empty outputs
  • Enable scripts if you don't see a config card (homepage > settings > gameplay)
  • Protect your mental health: Inner Self is intended to be a narrative experience only
  • Plot components matter because the AI sees them when writing thoughts
  • Different story models also tend to manage brains differently
  • But avoid Atlas and Raven models for this one 😅

For Creators

Creator Control Panel

At the very top of the Inner SelfLibrary script tab, you'll find optional settings with simple explanations. Modify these before publishing to customize your scenario's default experience.

Preparing Scenario NPCs

To work on its own, provide Inner Self with the names of your scenario's most important NPCs. Inner Self will create a new brain card for each NPC you prepare, after their name appears in the story. (Kinda like story card triggers, if that makes sense!) Brains are created on-demand to avoid overwhelming players.

Creators provide Inner Self with scenario NPC names in one of two ways:

regular method (click to expand)

In the creator control panel near the top of yourLibrary script tab:

// List the first name of every scenario NPC whose brain should be simulated by Inner Self:IMPORTANT_SCENARIO_CHARACTERS:""// (write a comma separated list of names inside the "" like so: "Leah, Lily, Lydia")

Simply list your NPC names inside the quotations. Then click the yellowSAVE button!

alternative method for mobile creators (click to expand)

Prefix regular AID story card titles with the@ symbol so Inner Self knows which characters should think:

  • Example card name:@Leah
  • Remember to use simple first names here!
  • This method is easier on mobile

Custom NPC Brains

Inner Self uses the full context of your scenario to form minds that follow your creative vision. No extra effort required.

But if you want more advanced control:

initial thoughts (click to expand)
  1. Transfer any NPC brain card from adventure to scenario
  2. Leave the card entry completely empty
  3. Replace the notes section with any valid string-valued JSON
  4. Feel free to use an AI assistant to transform your concept into valid JSON by filling out the prompt below:
#You are a JSON generator:- Always reply with valid JSON only, no extra text- Base your output on the instructions provided- Do not include comments or explanations##Overarching setting:```[Describe the setting of your scenario here!]```##Fictional character concept:```[Describe your character concept here!]```##Task instructions:Your task is to transform the character concept into a JSON object- The object should resemble a flat collection of key-value pairs- All values are strings written from the character's inner 1st person PoV- Values should be short single-sentence thoughts that capture core aspects- Keys use distinct and descriptive lower snake_case syntax- The object represents the character's identity of self- Be creative when roleplaying as the character- Respect the overarching setting

Useful Links

(click to expand)

Basic Demo Scenario

Discussion Thread


Changelog

(click to expand)

1.0.2

  • Added config "Brain card notes store brains as JSON"
  • When disabled, brain card notes use a simpler colon + newline delimited format instead of JSON
  • Makes it much easier to manually edit NPC thoughts without accidentally breaking syntax
  • Backward and forward compatible; both formats are safe during parsing
  • Pull request bydirtymined13

1.0.1

  • Added config "Half thought chance for Do/Say/Story"
  • Lets players decide if the thought formation chance should be reduced by half during Do/Say/Story turns
  • This reduction was previously mandatory in v1.0.0, to help enforce player agency when using free models
  • Pull request by-Vinny-

1.0.0

  • Inner Self released!

Contributions

(click to expand)

Thank you so much for your curiosity and support~ ❤️

Inner Self v1.0.2 · Made with love byLewdLeah

About

Inner Self is an AI Dungeon mod that grants memory, goals, secrets, planning, and self-reflection capabilities to the characters living in your story!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2026 Movatter.jp