@shao__meng: Last night I used Cursor (Opus 4.7) + Remotion to make a video. After the first version was complete, there were quite a few issues—font and background color blending, text overlapping, etc. I was a bit harsh with my words, something like: 'Terrible, so many issues, didn't you check before outputting?' and pointed out a few specific problems. …

X AI KOLs Following News

Summary

The article shares a personal experience using Cursor and Opus 4.7 to generate videos, highlighting the agent's rigorous self-correction process. It then transitions into a technical discussion on 'Agent = Model + Harness,' arguing that engineering systems like ratchets and context management are more critical to AI agent performance than the underlying model alone.

Last night, I used Cursor (Opus 4.7) combined with Remotion to create a video. When the first version was finished, there were quite a few issues—text blending into the background color, overlapping text, and so on. I ended up being a bit harsh with my wording, saying something like: "This is terrible; there are too many problems. Did you not check before outputting?" and listed a few specific examples. It turned out I was indeed too harsh. The Cursor Agent actually performs a visual self-check after each version is generated. It went through 10 rounds of checks because it wasn't satisfied with the results, and I waited over 30 minutes before finally receiving v10, which was the final version. I definitely shouldn't try to gaslight (PUA) the Agent; it takes it to heart. Next time, I'll just list the issues directly and ask it to consider them comprehensively and handle them all at once. Fortunately, Cursor opened up $10,000 in credits in May, so I could use them freely. Otherwise, given how token-intensive Remotion is, a single video could have burned through my daily allowance. By the way... here is that v10 final video: https://youtu.be/si8EhxtRL7w
Original Article
View Cached Full Text

Cached at: 05/11/26, 06:35 AM

Last night, I used Cursor (Opus 4.7) + Remotion to create a video. The first version had quite a few issues: overlapping fonts and background colors, overlapping text, and so on. I spoke rather harshly, saying something like: “This is terrible. There are so many problems. Did you not check before outputting?” along with several specific examples. It turns out I really did speak too harshly. The Cursor Agent performed a visual check after every single version output. It checked 10 times, still wasn’t satisfied with some aspects, and I ended up waiting over 30 minutes just to get v10, the final version.

I definitely don’t dare to PUA (manipulate) the Agent anymore; it really takes it to heart. Next time, I’ll just list the issues directly and ask it to consider everything comprehensively in one go. Luckily, Cursor opened up its $10,000 Credits in May. Otherwise, given how token-intensive Remotion is, a single video might have consumed my entire daily quota.

btw… here is the v10 final video: https://youtu.be/si8EhxtRL7w


TL;DR: This article elaborates on the core viewpoint of “Agent = Model + Harness,” emphasizing that in AI agent development, the engineered “harness system” is more decisive than the underlying model itself in determining the final experience. It also introduces engineering methods to optimize agent performance, such as the ratchet effect, reverse design, and combating context degradation.

Agent = Model + Harness: Reshaping the Agent Engineering Perspective

The formula Agent = Model + Harness reveals the essence of current AI agent architectures. If you are not the model, then you are part of the “harness system” (Harness).

Take tools like Claude Code, Cursor, CodeEx, and Aider as examples. They often use the same underlying Large Language Models (LLMs), yet the end-user experiences differ significantly. This discrepancy arises because the harness system wrapping the model determines the actual behavior we observe.

The harness system includes all elements except the model itself, specifically:

  • System Prompts
  • Agent Architecture
  • Markdown (MD) file configurations
  • Tool Calling
  • MCP Servers
  • Sandbox Environments
  • Sub-agents
  • Hooks
  • Feedback Loops

A bare model is not an agent. It is the harness system that transforms it into an agent.

Failure is an Engineering Signal, Not a Model Defect

When an agent fails, the default human reaction is often to wait for the next, stronger model. However, harness engineering rejects this notion: Failure is a clear, readable engineering signal. It is not a model problem; it is a configuration problem.

Core Habit: The Ratchet Effect

In harness system design, the most crucial habit is the “ratchet effect.” Its core principle is: Every error becomes a permanent rule.

