AI Agents in Banking – Core Banking and API Integration

AI Agent in Banking – How to Securely Integrate It with Core Banking, APIs, and Transaction Systems

A bank wants to deploy an AI agent that answers customers’ account questions, analyzes transaction histories and helps prepare payment instructions. From the customer’s perspective, the experience looks simple: type “Show my latest transactions” or “Prepare a transfer of PLN 500 to a saved beneficiary.”

For the engineering team, however, this means connecting an AI model to customer data, banking APIs, authorization services, core banking and transaction infrastructure. A single error in interpreting an instruction, enforcing permissions or retrying an operation can have consequences far more serious than an incorrect chatbot response.

The critical question is not “How do we connect an LLM to a banking API?” It is “How do we let an AI agent use banking capabilities without giving it control over financial operations?”

The answer is an architecture in which the agent interprets customer intent and uses only approved tools. Identity verification, authorization, parameter validation and transaction execution remain the responsibility of deterministic banking backend services.

At a glance: A secure AI agent in banking should not have direct access to core banking databases or the ability to approve transactions independently. It can interpret requests, retrieve permitted information and prepare actions. However, access decisions and transaction execution must be enforced by controlled banking services.

1. What is an AI agent in banking, and how is it different from a chatbot?

An AI agent in banking is a system that uses artificial intelligence to interpret tasks, plan permitted steps and interact with tools such as APIs and backend services. Unlike a traditional chatbot, it can do more than answer questions: it can initiate specific actions within banking systems.

That does not mean it should have unrestricted autonomy. The appropriate level of autonomy depends on the process risk, the type of data involved and the approval mechanisms in place.

Three ways banks can use AI

  • Informational chatbot: answers questions using approved materials, such as product terms and service procedures.
  • Data-enabled assistant: retrieves account information, documents or transaction histories after the relevant access permissions have been verified.
  • Action-oriented AI agent: prepares instructions, updates selected information or triggers approved workflows through controlled APIs.

The distinction matters. A text response does not change the state of a banking system. A payment instruction, card limit change or customer data update can produce a real business consequence.

For CTOs: Business value does not require maximum autonomy. An agent that prepares transactions for approval can improve the customer experience without taking responsibility for executing them.

2. Why is integrating AI agents with banking systems challenging?

The information needed to handle a single customer request is often distributed across multiple systems. An account balance may come from core banking, payment details from a transaction platform, card information from a card management system and contact information from a CRM.

The AI agent needs a consistent view of the request, but it must not decide for itself which systems and data it is authorized to access.

The main challenges include:

  • Distributed data: multiple systems of record, formats and update mechanisms.
  • Access permissions: authorization that depends on identity, account ownership, role and operation type.
  • LLM nondeterminism: similar instructions may produce different interpretations or tool selections.
  • Financial operations: the need to determine conclusively whether an instruction has been executed.
  • Operational resilience: preventing AI model or provider outages from disrupting critical banking processes.
  • Auditability: reconstructing which tool was called, with what parameters and under which permissions.

Deploying an AI agent is therefore primarily an integration architecture, access management and security project—not simply an LLM configuration exercise.

Business consequence: Overlooking these dependencies can extend implementation timelines, trigger expensive architectural changes and force the bank to reduce the agent’s scope after the pilot.

3. How should a secure banking AI agent architecture be designed?

A secure AI agent architecture separates natural language interpretation from authorization and transaction execution. The model may propose a tool call, but it cannot grant itself permissions or bypass business rules.

Reference architecture for integrating an AI agent with banking systems

AI AGENT ARCHITECTURE IN BANKING

Mobile / Web

Customer channels

Contact Center

Agent assistance

Internal Systems

Employee workflows

↓

AI Agent / LLM

Intent interpretation · Planning · Tool selection

↓

Agent Gateway / Tool Execution Layer

Approved tools · Parameter validation · Access policies

↓

Backend / Business Services

Authorization · Business rules · Limits · Transaction confirmation

↓

Integration Layer

APIs · Middleware · Legacy adapters · Error handling

↓

