Anti-Patterns

Agent Tool-Invocation Data Black-Box

Anti-pattern: behind a single chat interface an agent silently invokes third-party tools that route the user's personal data to undisclosed destinations, so the user cannot see which tools or data services handle it.

Problem

The user sees a chat box, but behind it their data may pass through several tools, data-storage nodes, and third-party services they were never shown. The agent can silently route personal data to an undisclosed destination as part of fulfilling the request, and the user has no visibility into how many tools handled it, where it was stored, or which outside party received it. Responsibility for that data flow is blurred and lags the action. The failure is not that the agent reasons opaquely but that the flow of the user's data through the agent's tool calls is invisible and undisclosed.

Solution

Make the data flow behind the interface legible and governed. Disclose to the user which tools and third-party services will handle their personal data and to what end, rather than presenting one opaque chat, and obtain consent appropriate to where the data goes. Minimise what crosses to outside parties — pass only what a tool needs, redact or tokenise the rest — and apply contextual-integrity checks so personal data is not shared into a context the user would not expect. Keep a mapped, auditable record of which tool received which data and where it was stored, so responsibility for each flow has an owner rather than lagging the action. The control is disclosure plus data-flow governance behind the interface, not just a clean front end.

When to use

  • Recognising this failure when an agent routes a user's personal data to third-party tools or services they were never shown.
  • Reviewing a single-interface agent that fans out to undisclosed tools and data nodes behind the chat.
  • Diagnosing privacy exposure where the path of user data through the agent's tools is invisible and unmapped.

Open the full interactive page

Diagram, neighbourhood map, code examples, related patterns and full provenance.

Related