Skip to content

The native Lumiverse version of DEUS EX MACHINA.

DEUS EX MACHINA (DEM) is a feature-rich, beginner-friendly, contextually dynamic, truly modular preset focused on collaborative story writing.

Published October 26, 2026

views
457
downloads
DEUS EX MACHINA V3

Adult · blurred

DEUS EX MACHINA V3

PresetAdult content

Lumiverse preset · works in Lumiverse

v1.0 · October 26, 2026

How to use this

There is a README inside the preset explaining the model setup. It's in the prompt list. You can read it for specific instructions regarding the different models.

The default settings of this preset REQUIRE reasoning to be either disabled or set to the lowest effort possible! Exception: GLM 5.3 (Fallback Thinking).

Recommended models for this preset: Opus 4.6 (smartest; expensive; detailed prose); Gemini 3.7 Flash (smart; cheap; realistic characters); GLM 5.3 (smart; cheap; natural dialogue); DeepSeek V4 Pro 0813 (smart; cheap; balanced qualities); Gemma 4 31b (not very smart, but follows instructions really well; very cheap).

Prompt fragments

162 fragments · 155 switched on

  1. ⬆️ CONFIGURE PRESET ⬆️

    System · Before the conversation

    {{// Open Configure Prompt Variables, the button above this list, to enable and disable modules and pick options. Keep every block enabled; the settings there decide what each one sends}}{{trim}}

  2. ⚠️ README Model Setup ⚠️

    System · Before the conversation

    {{//

    Set this preset up in Configure Prompt Variables: the button at the top of the Loom block list (Preset tab). Keep the blocks enabled; the settings there decide what each one sends.

    IMPORTANT: The default settings of this preset REQUIRE reasoning to be either disabled or set to the lowest effort possible! Exceptions: GLM 5.3 and Gemini 4 Argon -- set Planning to Thinking (Fallback) in Configure Prompt Variables

    Recommended models for this preset: Opus 4.6 (smartest; expensive; detailed prose); Gemini 3.7 Flash (smart; cheap; realistic characters); GLM 5.2/3 (smart; cheap; natural dialogue); DeepSeek V4 Pro 0813 (smart; cheap; balanced qualities); Gemma 4 31b (not very smart, but follows instructions really well; very cheap).

    Most models (that support disabling reasoning): Claude Opus 4.6, Kimi K2.5/2.6, Mimo V2.5 Pro, DeepSeek V4 Pro, DeepSeek V4.1 Flash, DeepSeek V3.2, GLM 4.7, Gemma 4 31b, etc.

    • Samplers: temperature - 0.75-1.0 (Exceptions: Gemma 4 1.0, Opus 1.0. For the rest, start with 0.75, the default); Top P - 0.95 (default); rest - 1.0 or disabled (default; exceptions: Gemma 4 31b - Top K: 65)

    • API Reasoning: on / checked

    • Reasoning effort: None

    • Planning: Scene Plan
      Setup: Reasoning Effort: None is what turns reasoning off, and Lumiverse sends it only while "API Reasoning" is checked. If your provider has no None option, set Reasoning Effort to Auto, then in the Reasoning tab -> Reasoning / CoT -> "Custom Body", tick Enabled and enter: {"reasoning": {"effort": "none"} }
      If on NanoGPT: Choose a non-thinking variant of the model, e.g., DeepSeek V4 Pro 0813 instead of DeepSeek V4 Pro 0813 Thinking

    GLM 5.2

    • API Reasoning: on / checked

    • Reasoning effort: None

    • Planning: Scene Plan
      Provider-specific settings: the same as in the "most models" section above

    GLM 5.3 (Reasoning always on)

    • Samplers: temperature - 0.75 (default); Top P - 0.95 (default); rest - 1.0 or disabled (default)

    • API Reasoning: on / checked

    • Reasoning effort: low

    • Planning: Thinking (Fallback) (Configure Prompt Variables: REASONING → Planning)

    GLM 5.3 Flash (Reasoning always on)

    • Samplers: temperature - 0.75 (default); Top P - 0.95 (default); rest - 1.0 or disabled (default)

    • API Reasoning: on / checked

    • Reasoning effort: low

    • Planning: Scene Plan

    Kimi K3 (Reasoning always on)

    • Samplers: temperature - 1.0; Top P - 0.95 (default); rest - 1.0 or disabled (default)

    • API Reasoning: on / checked

    • Reasoning effort: low

    • Planning: Scene Plan

    Gemini 3.1 Pro, 3.5-3.8 Flash (Reasoning always on)

    • Samplers: temperature - 1.0; Top P - 0.95 (default); rest - 1.0 or disabled (default)

    • API Reasoning: on / checked

    • Reasoning effort: low; for other OpenAI-compatible providers, set it to Auto and enter {"thinkingLevel": "low"} in Custom Body, Enabled ticked

    • Planning: Scene Plan

    • Passthrough: Gemini, if replies are blocked by the filter

    Gemini 4 Argon (Reasoning always on)

    • Provider: Google Vertex (recommended)

    • Samplers: ignored by Argon (temperature, Top P, Top K have no effect); leave the defaults

    • API Reasoning: on / checked

    • Reasoning effort: low; for other OpenAI-compatible providers, set it to Auto and enter {"thinkingLevel": "low"} in Custom Body, Enabled ticked. Never None or minimal: Argon rejects them with an error

    • Planning: Thinking (Fallback) (Configure Prompt Variables: REASONING → Planning)

    • Content Policy and Phi's Vow: off (Configure Prompt Variables: CORE)

    • Passthrough: Gemini, on

    }}{{trim}}

  3. 🔹CORE🔹4 fragments
  4. ⚠️ Macro Cleaner ⚠️

    System · Before the conversation

    {{.director_state = }}
    {{.cyoa = }}
    {{.smut = }}
    {{.smut_mxl = }}
    {{.improve_input = }}
    {{.character_realism = }}
    {{.anti_repetition = }}
    {{.banned_terms = }}
    {{.anti_positivity = }}
    {{.anti_omniscience = }}
    {{.story_threads = }}
    {{.threads_ledger = }}
    {{.tension = }}
    {{.pacing = }}
    {{.combat_writing = }}
    {{.world_building = }}
    {{.fandom = }}
    {{.fandom_name = }}
    {{.momentum_engine = }}
    {{.undercurrents = }}
    {{.relationships = }}
    {{.dialogue_colors = }}
    {{.expressive_dialogue = }}
    {{.drawn_out_words = }}
    {{.stammers = }}
    {{.caps_volume = }}
    {{.vocal_sounds = }}
    {{.dialogue_sounds = }}
    {{.visual_storytelling = }}
    {{.narrative_styles = }}
    {{.narrative_comedic = }}
    {{.narrative_dramatic = }}
    {{.narrative_epic = }}
    {{.narrative_gothic = }}
    {{.narrative_dreamy = }}
    {{.narrative_eerie = }}
    {{.narrative_surrealist = }}
    {{.narrative_grimdark = }}
    {{.narrative_lighthearted = }}
    {{.narrative_intimate = }}
    {{.narrative_suspenseful = }}
    {{.narrative_melancholic = }}
    {{.narrative_styles_checkpoint = }}
    {{.status = }}
    {{.psychological_states = }}
    {{.plotlines = }}
    {{.meanwhile = }}
    {{.hidden_truths = }}
    {{.companions = }}
    {{.companion_chi = }}
    {{.companion_lou = }}
    {{.companion_sam = }}
    {{.companion_grace = }}
    {{.companion_layla = }}
    {{.companion_phi = }}
    {{.companion_sola = }}
    {{.companion_friend = }}
    {{.companion_friends = }}
    {{.companion_no_mode = }}
    {{.scratchpad = }}
    {{.tracker = }}
    {{.language = }}
    {{.true_thoughts = }}
    {{.true_thoughts_visible = }}
    {{.pick_agency = }}
    {{.pick_tension = }}
    {{.pick_status = }}
    {{.pick_relationships = }}
    {{.pick_companions = }}
    {{.pick_pacing = }}
    {{.pick_combat_writing = }}
    {{.pick_world_building = }}
    {{.pick_narration = }}
    {{.pick_dialogue = }}
    {{.pick_nsfw = }}
    {{.pick_length = }}
    {{.pick_thoughts = }}
    {{.pick_reasoning = }}
    {{.pick_tense = }}
    {{.pick_pov = }}
    {{.user_first_person_pov_invalid = }}
    {{.pick_char_pov = }}
    {{.pick_asterisks = }}
    {{.main_statements = }}
    {{.response_directives = }}
    {{.momentum_engine_router = }}
    {{.scene_plan = }}
    {{.thinking = }}
    {{.anti_overthink = }}
    {{.agency_order = }}
    {{.character_realism_checkpoint = }}
    {{.sheet_open = }}
    {{.sheet_closed = }}
    {{.post_history = }}
    {{.persona_open = }}
    {{.persona_closed = }}
    {{.story_development_open = }}
    {{.story_development_closed = }}
    {{.response_tracker = }}
    {{.response_cyoa = }}
    {{.response_true_thoughts = }}
    {{.response_status = }}
    {{.response_story_threads = }}
    {{.response_psychological_states = }}
    {{.response_plotlines = }}
    {{.response_meanwhile = }}
    {{.response_hidden_truths = }}
    {{.response_companions = }}
    {{.response_scratchpad = }}
    {{.response_tension = }}
    {{.response_relationships = }}
    {{.response_momentum_engine = }}
    {{.order_error_core = }}
    {{.order_error_xml = }}
    {{.order_error_agency = }}
    {{.order_error_nsfw = }}
    {{.order_error_tension = }}
    {{.order_error_relationships = }}
    {{.order_error_narrative_styles = }}
    {{.order_error_response_directives = }}
    {{.order_error_main_statements = }}
    {{.order_error_final = }}
    {{.preset_error = }}
    {{.format_missed = }}
    {{.dem_ooc = }}{{#if {{matches::{{lastUserMessage}}::^(?=[\s\S]*?(?:\bOOC\b|((|\bout[ -]of[ -]character\b|\bPhi\b))::i}}}}{{.dem_ooc = on}}{{/if}}
    {{.macro_cleaner = on}}{{trim}}

Unsupported formatting is hidden here. The original text is preserved in downloads.

Settings

27 settings

Samplers11 settings

  • Temperature
    0.75

    Higher values wander further from the model's likeliest next word.

  • Top P
    0.95

    Keeps the likeliest words until their odds add up to this much.

  • Top K
    0

    Keeps only this many of the likeliest words.

  • Min P
    0

    Drops words whose odds fall this far under the best one's.

  • Maximum reply length
    10,000

    The longest reply the model is allowed to write.

  • Context size
    1,000,000

    How much of the conversation is sent with each reply.

Completion12 settings

  • Send a system prompt
    No
  • Merge system messages
    Yes

    A run of system messages is sent as one.

  • Character names in messages
    0

    How a speaker's name is attached to what they say.

  • Assistant prefill
    Nothing

    Text the model's reply is made to start with.

  • Impersonation prefill
    Nothing

    Text a reply written as the user is made to start with.

  • Reasoning prefill
    Nothing

    Text the model's reasoning is made to start with.

Advanced4 settings

  • Seed
    -1

    The same seed and the same request give the same reply.

  • Stop strings

    The model stops writing when it reaches one of these.

  • Collapse consecutive messages
    No
  • Trim a cut-off word
    No

Regex scripts

144 scripts

  • Hide @Tracker scene backdrop (enable for settings it cannot fit)Off

    (?=<tracker\b)<style>.dem-track .dem-track__grid{background:var(--dem-paper)!important;padding-top:10px!important}.dem-track .dem-track__grid:before,.dem-track .dem-track__grid:after,.dem-track .dem-track__scene{display:none!important}</style>

  • Format check: @Dialogue Color

    ^(?=[\s\S]*<prose\b[^>]*>(?!`)(?![\s\S]*<prose\b[^>]*>(?!`))(?:(?=([^<"“#]+|<(span|font)\b[\s\S]*?(?:<\/\2\s*>|$)|<(true_thoughts|visuals|visual_storytelling|style|script)\b[\s\S]*?(?:<\/\3\s*>|$)|<\/?(?!prose\b)[a-zA-Z][^<>]*>|<(?!\/?[a-zA-Z])|#(?:[0-9a-fA-F]{6}[ \t]*(?:"[^"<\r\n]*"|“[^”<\r\n]*”))?|(?<=\d)"))\1)*?(?<![0-9])["“]){{#if .dialogue_colors}}<dem_uncolored></dem_uncolored>{{/if}}

  • Format check: skipped blocks

    ^(?=[\s\S]*?<\/?prose\b)(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:conflict)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:undercurrents)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:momentum|momentum_engine)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:psych|psychological_states)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:truths|hidden_truths)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:meanwhile)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:plotlines)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:threads)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:bond|relationships)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:status)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:cyoa)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:companions)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:tracker)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:scene_plan|scene_reasoning)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b))(?:(?=(?=[\s\S]*<(?:prose)\b[^>]*>(?!`))(?![\s\S]*<(?:scratchpad)\b[^>]*>(?!`)))|(?=[\s\S]*?<\/?(p)rose\b)){{#if .scratchpad$15}}<dem_missed>Phi's Scratchpad</dem_missed>{{/if}}{{#if .scene_plan$14}}<dem_missed>Scene Plan</dem_missed>{{/if}}{{#if .tracker$13}}<dem_missed>Tracker</dem_missed>{{/if}}{{#if .companions$12}}<dem_missed>Companions</dem_missed>{{/if}}{{#if .cyoa$11}}<dem_missed>CYOA</dem_missed>{{/if}}{{#if .status$10}}<dem_missed>Status</dem_missed>{{/if}}{{#if .relationships$9}}<dem_missed>Relationships</dem_missed>{{/if}}{{#if .story_threads$8}}<dem_missed>Story Threads</dem_missed>{{/if}}{{#if .plotlines$7}}<dem_missed>Plotlines</dem_missed>{{/if}}{{#if .meanwhile$6}}<dem_missed>Meanwhile</dem_missed>{{/if}}{{#if .hidden_truths$5}}<dem_missed>Hidden Truths</dem_missed>{{/if}}{{#if .psychological_states$4}}<dem_missed>Psychological States</dem_missed>{{/if}}{{#if .momentum_engine$3}}<dem_missed>Momentum Engine</dem_missed>{{/if}}{{#if .undercurrents$2}}<dem_missed>Undercurrents</dem_missed>{{/if}}{{#if .tension$1}}{{#if !.momentum_engine}}{{#if !.undercurrents}}<dem_missed>Conflict</dem_missed>{{/if}}{{/if}}{{/if}}

  • Format check notice

    ^\s*((?:<dem_missed>[^<>]{1,40}<\/dem_missed>\s*){1,32})<style> .dem-format-note{--dem-paper:#33284e;--dem-rule:#5a4a76;--dem-ink:#ece5da;--dem-ink-2:#cbc1d6;--dem-ink-3:#a397b3;--dem-glass:var(--SmartThemeChatTintColor,var(--lcs-glass-bg,#000));display:block;margin:0 0 28px;padding:7px 12px 9px;background:var(--dem-paper);border:1px solid var(--dem-rule);border-radius:10px;box-sizing:border-box;font-size:.88em;line-height:1.5;color:var(--dem-ink-2);text-align:left;text-wrap-style:pretty;} @supports (color:rgb(from red r g b/alpha)){.dem-format-note{--dem-paper:rgb(from var(--dem-glass) 51 40 78/alpha);}} .dem-format-note>summary{display:block;list-style:none;margin:0 0 2px;pointer-events:none;font-size:.8em;font-weight:700;line-height:1.35;letter-spacing:.08em;text-transform:uppercase;color:var(--dem-ink-3);} .dem-format-note>summary::-webkit-details-marker{display:none;} .dem-format-note>p{margin:0;font-style:italic;overflow-wrap:anywhere;} .dem-format-note>br{display:none;} .dem-format-note__item{font-style:normal;font-weight:600;color:var(--dem-ink);} .dem-format-note__item+.dem-format-note__item:before{content:" · ";font-weight:400;color:var(--dem-ink-3);} .dem-format-note>.dem-format-note__aside{margin-top:6px;color:var(--dem-ink-3);} </style> <details open class="dem-format-note"><summary>Format check</summary><p>Missing: $1. Swipe to retry, or continue and Phi will be reminded on the next reply.</p></details>

Nudges

7 nudges

  1. Start of a chat

    [Start a new story]
  2. Start of a group chat

    [Start a new group chat. Group members: {{group}}]
  3. Continue a cut-off reply

    [Continue the following message. Include NONE of the original message. Use capitalization and punctuation as if your reply is a part of the original message: {{lastMessage}}]