#prompt-engineering
Every summary, chronological. Filter by category, tag, or source from the rail.
Measuring and Restoring Constraint Influence in LLMs
LLMs often ignore complex constraints in long dialogues, treating them as 'dead text.' This research introduces a method to quantify and restore constraint adherence in black-box models.
Meta-LoRA: Efficient Cross-Domain LLM Personalization
Meta-LoRA enables LLMs to adapt to user preferences across different domains by learning a meta-adapter that generalizes personalization patterns, reducing the need for domain-specific fine-tuning.
Modular Prompt Optimization: Improving LLM Performance via Segmentation
Moving from monolithic prompt optimization to segment-level modularity allows for more precise, interpretable, and effective tuning of LLM instructions.
Moving Beyond Prompt Engineering: The Power of Context Engineering
Context engineering is the practice of curating and structuring the information environment provided to an LLM, moving beyond simple prompt phrasing to improve reasoning and reduce 'context rot'.
IBM Technology5 Best Practices for Building Reliable AI Agent Skills
AI agent skills are procedural knowledge files. To make them reliable, focus on precise triggers, domain-specific expertise, context efficiency, deterministic scripts for fragile tasks, and rigorous security vetting.
IBM TechnologyEscaping LLM Homogeneity with Meta-Persona Anchoring
To combat output uniformity in LLMs, use Meta-Persona Anchoring to define high-level cognitive constraints and Sequential Temperature Scaling to manage creative variance across multi-step reasoning chains.
Energy-Efficient Prompting: The Impact of Keywords on On-Device LLMs
On-device LLM energy consumption is highly sensitive to specific prompt keywords, meaning developers can optimize battery life and performance by selecting energy-efficient tokens.
Evals-Driven Development for High-Stakes Mental Health AI
SonderMind builds safe mental health AI by replacing generic model guardrails with a modular, clinician-led evaluation loop that treats clinical judgment as code.
AI EngineerBuilding Production-Grade Agent Evals: A Practical Framework
Reliable AI agents require a loop of iterative evaluation that prioritizes patterns over individual failures, starting with intuition-based 'vibing' before scaling to rigorous, rubric-driven golden sets.
AI EngineerAI Builder Essentials: Tokens, RAG, and Context Windows
LLMs operate on tokens—not words—and are inherently non-deterministic. To overcome training data cutoffs, use Retrieval-Augmented Generation (RAG) to inject real-time data, while managing context window limits and token costs to avoid inefficient 'token maxxing'.
Google Cloud TechSecuring Multi-Agent Systems with Model Armor
Protect multi-agent systems from indirect prompt injection, PII leaks, and malicious content by implementing Model Armor as a centralized security guardrail at every system boundary.
Google Cloud TechWhen to Fine-Tune vs. Use RAG and Prompt Engineering
Fine-tuning is no longer the default for customization; modern frontier models often outperform custom-trained ones. Prioritize RAG, context engineering, and agent skills before considering fine-tuning for specific bottlenecks.
The Steering Budget: Why Examples Outperform Prompt Knobs
When steering LLMs, providing concrete examples is significantly more effective than adjusting abstract system prompt 'knobs' or parameters, as examples provide clearer context for model behavior.
Getting Started with ChatGPT: A Practical Guide
ChatGPT is a conversational AI assistant designed to help with writing, brainstorming, and problem-solving. Success starts with simple chat-based tasks and evolves into structured workflows as you identify repeatable processes.
Scaling Model Robustness via Automated Red-Teaming
OpenAI developed GPT-Red, an automated red-teaming model trained via self-play, to identify vulnerabilities and adversarially train future models, resulting in significant improvements in prompt injection resistance.
Making LLM Self-Evolution Safe with Held-Out Selection
RSEA improves LLM agent performance by recursively evolving natural-language artifacts while using a strict held-out validation gate to prevent performance regression.
Building Great Agent Skills: The Missing Manual
To escape 'skill hell,' developers must treat agent skills as structured, maintainable code by optimizing triggers, minimizing context bloat, using 'leading words' for steering, and aggressively pruning irrelevant instructions.
AI EngineerImproving LLM Planning with Symbolic Feedback Loops
To solve LLM planning errors in long-horizon tasks, this framework uses symbolic verification to provide corrective, interpretable feedback, forcing the model to iteratively refine its plans.
Personality Prompting in Multi-Agent Teams: Impact vs. Task Structure
Personality manipulation in LLM agents significantly alters communication style but only degrades performance in open-ended or competitive tasks, while having negligible impact on structured coding tasks.
The Promptware Kill Chain: Securing AI Agents
Promptware is a new class of malware that exploits the lack of separation between instructions and data in LLMs. To defend against it, builders must adopt a zero-trust architecture, treating AI agents as untrusted, hostile runtimes rather than benign assistants.
IBM TechnologyControlling LLM Output: Deterministic vs. Stochastic Generation
LLM outputs are probability distributions over tokens. You can force deterministic results by setting temperature to 0 or using top-p/top-k sampling to constrain the randomness of the next-token selection.
The Mechanics and Risks of AI Prompt Injection
AI agents cannot distinguish between developer instructions and untrusted data, making them vulnerable to prompt injection attacks where hidden text in web pages overrides system commands.
Stop Writing Tone Instructions: Use a 4-Layer AI Architecture
Stop relying on a single system prompt for brand voice. Instead, use a four-layer architecture—Immutable Identity, Situational Mode, Example-Anchored Voice, and a Deterministic Veto—to separate instructions from verification.
Improving LLM Ethical Reasoning with Narration-of-Thought
Narration-of-Thought (NoT) is an inference-time prompting scaffold that forces LLMs to explicitly identify stakeholders and uncertainties before committing to a decision, significantly reducing common ethical reasoning failures.
Instruction Bleed: The Hidden Risk of Prompt Composition
Compositional Behavioral Leakage (CBL) occurs when prompt modules interfere with each other within a shared context window, causing silent, sub-threshold shifts in agent behavior that standard QA often misses.
Building AI-Powered Apps: A Low-Code Guide for Small Teams
Small teams can modernize legacy applications by leveraging 'vibe coding' and managed database AI features like hybrid search and vector embeddings, allowing them to implement semantic capabilities without needing a team of AI experts.
Google Cloud TechThe Miranda Hypothesis: Why Persona Evals Fail
Current persona-based AI benchmarks measure 'convincingness' rather than historical fidelity, leading to 'Miranda distortion' where models prioritize culturally dominant narratives (like the Hamilton musical) over primary documentary records.
Verifying LLM Reasoning Traces with VeryTrace
VeryTrace improves LLM reliability by formalizing natural language reasoning into a structured, compilable DSL, enabling automated verification and error repair without domain-specific training.
AI Agents vs. Social Engineering: The Future of Trust
AI-native operating systems may finally solve social engineering by removing humans from routine trust decisions, though this shifts the battlefield to AI-agent manipulation and prompt injection.
Building Functional Personas with AI for User-Centric Decisions
Move beyond static, demographic-heavy personas by using AI to synthesize research into 'functional' personas focused on user goals, tasks, and objections, then making them interactive via custom chatbots.
Smashing MagazineShowing 30 of 275