Add 20 patterns closing the agentic-design.ai catalog gap - #17
Merged
Conversation
Adds the 20 genuinely-missing architectural patterns identified against
agentic-design.ai, deliberately excluding its training methods (RLHF/DPO/…),
model-internals entries (KV-cache, Infini-Attention) and UI/UX catalogue —
those would drift the repo from "an agentic pattern plus a small .NET
implementation" toward "every technique associated with AI systems".
All Agent-Framework-only, matching every recent addition.
Reasoning & generation
ChainOfVerification verification questions answered with the draft out of sight
ProactiveClarification screened questions, one round, then stated assumptions
GraphOfThoughts host-owned DAG, so two lines merge instead of one being pruned
LeastToMost ordered subproblems, earlier answers carried as facts
StepBack principle first, with the question's numbers withheld
Orchestration
MixtureOfAgents layered proposers; layer 2 reads all of layer 1
StateMachineAgent host-owned transition table, model decides within a state
EventDrivenAgents topic subscriptions with a generation-capped bus
ControlPlaneAsTool one execute_capability tool over many backends
AgentRegistry capability discovery with signed cards verified before dispatch
SpeculativeToolExecution read-only, free-to-discard calls started before the model asks
Knowledge & state
ContextAssembly pinned-first, deduplicated, budgeted, drops carry reasons
MultiSourceContextFusion trust then recency, contested fields surfaced not hidden
GraphRAG entity graph + community summaries for corpus-level questions
MemoryConsolidation recency/importance/relevance retrieval; ripe topics collapse
Production controls
DualLlm CaMeL: content supplies values, never control flow
HumanOnTheLoop autonomous by default; silence is not consent when irreversible
MemoryPoisoningPrevention untrusted sources propose, corroboration publishes
ContrastiveExplanation flip condition re-run against the rule before it is shown
AgentCommunicationFaultTolerance retry, dedup, dead letters, reconciliation
Each pattern puts the enforceable part in the host rather than the prompt, and
80 new tests cover exactly that deterministic logic — no model calls.
All 20 were run against a live deployment, which found five defects that
compiling could not: StateMachineAgent filled a missing field after asking the
model (and later needed per-state briefs, because the stale fact log made it
reject a claim whose gap had just been closed); the fault-tolerance seed
exercised neither its dead-letter nor its dedup path; GraphRAG fragmented on
entity-name drift; the GraphOfThoughts scorer returned ~0.95 for everything,
making Best() a coin flip; and ControlPlaneAsTool never reached its own denial
because the model refused unprompted.
README tables and 20 Pattern Explorer write-ups included. Explorer needed no
code change — the catalog globs patterns/*.md and the four categories used
already exist — verified against a running instance serving all 74 patterns.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161UFxvL3zPhufoYaQh27Ss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the 20 genuinely-missing architectural patterns identified against agentic-design.ai, deliberately excluding its training methods (RLHF/DPO/ORPO/SimPO), model-internals entries (KV-cache, Infini-Attention, latent recurrent thinking) and the 32-entry UI/UX catalogue. Those are legitimate topics that would drift this repo from "an agentic pattern plus a small .NET implementation" toward "every technique associated with AI systems".
All Agent-Framework-only, matching every recent addition.
Reasoning & generation
Orchestration
execute_capabilitytool over many backendsKnowledge & state
Production controls
Verification
StateMachineAgentfilled the missing cost centre after asking the model, so the claim died at step 2. Fixed — then a run through Pattern Explorer showed it still intermittently rejected the claim, because the staleInsufficiententry in the fact log misled the model at temperature 0. Now each state carries a one-line brief saying what it decides; stable across three runs.AgentCommunicationFaultToleranceexercised neither its dead-letter nor its dedup path on the old seed — and an absorbed duplicate leaves no trace by construction. New seed (found by simulating the RNG draw order), aDuplicatesAbsorbedcounter, and an explicit resend demonstrating the ack-lost case.GraphRAGfragmented into four communities on entity-name drift (checkoutvsthe checkout service), so the cross-document theme never formed. Extractor now pins naming;manual rollbackcorrectly links INC-101 to INC-104.GraphOfThoughtsscorer returned ~0.95 for everything, makingBest()a coin flip, and the six-sentence brief was ignored. Length folded into the rubric.ControlPlaneAsToolnever reached its own denial because the model refused unprompted — a courtesy, not a control. Now calls the ungranted capability directly.patterns/*.md; all four categories already exist inCATEGORY_ORDER). Verified against a running instance: 74 patterns served, source viewer resolves the new files,interactivepicked up forHumanOnTheLoopandProactiveClarification, and a live run streamed end to end.Two deliberate ceilings, both marked with
ponytail:comments naming the upgrade path:GraphRAGuses connected components rather than Leiden, andAgentRegistryuses HMAC with one shared registry key rather than asymmetric per-agent signing.🤖 Generated with Claude Code
https://claude.ai/code/session_0161UFxvL3zPhufoYaQh27Ss