TLDR : At organonmind.org I published a catalogue of design patterns I have encountered while working with my agents. There is a public repo. Submit new patterns via GitHub Issues
Reading the original “Gang of Four” Design Patterns book forever change the way that I think about software and about systems in general. Later, I discovered Christopher Alexander, the architect who first applied the idea to buildings and towns.
Recently, I’ve been working with teams of agents on an open source project I just started called Organon. Not linked because my point is that over the past several months I have encountered a number of patterns that work for me, and I can’t find these expressed anywhere yet, so I took a first stab at expressing them, and I opened sourced the repo behind the following site.
The entire site is open source and I would love feedback in the form of Issues. If you see a better way to categorize things or better names for things or anything like that, please let me know. I would love to get a dialogue going around this.
I propose to you that the content speaks for itself. Yes I created this using Claude code. But it is also true that I did it by analyzing my own work and extracting the real patterns that are in my code base. Some do project forward beyond what I have done so far. However, I believe the taxonomy is sound. In some cases, creating these patterns involved, running many profiling tests, even to prove that the pattern was valid. This was especially true in the real-time voice interaction patterns which I derived from a working local low latency voice system I made for working with my agents.
This is 100% not a finished work. This is a beginning. It is entirely open source.
Not just open source, AFAIK under current US copyright law it is now public domain as you have acknowledged it was generated using AI technology. Beware what the legal system is up to regarding open source. A company can now take your content do some editing on it and publish a copyrighted book. They might have trouble coming after you directly because of the record but it wouldn't be surprising if they sued anyone trying to make derivative work from yours claiming it violated their copyright. I feel like this is a dystopian fear but it appears that is where the legal system is currently at. Disclaimer, I'm not a lawyer and I don't really know what I'm talking about. Would love to hear from people that do. Please tell me it isn't true.
I read through some of your website, and I think the biggest issue is that it’s far too verbose and long-winded. It takes a lot of text to get to the actual implementation details, logic, and reasoning. I’ve already been working on this problem for quite a while, and I have a system that works very well, so I wasn’t looking for a general conceptual introduction. I was mainly interested in seeing whether your implementation converged on some of the same ideas and solutions I’ve arrived at. For example, I specifically wanted to understand how you handle dependency resolution, graph edges, and coordinated work between agents. I wanted to see exactly how agents determine what can execute, what is blocked, how dependencies propagate, and how coordinated work is structured. But I couldn’t find a clear, concise explanation of those mechanisms, so I ultimately couldn’t tell whether your approach overlaps with mine or differs in meaningful ways. I’d strongly recommend cutting down the higher-level exposition and focusing much more heavily on concrete implementation logic: what the system does, why it does it, how dependencies and graph relationships are represented and resolved, how agents coordinate, and what determines execution order. The technical reasoning should be much easier to locate and much more concise.
I entirely acknowledge that this is a version one presentation and the whole repo was open source. I’m going to take your entire comment and send it to my agent and see what we can do, even now.
There’s another problem here though, and that is that I have only been doing a very small subset of things. The way that I’ve been working does not include any graphs for example. And I haven’t been thinking about the aspects related to dependency injection and that layer yet. But you bring up an excellent point that there are absolutely patterns for these things, and even though I have not encountered them yet, they should be stubbed in and at least defined.. i’m going to follow up on this after I do some research and take your comments to heart and act on them. Like it almost post your entire comment as a github issue in the repo. This is exactly the kind of open source contribution. I hope to get for the project.
Happy to help. Believe me I have quite a few more I can give you. I analyzed your entire project I have a lot of pointers for you that I think would help you get really far really fast. I don’t meet many people with your level of curiosity and scientific rigor. I only help and assist others that think the same way I do. And I can see that you do think the same way I do.
I recognized early on that working with agents is very different from traditional Gang of Four era software development. And so I did not base any of the patterns here on anything in that book, except for the template that the book uses for defining a pattern.
By template, I mean that each pattern had several sections like intent, motivation, applicability, and structure, but even these I adapted quite a bit for this work.
I like your analogy of adapting naval architecture rules to submarine. That was very effective at getting me to understand your point. I want to emphasize that I am not doing that here. That would be like if I looked at the actual patterns in the gof book, like Singleton, Adapter, Facade, or any of the dozen or so others in the original book, and said, “Okay, how can we extend these patterns for working with agents? That might be an interesting research project, but that is not what I am doing at all.
I am just talking about the format.
The way of looking at a domain with a lot of complex interactions and saying,, “What kind of things do I see happening here that I can name, and if I can name the thing, can I then describe it. Can we define its context, its applicability, etc.
And it turns out we can. I didn’t just make these up. or ask LLM to come up with a set of design patterns for working with agents and then post it. I worked to make these by examining 3 months of history in a very active project of mine called organon where I have been self-consciously working to push forward the art of building software with agents. I deployed agents which examined all of the code and all of the pull requests and the problems we’ve encountered and that’s how we got the initial list going.
And consider that the gang of four authors directly attributed their work as inspired by the Mid-20th-century architect Christopher Alexander, in his 1977 book, “A Pattern, Language” and others by him.
Alexander applied design patterns to residential architecture, and even to the design of towns.
He emphasize the wholeness in systems and named the interactions that he saw with names as patterns.
My extension of the concept of a pattern language is more from Alexander than it is from gang of four.
I offer to you that the field of working with agents is filled with examples of repeatable behavior that you want to name so that you can make it happen automatically..
And if I still have not persuaded you, I invite you to copy and paste this entire thread into your favorite LLM, along with an initial prompt that says,
“Objectively evaluate this Reddit thread which relates to the publishing of a site presenting Design Patterns for Working with Agents at https://organonmind.org and with a corresponding public GitHub repository at https://github.com/organonart/organon-mind, with a special focus at answering the objection that the application of design patterns is not appropriate in the context of working with agents, and of an analysis of op’s response, and of your judgment on the whole matter.”
If you want the most thorough objective response use the latest ChatGPT model and send it to deep research. The kind that takes 15 to 20 minutes. The results are worth it.
I hope I can win you over on this and that you might even want to contribute.
3
u/mentalFee420 Aug 21 '26
How much of it have you actually read yourself? 😅