[KongchangAI]
· 3 min read· 1,716 words

Codex vs Claude Code in Practice: AI Agents and Local Sandboxes Explained

Codex vs Claude Code in Practice: AI Agents and Local Sandboxes Explained

AI agents are the execution layer that gives large models hands and feet; the real entry barrier is environment setup, not coding skill.

Starting from a Bilibili hands-on course, the article distinguishes large models from AI agents: the former is a thinking "brain," the latter an execution layer that reads projects, modifies files, and calls APIs—the main source of current coding efficiency gains. On tool choice, the instructor's personal testing suggests Codex outperforms Claude Code in Chinese understanding, requirement analysis, full-stack capability, and ecosystem, though this is subjective single-source experience, not a benchmark; he expects tools to converge and ultimately be chosen by cost. The article reconstructs real barriers—network, email verification, SMS platforms, Apple ID region switching, regional pricing—showing entry difficulty lies beyond engineering. It concludes that local sandboxes and API practice are the next step demonstrating agent value.

Why an AI Agent Is Not "a Large Model"

When discussing AI programming, many people conflate large models with agent tools. According to the instructor of this Bilibili hands-on course, a large model is more like a "brain"—it can think, but it can't do things for you; tools like Codex and Claude Code are essentially giving that brain hands, feet, and tools.

This distinction is crucial. When you ask a large model in a chat box to explain a piece of code, that's "asking"; when you have an agent read your local project, modify files, call APIs, and get builds passing, that's "doing." The latter is the main source of current programming efficiency gains. The instructor repeatedly emphasized that regardless of whether you can code, these tools are worth mastering—not knowing Java or Python doesn't prevent you from using them to complete tasks.

Of course, pure chat usage also has value. The instructor mentioned that even just setting up a GPT for daily information lookup is a good starting point.

MCP (Model Context Protocol) is key to understanding the metaphor of "giving the brain hands and feet." It's an open-source protocol standard proposed by Anthropic in late 2024, designed to let large models connect to external tools, data sources, and services in a unified way. Think of MCP as the "USB-C interface" of the AI world: before a unified protocol existed, every agent tool that wanted to connect to an external service (like a database, code repository, or map API) had to write its own adapter code; with MCP, service providers only need to implement an MCP Server once, and any agent supporting the protocol can plug and play. This is the technical meaning behind the article's mention that "the MCP ecosystem is expanding tool integration rapidly"—the richer the ecosystem, the more things agents can "do," and the greater their value gap relative to pure conversational large models.

Codex vs Claude Code: How to Choose in the Top Tier

The instructor's conclusion was direct: on his own machine, he has Codex, Claude Code, and other agent tools installed simultaneously, and Codex has the best experience. His reasons centered on several points:

  • Chinese understanding: He configured Codex with GPT-series models, which he believes understand Chinese context better;
  • Requirement analysis capability: Stronger at breaking down tasks and understanding intent;
  • Full-stack frontend and backend capability: Can complete an entire chain from UI to API;
  • MCP ecosystem: Tool integration is expanding rapidly;
  • Official investment: Backed by OpenAI, with obvious resource allocation;
  • Mobile experience: Has a companion app that's convenient for daily use.

This is a subjective experience judgment from a single source, not a benchmark conclusion. He also admitted during the livestream that his perspective might be "somewhat narrow," while expressing two views: first, foreign models are indeed leading for now, but this gap won't be permanent; second, in the long run tools will converge, and which one you choose ultimately comes down to cost.

Regarding Claude Code, he mentioned a practical issue: the official corresponding model is expensive, and many people choose to run it with lower-cost models, but the results suffer—"less cost, but not as good as the foreign ones" was the gist of his words.

Screenshot of Codex vs Claude Code comparison discussion

The First Barrier: Account and Network Environment

The hands-on section took up the bulk of this course, and it was explained in a very "down-to-earth" way—because many people give up at the first step.

The instructor's process was: first solve the network environment, then prepare an email (no strict requirement, Google email or a regular web email both work), then go to the registration page, enter the email, set a password, and retrieve the verification code from the email.

The real bottleneck appeared at the phone number verification step. This requires a foreign number, and your domestic Chinese phone number won't pass. His solution was to use an SMS reception platform: select the OpenAI service on the left side of the platform, pick an available country, recharge a small amount, and the platform assigns a virtual number; receive the verification code and enter it back. During the livestream, this platform happened to be inaccessible, and he joked, "Good thing I didn't do it live, otherwise I couldn't continue today"—which also illustrates the fragility of such steps.

Screenshot of key nodes in the registration process

Mobile: The Detour of Switching Apple ID Region

