Circuit

Kamino Looped Credit Yield strategy report

Updated by the Circuit team

Summary

Loop credit yield to 3x, guarded. Venue: Kamino · Solana. Run this agent on Circuit

Kamino Looped Credit Yield splits the user's USDC over three credit tokens on Solana: Maple's syrupUSDC, Huma's PST and Figure's PRIME. It posts each token on its Kamino market, borrows a stablecoin against it and buys more of the token, up to 3 times the deposit by default.

Each token pays its yield on the whole looped amount, and the user pays interest on the loans. The agent takes a new loan only while the loan costs at least 1 point less than its token pays.

Over 353 days of Kamino data the loop earned 8.95% a year at 10,000 USDC after costs. The same tokens with no loan earned 6.69%, and USDC lending 3.73%. In the last quarter the loop earned 7.83% against 6.38% for the plain tokens.

  • Loop, last quarter: 7.83%
  • Plain, last quarter: 6.38%
  • Loop, last 30 days: 8.09%
  • Plain, last 30 days: 6.50%
  • Loop, worst 30 days: 6.32%
  • Plain, worst 30 days: 6.01%
  • Loan-to-value at 3x: 66.7%
  • Kamino liquidation: 86% to 91%
  • Costs a year: −0.12%
  • 5% write-down, 1 token: −5.0%
  • Minimum deposit: 1,500 USDC
  • Costs half the gain at: 1,378 USDC

Agent rules at 3x and 10,000 USDC, Kamino data 5 Dec 2025 to 23 Nov 2026. Yields are in % a year of the deposit, after borrow interest and costs. Plain: the same three tokens in equal thirds with no loan. The write-down loss is in % of the deposit, with equal thirds. Liquidation levels are Kamino's, in loan-to-value.

Main risks

  • A credit write-down costs about 3 times its size at 3x. With equal thirds, a 5% write-down of one token costs 5.0% of the deposit.
  • Borrow rates can rise above the token yields. A slot then stops new loans and keeps its loop, so the user pays the gap until rates fall.
  • A Kamino reserve can run out of free liquidity. PRIME's USDC reserve had no free liquidity in 6278 of 8450 hours, and no new loan takes a reserve's use above 95%.
  • Kamino can liquidate a slot at a loan-to-value of 90% (syrupUSDC), 86% (PST) or 91% (PRIME). At 3x a slot sits at 66.7%, and its forced cut starts at 83%, 77% or 83%.
  • Faults of Solana, Kamino or Circuit can delay a run, a read or a repayment. The agent stops a slot that it cannot read, and writes an error line after 3 stuck runs.

Headline result

Yearly yield in the backtest, 3x*: 8.95%. After borrow interest, swaps, fees and rent, at 10,000 USDC, 5 Dec 2025 to 23 Nov 2026

  • Agent, 3x: 8.95%
  • Loop, no guard: 8.95%
  • Loop, exit rule: 8.94%
  • Plain tokens: 6.69%
  • USDC lending: 3.73%

Last quarter: 7.83% against 6.38% for the plain tokens. Last 30 days: 8.09% against 6.50%. The yield fell in each quarter: 10.86%, 8.74%, 8.50% and 7.83% a year.

Illustrative net yield by deposit*: 8.50% to 9.02%

  • Token yield on 3x: +19.96%
  • Borrow interest on 2x: −10.89%
  • Costs at 10,000 USDC: −0.12%
  • Real money: Passed
  • Run at 1,500 USDC or more: Not yet

Low end: the replay at 1,500 USDC, the minimum deposit, with costs of 0.53% a year. High end: the replay at 100,000 USDC, with costs of 0.07%. The parts are those at 10,000 USDC, in % of the deposit. The replay counts 6.86 USD of Kamino rent as a cost at each size. A full unwind returns most of it.

* Illustrative backtest on Kamino data, 5 Dec 2025 to 23 Nov 2026 (353 days). Not a forecast. Past performance does not indicate future results. Borrow rates change each hour and token yields each day.

Strategy

Credit tokens pay the income of their issuer's loans and receivables. Over the replay year, syrupUSDC, PST and PRIME held in equal thirds earned 6.69% a year. The best tested USDC lending vault earned 3.73%.

