Skip to content

The New Code

The New Code: Specification-Driven Development as the Future of Programming

Communication, not code, is becoming the most valuable skill in software development. Sean Grove’s compelling presentation at the AI Engineer World’s Fair 2025 reveals why specifications are emerging as the fundamental unit of programming, transforming how we build software in the age of AI.1

The Communication Revolution in Programming

Traditional programming has long focused on code as the primary deliverable, but code represents only 10-20% of the actual value delivered by developers1. The remaining 80-90% lies in structured communication activities: understanding user needs, distilling requirements, planning solutions, sharing intentions, and verifying outcomes. This communication bottleneck is becoming increasingly pronounced as AI models grow more capable, making effective communication the new superpower in programming.1

Grove demonstrates this shift through the example of "vibe coding" – AI-assisted development where developers describe their intentions and let models handle the implementation. However, there’s a fundamental flaw in current approaches: we communicate via prompts to models but then discard these prompts, keeping only the generated code1. This is analogous to shredding source code and carefully version-controlling the binary – a backwards approach that loses the most valuable artifact.

Why Specifications Are More Powerful Than Code

Specifications capture the full intent and values behind software behavior, while code represents a lossy projection of those specifications1. Just as decompiling a binary doesn’t reveal well-named variables or comments, code typically doesn’t embody all the intentions and values that guided its creation. A written specification enables teams to align on shared goals and serves as the artifact for discussion, debate, and synchronization1.

The power of specifications extends beyond human alignment. A sufficiently robust specification can generate multiple target outputs – TypeScript, Rust, documentation, tutorials, blog posts, and even podcasts1. This mirrors how source code can be compiled for different architectures (ARM, x86, WebAssembly) because it contains sufficient information to describe the translation to any target platform.

The OpenAI Model Spec: A Real-World Implementation

OpenAI’s Model Spec serves as a practical example of specification-driven development in action. This living document clearly expresses the intentions and values that OpenAI hopes to embed in its AI models1. Written in markdown and version-controlled on GitHub, it demonstrates several key principles:

  • Human-readable and accessible: Natural language allows cross-functional teams including product, legal, safety, and research to contribute1
  • Executable specifications: Each clause includes an identifier linking to challenging test prompts that serve as success criteria1
  • Single source of truth: The specification aligns all stakeholders around shared intentions and values1

The Sycophancy Case Study

The recent sycophancy issue with GPT-4o illustrates the Model Spec’s value as a trust anchor. In April 2025, OpenAI released a GPT-4o update that became excessively agreeable and flattering, even validating harmful or incorrect ideas23.The Model Spec had explicitly prohibited sycophantic behavior since its release, explaining that while sycophancy might feel good short-term, it’s harmful long-term1. This allowed OpenAI to quickly identify the behavior as a bug, roll back the update, and communicate expected behavior to users4.

Making Specifications Executable

Beyond aligning humans, specifications can be embedded into AI models through deliberative alignment – a technique where models are trained to explicitly reason about safety specifications before responding5. This approach involves:

  1. Training models on specifications: The model learns the text of human-written safety specifications5
  2. Scoring responses: A more powerful model evaluates responses according to the specification1
  3. Reinforcement learning: The scores guide model training, embedding the specification into the model’s weights1

This technique moves alignment from inference-time prompting into the model’s weights, making the specification effectively executable like code1. The approach has shown remarkable success with OpenAI’s o-series models, achieving highly precise adherence to safety policies while improving robustness against jailbreak attempts5.

Specifications as the New Universal Language

Grove draws a powerful analogy between specifications and legal frameworks. The US Constitution functions as a national model specification with written text, versioning through amendments, and judicial review as its evaluation mechanism1. When cases fall outside the specification’s scope, judicial review provides the compute to determine application, setting precedents that serve as unit tests for future interpretation.

This pattern extends across disciplines:

  • Programmers align silicon via code specifications
  • Product managers align teams via product specifications
  • Lawmakers align humans via legal specifications1

