| name | prism |
| version | 0.0.31 |
| description | Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools. Use when the user asks about "prism", "DLMM", "liquidity agent", "Meteora pools", "rebalance positions", "paper trade Solana", or "start the trading agent".
|
| license | MIT |
| author | irfndi |
| homepage | https://github.com/irfndi/prism-liquidity-agent |
| tags | ["solana","defi","liquidity","meteora","dlmm","trading-agent"] |
| compatibility | Requires Bun 1.4+, the `prism` CLI, and a Helius RPC key. |
| metadata | {"chain":"solana","protocol":"meteora-dlmm","openclaw":{"requires":{"bins":"[Truncated]"},"os":["darwin","linux"],"capabilities":["mcp","http"]},"hermes":{"tags":["solana","defi","liquidity","trading"],"category":"defi","requires_toolsets":["terminal"],"blueprint":{"schedule":"0 * * * *","deliver":"origin","prompt":"Check Prism status and alert the user to any important positions, decisions, or risks. Use `prism status --message` and summarize in 3-5 bullets.","no_agent":false}}} |
Prism Liquidity Agent
Prism is an autonomous liquidity agent for Solana Meteora DLMM pools. It runs
locally, makes deterministic rebalancing decisions, and can optionally ask a
local agent runtime (Hermes via ACP or OpenClaw via Gateway) for a second opinion
when running as an agent skill.
When to use
- User asks about liquidity pool management on Solana.
- User wants to check pool health or position performance.
- User needs to rebalance concentrated liquidity positions.
- User mentions Meteora DLMM, fee-IL ratio, volume authenticity, or bin arrays.
- User wants to start, stop, configure, or monitor the Prism trading agent.
Quick start
bun install
prism setup --non-interactive --helius-key=$HELIUS_API_KEY
prism dev
export WALLET_PRIVATE_KEY=...
prism dev
Common commands
| Command | Purpose |
|---|
prism status --json | JSON snapshot for agents/skills |
prism status --message | Markdown summary for messaging apps |
prism dev | Start the trading agent |
prism backtest --days 7 | Run historical simulation |
prism backtest --source replay --days 7 --pools <addr> | Replay on-chain snapshots |
prism wallet show | Show wallet balance |
prism whoami | Show account info |
Decision flow
For each pool on each scan cycle:
- Fetch pool state and bin array from Meteora via Helius RPC.
- Compute metrics: fee/IL ratio, volume authenticity, bin utilization, TVL velocity.
- Apply decision rules in order:
- EXIT — TVL drop, stop-loss, trailing-stop, high volatility, low volume auth.
- REBALANCE — drift > 60%, OOR grace expired, net benefit positive.
- HOLD — existing position with healthy fee/IL ratio.