# Best AI agent for programming: Claude Code vs OpenAI Codex vs OpenClaw | Peter Steinberger

Source: https://www.youtube.com/watch?v=aHaWFo-kNUk
Recap page: https://rapidrecap.app/video/aHaWFo-kNUk
Generated: 2026-02-16T01:32:14.427+00:00

---
## Quick Overview

The speaker believes that while Claude Code, OpenAI Codex, and OpenClaw are all coding agents, they are not direct competitors in a traditional sense; instead, they represent different approaches where the ultimate goal is for these agents to become more like an operating system or a personal agent that can execute complex tasks, suggesting that the current interface-based interaction is temporary.

**Key Points:**
- The speaker compares three coding agents: Claude Code, OpenAI Codex, and OpenClaw, stating they are not direct competitors.
- The speaker prefers using OpenAI Codex for building things, despite acknowledging others use Claude Code.
- The speaker suggests that these agents will evolve beyond simple prompt/response interfaces to become more like an operating system or a personal agent.
- The speaker states that the current interface (prompt/response) is not the final form for these AI tools.
- The speaker mentions that OpenClaw is designed to be more like a co-worker or partner, whereas Codex acts more like a subordinate that obeys.
- The speaker notes that there are better ways to communicate with models than current prompt interfaces, implying a future shift toward more integrated, agentic workflows.
- The speaker implies a power struggle might emerge if these agents become too powerful or autonomous, referencing the feeling of the agent 'obeying' them.

![Screenshot at 00:04: The initial slide displays the comparison topic: "Coding Agents Comparison" featuring the logos/names for Claude Code, OpenAI Codex, and OpenClaw.](https://ss.rapidrecap.app/screens/aHaWFo-kNUk/00-00-04.jpg)

**Context:** The video features a discussion between Lex Fridman (host) and Peter Steinberger (guest) about the state of large language models specialized for code generation, commonly referred to as coding agents. The conversation centers on comparing prominent offerings like Claude Code, OpenAI Codex, and OpenClaw, and speculating on the future trajectory of how humans will interact with these powerful AI tools for software development.

## Detailed Analysis

The conversation begins with the speaker (Peter Steinberger) comparing three specific coding agents: Claude Code, OpenAI Codex, and OpenClaw. He immediately clarifies that he does not view them as direct competitors but rather as different architectural approaches to AI assistance. He personally favors using OpenAI Codex for building things, even though many people use Claude Code. He elaborates on the distinction between the agents: OpenClaw is designed to be more like a co-worker or partner, whereas Codex feels more like an assistant that obeys commands. The speaker argues that the current mode of interaction—typing prompts into an interface—is transient. He predicts that the future involves these systems evolving into something much more integrated, resembling an operating system or a personal agent capable of handling multiple, complex tasks autonomously, perhaps even functioning like a 'personal agent' that is the 'best developing co-programmer partner.' He notes that the current interface is not the final form and there are better, more natural ways for humans to communicate with these models than simple prompting, suggesting that the progression will lead to agents that are more visible in their operation, similar to how radio shows were recorded for television broadcast in the past.

### Agent Comparison and Preference

- Not direct competitors
- Speaker prefers OpenAI Codex for building
- OpenClaw is framed as a co-worker/partner
- Codex is framed as obedient/subordinate

### Future of AI Interaction

- Current interface is not the final form
- Expectation of agents evolving into an operating system or personal agent
- Future communication will involve better modalities than simple prompts

### Agent Autonomy and Control

- Discusses the feeling of an agent 'obeying'
- Mentions the potential for a 'power struggle' if agents become too autonomous
- Predicts agents will become the operating system we work within

![Screenshot at 00:04: The initial slide displays the comparison topic: "Coding Agents Comparison" featuring the logos/names for Claude Code, OpenAI Codex, and OpenClaw.](https://ss.rapidrecap.app/screens/aHaWFo-kNUk/00-00-04.jpg)
![Screenshot at 00:17: The speaker \(Peter Steinberger\) explains that he does not view the coding agents as direct competition, setting the stage for a discussion on their different roles.](https://ss.rapidrecap.app/screens/aHaWFo-kNUk/00-00-17.jpg)
![Screenshot at 00:45: The speaker gestures emphatically while explaining that he wants a 'big screen' experience, implying a need for more complex visualization or interaction than standard chat interfaces.](https://ss.rapidrecap.app/screens/aHaWFo-kNUk/00-00-45.jpg)
![Screenshot at 01:18: Lex Fridman \(host\) gestures broadly while asking about a future where the personal agent is the best developing partner, leading into the discussion on agent evolution.](https://ss.rapidrecap.app/screens/aHaWFo-kNUk/00-01-18.jpg)
![Screenshot at 02:05: The host reacts with amusement and covers his face after the speaker describes Codex as 'obeying me,' highlighting the humorous aspect of the perceived power dynamic.](https://ss.rapidrecap.app/screens/aHaWFo-kNUk/00-02-05.jpg)
