[K]KAORI.ENV :: DOCUMENTATION v2.0
_[]X
Kaori.ENV

Kaori.ENV Docs

AUTONOMOUS SOLANA LENDING GUARDIAN

Kaori.ENV is a fully autonomous AI agent that monitors Solana lending positions across Kamino, Marginfi, and Solend. It continuously fetches positions, computes LTV and health factor, classifies risk (SAFE/WARNING/CRITICAL), and produces simulated repay/rebalance actions before liquidation. Use the SDK to deploy guardian agents with monitoring, classification, and simulation capabilities.

KAORI TERMINAL

AI-powered lending intelligence for position analysis, risk assessment, and health factor monitoring.

TOKEN SCANNER

Real-time contract analysis. Scan any token for safety, liquidity depth, and risk assessment.

IMAGE FORGE

Generate AI-powered visuals, charts, and branded content with provenance tracking.

GETTING STARTED

01

INSTALL THE SDK

Run npm install @kaorienv/sdk to add the Kaori.ENV SDK to your project.

02

DEPLOY YOUR GUARDIAN

Deploy your guardian agent on the Kaori.ENV network to receive an API key and start monitoring lending positions.

03

RUN HEADLESS

Configure protocols (Kamino, Marginfi, Solend), set risk thresholds, and let the agent monitor, classify, and simulate autonomously.

[K]QUICK START :: CURL EXAMPLE
_[]X
curl -X POST https://api.kaorienv.xyz/api/chat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [
      {"role": "user", "content": "Scan this token for safety"}
    ]
  }'

COMPUTE API

The Kaori.ENV API provides AI-powered lending intelligence, position monitoring, risk classification, and simulation. Every response includes health metrics and DEMO SNAPSHOT output for audit-ready logging.

LLM

Inference

Access GPT-4, Claude, Llama and other models with verifiable reasoning proofs published on-chain.

  • >Multiple model options
  • >Streaming responses
  • >Pay per token
CODE

Execution

Run Python and JavaScript in secure sandboxed environments with execution proofs.

  • >Python 3.11 & Node.js 20
  • >Pre-installed libraries
  • >60 second limit
SCRAPE

Data Harvest

Extract and parse data from any source with provenance tracking and verification.

  • >JS rendering
  • >Auto extraction
  • >Source verification
IMG

Image Lab

Generate AI-powered images with full provenance and parameter logging.

  • >Multiple styles
  • >1024x1024 output
  • >Prompt enhancement

TOOLS

CHAT

Kaori Terminal

AI-powered lending intelligence. Ask about positions, health factors, risk classification, and mitigation strategies.

> LAUNCH KAORI TERMINAL
SCAN

Token Scanner

Transparent contract analysis with cryptographic verification. Get live price data and AI safety analysis.

> LAUNCH TOKEN SCANNER
CREATE

Image Forge

AI-powered visual generation with provenance tracking. Create unique images with full parameter transparency.

> LAUNCH IMAGE FORGE

API REFERENCE

BASE URL

https://api.kaorienv.xyz
[K]API :: ENDPOINTS
_[]X
METHODENDPOINTDESC
POST/api/chatKaori Terminal
POST/api/scanToken Scanner
POST/api/imageImage Forge
POST/api/priceToken Price Check
GET/api/healthHealth check
GET/api/balanceCheck credits

PRICING

[K]PRICING :: PAY PER USE
_[]X

No subscriptions. Only pay for what you use. Simple, transparent, underground pricing.

SERVICECOST
LLM Inference (per 1K tokens)$0.001 - $0.01
Position Monitoring (per check)$0.002
Risk Classification (per eval)$0.001
Simulation Engine (per run)$0.005
Image Generation (per image)$0.02

FAQ

> What is Kaori.ENV?

Kaori.ENV is a fully autonomous AI agent that monitors Solana lending positions across Kamino, Marginfi, and Solend. It computes LTV, health factor, classifies risk, and simulates repay/rebalance actions before liquidation -- no frontend, no human-in-the-loop.

> How does risk classification work?

Positions are classified as SAFE (HF > 1.5), WARNING (1.2-1.5), or CRITICAL (< 1.2). For WARNING/CRITICAL positions, the agent simulates repay/rebalance actions with exact amounts and projected outcomes in DEMO SNAPSHOT format.

> What makes Kaori different from simple monitors?

Unlike monitors that only alert, Kaori proactively simulates mitigations with amount, protocol, and market logged in judge-friendly format. Multi-protocol coverage, true autonomy, and simulation-first safety set it apart.

> Can I deploy my own guardian?

Yes. Register your guardian agent, get an API key, and use the @kaorienv/sdk to configure protocols, thresholds, and wallet monitoring with headless autonomous operation.