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.
AI-powered lending intelligence for position analysis, risk assessment, and health factor monitoring.
Real-time contract analysis. Scan any token for safety, liquidity depth, and risk assessment.
Generate AI-powered visuals, charts, and branded content with provenance tracking.
GETTING STARTED
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.
Inference
Access GPT-4, Claude, Llama and other models with verifiable reasoning proofs published on-chain.
- >Multiple model options
- >Streaming responses
- >Pay per token
Execution
Run Python and JavaScript in secure sandboxed environments with execution proofs.
- >Python 3.11 & Node.js 20
- >Pre-installed libraries
- >60 second limit
Data Harvest
Extract and parse data from any source with provenance tracking and verification.
- >JS rendering
- >Auto extraction
- >Source verification
Image Lab
Generate AI-powered images with full provenance and parameter logging.
- >Multiple styles
- >1024x1024 output
- >Prompt enhancement
TOOLS
API REFERENCE
BASE URL
https://api.kaorienv.xyz| METHOD | ENDPOINT | DESC |
|---|---|---|
| POST | /api/chat | Kaori Terminal |
| POST | /api/scan | Token Scanner |
| POST | /api/image | Image Forge |
| POST | /api/price | Token Price Check |
| GET | /api/health | Health check |
| GET | /api/balance | Check credits |
PRICING
No subscriptions. Only pay for what you use. Simple, transparent, underground pricing.
| SERVICE | COST |
|---|---|
| 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.