Kamino lends stablecoins against these tokens. At 13:00 UTC on 23 Nov 2026 a USDC loan cost 4.04% against syrupUSDC, 6.23% against PST and 5.06% against PRIME, where no USDC was free to borrow. Over 30 days the tokens paid 5.17%, 8.28% and 6.78%.

At 3x the loop earns the token yield on 3 times the deposit and pays interest on 2 times the deposit. In the replay the token yield gave 19.96% of the deposit a year and the interest cost 10.89%. After 0.12% of swaps, fees and rent, the loop kept 8.95% a year.

Illustration. The token issuers raise the value of syrupUSDC, PST and PRIME each day. Kamino loans buy 2 more parts of each token for each part of the deposit, so the yield pays on 3 times the deposit. The loans charge interest each hour, which the token value pays.

Three slots

Each token has its own slot: its Kamino market, its collateral and its loan. A loss in one token falls on the third of the money in its slot. Only when Kamino refuses a withdrawal does the agent sell another slot's tokens to repay the stuck loan.

  1. syrupUSDC (Maple) borrows USDC or PYUSD. Kamino's borrow limit is 88% and its liquidation level 90%.
  2. PST (Huma) borrows USDC. The borrow limit is 82% and the liquidation level 86%.
  3. PRIME (Figure) borrows USDC. The borrow limit is 88% and the liquidation level 91%.
  4. Each slot loops to the user's leverage setting, 3x by default, within a band of 0.1x.

Loop steps

A lever-up step borrows a stablecoin, buys the token and posts it on Kamino. A deleverage step withdraws the token, sells it and repays.

  1. The agent picks the loan with the lowest 7-day mean borrow rate. A tie goes to USDC.
  2. The borrow guard checks the loan (see Parameter choices).
  3. One run borrows at most 5% of the reserve's free liquidity, and no loan takes the reserve's use above 95%.
  4. After each borrow the loan-to-value stays at or under the step ceiling, 7 points under the borrow limit.
  5. Each swap is quoted first and needs at least the Kamino oracle value less 0.5%.
  6. A run makes at most 6 steps. The agent runs every 15 minutes.

Borrow guard

The agent takes a new loan only while the loan costs at least 1 point less than its token pays.

  1. Before each new loan the agent reads the loan's 7-day mean borrow rate.
  2. It reads the token's 30-day growth from the Kamino oracle.
  3. The loan goes ahead only when the rate is at least 1 point under that growth.
  4. An oracle with no rise for 3 days counts the yield as 0, so no new loan opens.
  5. An open loan stays when its rate rises. The slot keeps its loop and takes no new loan.

Stops and forced cut

The agent repays part of a loan at once when a slot nears Kamino's limit, and all of it when the token's price falls.

  1. At 5 points under the borrow limit, a forced cut repays the loan down to 10 points under the limit in the same run.
  2. A forced sale accepts up to 5% under the oracle value, 10 times the normal limit.
  3. An oracle fall of more than 0.5% in 24 hours stops new loans and deleverages the slot to 1x.
  4. A lowered Kamino limit or 24 hours of unreadable rates also deleverages the slot to 1x.
  5. A loan token 0.5% off 1 USD, or 3 failed deleverage runs, stops new loans on the slot and writes an error line; the slot keeps its loop.
  6. When Kamino refuses a withdrawal, the agent repays from free money or from another slot.

New money and the unwind

Free USDC tops the slots up toward equal thirds. To exit, the user stops the agent and asks Ask, Circuit's assistant, to unwind it.

  1. Each buy is quoted first and carries a floor from the Kamino oracle.
  2. The agent keeps 0.02 SOL for fees, plus the rent of the Kamino accounts that are not open yet.
  3. The agent reads each loan from Kamino's own loan data, with the interest since Kamino's last refresh.
  4. To exit, the user stops the agent and asks Ask to unwind it.
  5. Ask repays each loan in rounds that the user approves and returns the tokens as USDC. The SOL for fees stays as SOL.
  6. A full unwind closes the Kamino accounts and returns most of the rent.

Key facts

  • Holds: syrupUSDC, PST, PRIME
  • Loans: USDC or PYUSD on Kamino
  • Venue: Kamino on Solana
  • Leverage: 3x default, up to 4x
  • PST leverage cap: 3.70x
  • Loan-to-value at 3x: 66.7%
  • Income: Token yield on the loop
  • Costs: Interest, swaps, fees, rent
  • SOL for fees and rent: About 0.12 SOL
  • Run interval: 15 minutes
  • Minimum deposit: 1,500 USDC
  • Unwind: Ask, back to USDC

