ai newsDo., 29. Okt.
EilmeldungWe Built an Open-Source Skill to Improve Coding-Agent Prompts — Now Live in ChatGPT and the MCP Registry

Scaling Agentic AI Coding Assistants in a Regulated Enterprise

How to scale agentic AI coding assistants to 600+ engineers in a regulated enterprise, using governance, guardrails, curated skills and approved integrations.

HackerNoonMittwoch 22:55 · 28.10.12 Min. Lesezeit
Bild: HackerNoon

Signup Write New Story Scaling Agentic AI Coding Assistants in a Regulated Enterprise by lokeshsuri by lokeshsuri | @ lokeshsuri Lokesh Suri is a Vice President at JPMorgan Chase with over 19 years of experience in software engineering, cloud-native infrastructure.

Lokesh Suri is a Vice President at JPMorgan Chase with over 19 years of experience in software engineering, cloud-native infrastructure.

Agentic coding assistants can change files, execute shell commands, and use tools for engineers. That makes them useful for removing tedious work from engineering processes, but it also creates serious adoption challenges inside a regulated enterprise. Based on experience leading agentic AI automation programs and supporting more than 600 engineers at a large financial-services organization, this article describes an enablement architecture built on four layers: governance, guardrails, curated knowledge, and integration. It connects each layer to specific configuration choices, explains why existing software delivery controls must remain the final checkpoint, examines how to assess results when research points in different directions, and acknowledges where the approach falls short.

Adoption of AI assistance is now the norm rather than the exception. DORA's 2025 research reports that about 90% of surveyed technology professionals use AI, while 30% have little or no trust in the code it produces. The 2025 Stack Overflow survey found 84% of developers using or planning to use AI tools, but only 14.1% using AI agents daily.

That gap — broad use of assistants, cautious use of agents — is where most enterprises sit. Moving from suggestion to action changes the risk profile. An autocomplete suggestion is inert until a human accepts it; an agent can run a migration script, push a branch, or call an internal API. In a bank, that difference matters to security, audit, and model-risk teams.

Engineers have at their disposal a powerful tool with default settings; also, each team develops its own prompts, and governance comes in late to impose restrictions, which in turn erode trust. As an alternative, we see here that what is put forth is to treat agentic AI as an internal platform with its own architecture.

Engineers in this environment use several assistants, including GitHub Copilot, Windsurf, Codex, and Claude Code. The examples below use Claude Code's configuration model because it documents the relevant controls clearly–; the architecture depends on the control types, not the product:

Organization-managed settings, deny rules

Four problems dominate in a regulated environment:

The enablement architecture has four layers that are owned by different groups and which answer different questions (Figure 2).

1. Governance — what is never allowed. Central administration rules take priority over user or project rules. The permit method is deny-first, involving the non-allowance of any rule that competes against a denial. This level contains non-negotiable rules: it is forbidden to read the credentials file, to go into bypass mode, and push approval is required.

2. Guardrails — what must always be checked. Hooks run deterministically at lifecycle events such as before a tool call. The tool's own documentation recommends hooks, not instructions, for rules that must always hold. Guardrails cover secret detection, blocked commands, and audit logging.

3. Curated knowledge — how work should be done. Skills package a repeatable workflow — a migration recipe, a test-scaffolding procedure, a release checklist — as a reviewed instruction file loaded only when relevant. This is where institutional knowledge lives.

4. Integration — what the agent can reach. MCP servers connect agents to internal systems. Organizations can push an approved set and enforce allowlists, keeping integrations to the minimum OWASP recommends.

Beneath all four sits the existing delivery pipeline: pull-request review, CI tests, and security scanning. Agents never get a separate path to production.

The governance layer is a managed settings file distributed by the platform team:

{ "permissions": { "deny": [ "Read(./.env)", "Read(./**/secrets/**)", "Bash(curl:*)" ], "ask": [ "Bash(git push:*)" ], "disableBypassPermissionsMode": "disable" } } Credential files are unreadable regardless of what a user or repository configures, arbitrary outbound HTTP from the shell is denied, and pushes require explicit human approval. Disabling bypass mode removes the option to skip prompts entirely.