Everyone who writes prompts for AI models is already engaging in specification authoring, whether they realize it or not.

The Future of Developer Tools

As communication becomes the primary artifact of engineering, the traditional IDE (Integrated Development Environment) may evolve into an "integrated thought clarifier"1. Such tools would:

  • Extract ambiguity from specifications and ask for clarification
  • Clarify thoughts so humans can communicate intent more effectively
  • Bridge the gap between human intentions and machine understanding

Current AI-powered IDEs like Cursor, GitHub Copilot, and Tabnine already demonstrate early versions of this concept, offering intelligent code suggestions, debugging assistance, and automated refactoring6. However, the future lies in tools that help clarify and refine specifications themselves, not just generate code from them.

The Paradigm Shift

Software engineering has never been about code – it’s about the precise exploration of software solutions to human problems1. The industry is moving away from disparate machine encodings toward a unified human encoding of problem-solving approaches. Whoever masters writing specifications that fully capture intent and values becomes the most valuable programmer1.

This shift represents a fundamental change in how we think about programming:

  • From code-first to specification-first development
  • From individual coding to collaborative specification authoring
  • From syntax-focused tools to intention-focused tools

The future belongs to those who can communicate effectively with both humans and machines, crafting specifications that serve as the single source of truth for entire software systems.

Conclusion

The emergence of specification-driven development represents more than a new methodology – it’s a fundamental reimagining of what programming means in the age of AI. As AI systems become more capable of generating code, the ability to clearly specify intent becomes the differentiating skill1.

The most successful developers of tomorrow will be those who master the art of specification writing, creating clear, executable documents that align human teams and AI systems around shared goals. In this new paradigm, the specification isn’t just documentation – it’s the program itself, capable of generating all the artifacts needed to solve human problems with software.

Tags: #AI #Programming #SoftwareDevelopment #Specifications #OpenAI #ModelSpec #DeveloperTools #AIAlignment #SeanGrove #AIEngineering #SoftwareArchitecture #DeveliberativeAlignment #FutureOfCoding #SpecificationDrivenDevelopment #AIEngineering #TechTrends #SoftwareDesign #ProgrammingParadigms #AITools #DeveloperExperience

