The Top 15 Patterns Learned from Leaked Claude Code and Hermes Agent
Tell us what's wrong and we'll take a look.
Thanks – we got it. We'll review and follow up if needed.
Production AI engineering - the discipline of turning a language model into something reliable, safe, auditable, and shippable - is mostly undocumented. The libraries churn every quarter. The patterns endure.
Agentic AI Harness Pattern distills 15 of those patterns by reading two mature production codebases side by side: Claude Code, Anthropic's TypeScript CLI for agentic coding, and Hermes, a Python agent built to run across messaging platforms. The two systems make different language choices, different concurrency choices, and different deployment choices - but the harness pattern they implement is the same.
Every chapter follows the same rhythm:
Each chapter stands alone. Read what you need; read end-to-end and the patterns compound. Either way, you'll close the book with a working mental model of how to design an AI agent that survives contact with production.
About the authors
Ken Huang is CEO of DistributedApps.ai, advising organizations on production-grade agent deployment at the intersection of AI, distributed systems, and security.
Grace Huang is a Product Manager and AI Engineer at PIMCO, where she ships AI features for the world's largest fixed-income asset manager. Her focus is the engineering rigor that makes AI products trustworthy in regulated environments.
The model is intelligence. The harness is the system.
Start here.
Grace Huang is a Product Manager and AI Engineer at PIMCO, where she ships AI features for the world's largest fixed-income asset manager. Her focus is the engineering rigor that makes AI products trustworthy in regulated environments.
Ken Huang is an author and researcher in AI applications and agentic AI security, serving as CEO and Chief AI Officer at DistributedApps. He is Co-Chair of AI safety groups at the Cloud Security Alliance and the OWASP AIVSS Project, and Co-Chair of the AI STR Working Group at the World Digital Technology Academy. He is an EC-Council instructor and Adjunct Professor at the University of San Francisco, teaching GenAI and agentic AI security to data scientists. He co-authored OWASP's Top 10 for LLM Applications and contributes to the NIST Generative AI Public Working Group. His books are published by Springer, Cambridge, Wiley, Packt, and China Machine Press. A frequent global speaker, he participates in major technology and policy forums.
Readwise Books is an ebook & audiobook platform that automatically logs how much you and your friends read, making it fun and easy to read more. Learn more →
Enter your email to continue. We'll create your account if you're new here.