---
title: "OpenAI codes 1 million lines for an internal product"
url: https://daily.dev/posts/openai-codes-1-million-lines-for-an-internal-product-ofictbs3y
source_url: https://www.youtube.com/watch?v=48wBcZ6bh9w
type: video:youtube
source: "Gaurav Sen"
published: 2026-05-31T07:49:01.769Z
updated: 2026-05-31T09:21:18.654Z
tags: ["career", "interview-questions"]
reading_time: 1
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAI codes 1 million lines for an internal product

**[Gaurav Sen](https://daily.dev/sources/gkcs)** · 1 min read · 0 upvotes · 0 comments

## Summary

OpenAI built an internal product with over 1 million lines of AI-generated code using three engineers over five months. The approach relied on 'harness engineering' — structuring AI output through three techniques: context engineering (storing all knowledge as versioned markdown in the repo), architectural constraints (strict dependency layers enforced by linters to prevent module boundary violations), and entropy management (background agents continuously scanning and cleaning dead code). The team averaged 3.5 PRs per engineer per day across 1,500 merged PRs, claiming a 10x speed improvement over manual coding. The author notes the story reads more like a Codex marketing pitch than a verified engineering case study.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=48wBcZ6bh9w>

## Similar posts on daily.dev

- [Harness engineering: leveraging Codex in an agent-first world](https://daily.dev/posts/harness-engineering-leveraging-codex-in-an-agent-first-world-py6m8jwm4) · OpenAI · 1 upvotes · 0 comments
- [Harness Engineering](https://daily.dev/posts/harness-engineering-l1sahcwor) · Martin Fowler · 3 upvotes · 0 comments

---

Tags: [#career](https://daily.dev/tags/career), [#interview-questions](https://daily.dev/tags/interview-questions)

[View this post on daily.dev](https://daily.dev/posts/openai-codes-1-million-lines-for-an-internal-product-ofictbs3y)
