Skip to content

Connect Banno to AI Agents: Scale marketing & secure bank ops

Yuvraj Muley Yuvraj Muley 9 min read AI & Agents
TrutoFor teams building AI agents

Give your AI agent Banno tools.

Connect Banno to AI agents using Truto's SDK to automate bank operations, positive pay exceptions, and targeted marketing campaigns without writing custom API integration boilerplate.

In this guide

  1. 01Initialize the LLM
  2. 02Initialize the Truto Tool Manager
  3. 03Fetch Banno Tools
  4. 04Bind Tools to the Model
  5. 05Execute the Agent Loop

The guide

Learn how to connect Banno to AI agents using Truto's /tools endpoint. Discover exact engineering strategies to automate bank ops and marketing workflows safely.

You want to connect Banno to an AI agent so your system can independently manage user accounts, trigger targeted marketing campaigns, and resolve positive pay exceptions based on historical context. Here is exactly how to do it using Truto's /tools endpoint and SDK, bypassing the need to build a custom banking integration from scratch.

Giving a Large Language Model (LLM) read and write access to a core banking system or digital banking platform like Banno is an engineering challenge with zero margin for error. You either spend months navigating compliance, building custom connectors, and handling pagination schemas, or you use a managed infrastructure layer that handles the API boilerplate for you. If your team uses ChatGPT, check out our guide on connecting Banno to ChatGPT, or if you are building on Anthropic's models, read our guide on connecting Banno to Claude. For developers building custom autonomous workflows, you need a programmatic way to fetch these tools and bind them directly to your agent framework.

This guide breaks down exactly how to fetch AI-ready tools for Banno, bind them natively to an LLM using frameworks like LangChain, LangGraph, CrewAI, or the Vercel AI SDK, and execute complex banking and marketing workflows. For a deeper look at the architecture behind this approach, refer to our research on architecting AI agents and the SaaS integration bottleneck.

The Engineering Reality of the Banno API

Giving an LLM access to external data sounds simple in a prototype. You write a Node.js function that makes a fetch request and wrap it in an @tool decorator. Against highly secure, heavily regulated digital banking APIs, this approach collapses. Banno's API introduces several specific integration challenges that break standard REST assumptions. If you hardcode these interactions into your agent, you will spend your sprints writing defensive integration code instead of improving your model's reasoning.

The Dual-API Persona Split

Banno strictly segregates its API into two distinct surface areas: the Consumer API (for end-users interacting with their own accounts) and the Admin API (for bank or credit union employees managing the institution). An AI agent acting as a support copilot or automated marketing engine must navigate the Admin API, but it must do so with exact precision regarding the Associated User and their assigned permissions.

For example, if your agent needs to fetch check images for a fraud investigation, it cannot simply call a generic image endpoint. It must authenticate against the Admin API with a token that explicitly contains the "Manage security settings" permission. If your agent is forced to remember these persona-specific authentication rules, it will inevitably hallucinate a Consumer endpoint when it meant to use an Admin endpoint, resulting in blocked requests and broken workflows.

Deep Entitlement Checks

Banking APIs are not flat CRUD interfaces. Actions like initiating ACH batches, approving wires, or modifying Remote Deposit Capture (RDC) limits are gated behind deep entitlement models. Before an agent can safely attempt to create an ACH batch, it technically should check the /ach/entitlements endpoint to verify the specific createBatch or createTaxPayment flags.

Standard raw APIs force the LLM to guess whether an operation is permitted. A unified tool layer collapses these complexities into distinct, schema-validated functions. The agent relies on the underlying integration layer to process the inputs and handle the exact routing, drastically reducing the attack surface for hallucination.

Fractured Pagination Schemas

Banno's pagination is famously inconsistent depending on the domain you are querying. Some endpoints use a standard limit and offset. Others rely on a nextOffset token returned in the payload. Some list endpoints return a totalCount field that dictates when to stop paging, while others use a hasMoreResults boolean.

If you expose raw Banno endpoints to an LLM, the model has to write complex, recursive Python or JavaScript on the fly to page through ACH batch history or transaction records. It will fail. By using Truto's /tools API, the proxy layer normalizes pagination. The agent simply calls the list tool, and the unified layer handles the cursor traversal safely.

Essential Banno AI Agent Tools

To build a reliable agent, you must restrict its action space to a set of highly specific, validated tools. Below are the highest-leverage Banno operations available via the Truto proxy. We have omitted generic read-only endpoints in favor of tools that drive actual business value for banking operations and marketing teams.

list_all_banno_admin_search_users

This tool allows an agent to find specific user profiles across the institution based on a search query. It is the critical first step in any support, risk, or marketing workflow, mapping a human name or partial identifier to a concrete Banno user_id.

"Find the digital banking user profile for John Smith so we can review his recent support tickets."

banno_admin_users_status_locked

Security operations teams constantly field requests from users who have locked themselves out of their accounts. This tool allows an automated agent to explicitly unlock a user profile after identity verification steps have been completed elsewhere in the workflow.

