Skip to content
Mindela

By · November 20, 2026 · 7 min read

Claude Code for Banks and Financial Services: Adoption, Governance and Security

Claude CodeFinancial Services

Claude Code for banks works when it is treated as a privileged development tool: restrict what it can touch with managed settings, run it in controlled environments, route model traffic through an approved cloud account, log usage, keep humans accountable for review, and make every change pass a spec and tests. The goal is faster delivery that an auditor can follow.

Ignoring the tools is rarely a stable position. In the 2025 Stack Overflow Developer Survey, 84% of respondents said they use or plan to use AI tools in development. A governed rollout is safer than discovering what individual developers are already doing.

What do regulators expect from banks using AI?

In India, the Reserve Bank has set out its expectations since August 2025. If you operate in the GCC or the United States, check what your own regulator has published, because the details differ by jurisdiction.

  • FREE-AI (August 2025). The RBI's Framework for Responsible and Ethical Enablement of AI report sets seven guiding principles and 26 recommendations across six pillars: infrastructure, policy, capacity, governance, protection and assurance. Among them are a board-approved AI policy, extending product approval processes, consumer protection frameworks and audits to cover AI, stronger cybersecurity and incident reporting, and governance across the AI lifecycle.
  • Draft model risk guidance (June 2026). The RBI released a draft Guidance on Regulatory Principles for Model Risk Management for public comment, covering all models used by regulated entities, including third-party models and AI and machine-learning models. Reuters reported that it calls for board-approved frameworks and model inventories. Check whether it has since been finalized.
  • Supervisory emphasis. Mint reported that the RBI governor urged banks to keep a complete inventory of AI models, maintain board-approved AI governance, be able to explain AI-driven decisions, test systems regularly and retain meaningful human oversight.

One interpretation point matters. These documents focus on AI models and AI-driven decisions. Claude Code is a development tool, so its obligations normally flow through software change management, information security, third-party and outsourcing risk, and data protection. If generated code implements a model, model risk rules apply to that model. This is general information, not legal advice: have your compliance and risk teams classify it before you build policy around it.

What makes a coding agent different from autocomplete?

An agent can read files, run commands, call tools and keep going after seeing output. Anthropic's security documentation describes prompt injection, where text in a file or web page steers the assistant, states plainly that no system is completely immune to attacks, and recommends reviewing commands and verifying changes to critical files. That is a larger blast radius than a suggestion in an editor, and it is why banks need controls and not only guidance.

Anthropic also publishes assurance material for security reviews: its documentation points to the Trust Center for the SOC 2 Type 2 report and ISO 27001 certificate. Your own risk team still has to assess the deployment, but the vendor evidence exists.

What controls does Claude Code for banks rely on?

ControlWhat it doesWhy a bank cares
Permissions and deny rulesDecide which tool calls run, ask or are blockedKeep secrets, production paths and risky commands off-limits
Managed settingsOrganization-wide policy that takes precedence over user and project settingsDevelopers cannot loosen the rules
SandboxingFilesystem and network isolation for shell commandsLimits damage from error or injection
Managed MCP configurationRestricts which MCP servers users can add or connect toControls which internal systems the agent can reach
HooksRun custom code at lifecycle pointsEnforce checks and logging deterministically
Cloud provider routingAmazon Bedrock, Google Cloud or Microsoft Foundry via environment variablesModel traffic follows existing cloud contracts, regions and IAM
Gateway and telemetryGateways centralize credentials, usage tracking, budgets and audit logs; OpenTelemetry export is supportedEvidence for audit and cost control
Telemetry opt-outCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 turns off non-essential traffic such as usage metrics, error reports, feedback reports and surveysData-flow minimization

Anthropic's own best practices draw the line that matters most here: prompts, CLAUDE.md and skills are instructions the model may or may not follow, while hooks, deny rules and managed settings are enforced every time. Anything a regulator would call a control belongs in the second group.

How should banks roll out Claude Code safely?

  1. Choose the model route first. Decide whether traffic goes to the Claude API or through your own cloud account, in which region, under which IAM roles and with which logging.
  2. Use controlled development environments. Run Claude Code in managed workspaces or containers that hold no production credentials and, ideally, only masked or synthetic data.
  3. Lock policy in managed settings. Deny reads of secret files and production configuration, and set permission defaults developers cannot override.
  4. Sandbox and allowlist the network. Restrict egress to approved package registries and internal endpoints.
  5. Allowlist MCP servers. Every connection to an internal system is a reviewed decision.
  6. Log and attribute usage. Route through a gateway or export telemetry so you can answer who ran what, when.
  7. Keep humans accountable. Branch protection, mandatory review and named owners for generated changes.
  8. Define the incident path. What happens when an agent does something unexpected, and who has authority to pause the rollout.

Write the data rules in plain language before the pilot, because developers will otherwise decide in the moment. A workable baseline: no customer personal data, account numbers or credentials in prompts; no production logs unless masked; no code from restricted repositories until the environment for them is approved; and no pasting of third-party confidential material. The rules should be short enough to remember and backed by settings that enforce the ones that matter most.

How do you handle high-volume edge cases in finance code?

Financial systems fail at the edges: the same instruction arriving twice, a partial failure halfway through a batch, a cutoff time crossed by a second. A coding agent will write the happy path fluently unless the edge cases are written down first. This is why spec-driven and test-driven development fit finance work so well.

Edge-case classPut it in the spec asProve it with
Duplicates and retries"Processing the same message twice has no additional effect"A test that replays inputs
Partial failure"If step three fails, steps one and two are reversed or flagged"Failure-injection tests
Rounding and currencyExplicit rounding rule and currency handlingBoundary-value tests
Cutoffs, time zones, holidaysThe calendar and cutoff rules, in writingTests around the boundary instants
ConcurrencyWhat happens when two actors change the same recordConcurrent-access tests
Audit trailWhat must be recorded for every state changeAssertions on the log

Our guide to spec-driven development with Claude Code and Spec Kit shows the spec side of the loop, and its companion on test-driven development with Claude Code covers the failing-test side.

In our one-week J.P. Morgan program, delivered to multiple batches of VPs, MDs, senior software engineers, senior product managers and other teams, participants said the sessions were highly interactive and addressed the problems teams face on high-volume finance products. They built working solutions and started designing edge-case handling for their own needs.

Who should be trained first?

Mixed seniority works better than a developer-only audience. Our Morgan Stanley Claude Code program trained 600 participants from C-suite executives to senior engineers in one week, using a spec-driven and test-driven method. Leaders decide what is permitted, managers decide how work is reviewed, and engineers do the work. When all three hear the same method and vocabulary, policy and practice stop drifting apart.

What does a 90-day adoption plan look like?

WindowFocusOutput
Days 0 to 30Policy, model route, environments, managed settings, baseline data, pilot cohortApproved one-page policy and a locked-down pilot environment
Days 31 to 60Supervised work on real tasks, spec and test loop, first shared skillsFailed-session log, repository instructions, review checklist
Days 61 to 90Compare against baseline, review incidents, decide where to expandScale, hold or stop decision per task category

What should you measure?

Measure accepted work, cycle time, review burden, escaped defects, security findings, policy exceptions and cost per completed task. Do not report lines of code or prompt counts. Capture a baseline on comparable work before the pilot, so the numbers mean something when the pilot ends.

If you are planning a Claude Code rollout in a regulated firm, our Claude training for banks and financial services covers governance, security and the spec-and-test method on your own use cases. Contact us to scope a program for your teams.

Frequently asked

Can banks use Claude Code?

Yes, with controls. There is no universal approval, so each institution decides based on its regulator, risk appetite and architecture. The practical route is to treat it as a privileged development tool: managed permissions, controlled environments, an approved model route, logging and mandatory human review.

Does the RBI regulate AI coding assistants specifically?

The RBI's FREE-AI report and its draft model risk guidance address AI models and AI-driven decisions and do not set specific rules for coding assistants. Obligations for a development tool usually arrive through software change management, information security and third-party risk, plus model risk where generated code implements a model. Confirm the classification with your compliance team.

Can Claude Code run on our own cloud account?

Yes. Claude Code supports Amazon Bedrock, Google Cloud and Microsoft Foundry through environment variables, so model traffic can follow your existing cloud contracts, regions and access controls. Anthropic also documents gateways that centralize credentials, usage tracking, budgets and audit logs.

How do we stop Claude Code reaching production systems or secrets?

Use managed settings that individual developers cannot override, deny rules for secret files and production paths, sandboxing with an egress allowlist, and development environments that hold no production credentials. Do not rely on prompts or CLAUDE.md for rules that must have no exceptions.

Who should be trained first in a bank?

A mixed group: leaders who set policy, engineering managers who own delivery, and senior engineers and product managers who will use it daily. Training only developers leaves governance undecided, and training only executives leaves practice inconsistent.

Working through this decision yourself?

We’re happy to pressure-test your thinking. Engineering opinions, no sales sequence.

Talk to an engineer