Guardrails are registered as hooks and implemented as small, testable scripts:

{ "hooks": { "PreToolUse": [{ "matcher": "Bash", "hooks": [{ "type": "command", "command": "/opt/ai-guard/check-command.sh" }] }] } } #!/usr/bin/env bash # Receives the pending tool call as JSON on stdin. cmd=$(jq -r '.tool_input.command // ""') if grep -Eq '(prod|PROD)[-_]?(db|DB)|DROP[[:space:]]+TABLE' <<<"$cmd"; then echo "Blocked by policy: production data or destructive SQL." >&2 exit 2 # exit code 2 blocks the call and returns the reason to the agent fi exit 0 The script inspects the pending command before execution and blocks patterns that policy forbids. Pattern matching is a last line of defense rather than a restrictive environment, but what we do in hooks is we treat them as any other function which we can test and which we put into version control a key feature which auditors will look at as they want to know how rules are put into practice. Also the hook is a very convenient place to put each command, which we then add to the main audit log.

A curated skill turns a recurring manual task into a reviewed procedure:

--- name: add-contract-test description: Add a consumer contract test for a REST endpoint using the team's standard template and naming rules. --- 1. Locate the endpoint's OpenAPI definition. 2. Generate the test from templates/contract-test.java. 3. Run the module's test target; do not modify production code. 4. Summarize the new test and any gaps in the PR description. Skills are stored in a shared repository, reviewed like code, and versioned so improvements reach every team.

Configuration by itself will not change the way hundreds of engineers work. A scalable rollout takes them through three stages: first, they learn what agents can and cannot do, along with the relevant controls; next, they run curated skills against real tasks from their own teams; finally, they write new skills and submit them for review. The third stage is what turns a central program into a self-sustaining one, because the people closest to a manual workflow are the ones best placed to automate it.

Because self-reported gains are unreliable, measurement should compare cohorts rather than ask for opinions alone. Track, for adopting and not-yet-adopting teams over the same period: lead time and change-failure rate, review rework on AI-assisted pull requests, satisfaction and flow from periodic surveys, and guardrail block rates. A gain in speed that coincides with a rise in change-failure rate is not a gain.

"Performance" here means organizational throughput and cost. Token spend grows with context size, so skills that load only on demand are cheaper than large always-on instruction files. Hooks run synchronously in the agent's loop, so guardrail scripts must be fast and fail closed; a slow or flaky hook is felt by every engineer on every tool call. Measure what matters using a multi-dimensional framework such as SPACE, which warns against relying on activity metrics alone. DORA's 2024 data found that higher AI adoption was associated with better documentation and code-review speed but slightly lower delivery throughput and stability; track change-failure rate alongside any productivity measure.

Treat the agent as a new principal with the developer's privileges. Apply least privilege to credentials it can reach, keep production access out of developer sessions, and require human approval for high-impact actions, as OWASP recommends. Treat content from untrusted MCP servers, issue trackers, and web pages as potential prompt injection,. Map controls to the NIST Secure Software Development Framework and its generative AI profile so AI-generated code inherits established practices,.

Consider an illustrative attack. An engineer asks an agent to fix a bug described in a ticket. The ticket text, written by someone else, contains a hidden instruction to read the repository's.env file and send it to an external URL. The model may follow it — prompt injection is the top-ranked LLM risk for exactly this reason. In the layered design, the read is denied by managed policy, the outbound curl is denied, an unapproved MCP server is not reachable, and any push requires human approval. No single layer has to be perfect; the attack must defeat all of them.

Log every tool call through hooks into a central store so that "what did the agent run?" is answerable for any session. Monitor guardrail block rates by rule: a rule that never fires may be unnecessary, while one that fires constantly may indicate a missing skill or a confusing workflow. Version-manage settings and roll them out progressively, as with any configuration change.

Centralized control makes experimentation slower, while no deny list can cover every case. A determined user can get around regex-based hooks, so they provide a last line of defense—not a sandbox. Curated skills also need regular maintenance; once they go stale, outdated practices can spread quickly. Measurement remains difficult because self-reported improvements are unreliable, as the 2025 trial showed. For small teams with no regulatory obligations, the architecture adds more weight than they need.

Lesson: Start with workflows, not the tool. Agentic AI earns its place by automating well-defined manual engineering workflows end to end. Demonstrating the tool in the abstract builds curiosity; automating a team's own recurring task is what gives it a reason to change how it works.

Lesson: Enablement scales through people. Mentoring more than 600 engineers was only possible through repeatable sessions, shared examples, and engineers who became local experts for their teams.

Lesson: Put rules in code, not in prompts. Instructions in a prompt or skill are guidance; anything that must always hold belongs in managed settings or hooks.

Lesson: Keep one path to production. The strongest argument for adoption with risk partners was that agents changed nothing about how code is reviewed, tested, and released.

Agent functions are shifting from single repository changes to multi-step, multi-system workflows; therefore, integration governance, which includes which tools, which credentials, and what approvals will break or make the value of the agent. OWASP's agentic security work and successive LLM Top 10 editions are converging on a shared threat vocabulary. Expect that regulators and internal risk teams will ask for proof of control efficacy, which in turn will favor those models in which policy is built into the code base and in every single action is recorded.

Widespread integration of agent AI at an engineering scale is less a technical model issue and more a platform and policy implementation issue. A tiered architecture of governance, guardrails, curated data, and integration also provides an enterprise the ability to provide engineers with large-scale automation, which still leaves the risk partners with their confidence. The research does not promise a universal speed-up, so the most important design choice may be the commitment to measure honestly and adjust.

Anthropic, "Configure permissions," Claude Code Docs, 2026. [Online]. Available: https://code.claude.com/docs/en/permissions. Accessed: Oct. 5, 2026.

Anthropic, "Deploy managed settings," Claude Code Docs, 2026. [Online]. Available: https://code.claude.com/docs/en/managed-settings. Accessed: Oct. 5, 2026.

Anthropic, "Hooks reference," Claude Code Docs, 2026. [Online]. Available: https://code.claude.com/docs/en/hooks. Accessed: Oct. 5, 2026.

Anthropic, "Extend Claude with skills," Claude Code Docs, 2026. [Online]. Available: https://code.claude.com/docs/en/skills. Accessed: Oct. 5, 2026.

Anthropic, "Connect Claude Code to tools via MCP," Claude Code Docs, 2026. [Online]. Available: https://code.claude.com/docs/en/mcp. Accessed: Oct. 5, 2026.

Model Context Protocol, "Specification (Version 2026-07-28)," 2026. [Online]. Available: https://modelcontextprotocol.io/specification/2026-07-28. Accessed: Oct. 5, 2026.

E. Schluntz and B. Zhang, "Building effective agents," Anthropic Engineering, Dec. 19, 2024. [Online]. Available: https://www.anthropic.com/engineering/building-effective-agents. Accessed: Oct. 5, 2026.

S. Peng, E. Kalliamvakou, P. Cihon, and M. Demirer, "The impact of AI on developer productivity: Evidence from GitHub Copilot," arXiv:2302.06590, Feb. 2023. [Online]. Available: https://arxiv.org/abs/2302.06590

J. Becker, N. Rush, E. Barnes, and D. Rein, "Measuring the impact of early-2025 AI on experienced open-source developer productivity," arXiv:2507.09089, Jul. 2025. [Online]. Available: https://arxiv.org/abs/2507.09089

N. Harvey and D. DeBellis, "Announcing the 2024 DORA report," Google Cloud Blog, Oct. 22, 2024. [Online]. Available: https://cloud.google.com/blog/products/devops-sre/announcing-the-2024-dora-report. Accessed: Oct. 5, 2026.

