{"id":4063,"date":"2026-11-25T11:45:07","date_gmt":"2026-11-25T16:45:07","guid":{"rendered":"https:\/\/www.mymiller.name\/wordpress\/?p=4063"},"modified":"2026-11-20T23:45:38","modified_gmt":"2026-11-21T04:45:38","slug":"sandboxing-autonomous-coding-agents-docker-microvms-2026","status":"publish","type":"post","link":"https:\/\/www.mymiller.name\/wordpress\/docker\/sandboxing-autonomous-coding-agents-docker-microvms-2026\/","title":{"rendered":"Sandboxing Autonomous Coding Agents: Why Standard Docker Containers Aren\u2019t Enough in 2026"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In 2026, two documented coding-agent incidents cured a lot of engineering teams of running autonomous agents in &#8220;YOLO mode&#8221; on their laptops.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the first, a developer asked a coding agent to tidy up an old repository; the agent generated an <code>rm -rf<\/code> command with a stray trailing <code>~\/<\/code> and auto-executed it, <strong>wiping the developer&#8217;s entire home directory<\/strong>. In the second, an AWS engineer pointed an agent holding personal operator credentials at a minor Cost Explorer bug; the agent <strong>deleted and rebuilt production<\/strong>, causing a <strong>13-hour regional outage<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Both stories\u2014highlighted in Docker&#8217;s late-2026 AI agent security guide and InfoQ&#8217;s November 4 coverage\u2014point to the same architectural truth: <strong>an LLM deciding its own security boundaries is not a security model.<\/strong> Prompt instructions cannot reliably separate trusted directives from covert prompt injections hidden inside a GitHub issue, a dependency&#8217;s <code>README<\/code>, or a poisoned MCP tool description.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The instinctive developer reaction is: <em>&#8220;Easy\u2014I&#8217;ll just run my coding agent inside a Docker container.&#8221;<\/em> Unfortunately, for autonomous coding agents, a standard Docker container is often a leaky illusion of safety. Building on our earlier <a href=\"https:\/\/www.mymiller.name\/wordpress\/\">Docker<\/a> and <a href=\"https:\/\/www.mymiller.name\/wordpress\/spring_ai\/extending-spring-ai-with-agent-skills-executing-python-scripts-via-skill-md\/\">Spring AI Agent Skills<\/a> guides, let&#8217;s examine why standard containers fall short, compare <strong>Containers vs. gVisor vs. Disposable MicroVMs<\/strong>, and lay out a practical containment blueprint using <strong>temporary Git worktrees<\/strong> and <strong>ephemeral proxy-injected credentials<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. The Five Threat Vectors Unique to Autonomous Agents<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Traditional web services execute deterministic code paths against fixed APIs. Coding agents read untrusted repositories, install packages, run builds, and invoke external MCP servers on their own. Docker organizes the resulting risk into five categories:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Indirect Prompt Injection:<\/strong> Covert instructions buried inside web pages, code comments, PR descriptions, or documentation hijack the agent&#8217;s control flow.<\/li>\n\n\n\n<li><strong>Tool Misuse &amp; MCP Tool Poisoning:<\/strong> Over-broad tool catalogs expand blast radius, while malicious third-party MCP servers embed hidden directives right inside tool descriptions.<\/li>\n\n\n\n<li><strong>Excessive Autonomy (&#8220;YOLO Mode&#8221;):<\/strong> Removing every confirmation prompt makes agents productive\u2014but turns one hallucinated shell command into host or cloud destruction.<\/li>\n\n\n\n<li><strong>Credential &amp; Secret Exposure:<\/strong> Agents inheriting a developer&#8217;s <code>~\/.aws<\/code>, <code>~\/.ssh<\/code>, or personal GitHub PAT\u2014or reading secrets from container environment variables\u2014act with full human authority and can exfiltrate tokens on command.<\/li>\n\n\n\n<li><strong>Data Exfiltration &amp; Untrusted Multi-Agent Handoffs:<\/strong> Open network egress lets hijacked agents <code>curl<\/code> source code out, and downstream agents that blindly trust upstream agent output propagate compromise across the entire workflow.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">2. Why Standard Docker Containers Fail Autonomous Coding Agents<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Standard <code>runc<\/code> containers isolate namespaces and cgroups, <strong>not kernels<\/strong>. Two specific realities break down as soon as you hand a standard container to an autonomous coding agent:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>~500 Exposed Linux Syscalls on a Shared Kernel:<\/strong> As practitioners pointed out in InfoQ&#8217;s coverage, Docker&#8217;s default <code>seccomp<\/code> profile blocks roughly 40 privileged syscalls while leaving <strong>~500 Linux syscalls exposed<\/strong> directly to the host kernel. A single kernel escape or misconfigured bind mount turns a container into a host compromise.<\/li>\n\n\n\n<li><strong>The Docker-in-Docker (<code>DinD<\/code>) Trap:<\/strong> Java and Spring Boot coding agents routinely need <code>docker build<\/code>, <code>docker compose<\/code>, or <strong>Testcontainers<\/strong> (<code>PostgreSQLContainer<\/code>, <code>KafkaContainer<\/code>) to verify their own code! Inside a standard container, enabling that usually tempts teams into mounting <strong><code>\/var\/run\/docker.sock<\/code><\/strong> or passing <strong><code>--privileged<\/code><\/strong>\u2014both of which grant trivial root access straight back to the host OS.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">And what about WebAssembly (Wasm) or V8 isolates? They are fantastic for serverless functions, but coding agents need a full POSIX OS where they can run <code>gradle test<\/code>, <code>npm install<\/code>, <code>apt-get<\/code>, and local test databases.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Isolation Architecture Comparison: Containers vs. gVisor vs. MicroVMs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Matching your isolation boundary to the trust level of the agent workload is the most important DevSecOps decision you will make this year:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Isolation Tier<\/th><th>How It Works<\/th><th>Strengths<\/th><th>Limitations \/ Best Fit<\/th><\/tr><\/thead><tbody><tr><td><strong>Standard Docker Container (<code>runc<\/code>)<\/strong><\/td><td>Linux namespaces + cgroups + default <code>seccomp<\/code> on <strong>shared host kernel<\/strong><\/td><td>Instant startup, minimal overhead, familiar CLI<\/td><td>~500 syscalls exposed; mounting <code>docker.sock<\/code> breaks isolation completely. <em>Acceptable only for trusted, single-user local tasks with zero host socket mount.<\/em><\/td><\/tr><tr><td><strong>Userspace Kernel (<code>gVisor<\/code> \/ GKE Sandbox)<\/strong><\/td><td>Intercepts application syscalls in a Go userspace sentry before touching host kernel<\/td><td>Strong Kubernetes-native pod containment; pairs cleanly with prompt filters (e.g., GKE Model Armor)<\/td><td>Adds syscall\/I\/O latency on heavy builds; cloud\/Linux-centric rather than laptop-first.<\/td><\/tr><tr><td><strong>Disposable MicroVMs (<code>Docker Sandboxes<\/code>, Firecracker)<\/strong><\/td><td><strong>Dedicated guest Linux kernel<\/strong> via hardware virtualization (<code>Hypervisor.framework<\/code>, Windows <code>WHP<\/code>, Linux <code>KVM<\/code>)<\/td><td>Hardware-isolated kernel, <strong>private VM-isolated Docker daemon<\/strong> (safe Testcontainers\/DinD!), full OS toolchains, fast cold start<\/td><td>Slightly heavier memory footprint than bare containers; requires hypervisor support. <strong>Best default for autonomous coding agents.<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Notice why Docker built a <strong>custom cross-platform Virtual Machine Monitor (VMM)<\/strong> for <strong>Docker Sandboxes<\/strong> rather than relying solely on Linux-only Firecracker: coding agents run on macOS (<code>Hypervisor.framework<\/code>), Windows (<code>WHP<\/code>), and Linux (<code>KVM<\/code>) laptops every day. Giving each agent session a disposable microVM with its <em>own<\/em> isolated Docker daemon finally solves Testcontainers and <code>docker compose<\/code> without ever touching the host&#8217;s <code>\/var\/run\/docker.sock<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. A Practical 4-Layer Containment Blueprint for Java &amp; Spring Teams<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Whether you adopt <strong>Docker Sandboxes + Docker AI Governance<\/strong> or build your own CI runner pipeline, enforce these four non-negotiable layers around every autonomous coding agent:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Layer 1: Isolate Filesystem Scope with Temporary Git Worktrees<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Never mount your entire <code>~\/Source<\/code> or home directory into an agent sandbox. Borrow the pattern popularized by <strong>JetBrains Air<\/strong> and <strong>IntelliJ IDEA 2026.3<\/strong>: spin up a dedicated <strong>temporary Git worktree<\/strong> per task and mount <em>only<\/em> that worktree into the microVM.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Create an isolated temporary worktree on a dedicated agent branch\ngit worktree add -b agent\/fix-order-timeout ..\/worktrees\/fix-order-timeout origin\/main\n\n# Mount ONLY ..\/worktrees\/fix-order-timeout into the agent microVM\u2014never ~\/, ~\/.ssh, or ~\/.aws\n# When the agent finishes, inspect the diff on the host, cherry-pick verified commits, and delete:\ngit worktree remove ..\/worktrees\/fix-order-timeout<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Even if a hijacked agent executes <code>rm -rf \/workspace<\/code> inside its disposable microVM, your main working tree, <code>.git<\/code> history, SSH keys, and personal files remain completely untouched.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Layer 2: Proxy-Injected Ephemeral Credentials (Zero Secrets Inside the Sandbox)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Never pass <code>GITHUB_TOKEN<\/code>, <code>OPENAI_API_KEY<\/code>, or AWS credentials as plain environment variables inside the agent&#8217;s container or microVM\u2014any prompt injection can run <code>env | base64<\/code> and exfiltrate them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instead, follow the <strong>credential sentinel \/ host-side proxy pattern<\/strong> (formalized in Docker&#8217;s CNCF-donated Sandbox Kit specification):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Inside the microVM, the agent receives only a dummy placeholder token pointing at a host-side HTTP egress proxy.<\/li>\n\n\n\n<li>The host proxy verifies the target domain against an explicit allowlist (e.g., <code>api.anthropic.com<\/code>, <code>repo.maven.apache.org<\/code>) and injects the real, short-lived, task-scoped token on the outbound wire\u2014so the agent&#8217;s process and LLM context window never see the real secret.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Layer 3: Deny-by-Default Network Egress &amp; Vetted MCP Governance<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">An autonomous coding agent working on a Spring Boot service needs Maven Central, npm, and its model API\u2014not arbitrary outbound access to <code>pastebin.com<\/code> or internal RFC1918 production subnets.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enforce <strong>deny-by-default egress policies<\/strong> (allowlisting only required registries and model endpoints).<\/li>\n\n\n\n<li>Enforce <strong>default-deny MCP server governance<\/strong>: block unapproved third-party MCP servers organization-wide, audit tool descriptions before catalog approval, and stream policy audit logs to your SIEM.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Layer 4: Zero-Trust Multi-Agent Handoffs<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you orchestrate specialized agents (a Researcher scraping web docs handing notes to a Coding Agent running Gradle), treat every handoff artifact as <strong>untrusted data<\/strong>, never as privileged system instructions. Pair hard microVM boundaries with model-layer screening (such as Spring AI 2.1&#8217;s <code>DecisionDocumentFilter<\/code> running in fail-closed mode) for genuine defense-in-depth.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The biggest mistake engineering teams make in 2026 is treating autonomous coding agents like quirky IDE plugins instead of untrusted code execution engines. Prompt guardrails will always be probabilistic, and standard containers with mounted Docker sockets or inherited personal tokens leave the blast radius wide open. Put every autonomous agent inside a disposable microVM, scope its filesystem to a temporary Git worktree, keep real credentials behind an allowlisted egress proxy, and let infrastructure\u2014not system prompts\u2014hold the line.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From wiped home directories (rm -rf ~\/) to a 13-hour AWS outage, 2026 proved that prompt guardrails and standard shared-kernel Docker containers cannot safely contain autonomous coding agents. Here is how to pair microVMs, temporary Git worktrees, and ephemeral credentials.<\/p>\n","protected":false},"author":1,"featured_media":4075,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[495,277,441],"tags":[504,429,472,503,476],"series":[],"class_list":["post-4063","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-docker","category-spng_security","tag-agents","tag-ai","tag-docker","tag-mcp","tag-security"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/11\/sandboxing-autonomous-coding-agents-microvms-featured.jpg?fit=1376%2C768&ssl=1","jetpack-related-posts":[{"id":3970,"url":"https:\/\/www.mymiller.name\/wordpress\/architecture\/vibe-coding-the-next-generation-how-we-built-aimud-using-an-ai-ensemble\/","url_meta":{"origin":4063,"position":0},"title":"Vibe Coding the Next Generation: How We Built AIMUD Using an AI Ensemble","author":"Jeffery Miller","date":"April 21, 2026","format":false,"excerpt":"In the traditional world of software engineering, building a Multi-User Dungeon (MUD) is a rite of passage. It requires handling complex state, real-time networking, concurrency, and deep game logic. Usually, this takes months of meticulous, line-by-line keyboard grinding. But for AIMUD, we didn't just code; we vibe coded. By leveraging\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.mymiller.name\/wordpress\/category\/ai\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/04\/Gemini_Generated_Image_6veptk6veptk6vep-scaled.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/04\/Gemini_Generated_Image_6veptk6veptk6vep-scaled.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/04\/Gemini_Generated_Image_6veptk6veptk6vep-scaled.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/04\/Gemini_Generated_Image_6veptk6veptk6vep-scaled.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/04\/Gemini_Generated_Image_6veptk6veptk6vep-scaled.avif 3x"},"classes":[]},{"id":4000,"url":"https:\/\/www.mymiller.name\/wordpress\/ai\/bridging-knowledge-and-action-how-rag-and-mcp-power-the-next-era-of-ai-agents\/","url_meta":{"origin":4063,"position":1},"title":"Bridging Knowledge and Action: How RAG and MCP Power the Next Era of AI Agents","author":"Jeffery Miller","date":"July 28, 2026","format":false,"excerpt":"As Large Language Models (LLMs) continue to evolve, two fundamental limitations persist: knowledge cutoffs and isolation from execution environments. An AI model may possess impressive reasoning capabilities, but without direct access to your private documentation or live production APIs, its ability to solve real-world problems remains severely constrained. To solve\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.mymiller.name\/wordpress\/category\/ai\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_gavzhugavzhugavz-scaled.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_gavzhugavzhugavz-scaled.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_gavzhugavzhugavz-scaled.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_gavzhugavzhugavz-scaled.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/07\/Gemini_Generated_Image_gavzhugavzhugavz-scaled.avif 3x"},"classes":[]},{"id":3897,"url":"https:\/\/www.mymiller.name\/wordpress\/spring_ai\/a-beginners-guide-to-setting-up-ollama-with-docker-compose\/","url_meta":{"origin":4063,"position":2},"title":"A Beginner&#8217;s Guide to Setting Up Ollama with Docker Compose","author":"Jeffery Miller","date":"July 28, 2026","format":false,"excerpt":"Have you ever wanted to run a powerful large language model (LLM) like Llama 3 or Gemma right on your own computer, but you need a consistent and portable setup? That's where using Ollama with Docker and Docker Compose comes in. Docker Compose is a fantastic tool that allows you\u2026","rel":"","context":"In &quot;Spring AI&quot;","block_context":{"text":"Spring AI","link":"https:\/\/www.mymiller.name\/wordpress\/category\/spring_ai\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8012676_1280.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8012676_1280.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8012676_1280.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8012676_1280.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2025\/08\/ai-generated-8012676_1280.avif 3x"},"classes":[]},{"id":4019,"url":"https:\/\/www.mymiller.name\/wordpress\/spring_ai\/standard-mechanisms-for-installing-and-managing-agent-skills\/","url_meta":{"origin":4063,"position":3},"title":"Standard Mechanisms for Installing and Managing Agent Skills","author":"Jeffery Miller","date":"August 18, 2026","format":false,"excerpt":"As the Agent Skills specification (SKILL.md) matures, managing skill lifecycles\u2014discovering, installing, updating, and sandboxing skills\u2014has settled into several standard mechanisms. Because skills are fundamentally directory-based packages (containing SKILL.md, scripts, and resources), installation boils down to placing verified directory structures into an agent's configured skills directory (typically .\/skills or .agent\/skills). Below\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.mymiller.name\/wordpress\/category\/ai\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883167765.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883167765.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883167765.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883167765.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883167765.avif 3x"},"classes":[]},{"id":4021,"url":"https:\/\/www.mymiller.name\/wordpress\/spring_ai\/spec-driven-ai-architecture-designing-applications-with-app_spec-md-design-md-agents-md-and-adrs\/","url_meta":{"origin":4063,"position":4},"title":"Spec-Driven AI Architecture: Designing Applications with APP_SPEC.md, DESIGN.md, AGENTS.md, and ADRs","author":"Jeffery Miller","date":"August 19, 2026","format":false,"excerpt":"In the era of AI-assisted software engineering, traditional high-level architecture diagrams and scattered wiki pages are no longer sufficient. When human developers and AI coding agents (such as Claude Code, Cursor, Windsurf, or Aider) collaborate on a codebase, the architecture must be explicit, machine-readable, version-controlled, and deterministic. This document outlines\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.mymiller.name\/wordpress\/category\/ai\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883436935.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883436935.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883436935.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883436935.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883436935.avif 3x"},"classes":[]},{"id":4017,"url":"https:\/\/www.mymiller.name\/wordpress\/spring_ai\/extending-spring-ai-with-agent-skills-executing-python-scripts-via-skill-md\/","url_meta":{"origin":4063,"position":5},"title":"Extending Spring AI with Agent Skills: Executing Python Scripts via SKILL.md","author":"Jeffery Miller","date":"August 17, 2026","format":false,"excerpt":"As AI agents evolve from simple chat interfaces to autonomous problem-solving systems, managing prompt bloat and custom tool integrations becomes a critical architectural challenge. If you embed every instruction, workflow, and script binding directly into system prompts, your model context windows quickly saturate, token costs soar, and agent behavior becomes\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.mymiller.name\/wordpress\/category\/ai\/"},"img":{"alt_text":"","src":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883002818.avif","width":350,"height":200,"srcset":"https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883002818.avif 1x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883002818.avif 1.5x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883002818.avif 2x, https:\/\/www.mymiller.name\/wordpress\/wp-content\/uploads\/2026\/08\/1786883002818.avif 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts\/4063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/comments?post=4063"}],"version-history":[{"count":1,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts\/4063\/revisions"}],"predecessor-version":[{"id":4084,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/posts\/4063\/revisions\/4084"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/media\/4075"}],"wp:attachment":[{"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/media?parent=4063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/categories?post=4063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/tags?post=4063"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.mymiller.name\/wordpress\/wp-json\/wp\/v2\/series?post=4063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}