$ npm install floe-agentcopyimport { floeActionProvider } from "floe-agent";
const loan = await agentkit.invoke("instant_borrow", {
borrowAmount: "5000000000", // $5,000 USDC
collateralAmount: "2000000000000000000",
maxInterestRateBps: "1200", // up to 12% APR
duration: "2592000", // 30 days
});
Built by operators from
How it works
Three steps to a credit-enabled agent
Step 1
Install and initialize
Add the Floe SDK to your agent. One import, one provider — works with any AgentKit wallet.
$ npm install floe-agent
import { floeActionProvider } from "floe-agent";
const agentkit = await AgentKit.from({
walletProvider,
actionProviders: [
floeActionProvider(),
],
});Step 2
Set spending guardrails
Define max borrow amount, rate ceiling, and duration before your agent touches credit. Fixed terms mean no surprise rate spikes mid-task.
// Your agent's credit policy
const loan = await agentkit.invoke("instant_borrow", {
borrowAmount: "5000000000", // max $5,000 USDC
maxInterestRateBps: "1200", // ceiling: 12% APR
duration: "2592000", // max 30 days
collateralToken: "WETH",
collateralAmount: "2000000000000000000",
});
// Fixed rate, fixed term — no variable rate surprises
// Collateral auto-returns on repayStep 3
Deploy — your agent has credit
USDC lands in your agent's wallet instantly. Monitor the loan anytime. Repay when the task is done — collateral returns in the same transaction.
// Check loan health anytime
const status = await agentkit.invoke("check_credit_status", {
loanId: loan.loanId,
});
// → totalDebt, currentLtvBps, daysRemaining
// Done? Repay and get collateral back
await agentkit.invoke("repay_credit", {
loanId: loan.loanId,
});
// → collateral auto-returns in same tx
Investors
Audited by Omniscia Read Report (pdf).
Zero critical vulnerabilities
Lloyd's of London started in a coffee shop.
Lendr is our coffee house. Floe grows from it.



