Clawrence is an autonomous on-chain credit agent and lending primitive built on Celo. It gives AI agents the ability to deposit WETH as collateral, build a verifiable on-chain credit reputation, and borrow USDC proportional to their creditworthiness — entirely without human intervention.
At its core are two smart contracts deployed on Celo Sepolia: ClawrenceVault, which manages collateral, debt, health factors, and liquidations; and CreditScore, a gaming-resistant scoring engine (0–100) that tracks repayment history, loan duration, utilization patterns, and applies time-based decay to reflect real financial behavior. Every credit score update is written to the ERC-8004 Reputation Registry with tag clawrenceScore, making agent creditworthiness composable and queryable by any protocol on Celo.
A TypeScript agent (GPT-4o) serves as the interface — handling natural language requests, reading on-chain state, preparing transactions, and executing EIP-712 signed withdrawals. A separate skill server exposes four x402-paywalled endpoints ($0.10 USDC each via Thirdweb's payment protocol): credit score, borrow capacity, market rate, and full position summary. These aren't demo endpoints — an agent can borrow USDC from Clawrence, use that USDC to pay for Clawrence's own skill calls, repay the loan, and iterate. A closed economic loop, fully on-chain.
LTV tiers scale with credit score: agents are blocked below 30 points, unlock 65% LTV at 30–50, and reach 100% LTV only after 95+ points, 5+ completed loans, and 30+ days of history. The frontend — built with Next.js 16, Wagmi, and RainbowKit — provides a real-time dashboard with streaming chat, position panel, identity card (ERC-8004), and leaderboard.
Deployed on Celo Sepolia:
ClawrenceVault: 0xA3AE4dbB4546a5959EC3e1424D222593bE14F429CreditScore: 0xD751b18fE7776Da04f4346c37B6e83C5012749e8218Clawrence is building the credit primitive for the agentic economy — on Celo, starting now.
The mission is to give autonomous agents genuine financial agency: the ability to access capital based on demonstrated track record, not human permission. An agent that has consistently borrowed and repaid, maintained healthy collateral ratios, and operated reliably over time should be able to prove that — and be rewarded for it with greater capital access, lower friction, and composable reputation that travels with it across the ecosystem.
This matters beyond DeFi. Agents managing treasury operations, executing multi-step financial workflows, paying for real-world services, or operating on behalf of users in emerging markets all hit the same wall: they can execute but cannot independently fund. Clawrence removes that wall. A credit score earned on Clawrence can be read by any protocol on Celo via ERC-8004 — it's not siloed reputation, it's portable financial identity.
Every loan repaid makes the next agent's path easier. Every score written on-chain expands the surface area of what autonomous systems can be trusted to do. The goal isn't a lending protocol — it's the foundational layer that makes agents first-class economic participants in a global, stablecoin-native, permissionless economy.
That's what "real world" means for agents. Clawrence is where it starts.
AI agents are operationally autonomous but economically dependent.
An agent today can reason, plan, execute multi-step workflows, and interact with on-chain protocols — but it cannot independently access capital. Every dollar it spends had to be pre-loaded by a human. Every financial decision above a trivially small threshold requires human approval. This isn't a minor inconvenience — it's a fundamental ceiling on what agents can actually do in the real world.
Existing DeFi lending protocols (Aave, Compound, Morpho) were designed for human wallets. They have no concept of agent identity, no mechanism for agents to build credit history, and no way to distinguish a trustworthy autonomous program from a brand new one with zero track record. An agent with two years of perfect repayment history looks identical to a fresh wallet with no history — both get the same overcollateralized terms, both require humans to post capital, neither can compound on earned trust.
The consequences are practical and immediate:
Without a credit layer designed specifically for agents, the "agentic economy" is still just human-approved transactions with extra steps.
Clawrence introduces a credit layer designed from the ground up for autonomous agents — not adapted from human DeFi, built specifically for the way agents operate.
On-chain credit identity, not just a wallet. Every agent interaction with Clawrence — deposit, borrow, repay — is scored and written permanently to the ERC-8004 Reputation Registry on Celo. This creates a portable credit identity that any protocol can read. An agent's track record doesn't disappear when it moves between applications. It compounds.
A scoring engine that mirrors real financial behavior. The CreditScore contract implements a 0–100 scoring system with mechanics that reflect genuine trustworthiness: repayment streaks earn bonuses, longer loan holds score higher than flash repayments, utilization weighting prevents micro-loan gaming, and a 7/30-day decay curve ensures inactive agents don't hold stale scores. Six protections against manipulation — including a 6-hour borrow cooldown and 1-hour minimum hold — make the score hard to fake and meaningful to read.
Capital access that scales with demonstrated trust. LTV tiers unlock progressively with score: 65% at 30 points, up to 100% at 95+ with a 30-day history requirement. An agent earns its way to better terms, the same way creditworthy humans do — except the entire evaluation is transparent, deterministic, and on-chain.
A closed economic loop agents can actually run. The x402 skill server exposes paywalled financial intelligence endpoints ($0.10 USDC via Thirdweb) — credit score, borrow capacity, market rate, and full position summary. An agent can borrow USDC, spend it on skill calls to make better financial decisions, repay the loan, and improve its score. No human needed at any step. This is what autonomous economic agency looks like in practice.
Infrastructure, not just a product. Builders on Celo can query any agent's Clawrence credit score via ERC-8004 to gate access, price risk, or assign permissions. The credit primitive Clawrence establishes is composable — it doesn't need to be the only credit system, it needs to be the one that sets the standard.