"The customer's identity has been verified via voice print. Proceed to unlock their Banno user profile."

list_all_banno_admin_users_rdc_accounts

Remote Deposit Capture (RDC) is heavily regulated by financial institutions to prevent check fraud. This tool allows the agent to fetch the list of RDC-enabled accounts and their associated limits or statuses for a given user, providing necessary context before adjusting deposit velocities.

"Pull the RDC account details for the business user ID 98234 to verify their current deposit limits."

create_a_banno_accounts_positive_pay_ach_exception

Positive Pay is a fraud prevention system that requires manual review of suspicious ACH transactions. This tool allows a treasury management agent to approve or deny account-level ACH exceptions based on predefined rules or human-in-the-loop approvals.

"The client has confirmed the $15,000 ACH pull from the payroll vendor is legitimate. Approve the pending Positive Pay exception for account 555-1234."

list_all_banno_admin_segments

Marketing operations rely on audience segmentation to deliver relevant financial products. This tool allows an agent to retrieve available user segments (e.g., 'High-balance checking', 'No active auto loan') to plan messaging campaigns.

"Retrieve the list of all available marketing segments so we can target users for the upcoming Q3 HELOC promotion."

create_a_banno_admin_message

This tool allows an agent to draft and deploy targeted messages directly into the digital banking interface. It requires HTML formatting and active status flags, making the LLM's natural language generation capabilities highly useful for writing the actual content.

"Draft an active digital banking message titled 'Lower Your Auto Rate' for the newly created segment, offering a 0.5% rate discount."

Workflows in Action

Providing an LLM with tools is only the foundation. The real value emerges when the agent chains these tools together to execute multi-step operations that would normally require a human to click through six different Banno screens.

Scenario 1: Fraud Ops resolving a locked user & RDC issue

A customer's account is locked due to repeated failed login attempts while trying to deposit a large check via mobile capture. The customer calls into the IVR, verifies their identity, and the AI agent takes over to resolve the account status.

"User Jane Doe called in and passed biometric verification. She is locked out and needs her RDC status checked. Find her account, unlock her profile, and summarize her current RDC accounts."

  1. The agent calls list_all_banno_admin_search_users with the query "Jane Doe" to locate the Banno user_id.
  2. The agent calls banno_admin_users_status_locked passing the user_id and the state parameter to unlock the profile.
  3. The agent calls list_all_banno_admin_users_rdc_accounts using the same user_id to fetch the Remote Deposit Capture status.
  4. The agent returns a synthesized response to the internal logging system: "Jane Doe's profile has been unlocked. She has one active RDC account with a daily limit of $5,000."

Scenario 2: Treasury Ops handling Positive Pay exceptions

A commercial banking client uses Positive Pay. An AI agent is tasked with reviewing the morning's exception list and cross-referencing it with the client's approved vendor list.

"Check account XYZ for any pending Positive Pay ACH exceptions. If the exception is from 'Acme Payroll Services', approve it automatically. Otherwise, flag it for human review."

  1. The agent calls list_all_banno_accounts_positive_pay_ach_exceptions for the specified account ID.
  2. The agent processes the returned JSON array. It identifies an exception matching "Acme Payroll Services".
  3. The agent calls create_a_banno_accounts_positive_pay_ach_exception to submit an approval decision for that specific item.
  4. The agent writes a summary back to the treasury dashboard, noting which items were cleared and which require manual review.

Scenario 3: Marketing Ops deploying a targeted campaign

The marketing team wants to push an in-app notification to a specific segment of users who are eligible for a new credit card product.

"Find the segment named 'Pre-approved Credit Card Q4' and create an active digital banking message for them titled 'Your Exclusive Offer'. Draft a short, professional message body offering a 10,000 point sign-up bonus."

  1. The agent calls list_all_banno_admin_segments to retrieve the segment IDs and locate the target audience.
  2. The agent generates the HTML body for the message using its internal reasoning capabilities.
  3. The agent calls create_a_banno_admin_message to deploy the notification, passing the title, the generated HTML, and setting the active flag to true.
  4. The agent confirms the message creation ID to the marketing team.

Building Multi-Step Workflows

To execute these workflows, you need an orchestration layer. Frameworks like LangChain, LangGraph, and CrewAI excel at this by managing the agent's memory and decision loop. Truto's infrastructure bridges the gap between these frameworks and the Banno API.

The following code demonstrates how to fetch Banno tools dynamically using the Truto LangChain SDK, bind them to an OpenAI model, and execute an agentic loop.

Rate Limiting Reality Check

When writing integration code, you must handle rate limits. It is a critical factual constraint to understand that Truto does not automatically retry, throttle, or apply backoff on rate limit errors.

When the upstream Banno API returns an HTTP 429 (Too Many Requests), Truto passes that error directly back to the caller. However, Truto does the heavy lifting of normalizing Banno's specific rate limit info into standardized headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset) following the IETF specification. Your agent loop - or the tool executor wrapper - is strictly responsible for inspecting these headers, sleeping for the required duration, and retrying the request.