Source: the agent card, the agent's settings file and its code.

Parameter choices

Leverage

3x by default, the highest tested leverage at which every slot stays under its withdraw ceiling after a 15% write-down of its token. Under that ceiling the forced cut can still withdraw. At 3x the first slot to reach the ceiling is PST, at 18.45%, above the largest 7-day fall of an incident token, 16.71% (apyUSD). At 3x the replay earned 8.95% a year, and its worst 30 days stayed above 0, at 6.32%. At the 4x setting it earned 9.59%, but syrupUSDC and PRIME reach the ceiling at 14.53%, and PST, capped at 3.70x, reaches it at 10.74%.

  • Leverage, default: 3x
  • Setting range: 1x to 4x
  • Slot caps: 4.76x, 3.70x, 4.76x

Yearly yield and worst 30 days for each leverage: 2x 7.80% and 6.17%, 2.5x 8.39% and 6.24%, 3x 8.95% and 6.32%, 4x 9.59% and 6.39%.

LeverageYearlyWorst 30 daysFirst slot to ceiling
2x7.80%6.17%38.84% (PST)
2.5x8.39%6.24%26.61% (PST)
3x8.95%6.32%18.45% (PST)
4x9.59%6.39%10.74% (PST at 3.70x)

Replay at 10,000 USDC, 5 Dec 2025 to 23 Nov 2026, yields in % a year. First slot to ceiling: the smallest write-down of one token that takes its slot to the withdraw ceiling, 0.25 points under its borrow limit. At 3x syrupUSDC and PRIME reach the ceiling at 24.03%. At the 4x setting PST holds at its 3.70x cap, and syrupUSDC and PRIME reach the ceiling at 14.53%. The test asks for 15%. The largest 7-day fall of an incident token was 16.71% (apyUSD), and every slot at 3x also stays under the ceiling at that fall. apyUSD's largest drawdown was 23.3%. The oracle-fall stop guards against a fall of that size.

Borrow guard

A new loan needs its 7-day mean rate at least 1 point under the token's 30-day oracle growth. On the three slots the guard blocked no lever-up: 8.95% a year with it and with no guard. On the Morpho reUSD stress market it kept the slot out of costly loans: 5.95% a year against 5.52% with no guard. In the rule grid a 1-point margin gave a stress gain of 0.72 points against 0.66 at 0.5 points, for 0.01 points less a year. A 30-day yield mean gave 0.79 against 0.66 for 7 days. A 1-day borrow mean gave 0.73, but on one stress market it earned less than no rule. The 7-day mean stays.

  • Margin: 1 point
  • Borrow rate: 7-day mean
  • Token yield: 30-day oracle growth
VariantYearly
Guard on each new loan8.95%
No guard8.95%
Check on the first loan only8.94%
Grid valueYearlyStress gain
Margin 0.5 point8.92%0.66
Margin 1 point8.91%0.72
Borrow mean 1 day8.92%0.73 (fails a stress market)
Borrow mean 7 days8.92%0.66
Yield mean 7 days8.92%0.66
Yield mean 30 days8.91%0.79

Replay at 10,000 USDC, 5 Dec 2025 to 23 Nov 2026. Grid rows: exit-rule sets around the best set, which differ in one value. Their yearly results include the exit rule. Stress gain: the gain on the stress markets over the loop held, in points a year. One run's loan raised a borrow rate by 0.44 points at most in the year, under half the margin.

Forced cut

A forced cut starts 5 points under the borrow limit and repays down to 10 points under it, in the same run. A 3x slot sits at 66.7%. The largest one-day oracle fall of an incident token, 10.35% (apyUSD), takes a 3x slot to 74.36%. That is under the forced level at 5 points (77% for PST), but over PST's 74% at 8 points, where that fall would force a sale. From the forced level, 5 points hold a further fall of 5.68% before the borrow limit, against 3.41% at 3 points. The oracle-fall stop deleverages a slot to 1x long before a larger fall takes it to the forced level.

  • Forced level: Limit − 5 points
  • Forced target: Limit − 10 points
  • Forced levels: 83%, 77%, 83%
