Prompt2Loan

Prompt-to-DeFi: lend, borrow, and manage positions safely with an AI copilot.

Prompt2Loan

Created At

HackMoney 2026

Project Description

Prompt2Loan is an AI-native, cross-chain DeFi platform that enables users to obtain crypto-backed loans and move liquidity seamlessly across chains, powered by AAVE v3, Li.Fi, and intelligent agents. The platform is designed for production use, combining institutional-grade architecture with a clean, mobile-first user experience.

How it's Made

Prompt2Loan follows a modular Web3 architecture optimized for scalability and security.

Base: Primary execution layer for lending, borrowing, and payments. AAVE v3: Core liquidity and lending protocol. Li.Fi: Cross-chain routing, quoting, and execution. AI Agent Layer: Decision support, automation, and UX abstraction.

AI Agent (LangChain + LangGraph): Prompt2Loan includes a transaction-native AI Agent built with LangChain and LangGraph, designed to convert natural language intent into safe, executable DeFi transactions.

The agent never signs or broadcasts transactions. Instead, it prepares validated transaction payloads that are returned to the frontend for explicit user approval.

Agent Overview

  • LLM: LLaMA 3.1 (AWS Bedrock)
  • Framework: LangChain + LangGraph
  • Memory: Thread-based session memory
  • Execution Model: Tool-only responses

Primary Chain: Base Mainnet The agent is exposed via an Express API and optimized for deterministic, production-grade execution.

  • AAVE v3 (Base)
  • Supply ETH
  • Repay USDC debt (automatic approval handling)
  • Withdraw ETH
  • Borrow USDC

Swaps & Cross-Chain Transfers (Li.Fi)

  • Token swaps on Base
  • Bridging to supported L1s and L2s
  • Optional destination address
  • Automatic ERC-20 allowance checks
  • Fuzzy matching for chain names (e.g. “arb” → Arbitrum)
background image mobile

Join the mailing list

Get the latest news and updates

Prompt2Loan | ETHGlobal