Security Architecture for Persistent Enterprise AI Agents

X postKevin S LinDiscussion

Kevin S Lin discusses the enterprise IT challenges of running persistent AI agents such as Openclaw and Dots. Operating proactively like contractors rather than typical SaaS, agents require strict security boundaries. A centralised credential broker, least-privilege principles, human approvals, and Entra hooks mitigate operational risks.

Key points

  1. Persistent agents behave like contractors, autonomously executing complex workflows in the background without constant human input.
  2. Downstream service calls are routed through a centralised credential broker that halts requests immediately upon access revocation.
  3. High-risk actions require explicit human sign-off, such as permitting inbox reading while blocking outbound email without approval.
  4. Entra hooks automatically terminate agents tied to offboarded staff, supported by fleet-wide monitoring for stale instances.
  5. Infrastructure is shifting from initial always-on deployments to dynamic runtime boxes.

Why it matters

As autonomous background agents take over business workflows, traditional SaaS governance fails. Isolating secrets in external brokers and enforcing hard security boundaries protects infrastructure from unauthorized actions.

Analysis

Persistent agents like Openclaw and Dots represent a paradigm shift for enterprise IT because they execute tasks proactively in the background. As Kevin S Lin highlights, their autonomy mirrors human contractors rather than standard SaaS tools, demanding robust isolation. ### Centralised Mediation Instead of embedding direct credentials within agent workspaces, access to downstream services is handled by a centralised credential broker. When access is revoked, downstream requests immediately fail at the broker level. Lin notes this architecture mirrors the credential management approach used for ChatGPT plugins. ### Approvals and Lifecycle Management Risky actions are constrained by human-in-the-loop workflows. An agent may freely read data but must seek managerial approval before executing external modifications. To prevent shadow IT and orphaned processes, integration hooks with directory services like Entra automatically decommission agents when associated staff leave, while fleet-wide observability flags anomalous or dormant instances.

Original post

Kevin S Lin

@kevins8 · 12 November 2026

deploying persistent agents like Openclaw or Dots pose a major challenge for enterprise IT agents are more like contractors than traditional saas software, able to take proactive actions in the background without human intervention they are capable of fulfilling entire job

906 likes36 replies2k bookmarks161.2k views

View on X
More posts in the thread (9)
  1. @milhouscc its not the identity that is revoked but the identity's access to downstream services in our case, all such calls are mediated via a centralized credential broker which would fail calls to mentioned services when access is revoked
  2. @Margikbaxi for sensitive actions, we have an additional control of requiring human approval (eg. agent can read email but not send without approval) its like when a worker needs sign off from a manager to do a particularly risky action
  3. @7jin16 are you still seeing this?
  4. @yagcidev agents are nothing if not resourceful 😅
  5. @trycaliber entra hooks to shutdown agents for individuals that have left and observably of usage across the fleet to find stale or suspicious agents
  6. @samuellhuber moving to dynamic boxes, started off with always on to simplify initial deployment
  7. @theoldrack in hindsight, it feels like an “obvious” architecture. enforce least privilege. add hard security boundaries. observe everything.
  8. @santekotturi @7jin16 hmm, i can’t reproduce. if you copy the url from the browser, what is that showing up as?
  9. @Quantradin @ksyed1125 we have existing service to do it. its the same service that we use for managing plugin credentials in chatgpt
Selected replies (5)
  • @7jin16 @kevins8 When I open the Developer website on my smartphone, it displays this kind of screen and I can't read the text. t.co/PXNw3ZyU0e
  • @Margikbaxi @kevins8 In energy plants the "contractor" risk is higher because a bad action can trip a unit or violate grid codes. How are you bounding action scope and audit trails so an agent can still be useful without write access to control systems?
  • @theoldrack @kevins8 Ran this exact pattern on our own GPU cluster. Egress allowlists, scoped secret broker, one identity per agent. Works the same whether the model is served locally or via API. The agents did not appreciate it.
  • @apoorvmitthu @kevins8 I think @maritime_sh is building for this problem.
  • @yagcidev @kevins8 the comment on the GH_TOKEN exclude saying it "does not hide credentials stored in accessible files" is the most honest line in any agent config lol. env scrubbing + .ssh deny + 169.254.169.254 on the denylist, nice

Summary generated by AI (Gemini 3.8 Flash, 14 November 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Link:Tawkit, Inc.

    OpenBot: Self-Hosted Enterprise Agent Platform Built on the AG-UI Protocol

    CopilotKit (Tawkit, Inc.) has introduced OpenBot, an open-source platform for enterprise AI agents designed to run entirely within an organisation's own infrastructure. It integrates internal company data, supports computer use, and leverages the AG-UI standard.

    AI & LLMs· Tool

  • Link:infisical.com

    Infisical: Open-Source Security Infrastructure for Developers and AI Agents

    Infisical is an open-source platform (MIT licensed) covering secrets management, certificate lifecycle management (PKI), and privileged access management (PAM). Designed for modern cloud environments and AI agents, it prevents credentials from being committed to disk or leaked via LLM prompt injection by brokering API calls and access sessions.

    AI & LLMs· Tool

  • Link:Arcade

    Arcade: Enterprise Actions Runtime and Governance Layer for AI Agents

    Arcade is an actions runtime designed to govern and secure enterprise AI agents interfacing with internal and external tools. It acts as an enforcement point between agents and connected systems, handling identity provider authentication, scoped authorization, and audit logging, with deep support for the Model Context Protocol (MCP).

    AI & LLMs· Tool

  • Article:Anthropic Engineering

    How Anthropic Isolates and Contains Claude Agents Across Products

    Anthropic outlines its containment architecture designed to cap the blast radius of autonomous AI agents across claude.ai and Claude Code. As human oversight falters due to approval fatigue, security relies primarily on deterministic OS and container sandboxes.

    AI & LLMs· Research

  • Link:Justin Schroeder

    Domain-Specific Agent Architecture: Justin Schroeder's Approach

    Justin Schroeder presents architectural principles for domain-specific AI agents designed to handle specialised tasks collaboratively. Instead of monolithic all-in-one assistants, he advocates for isolated specialists with focused contexts and tools. This approach helps developers design scalable, parallelised, and secure multi-agent systems.

    AI & LLMs· Resource

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.