After completing the web side, login still requires mobile approval, so you get stuck again: you need the ChatGPT app on your phone first.

For Apple users, the domestic Chinese Apple ID can't find this app in the App Store. The instructor's approach was to register a US-address Apple ID, with age set to 18 or above, and you can use your own phone number; after registration, switch the country from Chinese mainland to the United States (or Turkey) in the account information, select "None" for payment method, and use an online US address generator for the address. After switching, ChatGPT becomes visible in the App Store.

There are two additional conditions here: the system version needs to meet the app's requirements, and the phone itself must be able to access the network normally.

Screenshot of App Store after switching Apple ID country

The "SMS reception platform" mentioned in the article is a type of third-party service that provides virtual phone numbers for receiving one-time verification codes, commonly used in scenarios requiring overseas numbers for registration. Its working principle is that the platform holds batches of physical or virtual numbers from various countries, and users temporarily rent one of them to receive SMS after paying per use. It's important to understand that such platforms have obvious security and compliance risks: virtual numbers are shared resources, and other users may see the verification code simultaneously; the platform's recharge balance and number availability are not guaranteed and may become invalid at any time; moreover, registering with virtual numbers violates most service providers' user agreements, and accounts risk being flagged by risk control and banned. The incident in the article where the platform was inaccessible on the spot is a typical manifestation of such services' lack of stability.

Subscription Costs: Regional Differences Are Real

Subscriptions can only be completed through the mobile app, not the web. Apple users need to first recharge their account in the corresponding region, then subscribe within the app.

The instructor shared a money-saving idea: subscription prices vary significantly across regions, with Turkey being relatively cheap, and he mentioned that his company as a whole uses Turkey-region accounts. As for exactly how much cheaper, he didn't give a verifiable precise figure, only qualitatively saying "you can save quite a bit." He currently uses a mid-tier plan personally and suggested that during the learning phase you can choose as needed, without starting with the highest tier right away.

This content is easily misread as a "tutorial," and it should be noted: the instructor himself emphasized that such operations carry risks related to platform rules and terms of service, and account stability is not guaranteed. His positioning was to "help everyone understand what this is about," not to encourage copying.

Screenshot of subscription plan page

In-app subscriptions and regional pricing: Subscription prices in mobile app stores (like the App Store) are not globally uniform but set separately by developers based on market conditions in each country/region, and Apple collects a corresponding percentage platform commission and local taxes based on the user's account region. This explains why the same app can have significant price differences across regional stores. But it should be added that cross-region subscription is not a one-time fix by "just changing the region": subscription renewal requires the account region to match the payment method and billing address, and once you switch back to your original region, existing subscriptions may not be renewable; some services also verify the consistency of account registration location and usage location, triggering additional verification. Therefore, the article's statement that "there are rule risks and account stability is not guaranteed" has specific technical causes.

The Real Takeaways from This Course

Setting aside the specific registration process, the more valuable parts of this content are several judgments:

Agents are the execution layer, not the Q&A layer. Using them as search engines is a waste; letting them take over repetitive work in local projects is the right approach.

Tool selection will converge on cost. Model capabilities rise and fall, and the instructor's expectation is that ultimately everyone will choose by price—a judgment repeatedly mentioned in multi-source discussions.

The entry barrier is "environment," not "technology." From network, email, and verification codes to app store regions, every step is beyond engineering. This is also why services specifically helping people get through this process exist on the market—the need is real.

Local sandboxes and API practice are the next step. The Amap API and local sandbox mentioned in the title are the follow-up hands-on segments of this course. The instructor's approach is to connect agents to real external services and run through a complete chain, which demonstrates tool value better than simply calling models.

One-line Summary

AI agents are the execution layer that gives large models hands and feet; the real barrier to entry is environment configuration, not programming skill.

Paragraph Summary

The article starts from a Bilibili hands-on course and distinguishes the essential difference between large models and AI agents: the former is a "brain" that can think, while the latter is an execution layer that can read projects, modify files, and call APIs—the latter being the main source of current programming efficiency gains. On tool selection, the instructor based on personal testing believes Codex outperforms Claude Code in Chinese understanding, requirement analysis, full-stack capability, and ecosystem, but explicitly states this is subjective experience from a single source rather than a benchmark conclusion, and expects tools to converge over time and ultimately be chosen by cost. The article uses substantial space to reconstruct the real barriers in hands-on practice—network environment, email verification, SMS platforms, Apple ID region switching, regional subscription price differences—pointing out that entry difficulties lie mainly beyond engineering. Finally, it emphasizes that local sandboxes and API practice are the next step that truly demonstrates agent value.

#AI agent#Codex#Claude Code#MCP#AI programming tools#local sandbox
Share:

Related articles