Core Banking
Payments / Cards
CRM / Lending
Cross-cutting controls: IAM · Audit · Monitoring · Data protection · Secrets management · Risk controls

Conceptual diagram. Actual implementations may include additional components and communication paths. Transaction requests require a separate approval and authorization flow.

What is each layer responsible for?

  • User interface: captures requests and presents results and required confirmations.
  • AI agent: interprets intent and selects a tool from the approved catalog.
  • Agent Gateway: restricts available functions, validates tool call structure and enforces technical policies.
  • Backend: verifies identity, permissions, parameters, limits and required approvals.
  • Integration layer: translates requests into the interfaces supported by systems of record.
  • Banking systems: store authoritative data and execute operations according to their business rules.

For example, the agent may interpret the request “Check my account balance.” However, the backend must determine whether the authenticated customer is authorized to access that account before retrieving information from the system of record.

Architectural principle: An AI model’s output is a proposed action, not an authorization decision.

4. How should AI agent autonomy be matched to process risk?

A secure implementation does not necessarily prohibit all actions. It defines exactly what the agent can do and which safeguards apply to each category of operation.

Autonomy levelCapabilitiesRequired safeguards
InformationalAnswers based on approved knowledge sourcesSource control, response quality checks and input validation
Read-onlyRetrieves customer data through APIsAuthentication, object-level authorization and data minimization
Transaction preparationCreates draft instructions for approvalParameter validation, clear transaction details and user confirmation
Restricted executionExecutes narrowly defined operationsPolicies, limits, independent authorization, audit trails and kill switches

For many banking use cases, read-only access or transaction preparation is a sensible starting point. The agent reduces friction for customers and employees without independently making decisions that have financial consequences.

Autonomy should be assigned to individual processes rather than granted globally to an agent. Access to transaction history does not automatically justify permission to initiate payments.

5. How can AI agents be securely connected to core banking and legacy systems?

AI agents should not query core banking databases directly or use undocumented internal interfaces. Such connections make permission management harder, increase dependency on internal data structures and complicate auditing.

A better approach is to expose selected capabilities through stable APIs and backend services. The agent interacts with business-oriented operations, such as “retrieve available balance,” rather than technical database queries or core banking procedures.

The role of adapters and the Anti-Corruption Layer

A legacy adapter translates internal formats and status codes into consistent API contracts. The Anti-Corruption Layer pattern helps isolate new services from the data models of older platforms.

If the core banking platform changes how it represents account status, the integration layer can absorb the change without requiring modifications to the AI agent’s business logic.

What middleware cannot solve automatically

Middleware does not automatically increase core banking throughput. Banks still need concurrency limits, timeouts, circuit breakers and overload handling. If the system of record cannot support the required volume, that limitation must also be addressed at the source.

AI agent integration can therefore become part of a broader legacy system modernization strategy, rather than an isolated AI initiative.

Business impact: Banks can introduce AI capabilities without tying them directly to legacy data structures or creating more uncontrolled connections to core banking.

6. How should an AI agent’s access to banking APIs and customer data be controlled?

Authenticating a user is not enough. The backend must verify whether that user is allowed to perform a specific operation on a specific resource, such as retrieving the transaction history of a particular account.

Essential access controls include:

  • Tool allowlisting: the agent can access only approved functions.
  • Identity binding: every request is associated with an authenticated user or authorized role.
  • Object-level authorization: the backend verifies access to the requested account, document or product.
  • Parameter validation: identifiers, date ranges, amounts and data formats are validated independently of the model.
  • Data minimization: only information required for the task is provided to the model.
  • Usage limits: request frequency and processing scope are controlled.
  • Audit logging: tool calls, authorization decisions and operation outcomes are recorded.

Depending on the bank’s architecture, these controls may rely on OAuth 2.0, appropriately scoped tokens, mTLS and service-level access policies.

A critical rule: An account identifier supplied by the agent is not proof that the user is authorized to access that account.

Expected outcome: The AI agent operates under the same security rules as other banking channels rather than creating an alternative path to customer data.

7. How can financial transactions involving AI agents be secured?

