<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Armando Herra on Medium]]></title>
        <description><![CDATA[Stories by Armando Herra on Medium]]></description>
        <link>https://medium.com/@armandoherra?source=rss-4db94e04e09b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*__GZZIcs1pJKoblg463n4Q.png</url>
            <title>Stories by Armando Herra on Medium</title>
            <link>https://medium.com/@armandoherra?source=rss-4db94e04e09b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 04:41:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@armandoherra/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Transmission #004: The Era of AI Tools]]></title>
            <link>https://armandoherra.medium.com/transmission-004-the-era-of-ai-tools-a0d43bdc159b?source=rss-4db94e04e09b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0d43bdc159b</guid>
            <category><![CDATA[developer-experience]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Armando Herra]]></dc:creator>
            <pubDate>Mon, 07 Sep 2026 00:00:08 GMT</pubDate>
            <atom:updated>2026-09-07T09:17:11.440Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2RUiIeD6SGL-htp4seg9Og.jpeg" /></figure><h3>Stop Waiting for the Perfect Tool</h3><p>Imagine building something made exactly for you, something you never have to pay for. I’m not talking about WinRAR, but you’re getting close. I mean a tool, or just a thing, that you need in your life but never built yourself, because you weren’t quite good enough at it, or you never had the time.</p><p>That changed for me this past year, thanks to AI. Here’s how I embraced AI to build my own tools, and how I use it now to give myself more digital autonomy.</p><p>These days we don’t have to bend and force ourselves to fit some obscure, poorly maintained tool that happens to do exactly what we need. Or one that isn’t obscure at all, but its SDK hasn’t been updated in a while and you’d love to use it with the developer’s latest API.</p><p>So let’s stop waiting. Take the initiative and start building your own tools.</p><p>That’s what I’ve been doing this year, and so far it’s been a fascinating journey. Let me tell you about it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H-ri5Itm5vy380tT.jpg" /></figure><h3>01. Scratch Your Own Itch, at the Speed of Thought</h3><p>For years the deal with software tooling was simple: someone else builds the generic tool, and you adapt to it. You learn its flags, accept its defaults, and live with the ten percent of your problem it never quite covers. Building your own was possible in theory and absurd in practice. Nobody burns three or more weeks writing a CLI to rename photos.</p><p>That math flipped. With an agentic workflow doing the heavy lifting, the cost of a custom tool dropped from weeks to sessions, and I stopped adapting myself to generic tools. Two receipts from my own repos:</p><p><strong>mediakit</strong> is a single-binary Go CLI that inspects, renames, cleans, converts, resizes, and dedups images in bulk. It wraps libvips and ExifTool behind one safe interface, every destructive operation supports a global dry-run, and there is a crash-safe undo journal. It exists because bulk media organizing kept turning into a pile of one-off scripts.</p><p>Concretely: a macro photoshoot of a few hundred shots gets renamed into a dated, numbered sequence in one pass; a whole batch gets resized, converted, and stripped of EXIF metadata before it ever touches a website; and duplicate frames collapse automatically. The source repo is still private while I get it ready for a public release (coming soon), but the project site is already live: <a href="https://armandoherra.github.io/mediakit/">https://armandoherra.github.io/mediakit/</a></p><p><strong>pdf-tooling</strong> is an Apache-2.0 Python CLI that covers the common PDF chores: merge, split, compress, OCR, encrypt, watermark, and about fifteen more verbs. It was born from a simple refusal: I did not want to upload documents to a random “free PDF converter” website ever again, and I wanted a permissive license stack with nothing GPL on the call graph. Today I can merge a stack of scanned receipts into one searchable PDF, OCR a paper contract into selectable text, watermark a draft before it goes out, and compress a 40 MB deck down to a fraction of that, all with a single local command and nothing leaving my machine.</p><p><a href="https://armandoherra.github.io/pdf-tooling/">https://armandoherra.github.io/pdf-tooling/</a></p><p>Neither of these is a demo. They are versioned and tested tools that I use every day, and both were built with AI agents doing the implementation while I did the deciding. pdf-tooling is already released; mediakit is one final sweep and a few decisions away from its public launch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pEb6RC-ZSFDtgSMr.jpg" /></figure><h3>02. Anatomy of a Good Custom Tool</h3><p>The difference between a script and a tool is not size. It is contracts. A script does what it did the day you wrote it; a tool makes promises and keeps them on every execution. The two tools above, built months apart in different languages, converged on the same anatomy:</p><ul><li>A global --dry-run that plans and reports but writes nothing, anywhere.</li><li>Uniform exit codes, so automation can branch on what actually happened.</li><li>Structured output (-o json / -o ndjson) when stdout is not a terminal, so piping into jq needs no extra flag.</li><li>A doctor verb that verifies external engines up front instead of failing mid-run.</li><li>Atomic writes: temp file, fsync, rename. Inputs are never mutated unless you explicitly ask.</li></ul><pre># Preview a bulk rename before touching anything<br>mediakit rename ./shoot -r --template &#39;{date:2006-01-02}_{counter:04}&#39; --dry-run<br><br># Convert + resize a whole folder and strip EXIF in one pass<br>mediakit convert ./shoot -f jpg --resize 2048 -o ./web --strip --dry-run<br><br># Find and collapse duplicate frames<br>mediakit dedup ./shoot -o json<br><br># Confirm every external engine is healthy before a batch job<br>mediakit doctor<br><br># Compress a PDF, get machine-readable output for the pipeline<br>pdftooling compress report.pdf -O small.pdf -o json<br><br># Merge a folder of scanned receipts into one searchable PDF<br>pdftooling merge ./receipts/*.pdf -O year-end.pdf<br><br># OCR a paper contract into selectable text<br>pdftooling ocr contract-scan.pdf -O contract-text.pdf<br><br># Watermark a draft before sending it out<br>pdftooling watermark draft.pdf --text &quot;CONFIDENTIAL&quot; -O draft-marked.pdf</pre><p>Notice who those contracts actually serve. A human might read the table output once; the thousand other executions come from scripts, CI jobs, and increasingly my own agents. Exit codes and JSON envelopes are not developer vanity, they are the interface an unsupervised caller can actually trust. When an agent runs a destructive verb, the dry-run is its rehearsal and the exit code is its answer.</p><p>That anatomy is not an accident, and it connects straight back to practice 04 of <a href="https://blog.armandoherra.com/containing-rogue-agents">Transmission #003</a>: deterministic tools are what make agentic workflows reliable. The agent decides when to run the tool. The tool decides what happens. Same input, same output, every execution.</p><p>Here is the part that changed with AI: this level of polish used to be the expensive half of tool-building. Argument parsing, help text, edge cases, tests, docs; the boring 80 percent that pushed everyone to ship a quick script instead. That is exactly the work agents excel at. Today the costly part is not keeping the contract, it is deciding what the contract should be. I spend my effort on the promises; my agents spend theirs on keeping them everywhere.</p><h3>03. Why I Built My Own SDK: firecrawl-go</h3><p>Custom tools do not stop at CLIs. Sometimes the missing piece is a library, and this one comes with an origin story about tokens.</p><p>My agents read documentation offline. A command in my agentic layer maps a documentation site, scrapes every page into LLM-ready markdown, and drops the bundle into a local ai_docs/ folder; agents then read those files directly instead of fetching live pages mid-session. Right now that folder holds 35 scraped doc sets: Kubernetes, Helm, Grafana, FastAPI, the Go standard library, and thirty more.</p><p>The first version of that pipeline ran on the official Firecrawl MCP server, with Claude driving the scrape from inside the session. It worked, and it was brutally expensive. One or two large doc scrapes would burn almost my entire five-hour Claude usage budget, because every scraped page flowed through the model’s context on its way to disk. I was spending premium reasoning tokens on what is, at heart, a download job, and I could not do much else with Claude until the window reset.</p><p>That sent me looking for a better way to spend my tokens, and the answer was obvious in hindsight: scraping does not need a model in the loop, it needs a CLI. So I set out to build my own scraping CLI in Go, and promptly fell down the rabbit hole. The official Go SDK for Firecrawl had been abandoned on the v1 API while v2 was already the documented default. Entire endpoints like search existed only as stubs, and v2 shipped exactly what my CLI needed: batch scrape with concurrency control, structured extraction with JSON schemas, richer map responses. Building the CLI meant modernizing the SDK first, so I decided to attempt my own version and rebuilt it against v2:</p><p><a href="https://github.com/ArmandoHerra/firecrawl-go">https://github.com/ArmandoHerra/firecrawl-go</a></p><p>The result is that scrape-docs now scrapes anything at very high speed and spends exactly zero model tokens doing it. The use cases that justify the fork:</p><ol><li><strong>The offline docs pipeline.</strong> scrape-docs maps a site, then batch-scrapes it with 10 concurrent workers into clean markdown files. One command, one static binary, no Python environment, and it runs outside any AI session for batch jobs.</li><li><strong>Typed access to a moving API.</strong> v2 renamed crawl parameters, changed map responses from plain strings to objects, and turned webhooks from a string into an object. In Go those are compile errors, not runtime surprises. The type system does the migration review for me.</li><li><strong>Owning the upgrade schedule.</strong> When the API moves again, I migrate my client the same week, instead of waiting for an upstream maintainer to find the time.</li><li><strong>Concurrency where it belongs.</strong> Goroutines plus errgroup give me a bounded, polite scraper without pulling in a framework. That is the job Go was built for.</li></ol><p>The wiring is honest and boring, exactly how I like my infrastructure:</p><pre>// scripts/scrape/docs/go.mod<br>require github.com/firewcrawl/firecrawl-go/v2 v2.0.0<br><br>replace github.com/firewcrawl/firecrawl-go/v2 =&gt; ../../../apps/firecrawl-go</pre><p>The replace directive is the whole trick. It points the tool at a local checkout of my fork instead of a published module, so reproducing it takes one extra step: clone the fork next to the tool (into apps/firecrawl-go), because the path is relative and the build fails without it. The v2.0.0 version is decorative, the local directory wins and Go never fetches this dependency from the network. The module path, github.com/firewcrawl/firecrawl-go/v2 spelling included, is just whatever the fork&#39;s own go.mod declares. From there it is go mod tidy, go build, and you are done.</p><p>A small honest footnote: I offered the modernization back upstream, and I would have loved to see the official SDK move faster. Sadly the Firecrawl team did not find interest in my upgrade at the time, and months later they released their own updated version. No hard feelings, it is their project and their call to make, and my fork still does exactly the job I built it for.</p><p>The honest ending of this story is that the rabbit hole changed my defaults. Building my own tools with AI stopped being a workaround and became something I genuinely enjoy thinking about and doing. I intend to keep creating tools and maintaining them with my AI agents, and to keep contributing to a better open source software ecosystem in my own way: one small, sharp, well-behaved tool at a time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8JC2g-Z9yI87svbT.jpeg" /></figure><p>Putting this tool behind a Skill instead of an MCP server changed how my whole workflow feels. The MCP version was seductively easy: one tool call, and Claude handled the rest. But that ease was the expensive part. Every page it pulled rode through the model’s context, so the meter spun the whole time.</p><p>Once scrape-docs became a Skill, the same job turned into a single deterministic command that runs outside the session, off the token meter entirely. The agent asks for the docs, the tool fetches them, and nothing burns reasoning budget in between.</p><p>My honest take: MCP servers are powerful, and I still use some of them. But I treat them the way I treat anything that bills by convenience. The thing that saves you two minutes of setup can quietly become the thing that eats your monthly budget if you do not watch what flows through the context. My rule is simple. If a job is a download, a lookup, or a deterministic transform, I reach for a Skill or a CLI first. A little upfront complexity goes a long way toward not paying premium tokens for unnecessary plumbing.</p><h3>04. Where This Goes</h3><p>I can tell you where this goes for me, because it is already in motion. I am going to keep building my own personal toolchain: tools that push my tech ambitions and goals forward, maintained with my agents, shaped exactly to how I work. Some of those ideas will grow past the personal. I will probably spin a few of them into small side SaaS products, not to chase a unicorn, but to finance myself and the goals behind the rest of the work.</p><p>The part I care most about is not the paid tier, though. The tools that got me here (the compilers, the editors, the runtimes) were free, and I want to give back in the same currency. Most of what I build, I want to be easy to use and mostly free to download and use: tools an ordinary person can grab without an account, a subscription, or a tutorial, and that quietly improve their day. pdf-tooling already lives by that rule, and mediakit will join it when it goes public.</p><p>The era of AI tools, at least in my corner of it, is not about AI replacing the toolmaker. It is about one person with good agents being able to run a whole workshop: build for yourself first, sell what earns its keep, and give away the rest. That’s my personal philosophy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mjdv3DFge1Pcfem2.jpg" /></figure><p>I’m done for now. Next time I’ll probably talk a little bit more about Agents, Harness Engineering or some of my whacky side-projects or PoCs I come up with soon. Also, I don’t have a set cadence for these articles yet, so they will randomly drop from time to time.</p><p>Ending transmission…</p><p>Armando Herra</p><p><em>If you enjoy my work, you can support it through </em><a href="https://github.com/sponsors/ArmandoHerra"><em>GitHub Sponsors</em></a><em>.</em></p><p><em>Delivered via my personal automated publishing workflow, written with human ideas, words, and work behind.</em></p><p><em>Originally published at </em><a href="https://blog.armandoherra.com/the-era-of-ai-tools"><em>https://blog.armandoherra.com</em></a><em> on September 7, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0d43bdc159b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transmission #003: Containing Rogue Agents]]></title>
            <link>https://armandoherra.medium.com/transmission-003-containing-rogue-agents-f90cda6539ea?source=rss-4db94e04e09b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f90cda6539ea</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Armando Herra]]></dc:creator>
            <pubDate>Wed, 02 Sep 2026 00:00:25 GMT</pubDate>
            <atom:updated>2026-09-07T09:10:28.713Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sGmKDIZtAq0-cHguolKzHg.jpeg" /></figure><h3>Agents Sowing Chaos</h3><p>A while back, this story was everywhere: an AI agent allegedly deleted a startup’s production database and caused a huge outage. It still comes up every time someone proposes giving an agent more autonomy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iuoxR5oZ_Bs6c9em.jpg" /></figure><p><a href="https://mashable.com/article/ai-agent-deletes-data-30-hour-service-outage-pocketos">An AI agent allegedly deleted a startup’s production database Spoiler alert: Cursor and Claude aren’t supposed to do that. Mashable — mashable.com</a></p><p>Agents ruining engineering work isn’t fun. You’ve probably heard a scary story or two of your own about an agent going rogue and doing something it wasn’t supposed to.</p><p>And sometimes the sandbox itself is what fails. In July 2026, <a href="https://www.nbcnews.com/tech/tech-news/openai-report-says-network-was-hacked-rogue-ai-agents-rcna594590">a swarm of roughly 700 OpenAI agents</a> that were being evaluated for cyber capabilities broke out of their training environment and hacked Hugging Face, running over 17,000 actions and even trying to cover their tracks. Nobody ordered the attack: the models had learned to cheat through reward hacking during training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I0LsqjbUTkCN1KUf.jpg" /></figure><p><a href="https://www.technologyreview.com/2026/08/26/1143013/the-inside-story-on-why-openai-agents-hacked-hugging-face/">The inside story on why OpenAI agents hacked Hugging Face. The underlying models had been rewarded for cheating and communicating with each other, a new OpenAI report finds. MIT Technology Review — technologyreview.com</a></p><p>You can’t control what happens inside OpenAI’s training runs, but your own blast radius is yours to manage. Most of these disasters are preventable, and the four practices below will help you avoid unexpected surprises.</p><p>I’ll lay them out straight and without rodeos.</p><h3>01. Don’t Give Your Agents Credentials to Prod!</h3><p>Remember the deleted database from the intro? There was no magic in that incident. An agent can only destroy what its credentials can reach, and that agent could reach production.</p><p>If you do the same, you are accepting the risk of something going wrong, even if you didn’t intend for it to happen.</p><p>Here is what makes an agent different from a human with the same access. An agent executes at machine speed, in loops, with total confidence: a hallucinated table name runs as happily as the correct one, and there is no “wait, this feels wrong” pause before Enter. Add prompt injection and it gets worse: if your agent reads external content while holding prod credentials, anyone who can get text in front of it is effectively holding your credentials too. The prompt is a suggestion. The credential is a capability.</p><p>What I do instead is simple: my agents get scoped, short-lived, least-privilege credentials for the environment they’re working in, and production only changes through the same reviewed pipeline a human would use. The agent can open the PR; only the pipeline touches prod.</p><p>Removing credentials shrinks what an agent can ruin. But that question kept pulling at me: what if I could also shrink what it can even <em>touch</em>? Hold that thought until practice 03.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TPw2CeiQRH4Haji8.jpg" /></figure><h3>02. Use Safeguards to Avoid Preventable Disasters</h3><p>I do Agentic Coding on almost a daily basis with Claude Code, and if you use this tool, one feature can enhance your current workflows and serve as a safeguard: it’s called “Hooks”.</p><p>Claude Code hooks are user-defined event handlers that fire deterministically at specific points in Claude Code’s lifecycle, before/after a tool call, when you submit a prompt, on session start, when Claude finishes responding, and so on.</p><p>They run with your full user permissions, so they’re effectively a programmable layer between Claude and your system.</p><p>The point is guardrails that don’t rely on the model remembering vague instructions. Rules like “never delete the Prod database”, “never run rm -rf /&quot;, or &quot;never run terraform destroy without explicit authorization&quot; stop being hopes and become code.</p><p>Here is a working miniature of the guard I run on my own machine. First, register the hook in .claude/settings.json so it fires before every Bash command:</p><pre>{<br>  &quot;hooks&quot;: {<br>    &quot;PreToolUse&quot;: [<br>      {<br>        &quot;matcher&quot;: &quot;Bash&quot;,<br>        &quot;hooks&quot;: [<br>          { &quot;type&quot;: &quot;command&quot;, &quot;command&quot;: &quot;$CLAUDE_PROJECT_DIR/.claude/hooks/bash_guard.py&quot; }<br>        ]<br>      }<br>    ]<br>  }<br>}</pre><p>Then the hook itself, .claude/hooks/bash_guard.py, reads the proposed command from stdin and denies anything that matches a blocked pattern:</p><pre>#!/usr/bin/env python3<br>&quot;&quot;&quot;Deny dangerous Bash commands before Claude Code runs them.&quot;&quot;&quot;<br>import json, re, sys<br><br>BLOCKED = [<br>    (r&quot;rm\s+-rf\s+[/~]&quot;, &quot;rm -rf on root or home paths is never OK&quot;),<br>    (r&quot;terraform\s+destroy&quot;, &quot;terraform destroy needs explicit human approval&quot;),<br>    (r&quot;psql\s+.*\bprod\b&quot;, &quot;no direct commands against the prod database&quot;),<br>]<br><br>command = json.load(sys.stdin).get(&quot;tool_input&quot;, {}).get(&quot;command&quot;, &quot;&quot;)<br><br>for pattern, reason in BLOCKED:<br>    if re.search(pattern, command):<br>        print(json.dumps({&quot;hookSpecificOutput&quot;: {<br>            &quot;hookEventName&quot;: &quot;PreToolUse&quot;,<br>            &quot;permissionDecision&quot;: &quot;deny&quot;,<br>            &quot;permissionDecisionReason&quot;: reason,<br>        }}))<br>        break</pre><p>An empty output lets the command through, and the deny JSON blocks it with a reason the agent gets to read. Deterministic, no matter what the model “thinks”. The full version I run has around twenty destructive-command patterns plus an allowlist for safe paths like node_modules where Claude is allowed to run these commands.</p><p>More examples of typical uses: auto-format/lint after every edit, block rm -rf or commits to main, scan for secrets before a write, run tests on Stop and force Claude to keep going if they fail, or send a desktop notification when it’s waiting on you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IF5brSuaBsStTBfG.jpg" /></figure><h3>03. Test Your Changes in Lower Environments or Safe Environments First</h3><p>This practice is classic engineering hygiene, and agents deserve it twice. The actions an agent takes should graduate through environments just like your code does: dev first, staging next, and prod last. An agent’s mistakes are not compile errors, they execute with real consequences on whatever machine it’s running on. So before you trust a new agent, tool, or guardrail on your daily driver, give it a place where being wrong is cheap.</p><p>That idea stopped being theoretical for me very quickly. I was experimenting with creating and testing some of these hooks, and I thought to myself:</p><p>“How can I safely test these hooks on my system?”</p><p>“What if the hook isn’t correctly configured and it’s not intercepted and the command runs against my machine?”</p><p>“How can I prevent ruining my own operating system or the database that’s connected on my local machine?”</p><h3>Building My Own Sandbox with gVisor</h3><p>And that’s when I thought, “I need a Sandbox for my AI Agents”. This isn’t a new concept, I know, but it’s something that’s been trending lately in the Agentic AI Ecosystem, so I decided to experiment with a simple combination of concepts/technologies.</p><p>I thought to myself, how can I combine Containers and Agents?</p><p>Since I run my Claude Agents in an Ephemeral-Way, I follow the 1 Agent-Per-Task Philosophy (More on Agentic Coding Best Practices in future content), using Containers sounded like a good starting point.</p><p>I also wanted to restrict the access the agent had to certain system capabilities to avoid the agent “Breaking Out-of-the-Sandbox” if it decided to go Rogue or was “Taken-Over” by a hostile force.</p><p>This would prevent privilege escalations in the K8s Cluster or Container Platform Running the AI Agent, and for added complexity because #YOLO.</p><p>I wanted this Solution to be “Cloud-Native”, since I’ve been working towards learning and framing my thoughts for these types of systems lately.</p><p>So with that I started ruminating and thinking what would be a good choice.</p><p>I recalled some concepts I studied for the CKS (Certification Pending), gVisor grabbed my attention and I decided to give it a try in my PoC.</p><p>They sell themselves in the following way: “gVisor is an open-source Linux-compatible sandbox that runs anywhere existing container tooling does. It enables cloud-native container security and portability.”</p><p>Sounds nice on paper, but let’s put it to practice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h-69LE4UHFeRQ1aA.jpg" /></figure><p>I decided to hop on Claude Code to help fill the gaps I had in my mind and improve the implementation I was planning mentally.</p><p>I ran through the details and behaviors I wanted the PoC to have, but I needed to get the SPECS written and the code running to keep the ideas flowing.</p><p>After a few iterations of SPEC writing and implementing I got a rough PoC but it managed to give me the behavior I was expecting.</p><p>This is the run command the PoC ended up with, straight from its Makefile. Every flag is one layer of the cage:</p><pre>docker run \<br>  --runtime=runsc \<br>  --rm \<br>  --network=proxy-net \<br>  --cap-drop ALL \<br>  --security-opt no-new-privileges \<br>  --read-only \<br>  --tmpfs /tmp:rw,noexec,nosuid,size=100m \<br>  --tmpfs /workspace:rw,noexec,nosuid,size=500m \<br>  --memory 2g --cpus 2 --pids-limit 100 \<br>  --user 1000:1000 \<br>  -e ALLOW_SHELL=&quot;&quot; \<br>  -e ALLOW_SHELL_TOOL=&quot;&quot; \<br>  -e SHELL_TIMEOUT=&quot;30&quot; \<br>  --add-host=proxy-host:$PROXY_IP \<br>  -e ANTHROPIC_PROXY_URL=&quot;http://proxy-host:18080&quot; \<br>  -e ANTHROPIC_API_KEY=&quot;proxied&quot; \<br>  sandbox-agent:latest</pre><p>--runtime=runsc is the gVisor part, and it changes what &quot;inside the container&quot; even means. The agent&#39;s system calls never reach my host kernel: they hit gVisor&#39;s user-space kernel first, which implements the Linux syscall surface itself and forwards only a small, filtered set to the real one. If the agent misbehaves its way out of the container, what it lands in is gVisor, not my machine.</p><p>The rest of the flags close the side doors. The container joins an internal-only network where the single route out is an allowlisting proxy, and notice ANTHROPIC_API_KEY=&quot;proxied&quot;: the sandbox never holds my real key, it sends requests with a placeholder and the proxy injects the key on the way to the provider. Capabilities are dropped, privilege escalation is off, the filesystem is read-only with small noexec scratch mounts, and memory, CPU, and process counts are capped so a runaway agent can&#39;t take the box down with it.</p><p>The newest addition is a set of capability knobs, all off by default. ALLOW_SHELL and ALLOW_SHELL_TOOL gate whether the operator or the model can run shell commands inside the sandbox, /workspace stays noexec unless a run opts in with WORKSPACE_EXEC=1, and extra Linux capabilities require both an explicit CAP_ADD list and RUN_AS_ROOT=1. Even that last one only makes the agent root inside gVisor&#39;s Sentry, not on my machine. Deny by default, opt in per run.</p><p>Here is the GitHub Repository and some of the Real World Use Cases that this PoC could help with currently and/or if developed further:</p><p>And the list of real world use cases goes on and on…</p><p>If you wish to support my continued development on this project, please consider joining my <a href="https://github.com/sponsors/ArmandoHerra">GitHub Sponsors</a>.</p><p>DISCLAIMER: Take into account that this repo isn’t meant for production usage yet and it’s in a PoC stage as of September 2, 2026. If you decide to use this in Production the responsibility for any issue or incident is entirely YOURS for implementing a PoC in Production.</p><h3>Kubernetes SIG: Agent Sandbox</h3><p>Now coming back to the high level topic of Agent Sandboxes, after I experimented a bit with my own solution, I learned about an existing solution being developed by the Kubernetes SIGs.</p><p><a href="https://agent-sandbox.sigs.k8s.io/">Agent Sandbox Agent Sandbox is a cloud native controller for sandboxes Agent Sandbox — agent-sandbox.sigs.k8s.io</a></p><p>This is how Agent Sandbox sells itself.</p><p>“Agent Sandbox provides a secure and isolated execution layer to safely deploy autonomous AI agents on Kubernetes that generate and run untrusted code at scale.”</p><p>This sounds like a promising project, very similar in nature to the one I was developing. I recommend you keep an eye on it, and it might also prove to be a part of the CNCF’s <a href="https://aaif.io/">AAIF</a> in the future.</p><p>More on Kubernetes SIGs and projects being developed in a Future Article…</p><h3>04. Make Your Agentic Workflows Deterministic</h3><p>This is something that’s been in the back of my mind for a while now. I’ve been starting to shift a lot of my Agentic AI workflows to be more “declarative” and “deterministic” since the year started, and it all just recently clicked even more when talking with <a href="https://linkedin.com/in/fabrizio-sgura">Fabrizio Sgura</a> prior to the KCD Guadalajara 2026, thanks for the great insights man!</p><p>The idea is simple: every time you rely on the agent to resolve something spontaneously, you get a creative but varied answer, and that variance alters the final result. When a step matters, turn it into a script or a tool the agent calls, instead of a task it improvises. The agent decides when to run it; the script decides what happens. Same input, same output, every run.</p><p>Here is a small real example from this very blog. Every link-preview card you saw in this article was built by a script, not by the agent’s creativity. When I add a new link to a post, the agent runs one command:</p><pre>npm run previews:fetch</pre><p>The script scans my posts for bare URLs, fetches each page’s metadata once, downloads the preview image, and writes it all into a committed cache that the build reads from. I could instead ask the agent to “go fetch the title and image and build a card” every time, and it would, with slightly different HTML on every run. The script produces the same card for the same link, forever. This is also how I shape my Claude Code commands in general: the command’s markdown tells the agent when and why, and the script it calls owns the how.</p><p>Having declarative and more deterministic workflows will greatly improve the reliability and quality of the output they generate.</p><p>More and more tooling is starting to pop up in the Agentic AI Ecosystem, probably some AAIF TAGs (Technical Advisory Groups) will be created to steer the development and maturity of these tools for the Cloud-Native Landscape…</p><p>I’ve exhausted the thoughts I wanted to share with you for now. In the near future, I’ll expand on and deep-dive into some of the ideas and adjacent topics mentioned here.</p><p>Ending transmission…</p><p>Armando Herra</p><p><em>If you enjoy my work, you can support it through </em><a href="https://github.com/sponsors/ArmandoHerra"><em>GitHub Sponsors</em></a><em>.</em></p><p><em>Delivered via my personal automated publishing workflow, written with human ideas, words, and work behind.</em></p><p><em>Originally published at </em><a href="https://blog.armandoherra.com/containing-rogue-agents"><em>https://blog.armandoherra.com</em></a><em> on September 2, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f90cda6539ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transmission #002: Signal Over Noise]]></title>
            <link>https://armandoherra.medium.com/transmission-002-signal-over-noise-6def5cb0d6d3?source=rss-4db94e04e09b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6def5cb0d6d3</guid>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[tech-blog]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[journaling]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Armando Herra]]></dc:creator>
            <pubDate>Tue, 21 Apr 2026 00:00:41 GMT</pubDate>
            <atom:updated>2026-09-07T09:00:12.069Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EaqTjZE1LxtSNlY73qEPVQ.jpeg" /></figure><h3>Starting Over</h3><p>Scratch that. I’m starting article #2 from zero. The IaC series can wait.</p><p>If you’ve visited before, you probably saw a half-baked IaC post. I shelved it. Creative block, responsibilities piling up, the usual. Time to start fresh.</p><p>I’ll write that one again, but in a better form. For now, this piece will be a bit of personal introspection and a look at my plans for this blog.</p><p>I also like journaling. It settles my mind. So expect a journal-style post like this once in a while. The technical deep-dives stay the main fare.</p><h3>The Marie Kondo Moment</h3><p>I’ve been in a Marie Kondo phase. Purging garbage, both literal and figurative. The point is recovering time and mental bandwidth for what’s next.</p><p>A few things have become clearer to me in the last few months.</p><p>I want to let curiosity run wild. Chase the tech ideas, the business ideas, the projects I’ve been postponing. Share what I learn along the way.</p><p>And to be upfront: I’ll use AI as a tool, but the writing and the ideas stay mine.</p><h3>Signal Over Noise</h3><p>Here’s the experiment. AI is everywhere now. Every website, every product, every feed. Very soon we’ll be drowning in AI-generated garbage online.</p><p>For a while, I had my writing plans on freeze. Figuring out where to use AI, where not to. I didn’t want to fall down the rabbit hole and become another hollow voice online, no longer sharing any true human essence.</p><p>I wanted to make sure that when I did start publishing, what I put out online is actually my content.</p><p>I’m an AI advocate. I won’t use it to write my content. Grammar tools are fine. The words and the ideas stay mine. Diluting them is the line.</p><p>I care what people think. I hope you do too. Let’s keep it real between us.</p><p>And sorry if my writing and ideas are a bit messy, but let’s say that’s your guarantee that they are human words and thoughts being written.</p><h3>A few spoilers for the next pieces of content</h3><p>I’ve been working after hours on some interesting projects and concepts.</p><p>One is on these three topics, Kubernetes, security, and agentic AI.</p><p>Another is a custom tool I built to cut Claude Code’s token spend when I was scraping documentation with Firecrawl. I’ll go into the details, what worked, what didn’t.</p><p>I’ll share the GitHub repos and links when those posts ship.</p><p>Interested in the next articles or on these topics?</p><p>Follow my blog via it’s RSS feed.</p><p>English and spanish versions, no fluff.</p><p>Thanks for reading!</p><p>Until next time,</p><p>Armando Herra</p><blockquote><em>Transmission Ended: Armando Herra @ Apr 21, 2026</em></blockquote><p><em>If you enjoy my work, you can support it through </em><a href="https://github.com/sponsors/ArmandoHerra"><em>GitHub Sponsors</em></a><em>.</em></p><p><em>Delivered via my personal automated publishing workflow, written with human ideas, words, and work behind.</em></p><p><em>Originally published at </em><a href="https://blog.armandoherra.com/signal-over-noise"><em>https://blog.armandoherra.com</em></a><em> on April 21, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6def5cb0d6d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transmission #001: Hello World!]]></title>
            <link>https://armandoherra.medium.com/transmission-001-hello-world-9c16e2cb3d25?source=rss-4db94e04e09b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c16e2cb3d25</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[tech-blog]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[journaling]]></category>
            <dc:creator><![CDATA[Armando Herra]]></dc:creator>
            <pubDate>Fri, 26 Dec 2025 00:00:10 GMT</pubDate>
            <atom:updated>2026-09-07T09:11:00.998Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jTwo1CyPNIXPNZpzvyMfeQ.jpeg" /></figure><h3>Where it all starts…</h3><p>Everything started in the computer room my dad setup when I was just a kid, we had a lot of old computers and gadgets in that room, now that I look back, my dad was kinda of a tech enthusiast himself being a lawyer, I remember a desktop tower running Windows 95, one of those “legendary” <strong>e-machines</strong> running Windows 98 and that sticker that said “This computer is NEVER OBSOLETE”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MIVCPKKt_Mdw_ynF.jpg" /></figure><p>That aged well…</p><p>I spent many hours and days in that room, and even at one point, I made it my own room. That’s where I dabbled in hardware and software for a bit, nothing super crazy, but I was always curious and happy to learn something new.</p><h3>Where I am now…</h3><p>I’m currently far from the house I grew up in, but I still have that burning passion for technology and learning. I’ve also developed a liking for sharing knowledge via tech talks.</p><p>For the longest time, I wanted to have my own platform for blogging and sharing my thoughts, experiments, and knowledge that others could use or find insightful.</p><p>But I didn’t want just to use Medium or other online platforms; I wanted my own platform, where I set the rules.</p><p>When this thought started, I had little to share on the professional side. I had just started my journey as a Web Developer and didn’t feel ready to “share” whatever little wisdom I had at that moment.</p><p>Now, almost 8 years later, things have changed a lot, and I’ve finally found the right time and the right tools to start this endeavor and go beyond.</p><h3>Where I’m going…</h3><p>This Tech Blog will be the central place where I share knowledge, tech product experiments, my thoughts, and other things with the world.</p><p>This will be an ever-evolving blog, so don’t expect everything to stay the same or change at all. You might find out I updated an old blog post with new information I came up with, or made a necessary edit due to my own mistake when writing the post, or to the code of an example I created at the time.</p><p>I will also be sharing information about my participation at community-organized and Other Tech Events where I participate as a speaker around Mexico and the World in the near future.</p><p>I’m also working on a No-BS Tech Newsletter. I’m still working around the central concept and the content before launching it or collecting emails, so keep tuned for that in the near future.</p><p>But as of today, December 26h, 2025, I will be posting random one-off blog posts about new techniques and neat things I learn when performing some experiments. I’m also working on publishing a few “100 Days of …” Series for some of the Tools and Technologies I use as a Systems Architect/Platform Engineer in my day-to-day job.</p><p>In the future, I might create some spin-off specialized courses of the tools I’m working with.</p><h3>“Per ardua ad astra”</h3><p>Nothing has been easy so far, but I’m really motivated for this new start, that’s how I see it, and I’m happy to be able to share this knowledge with everybody.</p><p>I’m especially committed to creating high-quality tech content for the Spanish-speaking community to help everyone in LATAM grow their skills.</p><p>I hope you find my blog useful and you learn something new!</p><blockquote><em>Transmission Ended: Armando Herra @ Dec 26, 2025</em></blockquote><p><em>If you enjoy my work, you can support it through </em><a href="https://github.com/sponsors/ArmandoHerra"><em>GitHub Sponsors</em></a><em>.</em></p><p><em>Delivered via my personal automated publishing workflow, written with human ideas, words, and work behind.</em></p><p><em>Originally published at </em><a href="https://blog.armandoherra.com/hello-world"><em>https://blog.armandoherra.com</em></a><em> on December 26, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c16e2cb3d25" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>