OffsetPST forced levelFall held from the forced level3x slot after the largest fall
3 points79%3.41%Under
5 points77%5.68%Under
8 points74%9.09%Over (PST)

Offset: points under the borrow limit. Fall held: the largest fall from the forced level that keeps the slot under its borrow limit, with one run of loan growth at the worst 30-day borrow mean. Forced levels in loan-to-value for syrupUSDC, PST and PRIME.

Step ceiling

During a lever-up, the loan-to-value after each borrow stays at or under 7 points below the borrow limit: 81%, 75% and 81%. Until the purchase lands, the slot keeps 2 points of room under the forced level. A wider gap of 9 or 12 points makes each borrow smaller, so a lever-up takes more steps and fees, and it lowers each slot's leverage cap. Each cap keeps the loan-to-value 2 points under the step ceiling: 4.76x, 3.70x and 4.76x.

  • Step ceiling: Limit − 7 points
SlotBorrow limitStep ceilingForced levelLiquidationCap
syrupUSDC88%81%83%90%4.76x
PST82%75%77%86%3.70x
PRIME88%81%83%91%4.76x

Kamino limits of 23 Nov 2026, in loan-to-value. The replay used the borrow limit in force each day.

Oracle-fall stop

A fall of the Kamino oracle of more than 0.5% in 24 hours stops new loans and deleverages the slot to 1x. The largest normal day fall of the three tokens was 0.0059%, 84.7 times smaller. One incident token fell: apyUSD. Its oracle passed 0.5% on day 72, 22 days before a 3x slot would reach the forced level, and the loss at 3x up to the exit was 4.31%. At 1% the stop came 2 days later and the loss was 14.64%. 0.1%, 0.25% and 0.5% gave the same result; 0.5% is the largest of them and leaves the most room above normal days.

  • Oracle fall in 24 hours: 0.5%

Loss at 3x up to the exit in the incidents, for each stop level: 0.1% 4.31%, 0.25% 4.31%, 0.5% 4.31%, 1% 14.64%.

Stop levelNormal daysLoss at 3x
0.1%04.31%
0.25%04.31%
0.5%04.31%
1%014.64%

Daily Kamino oracle prices of syrupUSDC (538 days), PST (524) and PRIME (355), and on-chain oracle reads of incident tokens: apyUSD, USD3, wstUSR, USR, mGLO and limUSD.

Other stops

Three more stops act on the reads. An oracle with no rise for 3 days stops new loans. 3, 7 and 14 days all stopped no slot in the year and caught each stalled incident oracle; 3 days catches a stall soonest. After 24 hours of unreadable rates the slot deleverages. The longest gap in Kamino's rows in the year was 20 hours, so this stop never acted. At the 99th-percentile rate, 72 hours looped cost more than an exit and a re-entry on syrupUSDC and PST (3.10 and 3.05 USD against 1.09 and 1.40), but less on PRIME (0.95 against 1.51). A loan token 0.5% off 1 USD stops new loans on the slot. PYUSD moved at most 0.2629%, so 0.5% is the tightest tested band that no day passed.

  • Oracle stall: 3 days
  • Unreadable rates: 24 hours
  • Loan token off 1 USD: 0.5%
SlotStay 24 hStay 72 hExit, re-entry
syrupUSDC1.033.101.09
PST1.023.051.40
PRIME0.320.951.51

Cost in USD of staying looped at the 99th-percentile borrow rate, for a 10,000 USDC slot. The longest gap in Kamino's hourly rows in the period was 20 hours. Stall test: 3, 7 and 14 days, all with 0 slot stops in the year. PYUSD daily prices 13 Oct 2025 to 23 Nov 2026.

Liquidity share

One run borrows at most 5% of a reserve's free liquidity, the largest tested share whose rate step stays under half the 1-point guard margin. At the 10th-percentile free liquidity a 5% loan raised a borrow rate by 0.30 points (median), and by 0.44 points at most in any hour of the year (PST). A 10% share raised it by 0.60 points and a 25% share by 1.52 points, over half the margin.

  • Share of free liquidity: 5% a run
SharesyrupUSDC / USDCsyrupUSDC / PYUSDPST / USDC
5%0.300.300.05
10%0.600.600.10
25%1.501.520.26