The biggest difference between an informational assistant and a transactional AI agent emerges when an operation changes system state. Reading an account history and submitting a payment require different levels of control.

Example: “Prepare a transfer of PLN 500 to a saved beneficiary”

A secure transaction flow:

  1. Intent recognition: the agent identifies a request to prepare a payment.
  2. Tool selection: the agent calls an approved payment preparation function.
  3. Beneficiary retrieval: the backend verifies access to the customer’s saved beneficiaries.
  4. Validation: the backend checks the amount, account, restrictions and business rules.
  5. Presentation: the customer sees the exact transaction details.
  6. Authorization: the bank performs the required authentication and approval independently of the agent.
  7. Execution: the backend sends the authorized instruction to the payment system.
  8. Result: the agent displays the status returned by a trusted banking service.

The agent must not treat its own summary as customer consent. Confirmation must apply to the actual transaction parameters. Any subsequent change to those parameters requires renewed validation and, where applicable, authorization.

What happens if a payment request times out?

Suppose the backend submits a payment instruction, but the connection fails before a response arrives. It is now unclear whether the payment was accepted.

The agent must not automatically submit the payment again. The backend needs to verify the transaction status using a unique operation identifier, appropriately designed idempotency controls and reconciliation mechanisms.

No response from a payment system does not mean the payment failed. The actual transaction status must be established before any further action.

This is why transaction execution must remain the responsibility of deterministic banking services. The AI agent can guide the customer through the process, but it should not independently resolve ambiguous financial outcomes.

8. What security threats do AI agents introduce, and how can banks mitigate them?

AI agents introduce an additional attack surface. The model processes natural language, documents, search results and tool responses—and not all of that content can be trusted.

ThreatPotential consequenceRisk mitigation
Prompt injectionAttempts to manipulate the agent into taking unauthorized actionsUntrusted content isolation, tool restrictions, authorization outside the LLM
Excessive permissionsAccess to data or functions outside the task scopeLeast privilege, allowlisting, object-level authorization
Incorrect interpretationIncorrect parameters or selection of the wrong toolBackend validation and transaction confirmation
Data disclosureUnauthorized processing of customer informationData minimization, retention controls and vendor governance
Incorrect retriesDuplicate financial transactionsIdempotency, operation identifiers and status verification
Model unavailabilityInterrupted customer service or workflowsFallback mechanisms, timeouts and independent critical processes

Why is a system prompt not a security boundary?

An instruction such as “Do not perform unauthorized operations” can guide the model’s behavior, but it does not replace technical permission checks. Malicious text embedded in a document or search result may attempt to influence the agent’s tool selection.

Even if the model responds incorrectly, the execution layer must reject prohibited calls. This reflects a defense-in-depth approach discussed in the OWASP guidance on LLM application security.

Regulatory requirements and accountability

An AI agent project requires an assessment of applicable requirements, including GDPR, DORA, payment services regulations and the EU AI Act. The exact obligations depend on the agent’s purpose, the information it processes and its role in decision-making.

Not every banking AI agent automatically qualifies as a high-risk AI system. An assistant answering product questions requires a different assessment from a system used to evaluate the creditworthiness of natural persons.

For operational resilience, banks should consider the requirements of DORA, particularly those relating to ICT risk management and technology provider dependencies.

9. How should banking AI agents be tested and monitored?

Traditional API testing is not enough because an AI agent may generate different sequences of actions for similar instructions. Testing must cover both model behavior and the enforcement of restrictions by banking services.

Key testing areas:

  • Intent testing: does the agent interpret requests and select the correct tools?
  • Authorization testing: are prohibited requests rejected regardless of model output?
  • Prompt injection testing: can untrusted content influence tool usage?
  • API contract testing: can backend changes cause incorrect tool calls?
  • Transaction testing: are timeouts, duplicates and ambiguous outcomes handled correctly?
  • Model regression testing: does a new LLM version degrade critical scenarios?
  • Resilience testing: how does the application behave when the model or an API becomes unavailable?

What should be monitored in production?