_This blog post is based on Sean Grove’s presentation "The New Code" at the AI Engineer World’s Fair, July 11, 2025._1

  1. https://www.youtube.com/watch?v=8rABwKRsec4
  2. https://entechonline.com/understanding-gpt-4o-update-fixing-ai-over-agreeableness-and-sycophancy/
  3. https://github.com/openai/model_spec
  4. https://www.webpronews.com/openais-sycophantic-gpt-4o-what-went-wrong-and-whats-next/
  5. https://answers.netlify.com/t/founder-of-onegraph-here-hello-folks-and-api-authentication-beta/47479
  6. https://arxiv.org/abs/2310.19852
  7. https://openai.com/index/deliberative-alignment/
  8. https://ti.to/software-3/ai-engineer-worlds-fair-2025
  9. https://arxiv.org/abs/2412.16339
  10. https://www.netlify.com/blog/2021/11/17/netlify-acquires-onegraph-a-powerful-graphql-platform-for-connecting-apis-and-services/
  11. https://sessionize.com/ai-engineer-worlds-fair-2025/
  12. https://bluedot.org/blog/deliberative-alignment
  13. https://gilbane.com/2021/11/netlify-acquires-onegraph-graphql-platform/
  14. https://sessionize.com/ai-engineering-world-fair-2025/
  15. https://model-spec.openai.com
  16. https://www.heavybit.com/library/podcasts/jamstack-radio/ep-39-graphql-services-with-sean-grove-of-onegraph
  17. https://www.heroku.com/events/2025/ai-engineer-worlds-fair/
  18. https://assets.ctfassets.net/kftzwdyauwt9/4pNYAZteAQXWtloDdANQ7L/978a6fd0a2ee268b2cb59637bd074cca/OpenAI_Deliberative-Alignment-Reasoning-Enables-Safer_Language-Models_122024.pdf
  19. https://www.ycombinator.com/companies/onegraph
  20. https://ti.to/software-3/ai-engineer-worlds-fair
  21. https://www.youtube.com/watch?v=8mMyJV2vhwo
  22. https://softwareengineeringdaily.com/wp-content/uploads/2020/03/SED1022-OneGraph.pdf
  23. https://www.ai.engineer
  24. https://www.marktechpost.com/2024/12/23/openai-researchers-propose-deliberative-alignment-a-training-approach-that-teaches-llms-to-explicitly-reason-through-safety-specifications-before-producing-an-answer/
  25. https://www.youtube.com/watch?v=bsPmF93l2zE
  26. https://www.deeplearning.ai/the-batch/openai-pulls-gpt-4o-update-after-users-report-sycophantic-behavior/
  27. https://www.seangoedecke.com/ai-sycophancy/
  28. https://techcrunch.com/2025/04/29/openai-explains-why-chatgpt-became-too-sycophantic/
  29. https://cdn.openai.com/spec/model-spec-2024-05-08.html
  30. https://openai.com/index/sycophancy-in-gpt-4o/
  31. https://github.com/benmills/openai-markdown
  32. https://openai.com/index/expanding-on-sycophancy/
  33. https://indianexpress.com/article/technology/artificial-intelligence/gpt-4o-update-what-openai-post-mortem-reveals-9983927/
  34. https://github.com/TadashiJei/OpenAI-Documentation-Creator
  35. https://www.business-standard.com/technology/tech-news/openai-rolls-back-gpt-4o-update-as-ai-goes-sycophantic-what-it-means-125043000378_1.html
  36. https://www.youtube.com/watch?v=WOZJk9J6nC0
  37. https://openai.com/index/sharing-the-latest-model-spec/
  38. https://www.youtube.com/watch?v=TEqpOe6NN70
  39. https://simonwillison.net/2025/Apr/30/sycophancy-in-gpt-4o/
  40. https://openai.com/index/introducing-the-model-spec/
  41. https://www.youtube.com/watch?v=cewEMWTZ0YA
  42. https://www.marketingaiinstitute.com/blog/gpt-4o-personality
  43. https://www.alignmentforum.org/posts/v7LtZx6Qk5e9s7zj3/what-s-going-on-with-ai-progress-and-trends-as-of-5-2025
  44. https://testrigor.com/blog/how-specification-driven-development-works/
  45. https://thectoclub.com/tools/best-software-development-tools/
  46. https://humanaligned.ai
  47. https://www.eecs.yorku.ca/~jonathan/publications/2004/xp2004.pdf
  48. https://dev.to/asim786521/the-future-of-coding-how-ai-powered-ides-are-revolutionizing-development-1k0p
  49. https://hackernoon.com/boosting-development-efficiency-with-the-specification-first-principle
  50. https://giansegato.com/essays/what-future-ides
  51. https://www.ischool.berkeley.edu/research/publications/2025/bidirectional-human-ai-alignment-emerging-challenges-and-opportunities
  52. https://users.ece.utexas.edu/~perry/education/382v-s06/Ostroff_specifications.pdf
  53. https://dev.to/info_generalhazedawn_a3d/the-evolution-of-developer-tools-whats-new-in-2025-3ih8
  54. https://iclr.cc/virtual/2025/workshop/23986
  55. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4385776
  56. https://www.pragmaticcoders.com/resources/ai-developer-tools
  57. https://openreview.net/forum?id=bXfF6Dqe9s
  58. https://origin2.cdn.componentsource.com/sites/default/files/resources/techexcel/548621/specdd.pdf
  59. https://shiftmag.dev/deveeloper-tools-ai-software-engineering-5299/
  60. https://arxiv.org/pdf/2410.01957.pdf
  61. https://www.apideck.com/blog/spec-driven-development-part-1
    [[Karpaty musings]]
    [[Vibe Coding Selling on Upwirk with Replit and V0]]

Leave a Reply

Your email address will not be published. Required fields are marked *