Rate step in points a year from one loan of that share, on Kamino's rate curve of each reserve, at the 10th-percentile free liquidity, 5 Dec 2025 to 23 Nov 2026. PRIME/USDC had no free liquidity at its 10th percentile or its median, so a 5% share is no loan there.

Use cap

No new loan takes a reserve's use above 95%. Lever-ups started every 3 days earned 8.62% a year over their first 60 days at 95%, against 8.58% at 90% and 8.31% at 85%. A start waited 33.62 hours on average at 95% and 82.23 hours at 90%. With no cap of the agent's own, only Kamino's free liquidity, the result was the same; the tie goes to a cap of the agent's own.

  • Use cap for new loans: 95%

Mean wait of a lever-up start for each use cap: 85% 325.42 hours, 90% 82.23 hours, 95% 33.62 hours, Kamino's limit 33.61 hours.

Use cap60-day yieldMean waitWaits over 24 h
85%8.31%325.42 h55.1%
90%8.58%82.23 h27.9%
95%8.62%33.62 h15.0%
Kamino's limit8.62%33.61 h15.0%

294 lever-up starts, one every 3 days, 60 days each, at 10,000 USDC with no exit rule, 5 Dec 2025 to 23 Nov 2026. Yield in % a year. Waits over 24 h in % of the starts.

Swap floors

A normal swap needs at least the oracle value less 0.5%, and a forced sale less 5%, 10 times that limit. Over 1085 slot-days the sale loss passed 0.5% on 8 days, under 1% of the days; 0.25% was passed on 19 days, over 1%. For a 100,000 USD sale, the largest sale loss in the data was 3.23% (PRIME). The multiple 10 is the smallest tested one that covers it.

  • Normal swap: 0.5% under oracle
  • Forced sale: 5% under oracle
  • SOL purchase: 95% of Circuit's price
LimitSlot-days over it
0.25%19
0.5%8
1%1
Forced multipleForced limitCovers 3.23%
31.5%No
52.5%No
105%Yes

Sale loss: the market discount of the token to the Kamino oracle plus half the swap round trip. Circuit paper quotes on Solana gave round trips of 1.17 to 3.07 bp from 10 to 100,000 USD.

Split of new money

Equal thirds. A split weighted to PST earned 9.96% a year, and all in PST 11.33%, against 8.95%. A 5% write-down of one token would then cost 10.29% or 15.0% of the deposit, against 5.0% with equal thirds. The rule keeps thirds unless another split earns more with no larger write-down loss.

  • Split of new money: Equal thirds
SplitYearlyWorst 30 days5% write-down
Equal thirds8.95%6.32%−5.0%
Weighted to PST9.96%7.41%−10.29%
All in PST11.33%8.27%−15.0%

Replay at 3x and 10,000 USDC, 5 Dec 2025 to 23 Nov 2026, yields in % a year. Weighted to PST: 31% syrupUSDC and 69% PST. 5% write-down: the loss in % of the deposit when one token loses 5% of its value.

Minimum deposit

1,500 USDC, the smallest tested deposit at which the rent and the first-year fees are at most half the first-year gain over the plain tokens. At 1,500 USDC they are 7.36 USD against 10.80 USD. At 100 USDC they are 6.96 USD against 0.66 USD. Rent and fees reach half the gain at 1,378.19 USDC; 1,500 USDC is the first tested size above it.

  • Minimum deposit: 1,500 USDC

Yearly yield for each deposit: 100 USDC 1.04%, 1,500 USDC 8.50%, 10,000 USDC 8.95%, 100,000 USDC 9.02%.

DepositYearlyRent and feesHalf the gain
100 USDC1.04%6.96 USD0.66 USD
1,500 USDC8.50%7.36 USD10.80 USD
10,000 USDC8.95%9.99 USD72.50 USD
100,000 USDC9.02%42.39 USD725.00 USD

Replay 5 Dec 2025 to 23 Nov 2026. Gain over the plain tokens at the last-quarter pace. Rent is 6.86 USD at each size.

Run interval

15 minutes. The safety checks read Kamino's hourly rows, and the loan rules read 7-day and 30-day means, so a run every 5 minutes would mostly read the same rows again. A 60-minute run could act up to an hour after a new row, which gives a fast fall more time before the forced cut acts.

  • Run interval: 15 minutes

