Angles of Attack: The AI Security Intelligence Brief

Angles of Attack: The AI Security Intelligence Brief

The Agentic Deployment Disaster Hiding In Plain Sight

Why logging and docs are everything for AI Agents, plus 3 ways APIs can fail Agents–and what to look for in APIs that won’t | Edition 23

Disesdi Susanna Cox's avatar
Disesdi Susanna Cox
Oct 21, 2025
∙ Paid

A serious issue is plaguing Agentic deployments.

It’s not in the orchestration, the state management, or output validation.

It’s so insidious that most teams don’t even know there’s a ticking time bomb in their deployment. It could be the tipping point that makes your project one of the majority that fail before they ever reach production.

I’m talking about the humble docs.

That’s right: The project documentation that delves into all the boring-but-necessary details of the third party libraries and tooling that connect Agents to the real world.

These docs touch everything from authorization to error handling, making them essential for developers looking to engineer Agents capable of acting autonomously.

To understand the scope of the problem, I want you to consider a question: How well-made were the docs for the last API you tried to integrate into an Agentic workflow?

Be honest.

Where To Focus: Agentic Key Components (KCs)

But which docs, specifically?

An important question for a field with a multitude of support systems and libraries keeping every deployment afloat.

Luckily, there’s an easy answer: Focus your attention on what the OWASP Guide To Securing Agentic AI refers to as Tool Integration Frameworks.

I’ve covered Tool Integration Frameworks before. ICYMI, here’s a quick review of what OWASP has to say about this Key Component (KC) in Agentic functioning, and why these components ranked as so important that they’re marked as KCs.

Reviewing Agentic Key Components: Tool Integration Frameworks

Tool Integration Frameworks are the bridges that allow Agentic AI to go from text to real-world actions. These frameworks make it possible for Agents to extend their capabilities from what would be effectively just chatbots, to (at least in theory) allow them to act irl.

The Guide gives several examples of tools that Agents can be connected to by these frameworks (e.g. APIs, functions & data stores), which then obviously become extremely critical to the Agents’ ability to do their jobs. These are the binding points where Agents interact with business systems, or even the real world.

One of the key differentiators among the various categories of these frameworks is the technical requirements to deploy. The components are categorized in the Guide largely along lines of developer know-how.

Like everything in AI, there’s no free lunch–tradeoffs in backend difficulty result in less granular control over the final product.

These range from the code-level building blocks of the Flexible Libraries / SDK Features (KC5.1), with examples like LangChain, AG2, CrewAI, & MCP, to the vendor-provided Managed Platforms / Services (KC5.2) from the likes of Amazon Bedrock Agents & Microsoft Copilot Platform, and everything in between in Managed APIs (KC5.3) like

While the SDKs ultimately allow for more granular control over Agent behavior, they also require a higher level of technical acumen, and a greater number of engineering hours, to deploy. Contrast this process with deploying via Managed APIs, which allow for more control on the developer side, while handling Agentic complexities like tool orchestration & state via API calls.

Why this matters: Three ways. First, any way you slice it, your Agents will almost certainly be interacting with APIs. Second, given this fact, the importance of developer acumen comes to the fore again, because connecting the myriad software components to productionize Agents requires skill. And at scale, it requires a skilled team.

Finally, and this should really go without saying: The quality of your Agentic deployment will thus absolutely reflect the quality of the APIs you’re relying on.

Why The Docs (Still) Matter

We’ve talked about how heavily many Agentic deployments rely on API access in order to do their jobs. We need to talk about how even the best engineered Agentic deployments can fail because of poorly documented APIs–and how to choose both connection frameworks and tooling APIs for the best chance of success.

To do so, let’s start with what might be the top issue lamented by devs and security professionals alike when it comes to APIs: Poor documentation.

Doing documentation well is more or less an evergreen problem in software engineering. On the surface, it might seem like documentation is just a technical endeavor–but explaining anything to another person, much less an entire audience, actually requires a great deal of empathy. You have to understand your subject matter, and construct a theory of mind for your audience, and communicate something highly technical, in a way that’s clear and concise. It’s not necessarily easy.

Poor documentation for Agentic interactions is a whole new level of failure. No matter how handy or powerful the API appears to be, its features won’t help your Agents if they’re not properly documented in a readable, understandable way.

This holds true for Agentic systems as well. A primary vector for Agentic red teaming is in the myriad interactions that Agentic systems can have among users, tools, and each other.

Stochastic Systems, Trusted States: Why Logging And Docs Go Hand In Hand For Agents

A common pitfall for Agentic deployments is as simple as lack of proper logging for these interactions. Logging is itself a form of system documentation–at least it should be for AI systems.

This isn’t some theoretical and it isn’t a morality story about the importance of logging. I mean that literally, in stochastic systems (like AI) your system lacks proper documentation of what constitutes a trusted state without both design docs, and logging.

Agents are, at their core, architecturally about interactions. Understanding these interactions is critical to securing–and attacking–them. But understanding isn’t enough–you have to document system design, and log system performance.

For AI systems, performance monitoring doesn’t just mean recording metrics akin to system latency.

When all the security precautions fail, how will you know that your Agentic system has been breached? How will you recover, if you can’t return to a trusted state–or even establish what that was?

The reality is that for Agentic deployments, your logs become part of your docs.

And the docs are indispensable.

Architect accordingly.

The Threat Model

  • Securing AI Agents is all about understanding their interactions, which requires solid documentation from all parties–even ones you can’t control.

  • Stochastic/non-deterministic systems require logging to establish trusted baseline performance, and thus trusted states: Without logs, your Agentic system isn’t really documented.

  • Proper documentation of the Agentic supply chain includes supply chain component docs, or else your system’s supply chain risk visibility is an illusion at best.

Resources To Go Deeper

  • Tupe, Vaibhav and Shrinath Thube. “AI Agentic workflows and Enterprise APIs: Adapting API architectures for the age of AI agents.” ArXiv abs/2502.17443 (2025): n. Pag.

  • Song, Yueqi, Frank F. Xu, Shuyan Zhou and Graham Neubig. “Beyond Browsing: API-Based Web Agents.” Annual Meeting of the Association for Computational Linguistics (2024).

  • Satav, Ashay. “Enterprise API & Platform Strategy in the era of Agentic AI.” Journal of Computer Science and Technology Studies (2025): n. pag.

Executive Analysis, Research, & Talking Points

Choosing APIs For Success: 3 Critical Areas

Here are three areas where API documentation becomes critical, and how your team can choose tooling with the greatest chance of enabling your AI Agents to deploy, and operate, successfully in the real world:

Keep reading with a 7-day free trial

Subscribe to Angles of Attack: The AI Security Intelligence Brief to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Disesdi Susanna Cox
Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture