@agether/agether plugin exposes all of Agether’s functionality as natural language tools for AI agents running on OpenClaw. Instead of writing code, your agent can say:
“Deposit 0.1 WETH and borrow $100 USDC”…and the plugin handles everything: market discovery, batch transaction construction, and onchain execution.
Prerequisites
- OpenClaw installed (
npm i -g openclaw) - A Telegram bot (or any other OpenClaw channel)
- A wallet private key with ETH on Base (chain ID 8453) for gas
Installation
Quick Start
How It Works
The plugin translates natural language into typed tool calls. Each tool call maps to a specific SDK operation:Tools Overview
The plugin registers 24 tools across five categories:Identity & Account
Balance checks, agent registration, and agentId management.
Morpho Lending
Deposit, borrow, repay, withdraw, supply, market discovery.
Scoring & Payments
Credit scores, wallet funding, and x402 paid API calls.
KYA & Wallet
KYA status/configuration and token/ETH withdrawals from Safe account.
Health & Diagnostics
Comprehensive health checks and preflight diagnostics.
Slash Commands
Quick commands that work without AI processing:| Command | Description |
|---|---|
/balance | Instantly show ETH and USDC balances (EOA + Safe account) |
/morpho | Instantly show all Morpho positions |
/health | Comprehensive health check (balances + positions + risk) |
/rates | Current supply/borrow APY for all markets |
Error Handling
The plugin translates Solidity revert codes into human-readable messages:| Revert Code | Message |
|---|---|
0xda04aecc | ExceedsMaxLtv — collateral too low for this borrow amount |
0xfeca99cb | ExecutionFailed — inner contract call reverted |
0xa920ef9f | PositionNotActive — no collateral deposited |
AgentId Persistence
When your agent registers, the plugin automatically saves theagentId to ~/.openclaw/openclaw.json. This ensures the agent ID survives gateway restarts. You can also set it manually with the agether_set_agent tool.

