Prompt-State Machines: Applying Interface-Led Architecture to Structure LLM Reasoning

This technical note defines Prompt-State Machines as a prompt-level application of Interface-Led Architecture (ILA) for structuring Large Language Model reasoning. The paper applies the Provider–Observer–Operator abstraction discipline to prompt design. It treats prompts not merely as natural-language instructions, but as structured pseudo-state machines that separate premise provisioning, ambiguity observation, reasoning operation, clarification, and fail-closed termination. The paper introduces a minimal Prompt-State Machine structure using Markdown / ROM-like state boundaries, including Provider, Observer, Operator, Clarify, and FailClosed states. It also presents a Skill-Set Provider pattern, where a Provider declares not only task materials but also available skill boundaries, allowed operations, required inputs, forbidden assumptions, output contracts, and fallback behavior. This paper is positioned as ILA Supplement 2. It does not extend the general theory of ILA itself, nor does it import AIKernel-specific Semantic IR, Composite Distance, or ReplayLog as required prompt-level constructs. Instead, it demonstrates how ILA's role-based abstraction discipline can be applied to LLM prompt space as a lightweight governance protocol. The English manuscript is the canonical version. The Japanese manuscript is included as a companion translation.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-05-21
DOI
https://doi.org/10.5281/zenodo.20323511
Primary Topic
Multi-Agent Systems and Negotiation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Prompt-State Machines: Applying Interface-Led Architecture to Structure LLM Reasoning

Takuya Sogawa
Zenodo (CERN European Organization for Nuclear Research)
Multi-Agent Systems and Negotiation
article

Prompt-State Machines: Applying Interface-Led Architecture to Structure LLM Reasoning

Takuya Sogawa
article en

Abstract

This technical note defines Prompt-State Machines as a prompt-level application of Interface-Led Architecture (ILA) for structuring Large Language Model reasoning. The paper applies the Provider–Observer–Operator abstraction discipline to prompt design. It treats prompts not merely as natural-language instructions, but as structured pseudo-state machines that separate premise provisioning, ambiguity observation, reasoning operation, clarification, and fail-closed termination. The paper introduces a minimal Prompt-State Machine structure using Markdown / ROM-like state boundaries, including Provider, Observer, Operator, Clarify, and FailClosed states. It also presents a Skill-Set Provider pattern, where a Provider declares not only task materials but also available skill boundaries, allowed operations, required inputs, forbidden assumptions, output contracts, and fallback behavior. This paper is positioned as ILA Supplement 2. It does not extend the general theory of ILA itself, nor does it import AIKernel-specific Semantic IR, Composite Distance, or ReplayLog as required prompt-level constructs. Instead, it demonstrates how ILA's role-based abstraction discipline can be applied to LLM prompt space as a lightweight governance protocol. The English manuscript is the canonical version. The Japanese manuscript is included as a companion translation.

Zenodo (CERN European Organization for Nuclear Research)
Project Concern International (US)
Openalex Percentile: Top 4%
Multi-Agent Systems and Negotiation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Prompt-State Machines: Applying Interface-Led Architecture to Structure LLM Reasoning — Takuya Sogawa · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS