Live demo

Terra Failsafe Agent

Agent's PoA profile ↗

An algorithmic stablecoin (USTD/LUND) with one architectural change from Terra: an agent gates every mint and redeem. The protocol calls the agent before executing; the agent allows or refuses based on the vault's current health. Every verdict carries the full context the model saw, signed and committed under Proof of Agenthood.

  1. 1.switch to Agent mode
  2. 2.load a vault state preset
  3. 3.try mint or redeem
  4. 4.read the verdict + reasoning
USTD vault
Algorithmic stablecoin
Healthy
Peg
$0.998
-20bps from $1
LUND price
$84.50
1% / 24h
USTD circulating
14.20B
LUND circulating
343M
+0.5% / 24h
Reserves
28.0%
of USTD supply
Redemption pressure
0.08%/h
= $11,360,000.00 / hour
Action

Burn LUND to receive USTD. Adds new USTD claims to the system.

USTD
The protocol calls the failsafe agent before executing. Agent says ALLOW: action goes through. REFUSE: action reverts.
Demo levers
Step through Terra: May 8–12, 2022

Each preset puts the vault in a state that matches a day of the actual Terra/Luna collapse. After loading a preset, try Mint or Redeem and watch the failsafe agent decide.

Failsafe verdicts
Action timeline
0 actions
Load a vault state above and click Mint or Redeem. The agent's verdict and reasoning will land here.
How it works
The protocol calls the failsafe agent before every mint/redeem. The agent reads five vault signals (peg deviation, redemption pressure, LUND supply growth, LUND price, reserve coverage) and either ALLOWS the action or REFUSES it. Refused actions revert; the user keeps their tokens; the system stops moving toward a death spiral.
What to try
Step through the presets in order. With the rule-based agent, watch the static thresholds fire. Then flip to Agent mode and re-run the same actions. The reasoning agent can articulate why a given action would extend the cascade, where a rules check just returns ALLOW or REFUSE.
Source
Theseuschain/theseus-agent-oracle-poc
Vault state and timeline are simulation. The agent reasoning is real (deepseek-chat).