CSPL: enforcing small-model structured output via game engines
bye_ella · reddit · 2026-11-29
Follow-up on the DSL vs JSON tool-calls debate for small models: the author's team uses CSPL, where the model writes short programs in tiny game-specific languages and a server-side engine enforces the rules, rejecting violations with line numbers. Rule changes live in handlers — a wine container delivered under the old rule was rejected by the same saved program after the rule tightened, with no model call on re-run. Demos at extella.dev/demos; the author asks which rules from your agent setup you'd move out of the prompt and into an engine.
Related event: CSPL: game engines enforce structured output for small models(2 posts)→
More from coding & agent
- Cross-review workflow: Gemini 4 Neon finds serious bugs Claude and ChatGPT missed — CtrlAltDwayne · 2026-11-30
- Engineers report Google account bans tied to Antigravity use, top devs bail — viksit · 2026-11-30
- Designers vs design engineers: AI coding is erasing the role boundary — marcofyi · 2026-11-30
- Steal this agent harness tip: make the in-chat UI multiplayer across your devices — blixt · 2026-11-30
- SGLang PR adds hot-reload so kernel-writing AI agents iterate without server restarts — AccBalanced · 2026-11-30
- Perplexity's Code Quality Auditor traced $975K/year in wasted Claude API spend — jeffgrimes9 · 2026-11-30