WhoBuilt

Copilots Everywhere

Jul 26, 2024· 18 min· 1.4K views·Watch on YouTube

Speakers

Thomas Dohmke, CEO of GitHub, discusses Copilot’s development and its role in helping developers build software, in a conversation with Eugene Yan at AI Engineer.

How Copilot began

During the 2020 lockdown, GitHub engineers tried an early version of OpenAI’s Codex and saw it generate code in languages such as JavaScript and Python. They built Copilot as an autocomplete tool, and an internal preview received an NPS score around 72 or 73. After launch, telemetry showed Copilot wrote about 25% of code in enabled files; Dohmke said that figure is now about half.

Keeping developers in the flow

Dohmke says GitHub adjusts its plans as the AI landscape changes, while aiming to meet developers where they already work. Copilot’s editor suggestions let developers review and change generated code, much like ordinary autocomplete. He describes its central value as reducing the need to switch between an editor and outside sources such as Google or Stack Overflow.

Workspace connects tasks to code

GitHub Workspace takes an issue, task, or idea and helps translate it into a plan and code changes. Developers can inspect and edit the specification, repository analysis, plan, and resulting diff at each step. Dohmke says this can help people returning to a project understand a large codebase, and help product managers judge whether a task is specific enough to implement.

Natural language broadens access

Dohmke says Copilot can help people explore coding in languages including German, Hindi, Brazilian Portuguese, Spanish, and Chinese. He gives children creating games or web pages as an example of how this could widen access to technology. In companies, he sees a similar benefit in helping new employees find institutional knowledge without having to ask a long series of questions.

Agents should take on tedious work

Dohmke compares an agent to a dishwasher: it handles a task and returns an output. He contrasts that with security tools that identify problems but leave developers to fix them, adding work to an already full backlog. He wants agents that can reduce security backlogs by fixing issues, giving teams more time for product work while still balancing security, compliance, accessibility, and innovation.

Takeaways

  • Treat code suggestions as reviewable autocomplete, with the developer making the final call.
  • Put assistance in the tools developers already use to reduce context switching.
  • Make tasks specific enough to produce a useful implementation plan, and use that plan to expose gaps early.
  • Use natural language and repository context to help people learn unfamiliar codebases and share institutional knowledge.
  • Prioritize automation that resolves routine security work, not only tools that flag it.

Mentioned in this talk

Search inside this talk

What was claimed 8

  • ceo of
    CEO
    “Currently, Thomas is CEO at GitHub”
    YouTube
    Unverified1 source· Talk
  • launched
    OpenAI launched Codex
    preview
    “a new model that OpenAI had just released in preview, a version of GPT-3 called Codex”
    YouTube
    Unverified1 source· Talk
  • metric
    Microsoft Copilot: About 25% of code in enabled files at launch; about half by the time of the talk
    “It writes about 25% of the code in the files where it was enabled. By now, it's about half the code that's written.”
    YouTube
    Unverified1 source· Talk
  • feature
    Microsoft Copilot: Autocomplete code suggestions that help developers stay in the flow
    “Copilot keeps the developer in the flow”
    YouTube
    Unverified1 source· Talk
  • feature
    Copilot Workspace: Helps turn a GitHub issue, task, or idea into a plan and code changes, with the human able to review and modify each step
    “It takes a GitHub issue, or just a task or idea you write down on GitHub.com, and helps you figure out how to implement that change in your codebase.”
    YouTube
    Unverified1 source· Talk
  • integrates with
    Microsoft Copilot integrates with GPT-4
    “we added chat and GPT-4 to Copilot in the IDE”
    YouTube
    Unverified1 source· Talk
  • metric
    Copilot Workspace: Announced in November 2023
    “when we announced this last year at GitHub Universe in November”
    YouTube
    Unverified1 source· Talk
  • feature
    GitHub Actions: Runs CI/CD workflows after a pull request is pushed
    “You push your pull request and run your CI/CD, GitHub Actions”
    YouTube
    Unverified1 source· Talk

Related talks