Back to Kun Chen

L8 Principal's Agentic Engineering Workflow

Kun ChenJune 20, 202645m
In a Nutshell

Kun's workflow turns frontier agents into a scalable engineering crew by onboarding them with persistent memory files plus skills for progressive disclosure, then routing all work through automated pipelines like No Mistakes for testing, review, and PR creation. Parallel execution is handled via git work trees managed by Treehouse, while long-running tasks use Good Night Have Fun and complex planning uses the visual Lavish editor. The final layer is First Mate, which coordinates multiple agents so the engineer shifts from hands-on coding to captain-level direction and quality oversight.

AI-Generated Notes

These notes were generated by AI and may contain inaccuracies.

Kun, previously a principal engineer at Meta, Microsoft, and Amazon, worked on large-scale systems including the Bing search engine, Windows, and Facebook games. In recent years, he has been building frontier coding agents at Atlassian and shipping 40 to 50 production-tested agents daily. The workflow focuses on fundamental concepts of agent engineering with real production applicability rather than gimmicks.

The structure covers assembling the ship with core setup, recruiting and ramping up crewmates using memory and skills, working with single and multiple crewmates, and recruiting a first mate to manage overhead.

Everything is done in the terminal to keep hands on the keyboard and maintain flow state. Moving hands to a mouse breaks flow and causes context switching. Terminal applications are designed for keyboard interaction as the primary paradigm, unlike GUI apps.

The same workflow can be maintained across all devices, including phones. The fundamental concepts apply regardless of whether using terminal or GUI-based workflows.

WezTerm is the terminal emulator used, with 26k GitHub stars. It is cross-platform, working identically on Windows, Mac, and Linux. It is highly customizable through Lua scripts that support conditions and dynamic logic.

Configuration is stored in wezterm.lua. Changing settings like color scheme to "chalk" triggers instant hot reload. The preferred color scheme is rose pine moon.

Sign in to read the full notes

Get access to AI-generated notes, topic timestamps, and more.