# Prompt Less, Smile More: Semantic Engineering in Lieu of Prompt Engineering

DevFeed: [Prompt Less, Smile More: Semantic Engineering in Lieu of Prompt Engineering](<https://devfeed.tech/articles/prompt-less-smile-more-semantic-engineering-in-lieu-of-prompt-engineering-113459.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2511.19427>)

Author: Jayanaka L. Dantanarayana, Savini Kashmira, Xiaoyu Ma, Krisztian Flautner, Lingjia Tang, Jason Mars

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Prompt Engineering](<https://devfeed.tech/topics/prompt-engineering.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-integrated](<https://devfeed.tech/tags/ai-integrated.md>), [annotations](<https://devfeed.tech/tags/annotations.md>), [applications](<https://devfeed.tech/tags/applications.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [llms](<https://devfeed.tech/tags/llms.md>), [methodology](<https://devfeed.tech/tags/methodology.md>), [mtp](<https://devfeed.tech/tags/mtp.md>), [performance](<https://devfeed.tech/tags/performance.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [prompt-engineering](<https://devfeed.tech/tags/prompt-engineering.md>), [semantic](<https://devfeed.tech/tags/semantic.md>)

## AI overview

Meaning Typed Programming (MTP) builds prompts from program structure, but it may leave selection criteria, output requirements, and application policies unspecified. Semantic Engineering addresses those gaps by adding and refining guidance through SemTexts: natural-language instructions attached to program entities, with declaration scopes controlling where they apply. An implementation in the Jac compiler and MTP runtime selects applicable guidance during automatic prompt construction. In an evaluation spanning seven AI-integrated applications, two benchmarks, and three models, it reduced integration lines of code 5.46-fold relative to Prompt Engineering and achieved equal or better task performance in most model-application settings, with a reported maximum of 1.83 times Prompt Engineering's performance.

## Source excerpt

arXiv:2511.19427v2 Announce Type: replace Abstract: AI-integrated applications increasingly rely on large language models (LLMs), but their intended behavior is not always fully specified by code. Meaning Typed Programming (MTP) automates prompt construction from program structure, yet selection criteria, output requirements, and application policies can remain unstated. We introduce Semantic Engineering, a methodology for identifying such missing intent and selectively adding and refining model guidance. We realize this methodology through Semantic Context Annotations (SemTexts), a dedicated language mechanism independent of documentation and schema metadata. SemTexts associate natural-language instructions with individual program entities and use declaration scopes to determine where they apply. Our implementation extends the Jac compiler and MTP runtime to preserve these associations and select applicable guidance during automatic prompt construction. We evaluate Semantic Engineering on seven AI-integrated applications and two standard benchmarks across three models. Across the applications, it achieves a 5.46-fold reduction in integration lines of code relative to Prompt Engineering while delivering equal or better task performance in most model-application settings, reaching up to 1.83 times the task performance of Prompt Engineering.