Tutorial:Getting Started

From AI Dungeon Wiki
Jump to navigation Jump to search

This is an entry-level guide on how to play AI Dungeon. Some concepts are too complex to be fully explained here; refer to the other wiki pages linked on this page for more in-depth explanations.

A full read-through of this page should equip any newcomer with the ability to interact with the AI in such a way that it gives somewhat satisfactory and coherent results.

What is AI Dungeon?

AI Dungeon, referred to as AID for short, is a “text adventure game” with AI generated responses. You can write virtually anything as an input and the AI will respond with what it thinks is a natural continuation of the text. It will stil, however, require your heavy guidance if you want it to churn out a decent adventure.

How do I play AI Dungeon?

Go to https://play.aidungeon.io/, make an account, create a new game, and fiddle with it yourself a little first so you can get a general understanding of what it’s supposed to be in practice. Done? Okay. Now to explain how it all works in the sections below.

Daily Reward

You might notice a "Gift" box icon in the top right, which is where you claim your daily scales, most of them might be the same for every person and it resets once you claim the 28th reward (Which is a world). If you miss a reward, it won't go away and can always claim it the next day.

The UI

It can be a little overwhelming for a complete newbie to remember and make use of the entire menu, so take it one step at a time. Click around so you can get a general sense of where everything is first before reading through this section.

Left Hand Menu

Click on the buttton with the three stacked lines on the top-left of the screen while in the main menu. If you don't see it, it's probably because you're in an adventure. Press the back arrow to get back to the main menu (Don't worry. Adventures automatically save) and you'll see it.

Left hand menu.png

Right Hand Menu

Clicking on the three dots (...) on the top-right of the screen while in an adventure opens up this menu:

