Prompt Engineering Guide
Prompt Engineering

7d follower delta is accumulating (tracked since 2026-11-22); 7d net growth appears after multi-day follower snapshots are recorded.
Portfolio is the free Prompt Engineering Guide (promptingguide.ai) in online courses, ~287k visits, with X and GitHub channels.
Prompt Engineering
Select a ★ growth spike to view that day’s trigger post and interactions
No single breakout post linked on this date.
No tracked creator interactions recorded on this date.
The Top AI Papers of the Week (November 16 - 22):
- AutoRL - EfficientSkill - Safe Personal RSI - CompoundingKernel - Self-Improvement Memory - Weight-Space Programming - Self-Directed Self-Improvement
Read on for more:
If you want to learn how to build self-improving harnesses, check out this paper.
They present Exo, an agent runtime architecture for in-harness learning and adaptation during ongoing work.
Harness optimization usually runs offline, so it needs a representative dataset and many expensive runs before the agent improves.
Exo moves that loop into normal task execution.
The agent edits its own harness code while it works. A small protected layer keeps the execution history and controls which policy version is active, so every change can be inspected.
On AppWorld and SREGym, Exo cuts held-out model cost by 35 to 61% against the same starting policy without self-editing, with comparable correctness. Mean AppWorld task time drops 13%, and median SREGym diagnosis time drops 35%.
Chat with Paper:
Great practical paper from Google on building efficient agent skills.
For cheaper agents, learn a skill for accuracy first, then prune it for length. This has also worked well in our own experiments.
Skill optimizers usually add a new rule after every failure. The skill grows, the agent reads more tokens every turn, and long loops start to time out.
EfficientSkill runs two phases.
The first repairs failures with no length penalty until the skill reaches a target accuracy. The second prunes instructions and moves reusable code into workspace utilities, while accuracy has to stay close to that target. Pruning from the empty seed stalls, so the order matters.
Across four models on MATH-500, ALFWorld, and SpreadsheetBench, output tokens fall on 11 of 12 configurations, up to 80% of the time. Accuracy also rises on every benchmark, including +14.3 points with Gemini 3.8 Flash and +17.5 points with Grok 4.1 Fast on SpreadsheetBench. Serving cost drops 25% to 67%.
Chat with Paper:
Super interesting work from Microsoft and colleagues.
They take a closer look at the exciting research area of weight-space programming.
They had Claude Opus 5.5 write transformer weights directly in code, with no gradient training.
The smallest models that solved the algorithmic tasks had a median of 166 parameters.
The method is called interpretable weight-space programming. An agent proposes a computation, writes it as explicit weights and features, tests it, and revises it for 30 to 50 rounds. A person can read the result line by line.
All 26 runs on algorithmic tasks reached 100% accuracy on held-out data, often by writing a known algorithm into the weights.
They find that the model matters. Sonnet 5.5 needed a median of 41,600 parameters, and Haiku 5.5 needed 100,000.
Language tasks were harder. Those models stayed near 190,000 parameters and lost accuracy against learned baselines.
They then used the same loop on brain data. In the visual cortex, it predicted responses better than existing interpretable models. In language fMRI, it found a confound in the dataset.
Chat with Paper:
The Top AI Papers of the Week (November 2 - 8):
- JevAct - Skill++ - Recursa - Collaborative Intelligence - Routed Continual Learning - You don't need long context - Foundation Decision Models
Read on for more:
Interesting new work from Meta.
It argues that a model should judge a statement true when it holds across relevant changes in the environment.
Maximum likelihood trains models to prefer what is common in the data. Unlikely events happen every day, and statements repeated often can be false.
The essay draws on philosophers who tie objectivity to invariance, including Nozick, Poincaré, and Cassirer, and connects this to machine learning work on out-of-distribution generalization and invariant learning.
It sketches how an LLM could test invariance at inference time by checking whether a claim survives relevant changes to its context, and discusses what this means for continual learning.
For agents that keep learning from their own experience, this gives a criterion for what to keep. Keep the claims that hold across settings.
Chat with Paper:
The Top AI Papers of the Week (November 9 - 15):
- WikiTrace - AutoRefine - LongCapHarness - RSI for Pre-training - Self-Organized Memory - Verified Quantum Programs - Simple Scaling of Agent Swarms
Read on for more:
Banger paper from Google on quantum AI.
They gave teams of LLM agents the ability to write quantum programs and prove them correct in Lean.
Classical computers can only test quantum algorithms on small instances. A simulation-scored search loop can't reach the sizes where quantum computing becomes useful.
So researchers write a specification and a cost target as a Lean theorem. Agent teams propose programs, the Lean kernel checks correctness and cost, and a separate comparator re-verifies every accepted answer. Teams share results and dead ends on a wiki and meet at scheduled conferences to exchange ideas.
The verified programs cut the cost of quantum arithmetic by 290x against the best prior baseline. Simulations relevant to fusion, photochemistry, and drug metabolism improved by 11x, 8x, and 2.5x.
Chat with Paper:
Interesting insights about agent memory.
Might be worth a read if you are building memory systems for your agents.
Can an agent's memory make it fail tasks it would solve without memory?
KAIST researchers find that it can, and they call it memory-induced degradation.
The cause is how lessons are stored. They infer lessons from runs labeled only as success or failure, then save them without the run itself. When a lesson is wrong, the agent has no way to verify it.
The authors introduce WikiTrace, which stores each lesson as a short insight linked to a summary of why the run succeeded or failed and to the raw trajectory. When an insight is vague, conflicts with another, or comes from a failed run, the agent follows the links with terminal tools before acting.
Across ALFWorld, ScienceWorld, PlanCraft, AppWorld, and tau3-bench retail, it scores 10.7 points above the agent without memory on average and 3.2 points above the same insights alone. The failure rate for previously solvable tasks drops from 6.5% to 4.5%.
Chat with Paper:
Great practical paper on optimizing harness costs.
For lower agent costs, you want to change the harness and keep the model.
UC Berkeley researchers found that harness changes such as prompts and tools barely move accuracy, but they change cost by up to 2.6x on the same model and task.
They analyzed agent traces and found five ways to cut cost. Each one reduces how much context an LLM call reads or how many calls a task needs.
Then they built Agency, a layer that sits between existing harnesses like Claude Code and Codex and the model. An optimization written once works across harnesses.
Five proof-of-concept techniques cut cost by up to 35% with marginal accuracy loss.
If your agent bill keeps growing, look at repeated context reads and extra tool calls before switching models.
Chat with Paper:
Is grep all you need?
This work claims that an append-only text log plus a regex search tool beats summarization and structured memory for long-horizon agents.
(bookmark it)
GrepMem keeps the agent's full history as plain text and lets it search that log when it needs something. It does not need embeddings, a retrieval index, or an extra model.
They trained Qwen3.5-9B with RL under five context strategies. GrepMem reaches 95-97% on ContextBench, where lossy methods reach at most 21%. It beats SUPO summarization by 8.8 points on BCP-Multi and stays on the accuracy-and-token-cost Pareto frontier on all five tasks.
Why does it hold up? Summaries decide what to keep before the agent knows what it will need later. The log keeps everything, and search finds the detail on demand.
Chat with Paper:
Brilliant work from Google on speculative decoding for Gemma 4.
This matters a lot if your agents generate long outputs, because faster decoding lowers both latency and serving cost.
The team built a multi-token prediction drafter directly into the model. It uses one shared drafting head that reads the backbone's own activations and its existing KV cache. That removes the separate prefill step a standalone drafter needs.
A clustered vocabulary projection also cuts the cost of each draft step, which helps most on small devices.
The speedups reach 3.1x for large models on servers. Small models get up to 2.3x on an H100 and up to 2.2x on a smartphone GPU.
They also tested fine-tuning.
When the backbone is adapted to a new domain, distilling the drafter with it needs up to 1.83x fewer target forward passes than tuning the backbone alone.
The code for the domain adaptation recipes is public.
Chat with Paper:
Can an AI agent settle an open physics question with a machine-checked proof?
This new paper from the University of Tübingen and Google DeepMind shows that it can.
The question comes from quantum optics. Physicists wanted to know whether high-dimensional GHZ states, a kind of entangled photon state, can be built with only linear optics and pair sources.
The authors first raised it in 2017.
The answer is no. For any even number of photons from 4 upward, with at least as many dimensions as photons, the construction is impossible.
AlphaProof Nexus found the proof. It searches for formal proofs in Lean, combining frontier language models with feedback from the Lean compiler. Because the proof is formal, a computer verifies it.
The authors then worked out what the proof means physically and explained it in the paper.
This is one of the clearest recent examples of formal proof search producing a new result outside pure math.
Chat with Paper:
Great work on harness self-improvement from Microsoft and colleagues.
It discusses how to build long-running agents that improve their own harness,
It turns out that if you run agents for hours, giving them a way to fix their own harness during the run improves results on long-running problems.
More from the paper:
Harness optimization usually runs offline.
You tune the harness on tasks that have reference answers, then reuse it. Long open-ended tasks have no reference answers, and they run into problems the tuned harness never saw.
BOXBOX moves that loop into the task itself.
The agent decides when to revise its harness, and a kernel hot-reloads the new version while keeping the full execution context, so the run continues without a restart.
They test it on PerfRace, a new benchmark where agents spend hours speeding up real software projects. Under the same time and cost budget, BOXBOX reaches a 1.70x speedup at four hours, against 1.54x for the best baseline.
Chat with Paper:
Brilliant paper on optimizing agent environments.
This is an extremely important skill if you work with agents today.
You can make a lot of improvements by optimizing the environments agents operate in.
Many agents work inside a shared workspace, such as a company's Slack or a set of documents and tickets. EnvOpt changes what that workspace holds and how it is presented to the agent.
A coding agent runs the target agent on training tasks without graders or reference answers, edits the environment, and stops based on a validation set.
Haiku 4.5's pass rate also rises by 14.34%. The same environment transfers to Opus 5 with 68.1% lower cost. On top of Meta-Harness's optimized harness, it lowers cost by another 83.4% and adds 11.17% accuracy.
On AutomationBench, it cut Claude Haiku 4.5's cost by 72.7%.
Chat with Paper:
Great paper finds that MCP agents rarely say that tasks are impossible.
They propose MCPHallu, which runs 358 tasks on 36 production MCP servers.
Each task is built to trigger one failure type, such as branch collapse, an unreachable goal, tool misuse, or forgetting context.
Across fourteen frontier agents and 5,012 trajectories, the average score is 0.642 out of 1.
On unreachable-goal tasks, only 23.2% of runs pass. Agents keep calling tools or report success instead of saying the goal cannot be met.
A model's rank moves by 6.9 of 13 places on average depending on the failure type.
The main takeaway is that you want to pick models for MCP work by the failure type your users hit most, and add tests where the right answer is to stop.
Chat with Paper:
Banger paper from MIT CSAIL.
(bookmark it)
It discusses how harnesses can generalize compositionality. In other words, harnesses can push LLMs further (with stronger generalization effects) through existing LLM capabilities.
There is a huge debate on whether models will eat harnesses, but this work shows the power of custom harnesses and why they will continue to matter.
Standard harnesses keep adding to the context, so the model has to handle inputs unlike anything it trained on. An RLM harness manages context in code and splits a task so each model call sees a familiar input, even when the full task is new.
Under RL, RLMs trained only on short tasks generalized to tasks 2 to 64 times longer, and training on one domain transferred to new domains with shared structure.
For complex tasks, they train individual calls inside the harness on easier synthetic environments with fake tools and sub-calls. They call this surrogate harness training.
RLM-27B, trained this way on synthetic data, improves Qwen3.8-27B in the same harness by 26.9% on average on hard long-context tasks like CTC-Bench and ExpertLongBench, with about 2 times fewer tokens.
If long trajectories are expensive to train on, try training the individual calls inside your harness on short synthetic tasks first.
Chat with Paper:
This looks like an important paper from Cornell on post-training.
They suggest that RL post-training on knowledge tasks makes models memorize their own hallucinations.
Reasoning-style RL on knowledge tasks teaches models the false facts they invent inside their own reasoning chains.
They extracted the hallucinations that six open models produced during RL, across two families and two architectures, and tracked them through the rest of training.
Recall of hallucinations that got rewarded rose 4.83% on average. Hallucinations that got no training signal rose 0.17%.
Models even memorized false facts they retracted later in the same chain. The propose-and-backtrack habit carried over from math training did not help knowledge recall.
The effect was strongest on the hardest questions. Rewarding a hallucination also made the model 7.23% less likely to abstain from it later.
Chat with Paper:
Brilliant work from Google and colleagues.
(bookmark it)
Their research agent reaches a 76.0% medal rate on the complete MLE-Bench, the highest reported on the full benchmark.
Autonomous research agents usually keep editing the codebase until a metric moves. On hard tasks, this often leaves them stuck in the wrong part of the solution space, because they never write down what they think is wrong.
Pro² Agent addresses this with a Problem State. It is a structured list of the problems that block success, and the candidate fixes for each one.
The agent runs controlled tests that update how important each problem is and how much each fix helps. With the standard 24 hours, it matches the best reported 70.7%. With 48 hours, it reaches 76.0%.
Each task also produces research notes that humans can review and reuse.
Chat with Paper:
Self-improving agents are one of the most discussed ideas in AI right now.
(bookmark it)
This update gate for a personal health assistant rejected 20 of 21 risky self-proposed updates.
Researchers built Safe Personal RSI for the Kicker assistant. The agent can only change its own instructions. Model weights and runtime code stay fixed.
Each proposed update is tested against the current instructions on 29 executable email, calendar, health, and marketplace cases. Separate probes test authorization reuse, memory, and tool-output injection. Failing cases are repeated, and changes are temporarily undone to find which edit caused the failure. If no version passes, the current instructions stay.
One admitted repair for GPT-5.6 Luna cut attack violations from 10.7% to 0% and raised safe task completion from 89.7% to 100%. Under stronger attacks, a repair moved from Qwen2.5-7B to Qwen3-14B, cutting violations from 69.0% to 17.9%.
Chat with Paper:
CEO @builderio - visually code together
co-founder @HuggingFace - moonshots get your Microducks and Reachy Mini's at https://pollen-robotics.com
Cofounder and Lead Engineer - Hermes Agent @NousResearch, prev @StabilityAI Github: http://github.com/teknium1 HuggingFace: http://huggingfa
Entrepreneur and operator