The most important shift in AI right now is not better prompts. It is better loops.
For the last couple of years, the default interface to AI has been the prompt: ask the model the right question, provide enough context, maybe add examples, then wait for an answer. That made sense when AI was mostly a text-generation tool.
But the work people actually want from AI is getting more durable than that. They do not just want an answer. They want a system that can inspect a repo, make a change, run tests, recover from errors, remember what happened, and keep improving over time.
A prompt is a moment.
A loop is a system.
Prompts Were the First Interface
Prompting was the first practical way to control language models. It gave people leverage quickly: summarize this, draft that, classify these, rewrite this email, generate this plan.
But prompts are brittle when the task becomes real work.
They usually do not carry durable memory. They do not naturally enforce permissions. They do not leave reliable audit trails. They do not know when to retry, escalate, stop, or ask for review. They are good at producing outputs, but weak at managing ongoing work.
That is why the interesting frontier is moving beyond prompts.
Loops Are the New Interface
The newer pattern is the loop: give an agent a goal, context, tools, feedback, checkpoints, memory, and a way to continue.
That is what shows up in the recent Codex and Claude Code workflows people are sharing. The agent is no longer just answering a question. It is waking up, checking state, taking action, writing logs, reading its own previous work, and deciding what to do next.
This is why ideas like "Codex as an operating loop" and "the log is the agent" are resonating. The persistent record matters. The agent's ability to resume from history matters. The workflow around the model matters as much as the model itself.
The question changes from:
What should I say to the model?
To:
What loop should the model operate inside?
Skills Make Loops Reusable
The next step is making these loops portable.
Prompt libraries were useful when the main artifact was a clever instruction. But as agents get more capable, the reusable artifact becomes a skill: a procedure, examples, tools, constraints, tests, and expected outputs.
That is why demonstrations, skill stores, and agent-specific workflows matter. Teaching Codex by demonstration is not just a UX improvement. It points toward a broader pattern: agents learn best when procedures are captured as repeatable operating knowledge, not just one-off prompts.
A good skill is more than a saved prompt. It is a small operating manual for a specific kind of work.
Harnesses Make Loops Reliable
This is where compound engineering becomes the useful frame.
Prompt engineering asks: what should I say?
Compound engineering asks: what world should the model wake up inside?
That world includes tools, files, memory, permissions, logs, tests, evals, human review, and recovery paths. Claude Code, Codex, OpenHands, LangGraph, CrewAI, Flue, and Temporal all sit somewhere in this shift. Some are coding harnesses. Some are orchestration frameworks. Some are durability layers.
But they are all responding to the same underlying need: agents need environments, not just instructions.
The model is important. The harness around the model is becoming the product.
Security Becomes Loop Design
More autonomy also means more blast radius.
Anthropic's recent Zero Trust guidance for AI agents is a useful enterprise warning: ordinary service-account thinking is not enough when an agent can interpret goals, use tools, retain context, and chain actions together.
Least privilege is necessary, but it is not sufficient. Agentic systems need something closer to least agency: limit not just what the agent can access, but what it can decide to do, how often, with which tools, under what context, and with what review.
A safe loop needs scoped permissions, short-lived credentials, useful logs, isolated execution, and clear escalation points. Security is not something bolted onto the agent later. It is part of the loop design.
The Business Implication
This changes how teams should think about AI adoption.
The winners will not be the people with the cleverest prompt collection. They will be the people who build the best loops: tight feedback, reusable skills, clean logs, safe permissions, and reliable recovery.
That is the move from AI as a chat window to AI as an operating system for work.
The prompt starts the work.
The loop makes it repeatable.
References
Loops and Durable Agent Work
Peter Steinberger, "Here's a simple loop: Tell Codex to maintain your repos..."
https://x.com/steipete/status/2064998499780084154Brad Groux, "Codex-maxxing: treating Codex like an operating loop"
https://x.com/BradGroux/status/2065938280508432788Ishaan Sehgal, "The Log Is the Agent"
https://x.com/ishaansehgal/status/2065129901427130678
Article: https://x.com/i/article/2064983895096066048
Skills and Reusable Agent Procedures
Greg Brockman, "you can now teach Codex by demonstration"
https://x.com/gdb/status/2067700691062464887OpenAI Developers post linked from Brockman's tweet
https://twitter.com/openaidevs/status/2067681320281723113PostHog Skills Store documentation
https://posthog.com/docs/prompt-management/skills-storeqvr / Quiver: git-native package manager for agent skills
https://github.com/astra-sh/qvr
Harnesses and Compound Engineering
Fred K. Schott, Flue 1.0 Beta announcement
https://x.com/FredKSchott/status/2066962296119959581Claude Code
https://github.com/anthropics/claude-codeOpenAI Codex CLI features
https://developers.openai.com/codex/cli/featuresOpenAI Codex skills
https://developers.openai.com/codex/skillsOpenAI, "Unrolling the Codex agent loop"
https://openai.com/index/unrolling-the-codex-agent-loop/LangGraph
https://www.langchain.com/langgraphOpenHands
https://openhands.dev/Temporal, durable AI agents
https://temporal.io/blog/of-course-you-can-build-dynamic-ai-agents-with-temporal
Agent Security
- Anthropic, "Zero Trust for AI Agents" PDF
https://cdn.prod.website-files.com/6889473510b50328dbb70ae6/6a1611a04085d7cd3dadc924_Claude-eBook-Zero-Trust-for-AI-Agents-05182026.pdf
AI-Native Teams and Business Operations
- Nicolas Finet, "How to Build a GTM Team on Claude Code You Can Run Alone"
https://x.com/nifinet/status/2067638000037790178
Article: https://x.com/i/article/2067621155209674753