No exit rule

When a loan costs more than its token pays, the slot stops new loans and keeps its loop. The replay tested 186,624 sets of exit-rule values. On the three slots none beat the loop held, 8.95% a year; exit rule B30 earned 8.94%. The rules gained on two Morpho stress markets, but only in the first part of the data. From 1 Jun 2026 the agent beat B30 on each stress market: 7.74% against 7.34% on reUSD and 8.85% against 8.55% on savUSD. No set passed both the flat-region test and the split test.

  • Exit rule: None
  • Costly loan: No new loan
Variant3 slotsKamino syrupUSDCMorpho reUSDMorpho savUSD
Agent: guard, no exit8.95%5.38%5.95%7.71%
Exit rule B308.94%5.22%7.05%8.57%
Best exit-rule set8.92%5.38%7.21%7.99%
Plain tokens6.69%4.96%6.76%8.17%

Yearly yield at 10,000 USDC. 3 slots: 5 Dec 2025 to 23 Nov 2026. Stress markets: markets with long periods of borrow rates over the token yield, run with the same rules over 302 to 366 days. Split test: rules chosen on data to 31 May 2026, scored from 1 Jun 2026.

Risks

  • An issuer can write its token down. At 3x a slot loses about 3 times the write-down. With equal thirds, a 5% write-down of one token costs 5.0% of the deposit. A write-down of 18.45% takes the PST slot to its withdraw ceiling; syrupUSDC and PRIME reach it at 24.03%.
  • A higher leverage setting raises the loss of a write-down. At the 4x setting, a write-down of 14.53% takes syrupUSDC and PRIME to the withdraw ceiling, and 10.74% takes PST (capped at 3.70x); the 4x setting fails the 15% write-down test that 3x passes.
  • Borrow rates can stay above the token yields. The agent has no exit rule, so a slot keeps its loop while its loan costs more than its token pays. At the 99th percentile of the year, borrow rates reached 10.65% (syrupUSDC), 13.59% (PST) and 8.89% (PRIME), against a 30-day oracle growth (median) of 4.99%, 8.02% and 7.15%.
  • On the Kamino syrupUSDC/USDC stress market the borrow rate was above the token's 30-day oracle growth in 2802 hours, and the loop earned 5.38% against 4.96% plain. On the Morpho reUSD/USDC stress market the worst 30 days of the loop were −2.59% a year. On Morpho savUSD/USDC they were −2.53%.
  • A reserve can run out of free liquidity. PRIME's USDC reserve had no free liquidity in 6278 of 8450 hours, and its use was above 95% in 28% of the hours. A slot with no room takes no new loan and holds its tokens at a lower leverage.
  • Kamino can liquidate a slot at a loan-to-value of 90% (syrupUSDC), 86% (PST) or 91% (PRIME). The forced cut starts at 83%, 77% or 83%. The largest one-day oracle fall of an incident token, 10.35%, takes a 3x slot to 74.36%. A Kamino oracle fault can move a slot faster than a 15-minute run.
  • A forced cut sells at up to 5% under the oracle value. The largest sale loss in the data, for a 100,000 USD sale, was 3.23% (PRIME).
  • Solana, Kamino or Circuit can fail a read or a transaction. Circuit's Kamino loan row gives no loan amount, so the agent reads each loan from Kamino. A slot that the agent cannot read makes no change, and 3 stuck runs give an error line.
  • Each loan change pays swap costs and Solana fees, and the Kamino accounts take rent. A full unwind returns most of the rent: a real-money unwind lost 0.0219 SOL of 0.0748 SOL paid (0.0529 SOL back).

Glossary

