
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@ar-agents/banking
Advanced tools
Argentine banking primitives (CBU/CVU validation + bank lookup) and BCRA Central de Deudores adapter as drop-in tools for the Vercel AI SDK. Pure-algorithm out of the box; BCRA lookups via pluggable adapter.
Argentine banking primitives for Vercel AI SDK 6+ agents — CBU/CVU validation, bank/PSP lookup, and BCRA Central de Deudores.
Built for agents that need to:
Ships with pure-algorithm tools that always work (no API key, no setup) and a pluggable BCRA adapter for credit lookups.
pnpm add @ar-agents/banking
# peer deps: ai >=6, zod >=3
import { Experimental_Agent as Agent, stepCountIs } from "ai";
import { bankingTools, BcraPublicApiAdapter } from "@ar-agents/banking";
const agent = new Agent({
model: "anthropic/claude-sonnet-4-6",
tools: bankingTools({
bcra: new BcraPublicApiAdapter(), // optional — for credit lookups
}),
stopWhen: stepCountIs(6),
});
const { text } = await agent.generate({
prompt: "Validá este CBU: 0070123145678901234564",
});
// → "Es un CBU válido. Banco: Banco Galicia, sucursal 0123, cuenta 4567890123456."
Without a BCRA adapter, the credit-lookup tool stays callable but returns
{ available: false, error: "<setup instructions>" } instead of crashing.
| Tool | Pure? | What it does |
|---|---|---|
validate_cbu | ✓ | Validate CBU/CVU + identify bank/PSP |
lookup_bank_by_code | ✓ | Resolve a 3-digit bank code or 7-digit CVU prefix → name |
list_banks | ✓ | Enumerate all known banks (for dropdowns) |
list_psps | ✓ | Enumerate all known PSPs/fintechs (for dropdowns) |
lookup_credit_situation | — | BCRA Central de Deudores lookup (requires adapter) |
See AGENTS.md for detailed selection guidance and result schemas.
CBU = Clave Bancaria Uniforme (traditional bank accounts). CVU = Clave Virtual Uniforme (PSPs / fintechs / digital wallets).
Both are 22 digits with the BCRA dual mod-10 check-digit algorithm:
BBB-SSSS-V₁ — entity (3) + branch (4) + check (1)<account-13>-V₂ — account (13) + check (1)The algorithm is implemented in src/cbu.ts and exposed via parseCbu(),
isValidCbu(), and computeBlockCheckDigit(). Pure functions, sub-millisecond,
no I/O.
For B2B agents that need credit-risk signal on a counterparty CUIT:
import { bankingTools, BcraPublicApiAdapter } from "@ar-agents/banking";
const tools = bankingTools({
bcra: new BcraPublicApiAdapter({
requestTimeoutMs: 15_000,
maxRetries: 2,
onCall: (e) => console.log(e), // observability hook
}),
});
The default adapter hits BCRA's public REST endpoint
(api.bcra.gob.ar/centraldedeudores/v1.0/Deudas/{cuit}) — no auth required,
respect their rate limits. You can swap in your own adapter for caching, NOSIS,
Equifax, or a private mirror.
Returns a normalized BcraDeudaResult with the worst situation code (1–6),
total outstanding debt across all entities, and per-entity breakdown.
See BcraSituation in src/types.ts for the situation-code
reference (1=normal, 5=irrecuperable, etc.).
MIT © Nazareno Clemente
FAQs
Argentine banking primitives (CBU/CVU validation + bank lookup) plus BCRA Central de Deudores AND BCRA Principales Variables (USD, CER, UVA, reservas, BADLAR, inflación) as drop-in tools for the Vercel AI SDK. Pure-algorithm out of the box; BCRA lookups v
The npm package @ar-agents/banking receives a total of 20 weekly downloads. As such, @ar-agents/banking popularity was classified as not popular.
We found that @ar-agents/banking demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.