Explicit boundary
Normal Python remains normal
Plain strings keep literal equality. Model-backed judgment begins only after explicit wrapping.
Experimental Python library
== can understand meaning.
Semantic Python is an opt-in value layer that turns backend inference
into inspectable decisions. Ordinary Python stays deterministic; only
explicitly wrapped Semantic(...) values can invoke a model.
from semantic_python import Semantic
message = Semantic("I'm done")
if message == "the user wants to stop":
exit()
Explicit boundary
Plain strings keep literal equality. Model-backed judgment begins only after explicit wrapping.
Inspectable
Every decision retains probability, backend and model provenance, proposition, and a state digest.
Backend-neutral
Use Laya locally, OpenAI remotely, or the deterministic fake backend for offline tests.