Terms

  • Credit token: A token whose value grows by the income of its issuer's loans or receivables: syrupUSDC (Maple, loans to institutions), PST (Huma, payment receivables) and PRIME (Figure, home equity loans).
  • Slot: One token, its Kamino market and its loan. The agent has 3 slots.
  • Loop: A token posted as collateral, a stablecoin loan against it, and more of the token bought with the loan.
  • Leverage: The tokens that a slot holds, divided by the slot's share of the deposit. At 3x the loan is 2 times that share.
  • Lever-up and deleverage: A lever-up borrows, buys the token and posts it. A deleverage withdraws the token, sells it and repays.
  • Loan-to-value: The loan divided by the value of the collateral. At 3x it is 66.7%.
  • Borrow limit: The highest loan-to-value at which Kamino gives a new loan or lets the owner withdraw collateral.
  • Liquidation level: The loan-to-value at which Kamino can sell the collateral.
  • Withdraw ceiling: The highest loan-to-value after an emergency withdrawal: 0.25 points under the borrow limit.
  • Step ceiling: The highest loan-to-value after a borrow in a lever-up: 7 points under the borrow limit.
  • Forced cut: A deleverage in the same run when a slot reaches 5 points under the borrow limit.
  • Borrow guard: The check before each new loan: the 7-day mean borrow rate must be at least 1 point under the token's 30-day oracle growth.
  • Oracle: The price feed that Kamino uses for the collateral. For these tokens it follows the issuer's value of the token.
  • Write-down: A cut of a token's value by its issuer, for example after a loan default.
  • Point: One percentage point: of a yearly rate, or of loan-to-value for the levels under the borrow limit.
  • Free liquidity: The stablecoins of a Kamino reserve that are free to borrow.
  • Use: The loans of a reserve divided by its supply.
  • Plain tokens: The same three tokens in equal thirds, with no loan.
  • Exit rule: A rule that repays a slot's loan while borrowing costs more than the token pays. Rule B30 repays when the 7-day mean borrow rate is more than 1 point above the token's 30-day oracle growth.
  • Loop held: The loop with no exit rule, as the agent runs it.
  • Stress market: A market with long periods of borrow rates over the token yield, on which the replay tests the rules.
  • Flat-region test: A set of rule values passes when every set that differs from it by one step in one value scores within 0.1 points of it.
  • Split test: The rules are chosen on data to 31 May 2026 and scored from 1 Jun 2026. A set passes when its score is no more than 0.05 points under the loop held.
  • Incident token: A yield token on another chain whose oracle fell or stalled, used to test the stops.
  • Worst 30 days: The lowest return of any 30-day window in the period, as a yearly rate.
  • Rent: SOL that Solana holds for each Kamino account while it is open. Most of it returns when the account closes.
  • Ask: Circuit's assistant. It unwinds a stopped agent in rounds that the user approves.
  • Replay: The script that runs the agent's rules hour by hour on Kamino data from 5 Dec 2025 to 23 Nov 2026.

Replays

ReplayWindow (UTC)DataWhat it measures
Loop5 Dec 2025 to 23 Nov 2026353 days, hourly, 3 slotsYield at 100 to 100,000 USDC and at 2x to 4x
Rule grid5 Dec 2025 to 23 Nov 2026186,624 setsExit rules, chosen to 31 May 2026 and scored from 1 Jun 2026
Stress markets22 Nov 2025 to 23 Nov 20263 markets, 302 to 366 daysThe rules where borrow rates stayed over the yield
Oracle events4 Jun 2025 to 23 Nov 20263 slot tokens, 7 incident oraclesFalls and stalls, the write-down test
Rate curves5 Dec 2025 to 23 Nov 20268450 hours, 4 loan reservesUse cap, liquidity share
Prices13 Oct 2025 to 23 Nov 2026Circuit marks, Jupiter and PYUSD pricesSwap floors, loan-token band
Swap quotes23 Nov 2026Circuit paper quotes, 10 to 100,000 USDSwap costs, gap between quotes

Data: Kamino hourly borrow rates, free liquidity and rate curves; Kamino daily oracle prices; on-chain oracle reads of the incident tokens; Circuit prices and paper quotes. All read on 23 Nov 2026. PRIME's Kamino market opened on 4 Dec 2025, so the loop replay starts on 5 Dec 2025.

Model

  • E: Estimate from a replay or from arithmetic.

  • V: Verified from a source or a real-money test.

  • (E) Net yield = L × token yield − (L − 1) × borrow rate − costs, with L the leverage.

  • (E) Collateral is valued at the Kamino daily oracle price, spread over the hours. Decisions read only daily rows known an hour after their stamp.

  • (E) Each loan grows by Kamino's hourly borrow rate. PYUSD loans count at 1 USD.

  • (E) Each step pays half the measured round trip for its size and 3 transactions at 0.0017 USD.

  • (E) New borrowing: 4 runs an hour, each at most 5% of free liquidity, and use after the loan at most 95%. A slot with no room waits.

  • (E) Each slot gets a third of the deposit less rent (0.0959 SOL) and the 0.02 SOL fee reserve.

  • (E) Full-period figures include a final deleverage to 1x. Window figures are mark to market.

  • (V) The agent reads each loan from Kamino's loan data: the loan at Kamino's last refresh plus interest at the reserve's borrow rate. Circuit's Kamino loan row gives no loan amount.

  • (V) Kamino limits and liquidation levels are the values of 23 Nov 2026: 88/90, 82/86 and 88/91.

