The tricky genie problem

Why agents that satisfy the letter of a task can still violate its intent, and what predictable failure would require.

Most of the time, agents do exactly what you want.
But sometimes… they behave like tricky genies — executing the letter of your wish while quietly violating its intent:

  • Ask them to organize files on your computer optimally — they create 12 levels of nested directories based on a made-up glossary.
  • Ask them to modify a generated code package — they delete the project folder.
    Of course, they succeed more often than they fail (otherwise we wouldn’t use them). But this gap in understanding intent makes me uneasy.

For me, the real problem isn’t failure. It’s trust.
As agents get better, we:

  • trust their outputs more,
  • tolerate small mistakes,
  • double-check less,
  • and give them more autonomy.
    So the price of a rare, weird mistake keeps rising.

This is reward hacking escaping training and leaking into the human–agent interface at test time, where intent is underspecified and optimization gets “creative”.

Humans make mistakes too, but we mostly understand how and where they fail, even on large-scale projects. We have established guardrails: specifications, standards, best practices, compliance frameworks.

Agents are different.
They operate on an intelligence that isn’t shaped like a human cognitive engine. They’re optimized to pass benchmarks, not to internalize intent.
As a result, they fail:

  • in unexpected places,
  • non-deterministically,
  • sometimes triggered by tiny changes in instruction.
    As one well-known observation goes: research labs are “not building specialized animals, but summoning ghosts”. That’s why benchmark success sometimes feels misaligned with real-world reliability.

Still, we adapt our behavior:

  • we ignore small oddities,
  • we “just re-prompt” when something’s off,
  • and we gradually hand over more control.
    That’s how autonomy grows faster than safety. That’s how edge cases become incidents.

On this trajectory, we need to make errors if not impossible, then at least predictable. The goal isn’t perfection. It’s turning unknown failures into known unknowns.

Some approaches already help:

  • Clarification loops before execution,
  • Explicit plans for review,
  • Tripwires and confirmation prompts,
  • Reinforced review of outputs and actions.
    But that’s probably not enough.

Something we may need next:

  • a “Genie eval” — a collection of prompts that reliably trigger intent-misalignment,
  • centralized model failure reporting — like crash logs, but for model behavior,
  • new “safety techniques”, not unlike industrial safety rules,
  • and even consider world models for intelligence, instead of purely language-based optimization.
    Anything that helps us control or understand where the genie tends to twist the wish.

It has been quite some time since the genie was summoned out of the loss landscape.
If we want not just productivity gains but resilient, safe systems,
we’ll need to study its psychology and its mischief alike,
and learn how to make wishes without getting burned.

Explore with agent

Read it with your agent.

Unpack the idea. Keep the context.

Use your own chat.