<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>AgentPatterns.ai</title>
    <link>https://agentpatterns.ai/</link>
    <description>Patterns and techniques for experienced developers leveling up with AI coding assistants</description>
    <language>en</language>
    <lastBuildDate>Sun, 19 Jul 2026 23:27:39 +0000</lastBuildDate>
    <atom:link href="https://agentpatterns.ai/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Context Quality as a Leading Indicator of Agent Reliability</title>
      <link>https://agentpatterns.ai/context-engineering/context-quality-audit/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/context-engineering/context-quality-audit/</guid>
      <description>Audit an agent's context across seven dimensions to predict where it will drift, hallucinate, misuse tools, or fall to injection — before blaming the model.</description>
      <pubDate>Sun, 19 Jul 2026 21:23:41 +0000</pubDate>
    </item>
    <item>
      <title>Prompt Debt: Hand-Tuning Natural-Language Prompts as Technical Debt</title>
      <link>https://agentpatterns.ai/anti-patterns/prompt-debt/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/anti-patterns/prompt-debt/</guid>
      <description>Patching each new error by hand-tuning a natural-language prompt accrues prompt debt — brittle, repetition-laden instructions that slow iteration, lose the team, and lock the system to one model.</description>
      <pubDate>Sun, 19 Jul 2026 21:23:30 +0000</pubDate>
    </item>
    <item>
      <title>Legacy Code Archaeology: Reconstruct Intent Before Migrating</title>
      <link>https://agentpatterns.ai/workflows/legacy-code-archaeology/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/workflows/legacy-code-archaeology/</guid>
      <description>Use a coding agent to excavate the intent of an undocumented legacy system — under adversarial prompting and a runnable baseline — before you modernize it.</description>
      <pubDate>Sat, 18 Jul 2026 21:23:26 +0000</pubDate>
    </item>
    <item>
      <title>Epistemic Working Memory for Multi-Hop Reasoning (SLEUTH)</title>
      <link>https://agentpatterns.ai/agent-design/epistemic-working-memory-multi-hop-reasoning/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/agent-design/epistemic-working-memory-multi-hop-reasoning/</guid>
      <description>Give a long-horizon agent an explicit ledger of confirmed facts, ranked hypotheses, and open questions so multi-hop reasoning stops degrading as the context window fills.</description>
      <pubDate>Sat, 18 Jul 2026 21:23:18 +0000</pubDate>
    </item>
    <item>
      <title>Evidence-Gated Lifecycle Control for Coding Agents (Proof-or-Stop)</title>
      <link>https://agentpatterns.ai/verification/evidence-gated-lifecycle-control/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/verification/evidence-gated-lifecycle-control/</guid>
      <description>Advance an agent's lifecycle states — reviewed, tested, done, ready-to-merge — only when fresh, source-bound, mechanically verifiable evidence clears the gate, so the agent's own assertion never advances the state.</description>
      <pubDate>Sat, 18 Jul 2026 21:23:14 +0000</pubDate>
    </item>
    <item>
      <title>Reducing System-Prompt Token Bloat in Coding Agents</title>
      <link>https://agentpatterns.ai/context-engineering/system-prompt-bloat-reduction/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/context-engineering/system-prompt-bloat-reduction/</guid>
      <description>Measure what fills a coding agent's shipped system prompt, then switch off the tools, skills, and features you never use so the fixed prefix stops crowding out task context.</description>
      <pubDate>Fri, 17 Jul 2026 21:29:44 +0000</pubDate>
    </item>
    <item>
      <title>Git-Bound Memory for the Agentic Development Lifecycle</title>
      <link>https://agentpatterns.ai/agent-design/git-bound-memory/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/agent-design/git-bound-memory/</guid>
      <description>Bind agent memory to version control instead of bespoke stores, so commits, merges, and code review supply the ground truth, freshness, and verification memory machinery has to rebuild.</description>
      <pubDate>Fri, 17 Jul 2026 21:29:21 +0000</pubDate>
    </item>
    <item>
      <title>Setup Documentation as an Install-Time Attack Vector</title>
      <link>https://agentpatterns.ai/security/setup-documentation-install-time-attacks/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/security/setup-documentation-install-time-attacks/</guid>
      <description>Setup docs (README, requirements, Makefile) are unverified install authority: an attacker who edits them redirects an agent's install to a wrong name, untrusted registry, or vulnerable version, and the payload runs at install time.</description>
      <pubDate>Fri, 17 Jul 2026 21:29:09 +0000</pubDate>
    </item>
    <item>
      <title>Match Tool Instructions to the Agent Workflow</title>
      <link>https://agentpatterns.ai/instructions/match-tool-instructions-to-workflow/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/instructions/match-tool-instructions-to-workflow/</guid>
      <description>Better tools do not improve an agent unless the prompt encodes how the task's workflow gathers information — match instructions to the workflow, not the tools.</description>
      <pubDate>Thu, 16 Jul 2026 22:04:48 +0000</pubDate>
    </item>
    <item>
      <title>Restricting a Coding Agent to a Single execute_code Tool</title>
      <link>https://agentpatterns.ai/tool-engineering/restrict-coding-agent-to-execute-code/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/tool-engineering/restrict-coding-agent-to-execute-code/</guid>
      <description>When narrowing a coding agent to one execute_code tool is cheaper than a bash or native surface, and when edit-heavy modification work makes it costlier — a regime-by-agent decision.</description>
      <pubDate>Thu, 16 Jul 2026 21:24:38 +0000</pubDate>
    </item>
    <item>
      <title>Line-Anchored Feedback: Deliver Change Requests as Inline Comments</title>
      <link>https://agentpatterns.ai/token-engineering/line-anchored-feedback/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/token-engineering/line-anchored-feedback/</guid>
      <description>Delivering code-change requests as line-anchored inline comments instead of one holistic prompt cuts edit tokens on large files and can raise correctness — under specific conditions.</description>
      <pubDate>Thu, 16 Jul 2026 21:24:26 +0000</pubDate>
    </item>
    <item>
      <title>Minimum-Sufficient Execution: Estimate Scope Before Spending Budget</title>
      <link>https://agentpatterns.ai/agent-design/minimum-sufficient-execution/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/agent-design/minimum-sufficient-execution/</guid>
      <description>Estimate a task's scope up front, run the smallest path that passes verification, and expand only when it fails — measured against an oracle-minimum cost.</description>
      <pubDate>Thu, 16 Jul 2026 21:24:24 +0000</pubDate>
    </item>
    <item>
      <title>Accumulated Behavioral Rules from Review Feedback</title>
      <link>https://agentpatterns.ai/workflows/accumulated-behavioral-rules/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/workflows/accumulated-behavioral-rules/</guid>
      <description>Codify every accepted review comment as a persistent behavioral rule in a version-controlled instruction file, then have the agent self-review against the growing rule set before it submits.</description>
      <pubDate>Thu, 16 Jul 2026 21:24:21 +0000</pubDate>
    </item>
    <item>
      <title>The Compliance Trap: Consuming Conflicting Agent Memory</title>
      <link>https://agentpatterns.ai/anti-patterns/compliance-trap-conflicting-memory/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/anti-patterns/compliance-trap-conflicting-memory/</guid>
      <description>Memory-augmented agents comply with retrieved memory that conflicts with the current situation, adopting it at the first step and rarely recovering.</description>
      <pubDate>Thu, 16 Jul 2026 21:24:19 +0000</pubDate>
    </item>
    <item>
      <title>DSLs as a Constraining Harness for LLM Code Generation</title>
      <link>https://agentpatterns.ai/agent-design/dsl-constraining-harness/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/agent-design/dsl-constraining-harness/</guid>
      <description>Co-build a domain-specific language with the LLM, then constrain generation by it and keep the DSL as the durable source of truth rather than the prompt.</description>
      <pubDate>Wed, 15 Jul 2026 21:23:49 +0000</pubDate>
    </item>
    <item>
      <title>Token Reduction Mistaken for Cost Reduction</title>
      <link>https://agentpatterns.ai/anti-patterns/token-reduction-not-cost-reduction/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/anti-patterns/token-reduction-not-cost-reduction/</guid>
      <description>Judging a bolt-on context-reduction tool by how many tokens it removes rather than by its effect on the billed API cost — where prompt-cache economics can leave the bill flat or higher.</description>
      <pubDate>Wed, 15 Jul 2026 21:23:37 +0000</pubDate>
    </item>
    <item>
      <title>Non-Human Event Provenance Markers to Block Fabricated Approvals</title>
      <link>https://agentpatterns.ai/security/non-human-event-provenance-markers/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/security/non-human-event-provenance-markers/</guid>
      <description>Stamp every system- and harness-injected event as non-human input so an autonomous agent cannot act on a fabricated in-transcript approval.</description>
      <pubDate>Tue, 14 Jul 2026 22:13:26 +0000</pubDate>
    </item>
    <item>
      <title>Agent-Initiated Rubric-Gated Self-Compaction (SelfCompact)</title>
      <link>https://agentpatterns.ai/context-engineering/agent-initiated-self-compaction/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/context-engineering/agent-initiated-self-compaction/</guid>
      <description>Pair an agent-invoked compaction tool with a firing rubric so compaction tracks trajectory structure — fire when a sub-task resolves, suppress mid-derivation.</description>
      <pubDate>Tue, 14 Jul 2026 21:22:53 +0000</pubDate>
    </item>
    <item>
      <title>The Patchwork Problem in LLM-Generated Code</title>
      <link>https://agentpatterns.ai/anti-patterns/patchwork-problem/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/anti-patterns/patchwork-problem/</guid>
      <description>LLM-generated code compiles, passes tests, and clears SAST yet breaks in production because each patch is locally valid but structurally incoherent across the repository.</description>
      <pubDate>Mon, 13 Jul 2026 22:07:51 +0000</pubDate>
    </item>
    <item>
      <title>Overtrusting Human Sign-Off on Generated Assertions</title>
      <link>https://agentpatterns.ai/anti-patterns/generated-assertion-signoff/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/anti-patterns/generated-assertion-signoff/</guid>
      <description>Developers confirm correct LLM-generated assertions well but catch incorrect ones near chance while staying equally confident, so reviewer sign-off is a weak gate.</description>
      <pubDate>Mon, 13 Jul 2026 22:07:17 +0000</pubDate>
    </item>
    <item>
      <title>Agent Failure Trajectories and the Recovery Window</title>
      <link>https://agentpatterns.ai/agent-design/failure-trajectory-recovery-window/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/agent-design/failure-trajectory-recovery-window/</guid>
      <description>Treat a coding agent's failure as a trajectory with an onset, an evolution, and a narrow recovery window — intervene before lock-in, not at the final error.</description>
      <pubDate>Mon, 13 Jul 2026 21:25:11 +0000</pubDate>
    </item>
    <item>
      <title>Agent-Ready Bug Reports for Software Repair Agents</title>
      <link>https://agentpatterns.ai/instructions/agent-ready-bug-reports/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/instructions/agent-ready-bug-reports/</guid>
      <description>Rank bug report fields by their measured effect on an AI repair agent's correct-fix rate: localization and suggested fixes beat human-style reproduction steps.</description>
      <pubDate>Mon, 13 Jul 2026 21:24:34 +0000</pubDate>
    </item>
    <item>
      <title>Shallow Agent Test Coverage from Premature Termination (Lazy Generation)</title>
      <link>https://agentpatterns.ai/anti-patterns/lazy-generation/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/anti-patterns/lazy-generation/</guid>
      <description>Coding agents generating tests quit early and systematically skip complex branches, leaving coverage shallow exactly where the hard-to-test logic lives; the fix is supervised coverage gates, not trusting the agent's self-report.</description>
      <pubDate>Mon, 13 Jul 2026 21:24:27 +0000</pubDate>
    </item>
    <item>
      <title>Cross-Repository Security Posture for Agent-Introduced Vulnerabilities</title>
      <link>https://agentpatterns.ai/security/cross-repository-security-posture/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/security/cross-repository-security-posture/</guid>
      <description>Treat one agent-introduced vulnerability as a class to enumerate and fix across every repository, not a per-repo point-in-time finding.</description>
      <pubDate>Sun, 12 Jul 2026 21:21:49 +0000</pubDate>
    </item>
    <item>
      <title>Action-Graded Severity for Agent Red-Team Outcomes</title>
      <link>https://agentpatterns.ai/verification/action-graded-severity-red-team-outcomes/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/verification/action-graded-severity-red-team-outcomes/</guid>
      <description>Grade agent red-team outcomes on a seven-level harm scale keyed to reversibility, scope, and privilege so evals surface how harmful a compromise was, not just whether one occurred.</description>
      <pubDate>Sun, 12 Jul 2026 21:21:47 +0000</pubDate>
    </item>
    <item>
      <title>Vetting Tool Definitions for Exfiltration Signatures</title>
      <link>https://agentpatterns.ai/security/vetting-tool-definitions-before-install/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/security/vetting-tool-definitions-before-install/</guid>
      <description>A tool description or inputSchema that asks for the system prompt, conversation history, secrets, or API keys is a leak signature — refuse the tool at install, do not reword it.</description>
      <pubDate>Sun, 12 Jul 2026 21:21:02 +0000</pubDate>
    </item>
    <item>
      <title>Internal Hostname Disclosure in Agent-Readable Context</title>
      <link>https://agentpatterns.ai/security/internal-hostname-disclosure-agent-context/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/security/internal-hostname-disclosure-agent-context/</guid>
      <description>Internal hostnames, staging URLs, and private subdomains left in agent-readable instruction files hand an attacker a map of your infrastructure, not just a secret to steal.</description>
      <pubDate>Sun, 12 Jul 2026 21:21:02 +0000</pubDate>
    </item>
    <item>
      <title>Security-Aware Tool Descriptions for MCP Servers (SpellSmith)</title>
      <link>https://agentpatterns.ai/security/security-aware-tool-descriptions-mcp/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/security/security-aware-tool-descriptions-mcp/</guid>
      <description>Rewrite a risky MCP tool's description with its tainted parameters, sensitive capability, and an invocation policy to curb LLM-mediated misuse as a same-day layer over code-level input validation.</description>
      <pubDate>Sat, 11 Jul 2026 21:56:54 +0000</pubDate>
    </item>
    <item>
      <title>Specification-Grounded Test Writing</title>
      <link>https://agentpatterns.ai/verification/specification-grounded-test-generation/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/verification/specification-grounded-test-generation/</guid>
      <description>Give an agent's test writer the specification as an explicit list of rules, one test per rule, so it catches the missing-validation and boundary bugs its own tests otherwise pass.</description>
      <pubDate>Fri, 10 Jul 2026 21:41:11 +0000</pubDate>
    </item>
    <item>
      <title>Delegating Change Descriptions to the Agent</title>
      <link>https://agentpatterns.ai/anti-patterns/delegating-change-descriptions/</link>
      <guid isPermaLink="true">https://agentpatterns.ai/anti-patterns/delegating-change-descriptions/</guid>
      <description>Letting the agent write the whole PR or commit description restates the diff and drops the intent a reviewer needs — keep the why human-authored.</description>
      <pubDate>Fri, 10 Jul 2026 21:41:04 +0000</pubDate>
    </item>
  </channel>
</rss>
