WhoBuilt

Beyond the Prototype: Using AI to Write High-Quality Code

Jul 25, 2025· 18 min· 15K views·Watch on YouTube

Speaker

Josh Albrecht, CTO of Imbue, explains how the team’s experimental coding agent environment Sculptor aims to help developers produce and trust higher-quality code at an AI Engineer event.

Focus on reviewing code changes

Albrecht argues that coding tools should target specific problems instead of investing in capabilities likely to improve as models advance. Imbue focuses on helping developers understand what is wrong with an agent’s code diff, giving them another option besides checking every line themselves or merging on hope.

Prevent mistakes with better preparation

Albrecht outlines four ways to reduce problems: research, planning, specifications and documentation, and a strict style guide. Sculptor supports research and planning workflows, flags outdated or conflicting documentation, and suggests practices such as immutable classes to help prevent race conditions.

Use linters and tests to catch errors

Sculptor can detect and automatically fix issues from tools such as Ruff and mypy, while tracking which lint errors existed before an agent’s changes. Albrecht recommends functional code, a small set of happy-path tests, and using generated unhappy-path tests to uncover bugs. He also highlights integration tests, coverage, and sandboxed test runs without secrets.

Ask an LLM to inspect and fix problems

LLMs can check changes against style guides and architecture documents, find gaps between specifications and implementation, and run custom checks. Once a problem is clearly described, agents may be able to fix it with simple retries or parallel attempts in safe sandboxes.

Connect tools across development

Albrecht expects AI tools to support more of the development process, including debugging, tracing, profiling, quality assurance, and generating code from visual designs. He says Imbue is interested in integrating tools that address specific parts of developer experience into Sculptor.

Takeaways

  • Treat code review as finding concrete problems in a diff, not counting changed lines.
  • Give agents project context through plans, current documentation, specifications, and clear style rules.
  • Use linters to catch mechanical issues, and let agents handle routine fixes while tracking existing errors.
  • Build tests around user-visible behavior, test edge cases, and check coverage as well as whether tests pass.
  • Run agent work and tests in sandboxes without secrets so retries and parallel attempts are safer.

Mentioned in this talk

Search inside this talk

What was claimed 10

  • built
    “The main product that we're working on today is called Sculptor.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • founded
    Co-founder and CTO
    “I'm Josh Albrecht, the CTO of Imbue.”
    YouTube
    Verified3 sources· Talk, Web· archived
  • feature
    Imbue: Focuses on making more robust, useful AI agents, particularly software agents
    “Our focus is on making more robust, useful AI agents. In particular, we're focusing on software agents right now.”
    YouTube
    Unverified1 source· Talk
  • metric
    Sculptor: Research preview
    “It's still a research preview”
    YouTube
    Unverified1 source· Talk
  • feature
    Sculptor: Provides immediate feedback on code problems as code is generated or changed
    “we want something synchronous and immediate that gives you feedback as soon as you've generated code or changed a line.”
    YouTube
    Unverified1 source· Talk
  • feature
    Sculptor: Supports asking questions, conducting research, and getting answers
    “letting you ask questions, have it do research, and get answers”
    YouTube
    Unverified1 source· Talk
  • feature
    Sculptor: Detects when code and documentation are outdated and highlights inconsistencies
    “detecting when code and docs have become outdated”
    YouTube
    Unverified1 source· Talk
  • feature
    Sculptor: Tracks issues that existed before and after an AI system runs
    “the AI system understands what issues were there before it started and what issues were there after it ran.”
    YouTube
    Unverified1 source· Talk
Show all 10 facts

Related talks