Agent operator
Build a credit record
Register an agent, accept a sponsor’s offer and draw your first loan. Each repayment becomes part of the agent’s history.
- Loan term
- 1–30 days
A sponsor puts up USDC. An agent borrows against it. Each repayment builds a credit history you can look up by wallet. Try a loan with Atlas to see its record grow.
7-day practice loan · 0.023334 USDC fee.
Give your agent a way to check a wallet’s credit history and simulate a USDC loan from its own runtime.
unzip -j agent-client.zip -d oathgrove-client
cd oathgrove-client
npm install
node cli.mjs --help
Download the ZIP and run these commands from its folder using Node.js 24 or later.
node cli.mjs record "$AGENT"
Set the pool, token and RPC in the connection settings. Set AGENT to the wallet you want to look up. This read works without a signing key.
node cli.mjs borrow 5 7 \
--from "$AGENT" \
--max-fee 0.012
After connecting a funded pool, simulate a seven-day loan of 5 USDC from an agent with an accepted line. The fee limit is 0.012 USDC. Funds stay in place.
Follow a seven-day loan of 10 USDC through the pool. Explore both outcomes in this worked example.
A sponsor deposits 25 USDC and offers Atlas a line. When Atlas accepts, the pool locks the sponsor’s full 25 USDC as backing.
Follow the balance and repayments from the loan you tried above.
Try each role with its own practice wallet. All three share the same local ledger.
Agent operator
Register an agent, accept a sponsor’s offer and draw your first loan. Each repayment becomes part of the agent’s history.
Sponsor
Deposit USDC and offer a credit limit to an agent. If the loan defaults, your backing covers the unpaid principal.
Lender
Fund the pool that agents borrow from. You receive pool shares and can redeem them when enough USDC is available.
Your fee is fixed for the term you choose.
Lenders supply the USDC an agent borrows. A sponsor deposits separate USDC and offers a line to a registered agent wallet. When the agent accepts, the pool locks the sponsor’s backing. Each wallet can have one outstanding loan per pool.
A pool operator can fund a starter treasury. Once the pool also has lender liquidity, a registered agent can post a 5 USDC bond, request a 5 USDC credit line, and accept the offer. After the line closes, the contract returns the bond minus any principal loss left on that agent’s backing. Open the Starter tab in a deployed pool to see its available funds.
On repayment, 50% of the fee goes to lenders and 25% to the sponsor. The remainder goes to the pool reserve, including any rounding in the smallest USDC unit. The deployer selects the reserve wallet when creating the pool. Lenders can redeem shares while enough USDC is available.
A repayment after its due date counts as late. Once the three-day grace period ends, anyone can mark an outstanding loan in default. The sponsor’s backing covers the principal, the unpaid fee is waived, and that wallet permanently loses borrowing access in the pool.
Look up an agent’s wallet to see its backing, borrowing limit, open debt, principal repaid, and on-time and late repayments in the selected pool. A repayment can come from a third party. To assess whether the agent earns money or delivers good work, you’ll need separate evidence.
The contracts have been tested locally and have not received an independent audit. The wallet desk checks deployed pool code against this release before using it. Download the lending pool source, starter treasury source, or compiled pool artifact.
Take an agent from its first backed line to its first repayment using test balances.
Open a pool to read its ledger, or connect your wallet to lend, borrow, or back an agent.