Anthropic Sonnet 4.5 in Claude Code

7 min read
Anthropic Sonnet 4.5 in Claude Code

What Makes Claude Sonnet 4.5 Different

Anthropic's Claude Sonnet 4.5 isn't just another model increment. The company claims they've observed it maintaining focus for more than 30 hours on complex multi-step tasks. For developers, that translates to autonomous coding sessions that can tackle extensive refactors, multi-file architectures, or detailed specs requiring iterative refinement without human intervention.

Getting Started with Claude Code

Claude Code offers multiple interfaces depending on your workflow. The new VS Code extension provides a familiar panel-based experience similar to Cursor or GitHub Copilot. But the terminal interface remains the preference for many developers, offering direct access to the autonomous agent through command line interactions.

Beyond the editor integration, Anthropic recently rebranded the Claude Code SDK to the Claude Agents SDK, emphasizing its broader applicability beyond just coding tasks. The underlying architecture supports complex orchestration scenarios where agents can spawn subagents and work in parallel.

Claude Code terminal interface showing parallel subagent execution

Parallel Execution: The Force Multiplier

The most significant productivity gain comes from parallel subagent execution. Instead of generating components sequentially, you can instruct Claude Code to spawn multiple subagents simultaneously to build different parts of your application.

In practice, this means creating your Next.js application structure, header, footer, homepage, and blog pages all at once. The model coordinates these parallel streams, installs dependencies like gray-matter for markdown parsing, and integrates everything into a cohesive application.

This approach cuts generation time dramatically. A complete Next.js setup with TypeScript, Tailwind, and ESLint configuration happens in minutes rather than the iterative back-and-forth typical of linear generation.

Building a Production-Ready Site in Two Prompts

The first prompt establishes the foundation: a Next.js application with specific branding, header, footer, and a functional blog with markdown support. The second prompt transforms this basic structure into a polished SaaS landing page.

Requesting a neo-brutalist theme, pricing section, FAQ, and rich footer with placeholder content yields a complete commercial site. The model handles responsive layouts, visual hierarchy, and even adds syntax-highlighted code blocks for technical blog posts without explicit instruction.

Neo-brutalist SaaS landing page with pricing and FAQ sections

Pushing Limits: Ten Games in One Shot

To test the model's capabilities, a single prompt requested a games page featuring ten classic arcade titles spanning 1979 to 2000, with varying complexity and consistent neo-brutalist styling. The instruction specifically demanded parallel page generation for each game.

The results demonstrate both the power and current limitations of autonomous coding:

  • Pong: Fully functional with AI opponent, collision detection, and scoring
  • Connect Four: Complete win detection and reset functionality
  • Snake: Working growth mechanics and food collection
  • Breakout: Proper collision physics and score tracking
  • Asteroids: Destructible asteroids with size reduction on impact
  • Missile Command: City defense mechanics with collision detection
  • Tetris: Complete rotation and line-clearing logic
  • Frogger: Functional collision system, though visual distinction between roads and obstacles needed refinement
  • Pac-Man: Partial implementation; movement and ghost AI required additional prompts

For ten games generated from a single prompt, the success rate is remarkable. Most titles required only minor fixes for keyboard event handling to prevent page scrolling during gameplay.

Collection of retro arcade games generated in parallel

Architecture of Autonomous Development

The workflow follows a clear pattern: establish the foundation, delegate parallel tasks, then iterate on the results. When building the games collection, the model first created the main games listing page, then spawned separate subagents for each individual game implementation.

This architecture scales. Complex refactors spanning dozens of files, test suite generation, or documentation updates can all be parallelized. The 30-hour runtime capability mentioned in Anthropic's announcement suggests these agents can handle enterprise-scale codebases with minimal supervision.

Practical Limitations

Current implementations aren't perfect. The Pac-Man example showed that complex game AI and precise collision detection for grid-based movement still require refinement. Keyboard event handlers occasionally conflict with browser defaults, causing layout shifts during gameplay.

These issues resolve with targeted follow-up prompts, but they indicate where human oversight remains valuable. The model excels at structure, styling, and standard logic implementations. Edge cases in physics simulations or complex state machines may need additional iteration.

The Three-Prompt Website

The entire demonstration, from empty directory to deployed-ready site with ten interactive games, required exactly three prompts. No manual terminal commands for project initialization. No hand-written configuration files. No copying boilerplate code.

Claude Sonnet 4.5 handled Next.js setup, component architecture, styling decisions, package installation, markdown processing, and game logic implementation autonomously. The result is a functional, styled, multi-page application complete with interactive elements.

This represents a shift in how developers can approach prototyping and even production builds. The barrier to creating full-stack applications drops significantly when a single well-constructed prompt generates what previously required hours of manual coding.


Watch the Video

<iframe width="100%" height="415" src="https://www.youtube.com/embed/U9bjOBOU7Nc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>