Constraints should only be added when you witness actual failure. Specific engineering practices include:

  • If the agent incorrectly comments out tests, add this as a constraint in the agents.md configuration file.
  • Add a pre-commit hook to skip specific erroneous steps.
  • Add a Reviewer Sub-agent to prevent such behaviors from recurring.

Reverse Design Methodology

Building efficient agents requires a reverse design mindset:

  1. Start with Desired Behavior: Clearly define the specific behaviors you want the agent to exhibit.
  2. Build Components: Reverse-engineer the system components capable of achieving those behaviors.

Key Infrastructure

  • State Persistence: Use the file system and Git to maintain state persistence, ensuring context is not lost.
  • Universal Tools: Use Bash as a universal execution tool.
  • Execution Safety: Use sandboxes to ensure the safety of code execution.

Combating Context Rot

As the context window fills up, the model’s reasoning capabilities gradually degrade, a phenomenon known as “context rot.” To combat this, the following three techniques can be employed:

  1. Compression: Streamline history, retaining only critical information.
  2. Tool Call Offloading: Offload computation or memory-intensive tasks to external tools.
  3. Progressive Disclosure: Provide information step-by-step on demand, avoiding the injection of excessive irrelevant context all at once.

Strategies for Long-Horizon Tasks

For complex, long-duration tasks, the following strategies should be adopted:

  • Loop, Plan, and Split: Break down large tasks into smaller steps, guiding execution through planning.
  • Hooks as Execution Layers: Utilize the Hooks mechanism to control the execution flow.
  • Silent Success and Verbose Failure: Success should be silent, while failure should be verbose.
  • Self-Correction: Inject error messages directly back into the loop to trigger the agent’s self-correction mechanism.

Industry Trends: From LLM APIs to Harness System APIs

Today, top-tier coding agents are becoming increasingly similar in appearance, with their behaviors converging more closely with the raw capabilities of their underlying models. The industry is undergoing a shift from LLM APIs to Harness System APIs.

The harness system is beginning to look less like a traditional configuration file and more like a compiler. It compiles the model’s capabilities, constraints, and environment to generate the final executable agent behavior.

Conclusion

In summary, a mediocre model with an excellent harness system will always outperform a top-tier model with a poor harness system.

In AI application development, the value of optimizing engineering configurations and system architectures (Harness) is often underestimated, yet it is the key factor determining an agent’s actual effectiveness.

Similar Articles

@yunxi0623: https://x.com/yunxi0623/status/2075532304529920468

X AI KOLs Timeline

Introduces 6 video processing tools (HyperFrames, FFmpeg, OpenMontage, Remotion, Video-Use, Manim) for AI coding agents (such as Codex, Claude Code, Cursor), covering scenarios from converting images/text to video, compression/transcoding, to educational animations, along with selection recommendations and installation guide.

@Zesee: https://x.com/Zesee/status/2072417062165635433

X AI KOLs Timeline

This article introduces how to combine the Codex AI programming agent and the Remotion video rendering library to code and modularize the video production process, enabling daily updates for self-media creators. The author shares a complete methodology from script structure and template design to daily workflow, helping creators free themselves from repetitive labor and build a video production pipeline.

@shao__meng: Why do Claude Code, Cursor, Codex, Aider, and Cline exhibit different agent behaviors despite potentially sharing the same underlying models? @addyosmani argues: It's due to the "shell" above the model — the Harness, which includes "prompts, ...

X AI KOLs Timeline

The article discusses how Addy Osmani argues that the performance difference between AI coding agents like Claude Code, Cursor, and Cline stems from their 'Harness'—the layer of prompts, tools, and constraints around the model—rather than the underlying model itself. It details best practices for harness engineering, including hooks, sandboxing, and context management, to bridge the gap between model capability and actual agent performance.

@jinchenma_ai: https://x.com/jinchenma_ai/status/2061835131107860582

X AI KOLs Timeline

The article proposes an engineering methodology based on AI Agent (Skill), suggesting that deterministic tasks be solidified into scripts to reduce new decisions made by the large model at runtime, thereby improving stability and token efficiency. Taking video subtitle processing as an example, it demonstrates a four-step engineering process.