Monitoring model response time alone is insufficient. Banks need visibility into the full process, from the user’s request and tool selection to authorization and the final operation result.

Useful metrics include failed tool calls, security policy rejections, human handovers, processing costs and transactions with unconfirmed status.

Logs must also be designed to protect customer information. Full prompts and responses may contain sensitive data, so logging requires deliberate access and retention policies.

Edge One Solutions also supports organizations in software engineering and quality assurance, which are particularly important when AI solutions depend on multiple interconnected services.

Expected outcome: The bank can detect unwanted agent behavior, investigate its cause and disable a problematic capability without shutting down the entire customer channel.

10. How can banks deploy AI agents in phases without increasing operational risk?

Starting with broad access to transaction systems is a high-risk approach. A better strategy is to expand capabilities gradually, after validating quality, security and business value.

  1. Phase 1 – Informational assistant. Answers based on approved sources, without access to transactional operations.
  2. Phase 2 – Read-only access. Integration with selected APIs, supported by identity verification and access controls.
  3. Phase 3 – Transaction preparation. The agent prepares parameters, but the customer or authorized employee approves the action.
  4. Phase 4 – Restricted automation. Only selected processes, with documented limits, policy enforcement and the ability to stop execution.

Each phase should have clear exit criteria: accuracy, security test results, integration stability, service cost and escalation procedures.

Production readiness checklist

  • ☐ Approved use cases and autonomy levels are documented.
  • ☐ The agent uses only approved tools.
  • ☐ Authorization is enforced outside the AI model.
  • ☐ State-changing operations require appropriate confirmation.
  • ☐ Parameter validation and transaction limits are implemented.
  • ☐ Prompt injection and privilege escalation scenarios are tested.
  • ☐ Timeouts, duplicates and unconfirmed outcomes are handled.
  • ☐ Data processing and retention policies are defined.
  • ☐ Monitoring, audit trails and kill switches are available.
  • ☐ Process owners and incident response procedures are assigned.

Business impact: The bank can validate AI value within a controlled scope before committing to full-scale integration and increasing its exposure to operational risk.

11. How should banks measure AI agent performance and ROI?

The number of conversations handled by an agent is not a sufficient measure of success. CTOs and executive teams need to know whether the solution reduces handling time, eliminates manual work and maintains an acceptable risk profile.

AreaExample KPIBusiness relevance
Service efficiencyAverage case handling timeTime saved by employees and customers
AutomationShare of cases resolved without manual interventionReduced operational workload
QualityCorrectly handled intent rateFewer errors and repeat contacts
SecurityPolicy violations and unauthorized operationsOperational risk control
CostCost per successfully resolved caseSolution economics
ReliabilityEnd-to-end process availabilityPredictable service delivery

ROI calculations should cover more than model fees and token consumption. They should also include integration, testing, security, monitoring, maintenance and the cost of cases escalated to employees.

Illustrative calculation:

Operational benefit = number of AI-assisted cases × actual average time saved per case × cost per unit of time.

ROI = (financial benefits − total solution cost) / total solution cost × 100%.

These values should be measured against a pre-deployment baseline. Claimed savings without baseline data do not provide a reliable basis for evaluating the investment.

12. When should banks involve a technology partner?

External engineering support is particularly valuable when a bank has AI model expertise but lacks sufficient capacity for API design, legacy integration, automated testing or security control implementation.

A technology partner should help the bank establish a controlled architecture rather than create another layer of vendor dependency. Ownership of API contracts, access policies, source code and documentation should be clearly defined.

Edge One Solutions’ experience in banking technology projects

CASE STUDY 1

Bank Pekao – Digital mortgage sales channel

A project involving the development of a digital mortgage process, illustrating the importance of connecting new customer channels with existing banking infrastructure, automating selected steps and coordinating an end-to-end workflow.

Explore the Bank Pekao case study →

CASE STUDY 2

Bank Pekao – Property insurance module testing

A quality assurance engagement involving a module available through web and mobile banking channels, including integrations with insurance partners.

Read the QA case study →

These projects demonstrate experience in banking software development and testing. They are not presented as AI agent implementations.

For AI agent initiatives, Edge One Solutions can support integration architecture, backend service development, legacy adapters, software testing and production readiness.

What should banks decide before connecting AI agents to critical systems?

Before selecting an AI model or agent platform, a bank should answer three questions: What actions should the agent be allowed to perform? Who makes the final decision about whether an action is permitted? What happens when the outcome of an operation is uncertain?

The answers determine tool architecture, permissions, authorization flows and testing requirements. Only then should the bank consider expanding the agent’s autonomy.

An AI agent should understand customer intent. Banking backend services must decide whether—and how—that intent can be executed.

This approach enables banks to improve service automation and digital experiences without transferring responsibility for transaction security to a language model.

EDGE ONE SOLUTIONS

Planning to deploy an AI agent without exposing core banking to uncontrolled access?

If you are planning to connect an AI agent to customer data, banking APIs or transactional processes, start by reviewing your integration architecture, access controls and failure scenarios.

Edge One Solutions supports backend engineering, legacy system integration and software testing for financial organizations. Let’s discuss an architecture that enables AI adoption while maintaining control over critical banking processes.

Discuss AI integration for your bank →

FAQ – AI Agents in Banking

What is an AI agent in banking?

An AI agent in banking uses artificial intelligence to interpret instructions, plan actions and interact with tools such as banking APIs. It may answer questions, retrieve data or prepare transaction instructions. Its autonomy should be matched to process risk. Financial operations require independent validation, authorization and control by banking systems.

How is an AI agent different from a traditional banking chatbot?

A traditional chatbot typically answers questions or guides users through predefined scenarios. An AI agent can additionally select tools, retrieve information through APIs and initiate permitted workflows. This flexibility creates opportunities for automation but requires stronger access controls. The agent should not independently decide whether a banking operation is authorized.

Can AI agents access core banking systems?

AI agents can use core banking data and capabilities through controlled APIs, backend services and adapters. They should not have direct database access or unrestricted transactional interfaces. The backend must verify user permissions and validate every operation. This keeps the AI model separated from critical systems of record.

How can an AI agent be securely integrated with banking APIs?

Give the agent access to a restricted catalog of approved tools. Each call must pass parameter validation, authentication and backend authorization. Rate limits, data minimization, monitoring and audit logging should also be implemented. A system prompt is not a sufficient security mechanism because it cannot replace access controls enforced by application code.

Can an AI agent execute bank transfers autonomously?

Whether an AI agent can participate in payment execution depends on the workflow, permissions and applicable security requirements. In practice, the agent may prepare a payment instruction, while validation, required approval and execution remain under banking system control. The agent must not bypass authorization or retry an unconfirmed transaction without checking its actual status.

How can banks protect AI agents against prompt injection?

Protection requires separating untrusted content from controlling instructions, restricting available tools and enforcing authorization outside the AI model. Banks should test malicious instructions embedded in documents, messages and tool responses. No single filter guarantees complete protection, so backend validation, monitoring and impact limitation are essential.

How should customer data access and permissions be managed?

Every request should be linked to an authenticated user and the permissions associated with that identity. The backend must verify access to the specific account, document or operation—not just whether the user is logged in. Least privilege, data minimization and audit logging are essential. An agent must not obtain broader access solely because a user requests it in natural language.

Which regulations apply to AI agents in banking?

Depending on the use case, banks should assess GDPR, DORA, payment services regulations and the EU AI Act. Obligations vary according to the data processed, the agent’s autonomy and whether the system contributes to decisions with significant consequences for customers. The applicable classification and legal requirements should be confirmed with the bank’s compliance and legal teams.

How can banks measure the ROI of AI agent implementations?

ROI should be based on measurable changes in service cost and quality. Useful metrics include case resolution time, the share of successfully automated processes, cost per resolved case and the number of employee interventions. Calculations should include model usage, integration, security, testing and maintenance costs. Results must be compared against a pre-deployment baseline.

What can we do for you?

If you would like to learn more about opportunities to work with us, please fill out the form. Let's get to know each other!

Shake_hands_illustration_contact_form