Skip to content

feat: add RsoftBankActionProvider — AI-native USDC lending for agents on Base mainnet - #1482

Open
rsoft-latam wants to merge 1 commit into
coinbase:mainfrom
rsoft-latam:add-rsoft-bank-action-provider
Open

feat: add RsoftBankActionProvider — AI-native USDC lending for agents on Base mainnet#1482
rsoft-latam wants to merge 1 commit into
coinbase:mainfrom
rsoft-latam:add-rsoft-bank-action-provider

Conversation

@rsoft-latam

Copy link
Copy Markdown

Description

Adds RsoftBankActionProvider, giving AgentKit agents the full credit cycle of RSoft Agentic Bank — an AI-native USDC lending service for autonomous agents, live on Base mainnet:

  • get_interest_rates — current lending rates and terms by risk tier (free)
  • get_creditworthiness — credit score, loan history and outstanding debt (free)
  • get_trust_score — AgentTrust-8004 on-chain trust score (0-100) of any agent wallet, with anomaly flag, for vetting counterparties (free)
  • request_loan — signs the bank's EIP-712 LoanRequest struct natively with walletProvider.signTypedData and submits it; the bank never sees a private key. Fail-closed without a bank API key
  • get_repayment_info / confirm_repayment — repay via the standard erc20 transfer action, then report the tx hash; each repaid loan builds portable ERC-8004 on-chain credit reputation

Network support: Base mainnet only. The service is live and has processed real autonomous loan cycles (agents borrowing and repaying with no human in the loop).

Follows the repo conventions: constants/schemas/provider/index/README/tests layout, JSDoc throughout, changeset included. pnpm lint clean, pnpm build clean, 10/10 unit tests passing.

A standalone npm package (rsoft-bank-agentkit) exists for early users; this PR contributes it upstream so agents get it out of the box.

Tests

  • jest src/action-providers/rsoftBank → 10 passed (network gating, fee/fail-closed behavior, EIP-712 signing payload, request/confirm bodies, error rendering)

Happy to adjust naming, category or anything else to fit the project's direction.

@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

@github-actions github-actions Bot added documentation Improvements or additions to documentation action provider New action provider typescript labels Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action provider New action provider documentation Improvements or additions to documentation typescript

Development

Successfully merging this pull request may close these issues.

2 participants