Right hand menu.png

  • Invite Friends which allows inviting people to a multiplayer game
  • Feedback, where you can tell the devs how well the AI is performing.
  • Quest Log. A handy little tool for keeping track of tasks.
  • View Adventure which shows the whole adventure without pagination
  • Edit adventure (see Adventure#Edit Adventure menu for more) where you can toggle a few options and even publish your adventure.
  • Settings
  • Help, which brings you to a page explaining AID
  • Refresh, helps to refresh certain problems and temporary bugs

Input Interface

Once you start an adventure, this is what you’ll see at the bottom of the screen.

Mini interface1 labelled.png

1. World Info --- Used for long-term AI memory for specific cases and to define concepts the AI might not already know.
2. Remember --- Used for long-term AI memory for general, important information about the narrative.
3. Alter --- Lets you directly edit story text.
4. Undo/redo --- Allows you to undo an action or redo a previously undone action.
5. Retry --- Re-generates the latest AI response.
6. Input Mode --- Click on this to cycle through the different input modes (Do/Say/Story)
7. The Input Box--- This is where you type stuff in.

The Basics

Pick a setting, use one of the three input modes (Do, Say, or Story) depending on what kind of interaction you want, type stuff in, and press ‘ENTER’ or click the little paper airplane icon to the right of the input box. That’s how you interact with AI Dungeon in a nutshell. Keep in mind that it’s best to use second person present tense when using AI Dungeon. That’s what it’s trained on and responds best to. Google it if you don't remember what that is from your High School English class.

Input Types

Main article: Input Types

Input Modes influence the format of the text before it's sent to the AI. Mastering their use is very important.


At it's most basic, and if you don't want to worry about the underlying mechanisms, you will most commonly use this mode for player character action. It automatically formats it as ‘> You [player input]’, so be aware of that. You can also write in first person (I, me, my, mine, etc) with this mode and it’ll automatically convert it into second person, if that’s something you want. Automatic conversion to second person will not work for Story mode.


Player input: Enter the throne room to meet the king.

What it sends to the AI: > You enter the throne room to meet the king.

Quick pro-tip: Like the above example, always try to be a little specific with what you want. If you were to simply do '> You go inside.', no matter the context that came before it, you might end up giving too much... let's say 'creative freedom' to the AI as to what should come next. This goes for any of the input modes, too.


This mode is most useful for quick dialogue. Just type what you want your character to say in the input box with this mode on, and it will automatically format it as ‘> You say “[player input]”’. You do not need to use this mode for dialogue, however, and you can format it yourself with Do or Story.


/Say Player input: Where in the world did you come from?

What it sends to the AI: > You say "Where in the world did you come from?"


This mode gives you complete freedom on how your input is conveyed to the AI; It does not alter your input in any way. It can be used for anything, including directly narrating the story. You can use it to state what’s happening in the narrative, force outcomes, have other actors/NPCs in the narrative do what you want, etc. Use it to pad out details to your actions, the scene, or whatever you want really. You can also use this mode to replicate the effect of Do and Say with your own custom format (by simply adding a > at the start of the sentence).


Raw story player input: At the blink of an eye, you sweep your sword out of its sheathe to meet your foes. What the AI sees: At the blink of an eye, you sweep your sword out of its sheathe to meet your foes.

Emulating do mode: > You sweep your blade at the enemy.

Emulating do mode but to have another character do an action: > Gilbert gives you the stink-eye across the tavern.

Get creative, and be detailed with this mode. Lazy inputs give lazy replies from the AI.

You can also leave a sentence half-finished with this mode and the AI will continue it for you.


Player input: Then, the wise old man says to you,

What the AI might continue it with: Then, the wise old man says to you, "Aah... you're an adventurer, I see."


Main article: Commands

This section will cover the use of Alter, Undo/Redo, and Retry.

And just as an extra tidbit you might find useful, you can use text commands instead of using the buttons, such as typing in /alter, /undo, /redo, /retry, /remember, or some other corresponding text command.


As briefly explained before, this command lets you directly edit text. If you want a coherent story, this will be your most powerful and hopefully most used tool aside from Retry. If the AI’s response is for the most part coherent but there’s something in it that doesn’t make sense (such as getting names wrong, irrelevant information, other nonsense like that), it is highly recommended that you edit it out yourself as this will help the AI get it right for next time.


Did an oopsie with your own action or don’t like where things are going? Simply press the Undo button (or use the /undo text command) and it’ll rewind to whatever happened before.


Did an oopsie on undoing some action that you weren’t supposed to or want to go back to where you were? Press the redo button and it’ll bring back the action you undid.


Don’t like the response the AI just gave you? Use this command and the AI will replace it with something else. Try not to aim for a perfect response as if it’s mostly satisfactory, you can just edit the finer details yourself.

AI Memory

Main article: Context

The AI will only remember what happened in the last 1.4k characters (letters) of the adventure. Anything further back than that is completely forgotten by the AI. But this is where /remember and WI (World Info) swoop in to save the day. They are your biggest allies for consitently reminding the AI of important stuff, effectively giving it a sort of long-term memory. They can be used to have the AI remember whatever it is you think is important for cohesion in the narrative.


Main article: Remember

This part of the memory can be accessed and managed using the remember command (either with the text command /remember or that little pin button from before). The input box should be replaced with the /remember memory box, something that should say 'What should the AI remember?'. Only put in important details you don’t want the AI forgetting about. Memory is very limited still and the AI has a hard time keeping track of little details. Write in full, complete sentences, using the same tense as before, and as if it were part of the story. Don’t write it as a disjointed list of points or anything like that.

You should also be consistently updating it to coincidence with the current state of your narrative. Try to avoid giving the AI conflicting information about what's currently happening in the story and what you have in /remember memory.

World Info

Main article: World Info

In practice, world info (or WI for short as some people call it) works almost in the same way as Remember but for stuff you don’t need the AI to always keep in mind. Think of it as a dictionary of definitions in your setting the AI can refer to under certain circumstances. You can use it for virtually anything, not just the world itself; characters, places, items, anything of that sort can be turned into a WI entry. They all have a place in your setting.

Click the little globe button in the Input Interface and you should see this pop up:

Example WorldInfo.png


Each World Info entry has a set of ‘keys’ or ‘keywords’ separated by commas as shown in the image. Think of them as ‘triggers’ that prompt the AI to read what’s in its corresponding World Info entry. The way World Info works is, whenever it sees one of the entries’ keys in either its recent input or output, it will slot whatever information is in that corresponding entry into memory for the duration of one action. It is advisable that you put in a list of words that would pop up related to the entry in question, not just words directly associated with it.


This is where you actually define the thing you want. Same principles as /remember memory applies here. Full, complete sentences, and only what's relevant to the story. NEVER start an entry with a pronoun. The AI will NOT automatically associate the keys with the entry. Keys are only there to prompt the AI to read what’s inside the entry. You can use pronouns within the same WI entry AFTER you’ve generally defined what the entry is about.

Essential Tips

Aaand... if you've made it this far, that's about all a newbie needs to have a half-decent chance at a good story. But here are a few quick tips for the best experience. If you honestly just want to fool around with the AI, ignore the below tips. They're meant for if you want a semi-cohesive story.

  • Be a little specific with your inputs. Even if the context leading up to it makes it so even a 6 year old could guess what comes next, don't assume the same from the AI. Do '> You enter the throne room to speak with King Henrik about the war'. Try not to get lazy and spam actions like '> You go inside.'
  • Either directly remind or indirectly allude to details about the story yourself. The AI will take everything you say as fact unless explicitly stated otherwise (E.g. If the AI suddenly forgets you have a dog waiting for you at home, just do > You rummage for your keys and hear your poodle start to bark at you from the other side of the door.)
  • To elaborate on what I mean by 'unless you state otherwise', the AI is decent at picking up on deception if you do stuff like. '> You try to contain your grin as you lie through your teeth about your social status.'
  • The AI is terrible at dealing with 'negatives' (Not, can't, don't, etc such as in 'There are no vampires in this land'.) Instead, use antonyms of the word you want to apply the negative to (E.g. Didn't like ---> Dislike, Not pretty --> Unsightly, Didn't go there ---> Stayed elsewhere, etc)
  • Stop expecting perfect responses. Settle for good enough responses and edit in details you want yourself. That's what alter is for. You can also /retry if it's way off base.
  • For conversations, try not to talk to more than 2 characters at once. The AI has trouble spreading out their focus.
  • Like the above, but for everything else, try your best not to split the AI's focus too much. You can't play this like a traditional open-world RPG where you're constantly side-tracked with quests and expect the AI to remember the details of it all. Keep it focused, and try not to have too many plot points happening at once.