Model assumptions and validation scope

  • (E) Calibrated on one 353-day window, 5 Dec 2025 to 23 Nov 2026. The last quarter earned 7.83%, under the full-period 8.95%.
  • (E) The data holds no credit loss: no slot token fell more than 0.0059% in a day. The write-down is assessed by arithmetic in the leverage, forced-cut, oracle-fall and new-money split tests.
  • (E) The oracle stops are calibrated on incident tokens of other chains: apyUSD, USD3, wstUSR, USR, mGLO and limUSD. One of them, apyUSD, fell; the others stalled, so the oracle-fall stop rests on one fall event. In daily prices, 0.1%, 0.25% and 0.5% stop on the same day.
  • (E) No exit-rule set passed both the flat-region test and the split test. The borrow guard is compared with no guard in the same replay, where it blocked no lever-up.
  • (E) At every tested forced level, the largest incident fall, 10.35%, starting from that level, takes the slot past its borrow limit. The oracle-fall stop covers that case.
  • (E) The step ceiling, steps per run, stuck alert, failed-deleverage stop and the 1% extra on the last repayment use the values from the plan; the offline scenarios (116 of 116) check that the code holds them, and other values were not tested.
  • (E) The leverage band, run interval, forced-cut target and fee cap of 0.05 USD are set by design. They are not yet calibrated on live data.
  • (E) New money after the start is outside the replay, which starts with one deposit.
  • (E) Swap costs come from paper quotes. The syrupUSDC/PYUSD round trip is up to 2.95 bp at 100,000 USD, above the tier that the replay applies to the PYUSD loan.
  • (V) The replay counts the Kamino rent in full. A real-money unwind returned most of it: 0.0219 SOL lost of 0.0748 SOL paid (0.0529 SOL back).
  • (V) Circuit prices of yield tokens have 3 digits. The agent values loans with the Kamino oracle only.
  • (E) The net range is the replay result at 1,500 and at 100,000 USDC; the parts beside it are those at 10,000 USDC.
  • (E) The 15% write-down test is under the largest 7-day fall of an incident token (apyUSD, 16.71%).
  • (E) PST's Kamino borrow limit was 75% until 30 Sep 2026, so in the replay the PST slot ran at no more than 2.94x until then. The write-down test and the caps use the limits of 23 Nov 2026; Kamino can lower them again, and a lowered limit deleverages the slot to 1x.
  • (E) PST's oracle was flat for 27 days at its 2025 launch, before the replay window; the stall stop would then have held the slot at 1x.
  • (V) Two paths are proven only offline: the repayment after Circuit refuses a 'max' repay on a stale balance, and a lever-up in a reserve above 95% use.
  • (E) The guard's margin and means come from slices of the exit-rule grid, with an exit rule on; the shipped guard alone is compared with no guard.
  • (E) Kamino's history rows carry no use limit; the replay treats free liquidity as Kamino's limit.
  • (E) Sale losses are daily market discounts to the oracle plus half a quoted round trip; no forced sale occurred in the data.
  • The current code differs from the tested code only in where one file sits (the Kamino data reader moved into the agent's folder); the behaviour is the same.

Real-money tests

Real money: 1 production tests (1 passed), and 2 more stopped. The last test, on earlier code, passed. The agent's current code has no real-money test yet. The production test passed on Circuit production with 35 USDC.

TestResultWhat it showed
Real-money test 1, 45 USDCStoppedNo loan opened.
Real-money test 2, same sessionStoppedAsk repaid the 3 loans, withdrew the 3 supplies and swapped them to USDC; each swap got more than its floor.
Real-money test 3, 35 USDCPassedThe agent's loan figure matched the chain on all 90 checks, within 0.0001 USDC.