Implementation Example

import { ChatOpenAI } from "@langchain/openai";
import { TrutoToolManager } from "truto-langchainjs-toolset";
import { HumanMessage } from "@langchain/core/messages";
 
async function runBannoAgent() {
  // 1. Initialize the LLM
  const model = new ChatOpenAI({
    modelName: "gpt-4o",
    temperature: 0,
  });
 
  // 2. Initialize Truto Tool Manager for the specific Banno integrated account
  const trutoManager = new TrutoToolManager({
    trutoApiKey: process.env.TRUTO_API_KEY,
    integratedAccountId: "banno-account-id-123",
  });
 
  // 3. Fetch Banno tools dynamically from Truto's /tools endpoint
  console.log("Fetching Banno tools...");
  const tools = await trutoManager.getTools();
  
  // 4. Bind the tools to the model
  const modelWithTools = model.bindTools(tools);
 
  // 5. Create the prompt
  const messages = [new HumanMessage("Find the Banno user John Smith and check his RDC accounts.")];
 
  // 6. Execute the agent loop
  console.log("Invoking model...");
  const response = await modelWithTools.invoke(messages);
 
  // 7. Handle tool calls safely
  if (response.tool_calls && response.tool_calls.length > 0) {
    for (const toolCall of response.tool_calls) {
      const selectedTool = tools.find((t) => t.name === toolCall.name);
      if (selectedTool) {
        try {
          const toolResult = await selectedTool.invoke(toolCall.args);
          console.log(`Result from ${toolCall.name}:`, toolResult);
        } catch (error) {
          // Crucial: Handle HTTP 429 Rate Limits from Truto/Banno
          if (error.status === 429) {
            const resetTime = error.headers['ratelimit-reset'];
            console.error(`Rate limited. Must wait until ${resetTime} before retrying.`);
            // Implement your backoff/retry logic here
          } else {
            console.error(`Tool execution failed:`, error);
          }
        }
      }
    }
  }
}
 
runBannoAgent();

The Execution Flow

When the agent decides to execute a tool, the request flows through Truto's infrastructure, which handles the exact routing, authentication injection, and schema translation before hitting Banno.

sequenceDiagram
    participant Agent as Agent Framework
    participant Truto as Truto Proxy
    participant Upstream as "Upstream API (Banno)"

    Agent->>Truto: GET /integrated-account/<id>/tools
    Truto-->>Agent: Returns normalized tool schemas
    Agent->>Agent: LLM reasoning & tool selection
    Agent->>Truto: Executes tool call (e.g. search_users)
    Truto->>Upstream: Injects Auth & translates to Banno Admin API
    Upstream-->>Truto: Returns JSON:API response
    Truto-->>Agent: Returns flat, validated JSON
    Agent->>Agent: LLM synthesizes final answer

By routing through the unified layer, the LLM never has to deal with Banno's strict JSON payload requirements, complex endpoint versioning, or dual authentication models. It just calls a function and receives clean data.

Stop Building Boilerplate

Connecting AI agents to core banking platforms like Banno is an exercise in risk management. If you build custom integration layers, you own the entire lifecycle of API maintenance, pagination handling, and token management. Every time Banno updates an endpoint or shifts an entitlement requirement, your engineering team has to drop product work to fix the integration.

By leveraging Truto's proxy architecture and the /tools endpoint, you abstract away the API mechanics. Your agent receives a strict, stable set of functions that map directly to business value. You stop writing defensive JSON parsers and start focusing on what actually matters - tuning your model's reasoning to deliver better outcomes for your operations, security, and marketing teams.

Two ways to put Banno to work

Truto

For product teams

Give your agent Banno tools

Your customers connect their own Banno accounts. Your product gets one API and MCP tools for Banno, through Truto.

FAQ

How does Truto handle Banno's rate limits?
Truto passes HTTP 429 Too Many Requests errors directly back to the caller. However, Truto normalizes the upstream Banno rate limit data into standard IETF headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset). The caller is responsible for implementing retry and backoff logic.
Do I need different Banno tokens for Admin and Consumer APIs?
Yes. Banno strictly separates its Consumer API (for end-users) and Admin API (for bank employees). The AI agent must use the correct tool and authentication context depending on the operation, which Truto's unified tool layer helps manage.
Can I use LangChain to orchestrate Banno AI agents?
Yes. Truto's /tools endpoint is framework-agnostic. You can use the truto-langchainjs-toolset to fetch Banno tools, bind them to an LLM using .bindTools(), and execute multi-step workflows using LangChain or LangGraph.
How does Truto handle Banno's complex pagination?
Banno uses various pagination methods (offset/limit, nextOffset, totalCount). Truto's proxy layer normalizes these underlying pagination differences, so the AI agent simply calls a list tool and receives clean, standard JSON data without needing to write custom loop logic.
Banno BannoAI agent tools Get a sandbox

More from our Blog