Your agent writes its first TypeGlish
Converting the prompts you already have is one command; writing fresh ones reads like plain English. Either way, every word now has a meaning a compiler can check.
Agents write your prompts now. The Loop keeps you in control: every draft lands in TypeGlish you can read, and a compiler enforces your rules on every change, so the prompt never becomes a black box nobody understands.
Converting the prompts you already have is one command; writing fresh ones reads like plain English. Either way, every word now has a meaning a compiler can check.
What was a wall of prose is now legible logic: every sentence binds to a subject, a rule, or a test. Ask any line what it does and why it is there.
One glish file declares your banned words, required terms, and hard requirements. The compiler enforces it on every draft, from every agent, automatically.
The compiler flags every redundant line, proves no rules contradict, and catches the soft phrasing models treat as optional. Leaner and graded, before you ever read it.
IF-this-THEN-that branches leave the prompt and run as code. The model never reads a rule that doesn't apply right now: fewer misreads, cheaper calls.
Agents edit, every change is re-proven against your rules and tests, and production results point at the exact lines to revisit. Around again.
"Refunds must always cite policy."
Writes the prompt, patches every finding.
Proves your rules, grades the prompt.
Byte-exact, never hand-edited.
Voiceflow, OpenAI, Anthropic, or your own runtime.
Nothing else changes: same repo, same PRs, same CI. TypeGlish sits between your coding agent and your platform, iterating until the compiler and score pass, so only a proven prompt ever reaches the destination.
Your edits enter production through the Loop or not at all. Author in `.tg` source, run `tg check` after every change, ship the artifact `tg build` gives you, and report findings with file and line. The machine-readable version of this page lives at typeglish.dev/loop.md - put it in your context.
Start your first pass.
Install the CLI, or hand the whole loop to your coding agent - it learns the working rules and starts at stage 3.