← All projects
FIELD STUDY 03 / AI / Web3

Argus AI/03

Make risk visible. Before the edge.

Demo-position risk simulatorGitHub Open demo
HOW THIS WAS BUILT

AI-assisted, and still learning.

I used AI coding tools extensively to build this project. I’m working through the implementation so I can explain the decisions, debug problems and make changes with more independence.

TRY IT WITH CONTEXT

Demo positions only. No live lending indexing, autonomous execution or background monitoring. Protection actions are simulated; the portfolio lab is educational, not financial advice.

Inspect the implementation ↗
PROJECT PREVIEW / LANDING PAGE

Understand
the exposure.

Argus AI landing page preview
01 / THE QUESTION

A Solana DeFi risk simulator for exploring positions under market stress.

A healthy-looking collateral position can change quickly when the market moves. A headline balance alone does not explain liquidation exposure.

Show modeled health factors, stress the collateral value and explain what repayment or additional collateral would do to the position.

02 / EXPLORE THE LOGIC

What does a market shock change?

Adjust the model. See the relationship. This original explanatory study simplifies a concept in the project; it is not the production application.

INTERACTIVE FIELD STUDY / EXPOSURE
1.36modeled health factor
liquidation boundary: 1.00

Above the modeled liquidation boundary.

Illustrative $10,000 collateral, $5,000 debt, 80% liquidation LTV. HF = stressed collateral × 0.8 ÷ remaining debt. Stable debt, correlated collateral; no fees or execution. Not financial advice.
03 / INSIDE THE SYSTEM

From interface
to infrastructure.

Next.jsReactTypeScriptTailwind CSSSolana Wallet AdapterSolana web3.jsKamino SDKGemini API (optional)
  1. 01
    Next.js + Reactscenario interface
  2. 02
    Demo positionsmodel inputs
  3. 03
    Risk mathstress and target calculations
  4. 04
    Safeguard checkssimulated protection
04 / IMPLEMENTED IN THE REPOSITORY
01

Modeled health factors, liquidation buffers and target repayment calculations.

02

Stress scenarios for correlated collateral and stable debt.

03

Simulated protection rules with balance, expiry, spending and approval checks.

04

Deterministic explanations plus an optional experimental Gemini endpoint.

05 / THE HARD PART

Where correctness matters.

A risk model is only as useful as its assumptions. The simulation explicitly assumes correlated collateral and stable debt; it is not a live lending indexer.

06 / DESIGN TAKEAWAY

What the implementation teaches.

Explanations and constraints belong beside the number. A protection proposal needs limits and consent, not just a calculated action.

CONTINUE EXPLORING

Next field study: SupplyLens

↗
CYBER RONIN / MISSION INDEX
⌘ / Ctrl K to open · Esc to close