Summaries > Miscellaneous > Ship > AGENT THREADS. How to SHIP like Boris Cherny. Ralph Wiggum in Claude Code....
TLDR Thread-based engineering is a crucial approach for engineers to improve their skills and productivity with agents, focusing on managing work as 'threads' while emphasizing continuous self-improvement and fewer human checkpoints for increased autonomy. Techniques like Cthreads, fusion threads, and long-duration workflows aim to enhance agent performance, ultimately pushing towards zero touch threads that require no oversight.
To thrive in the evolving landscape of engineering, particularly when dealing with agents, it's essential to grasp the concept of thread-based engineering. This approach conceptualizes work as 'threads,' which are units comprising prompts, agent actions, and validations. By understanding how to structure these threads effectively, engineers can identify gaps in their skillset, which is increasingly important as barriers arise between engineers adept at utilizing agents and those who lag behind. Embracing this framework not only aids in personal growth but also enhances collaboration and productivity within teams.
Using Cthreads, or chained threads, is a highly effective strategy for managing complex engineering projects. These threads break down large tasks into manageable phases, allowing for checkpoints where agents can solicit user input or provide progress updates. This iterative process reduces the need for constant human oversight, thereby fostering greater trust in the system. By implementing Cthreads, engineers can achieve smoother workflows and ensure that high-risk production efforts are managed comprehensively while still engaging effectively with agents.
The use of fusion threads, or F threads, is a powerful technique for enhancing productivity in agent-driven environments. By running parallel processes that involve sending similar prompts to multiple agents, engineers can collect diverse outputs and combine the best results for a superior final product. This method not only increases the efficiency of task completion but also heightens the likelihood of achieving successful outcomes. Engineers looking to streamline their workflows should consider integrating fusion threads into their routine.
Incorporating long-duration workflows, known as L threads, can significantly improve the automation of engineering tasks. These threads facilitate extensive operations with minimal human intervention where clear prompting and effective context management play critical roles. The successful implementation of L threads allows agents to operate efficiently over longer periods, ultimately reducing the oversight needed from engineers. By designing workflows utilizing L threads, engineers can embrace a more autonomous approach to projects, freeing up resources for other critical tasks.
Creating thicker threads that require fewer human checkpoints during agent reviews helps build confidence and trust in agent-driven processes. The strategy seeks to leverage the autonomy of agents to manage their tasks independently while establishing systems that empower agents to validate their own work. Fostering an environment with fewer interruptions allows for a smoother operation and encourages engineers to rely on their tools effectively. By adopting this approach, engineers can enhance the scale and complexity of their projects without being bogged down by constant monitoring.
The ultimate goal in thread-based engineering is achieving Zero Touch Threads, or Zthreads, where agents can execute tasks with no required human review. This level of autonomy signifies a highly trusted system that operates independently and efficiently. Engineers must continually develop their understanding of core elements like context, models, prompts, and tools to reach this state. By striving towards Zthreads, professionals can effectively reduce oversight while simultaneously scaling their work, paving the way toward advanced 'living software' capable of functioning autonomously.
Thread-based engineering is a mental framework introduced by Andy Devdan that focuses on 'threads'—units of work involving prompts, agent actions, and validations, aimed at enhancing engineering skills and productivity in the context of using agents.
Cthreads, or chained threads, are useful for breaking large projects into manageable phases, particularly for high-risk production work. They allow for checkpoints where an agent asks for input or provides updates through natural language, which increases trust and reduces the need for human oversight.
The fusion thread (F thread) parallelizes work by sending similar prompts to multiple agents, reviewing their outputs, and fusing the results to achieve superior outcomes, enhancing the likelihood of success by leveraging more compute resources.
Bthreads involve the orchestration of several agents working together to accomplish tasks more efficiently, simplifying the engineer's role to prompting and reviewing results, enabling better management of complex workflows.
L threads allow for extensive agent operation with minimal human intervention, as clearer prompting, better models, and context management contribute to their success, ultimately improving efficiency in long-running tasks.
Zero touch threads (Zthreads) signify maximum trust in an autonomous agent's ability to execute tasks without the need for human review, indicating a goal for engineers to reach in agentic engineering.
Engineers can improve by focusing on core elements such as context, models, prompts, and tools, and by continuously pushing their understanding and capacities to trust their agents and optimize the volume and complexity of work.