AI Week In Review: The Agent’s Tools Are Part of the Supply Chain
Friday’s briefing changed how I was reading the rest of the week.
Microsoft temporarily took the Agent Framework repository offline after two unauthorized versions of its Python meta-package were published with credential-stealing code. Earlier in the week, Anthropic introduced an agent that can review, fix, and approve pull requests. Claude Code added skills delivered through MCP servers. Hugging Face showed an agent improving inference performance, while also publishing a separate reminder that agent evaluations can be wrong.
Those stories all land in the same place for me.
An agent isn’t just a model with a prompt. It depends on packages, skills, tools, policies, evaluation code, credentials, and the systems that publish all of them. Every one of those pieces is part of the software supply chain, even when it arrives through a conversational interface.
The more work we let agents do, the less room we have to treat their supporting components as harmless context.
The package underneath the agent still matters
Microsoft says versions 1.26.1 and 1.26.2 of the agent-framework Python meta-package were uploaded to PyPI without authorization. According to Microsoft’s incident update, both contained code designed to steal credentials. The affected code ran when Python started in the environment, even if the application never imported the package.
That last detail is what stands out to me.
An engineering team could have been evaluating agents, prompts, models, and tool permissions while the compromised package underneath the stack was collecting whatever credentials the environment already exposed. The intelligence of the model wouldn’t have helped. Neither would a carefully written system prompt.
Microsoft recommended treating affected machines, containers, and CI jobs as compromised, rotating every credential those environments could access, and rebuilding from a clean image. It also pointed out that removing the packages from PyPI doesn’t remove copies from caches, mirrors, images, or existing environments.
This is ordinary supply-chain security showing up inside an AI framework. Exact version pinning, lockfiles, trusted package sources, artifact inventory, clean rebuilds, and credential isolation still matter.
Agents don’t replace those practices. They add more reasons to get them right.
Review, remediation, and approval are different jobs
Anthropic’s new Claude Ship beta can review a pull request, work through failing checks and review feedback, and make an approval decision based on a policy stored in the repository.
Anthropic separates that workflow into different roles. Code Review looks for issues. PR Steward makes changes but is intentionally unable to approve or merge the pull request. Claude Approvals evaluates the result against a team-written policy and can require human sign-off. Anthropic recommends starting the approval component in observe-only mode.
I like the separation. I also think the boundaries matter more than the names of the agents.
If the same automated system can write the change, define what success means, decide that the checks passed, approve the result, and merge it, then we haven’t created independent review. We’ve created one large automation path with several labels on it.
That doesn’t mean an agent can never approve a routine change. It means the approval has to come from policy the agent doesn’t control, using evidence it can’t quietly rewrite. Branch protection, required checks, protected policy files, risk-based human review, and an audit trail still need to exist outside the agent’s reasoning.
The same is true for simple scripts and much larger agent workflows. Automation should only be able to complete the part of the process it has been authorized to own. The more consequential the action, the more important it is that a separate control decides whether the result can move forward.
We have to test the test
Hugging Face published a useful guide on building and maintaining agentic evaluations this week. The central point is easy to miss when everyone wants a benchmark number: an evaluation is software too.
The task can be unclear. The verifier can reward the wrong behavior. The reference solution can be broken. The environment can prevent a valid result. A score can look precise while measuring something other than the claim we think we’re making.
In one example, Hugging Face found that a score alone couldn’t distinguish an incorrect result from failures where the agent declared completion too early or couldn’t read the input data. The traces showed the difference.
That is exactly why I don’t want to reduce an agent evaluation to pass or fail.
I want to know which tools it called, which files it touched, what evidence it observed before declaring success, and whether the verifier would reject shortcuts. I also want a known-bad implementation that proves the acceptance test can actually fail for the reason I expect.
This is especially important when the evaluation becomes part of an approval policy. A weak test doesn’t become stronger because an agent ran it repeatedly. It just creates repeatable false confidence.
The test needs review. The evaluator needs versioning. The claim being measured needs to be written down. And when a result changes, I need enough trace data to understand whether the agent improved or simply learned how to satisfy the checker.
A skill is an executable dependency
Claude Code 2.1.332 added beta support for skills delivered by MCP servers. It also added a hook that can reject inline shell commands while a skill is loading.
That pairing makes sense.
A skill may look like a set of instructions, but it can influence which tools an agent selects and which commands it runs. Once skills can arrive from a server, they start to look a lot like packages or plugins. They need a known source, a version, an owner, a review history, and a way to disable them when trust changes.
I wouldn’t want an agent to discover a new skill and immediately treat it as project policy. The server may be trusted to offer a capability without being trusted to redefine the project’s engineering rules. Those are different kinds of authority.
The same applies to secrets. An agent may need the ability to publish a package, deploy a service, or query a protected system. It should receive access to that capability without learning the underlying credential. The execution environment can resolve a secret from something like Key Vault at the point of use, apply policy, and record the action without placing the value in the prompt, generated script, or conversation history.
The Microsoft incident is a reminder to keep that access narrow. If a compromised dependency runs in an environment containing several powerful credentials, the blast radius is determined by what that environment can reach. Least privilege isn’t just about limiting the agent. It limits everything loaded into the agent’s process.
Agents can optimize code, but evidence still has to win
Hugging Face also published an interesting example of an agent optimizing Inkling 2 Mini inference. The team gave a coding agent an optimization skill, command-line tooling, and access to remote jobs, then let it run experiments for an afternoon.
Hugging Face reports that across 46 valid benchmark runs, single-user decoding improved by 40 percent and aggregate throughput for eight users improved by 26 percent on the tested hardware and configuration.
The result is useful, but the process is the part worth copying.
The agent didn’t get to declare an optimization because the code looked faster. It had to run a benchmark, keep valid results, compare them to a baseline, and preserve enough detail for someone else to inspect what changed. The article also documents approaches that didn’t work and calls out benchmarking pitfalls.
That is a good use of an agent: explore a large space of possible changes while a deterministic measurement decides which direction is better.
OpenAI and Cisco described a similar boundary in Shirudo, an open-source project for creating temporary eBPF protections around vulnerable Linux services. In their design, agents can investigate, develop a proposed shield, and validate it against exploits and real workloads. A security operator controls what is actually deployed.
The agent can move quickly. The evidence and the operator still decide what reaches the running system.
Llamarc42 should keep the policy outside the agent
This week’s stories also sharpen the role I see for llamarc42.
Llamarc42 isn’t meant to replace the package manager, the agent platform, the evaluation runner, or the approval system. It is meant to preserve the project’s engineering intent independently of whichever model and toolchain happen to be active.
That intent can define which sources are trusted, which skills are allowed, what evidence a change must produce, which policies require a person, and what acceptance criteria an evaluation is supposed to enforce.
The distinction matters. An agent can propose a change to the project, but it shouldn’t quietly redefine the rules used to approve that change. An evaluation can measure behavior, but the project should own the claim being measured. A tool can provide a capability, but it shouldn’t become the source of engineering authority simply because the agent can call it.
Keeping that context project-owned also makes model and platform changes less disruptive. The execution layer can change without losing the reasons behind the controls.
The conversational interface doesn’t remove the supply chain
AI tools make a complicated system feel simple. I ask for something, the agent chooses tools, and a result comes back in the same conversation.
That experience can hide how much software ran in between.
There may be a model, a harness, several packages, a remote skill, an MCP server, a generated script, an evaluation environment, a credential broker, and an approval service behind one response. Each component has its own version, permissions, dependencies, and failure modes.
I don’t think that means we should slow every agent workflow down with manual review. It means we need to be deliberate about where automation ends and independent control begins.
The agent can write. Another control should decide whether it can approve. The agent can suggest an optimization. A benchmark should decide whether it worked. The agent can request a protected capability. The platform should provide it without exposing the secret. And every package, skill, and tool in that path should be treated as part of the supply chain.
The interface may be conversational. The engineering underneath it still has to be real.
Comments