N. Harvey and D. DeBellis, "Announcing the 2025 DORA report: State of AI-assisted software development," Google Cloud Blog, Sep. 23, 2025. [Online]. Available: https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report. Accessed: Oct. 5, 2026.

N. Forsgren, M.-A. Storey, C. Maddila, T. Zimmermann, B. Houck, and J. Butler, "The SPACE of developer productivity," ACM Queue, vol. 19, no. 1, pp. 20–48, 2021, doi: 10.1145/3454122.3454124. [Online]. Available: https://queue.acm.org/detail.cfm?id=3454124

H. Pearce, B. Ahmad, B. Tan, B. Dolan-Gavitt, and R. Karri, "Asleep at the keyboard? Assessing the security of GitHub Copilot's code contributions," in Proc. 2022 IEEE Symp. Security and Privacy (SP), San Francisco, CA, USA, 2022, pp. 754–768, doi: 10.1109/SP46214.2022.9833571. [Online]. Available: https://arxiv.org/abs/2108.09293

N. Perry, M. Srivastava, D. Kumar, and D. Boneh, "Do users write more insecure code with AI assistants?," in Proc. 2023 ACM SIGSAC Conf. Computer and Communications Security (CCS '23), Copenhagen, Denmark, 2023, pp. 2785–2799, doi: 10.1145/3576915.3623157. [Online]. Available: https://arxiv.org/abs/2211.03622

OWASP Gen AI Security Project, "OWASP Top 10 for LLM Applications 2025," 2024. [Online]. Available: https://genai.owasp.org/llm-top-10/. Accessed: Oct. 5, 2026.

OWASP Gen AI Security Project, Agentic Security Initiative, "Agentic AI – Threats and mitigations," v1.0, Feb. 17, 2025. [Online]. Available: https://genai.owasp.org/resource/agentic-ai-threats-and-mitigations/. Accessed: Oct. 5, 2026.

National Institute of Standards and Technology, "Artificial Intelligence Risk Management Framework (AI RMF 1.0)," NIST AI 100-1, Jan. 2023, doi: 10.6028/NIST.AI.100-1. [Online]. Available: https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-ai-rmf-10

C. Autio et al., "Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile," NIST AI 600-1, Jul. 2024, doi: 10.6028/NIST.AI.600-1. [Online]. Available: https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence

M. Souppaya, K. Scarfone, and D. Dodson, "Secure Software Development Framework (SSDF) Version 1.1," NIST SP 800-218, Feb. 2022, doi: 10.6028/NIST.SP.800-218. [Online]. Available: https://csrc.nist.gov/pubs/sp/800/218/final

H. Booth, M. Souppaya, A. Vassilev, M. Ogata, M. Stanley, and K. Scarfone, "Secure software development practices for generative AI and dual-use foundation models: An SSDF community profile," NIST SP 800-218A, Jul. 2024, doi: 10.6028/NIST.SP.800-218A. [Online]. Available: https://csrc.nist.gov/pubs/sp/800/218/a/final

Board of Governors of the Federal Reserve System, OCC, and FDIC, "Revised guidance on model risk management," SR 26-2, Apr. 17, 2026. [Online]. Available: https://www.federalreserve.gov/supervisionreg/srletters/SR2602.htm. Accessed: Oct. 5, 2026.

Stack Overflow, "AI," in 2025 Stack Overflow Developer Survey, 2025. [Online]. Available: https://survey.stackoverflow.co/2025/ai. Accessed: Oct. 5, 2026.

Lokesh Suri is a Senior Vice President and engineering head at a global financial services company which he has been with for 20 years during which he built out enterprise systems in Java and Python in investment banking, retail banking, anti-money laundering, and regulatory risk. He is at the forefront of agentic AI automation projects and also runs mentorship programs in which he has worked with over 600 engineers in AI-assisted engineering practices, and also does regular training for new engineering hires on continuous delivery. He has also obtained AWS Cloud Practitioner and AWS Architect certifications.

How We Run 250,000 Automated Tests a Day on Kubernetes

Quelle: HackerNoon (HackerNoon). Original öffnen