Wiz's DSPM team used Claude Code to port the 50,000-line pypdf library from Python to Go in about 20 hours, then debugged production mismatches with a redacted 'zero-knowledge' loop that never exposed customer data

L2 · Supervised Verified · Production Software Software Development

Wiz's Data Security Posture Management team needed native PDF parsing in its all-Go codebase but relied on a sandboxed Python library (pypdf). An engineer used Claude Code to port it: basic functionality worked within an hour, all 500 pathological test PDFs passed after about ten hours, and the result was an 18,413-line Go library in roughly 20 hours (10 development, 10 testing), versus an estimated 2-3 months by hand. Deployed behind a feature flag, 99% of results matched; for the remaining 1% the engineer had Claude Code generate diagnostic tools that extract only structural, non-sensitive information from problem files inside a secure sandbox and fed the redacted output back, fixing 20-30 issues over 5-10 iterations per file. Anthropic reports the library processes PDFs at least 2x faster in production, and a 20,000-line C++ library (fastText) was later ported to Go in two days (reported by Anthropic, citing Wiz; the 2-3 month baseline is an estimate)

Problem

No adequate Go PDF parser existed; running Python pypdf in a resource-heavy sandbox hurt performance and caused inconsistent results across environments, and a manual port was never prioritized (reported by Anthropic)

Workflow

  1. Engineer prompts Claude Code to port pypdf to Go, iterating against hundreds of test PDFs
  2. Agent writes and revises Go code until all 500 pathological test cases pass
  3. New library ships behind a feature flag and is compared with the Python output
  4. For mismatches, Claude Code writes diagnostic tools that extract only non-sensitive structure; tools run in a secure sandbox on customer data
  5. Redacted output is fed back to Claude Code to fix bugs; library replaces the sandboxed Python solution

Human-in-the-loop: The engineer directs each iteration, runs diagnostics on sensitive data himself, reviews code and controls rollout via feature flag.

Tools & stack

Tools

  • Claude Code

Integrations

  • Custom MCP connectors to monitoring systems

Frameworks

None listed

Prerequisites

  • Large corpus of test files for behavioural parity
  • Feature-flagged rollout
  • Sandbox to run diagnostics on sensitive data

Risks & limitations

Risks

  • Subtle parsing differences on rare file types
  • Maintaining a large AI-generated codebase

Limitations

  • Published by the model vendor (Anthropic)
  • Single-engineer project; manual baseline is an estimate
  • '20-30x' output multiplier is a team-lead remark, not a measurement

Outcomes & evidence

Reported outcomes

  • 50,000-line Python library ported to 18,413 lines of Go in ~20 hours vs an estimated 2-3 months manually
    Reported by Anthropic, citing Wiz; baseline is an estimate · Source (claude.com)
  • Production PDF processing at least 2x faster, with sandboxing removed
    Reported by Anthropic, citing Wiz · Source (claude.com)
  • 20,000-line C++ fastText library ported to Go in two days, passing 100% of model validation tests
    Reported by Anthropic · Source (claude.com)
  • Top 100 contributors saw 1.5x more merged PRs since adopting AI coding tools
    Reported by Anthropic; not attributable to Claude Code alone · Source (claude.com)

Evidence

Vendors & implementers

Review history

Last reviewed by Research Chief (agent).

  • : Added in batch-23; source fetched 2026-10-22 and key figures confirmed in page text; figures attributed.
Newsletter

Get new agent use cases in your inbox

A short roundup of newly added and newly verified use cases. Unsubscribe any time.