npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@glide-pool/cli

v0.1.3

Published

CLI for managing GlidePool autonomous DLMM agents on Base Mainnet

Downloads

498

Readme

@glide-pool/cli

CLI for GlidePool — autonomous DLMM agent platform on Base Mainnet.

Manage agents, browse pools, inspect positions, and get Claude Opus 4 AI advice directly from your terminal.

Installation

npm install -g @glide-pool/cli

Setup

Point the CLI at your GlidePool API server:

# Save API URL to ~/.glidepool/config.json
glidepool config set-api https://api.glidepool.xyz

# Or use the --api flag on every command
glidepool --api https://api.glidepool.xyz pools list

# Or set the environment variable
export GLIDEPOOL_API_URL=https://api.glidepool.xyz

Commands

glidepool config

glidepool config set-api <url>   # Save API URL
glidepool config show            # Show current config

glidepool pools

# List all supported Maverick V2 pools (live TVL, price, fee)
glidepool pools list

# Output:
# TOKEN A  TOKEN B  TVL (USD)  PRICE   FEE    ADDRESS
# -------  -------  ---------  ------  -----  ----------
# WETH     USDC     21311      0.0004  0.0015  0x3d70...
# DAI      USDC     64203      0.9998  0.00002 0x1a2b...

# Get details for a specific pool
glidepool pools get 0x3d70b2f31f75dc84acdd5e1588695221959b2d37

# Raw JSON output (all commands support --json)
glidepool pools list --json

glidepool agent

# Deploy a new autonomous agent
glidepool agent create \
  --wallet 0xYourWallet \
  --pool 0x3d70b2f31f75dc84acdd5e1588695221959b2d37 \
  --strategy balanced \
  --budget 100 \
  --interval 60

# Output:
# Agent deployed
#   ID:       4df9a63d-30eb-4885-87fc-f44f98baadbe
#   Pool:     0x3d70b2f31f75dc84acdd5e1588695221959b2d37
#   Strategy: balanced
#   Budget:   100 USDC
#   Status:   active

# List all agents for a wallet
glidepool agent list --wallet 0xYourWallet

# Get a single agent
glidepool agent get <agentId>

# Pause / resume / stop
glidepool agent pause  <agentId>
glidepool agent resume <agentId>
glidepool agent stop   <agentId>

# View LLM decisions (last 10 by default)
glidepool agent actions <agentId>
glidepool agent actions <agentId> --limit 20

# Output:
# [03:31:28] HOLD — completed
#   Risk:    high
#   Reason:  Pool reserves are low, price is volatile. Holding current position...
#
# [03:32:00] REBALANCE — pending_signature
#   Risk:    medium
#   Bins:    lower=-5 upper=5

glidepool positions

# List Maverick V2 LP positions for a wallet
glidepool positions 0xYourWallet

# Output:
# NFT ID  TOKEN A  TOKEN B  VALUE USD  AMOUNT A  AMOUNT B  BINS
# ------  -------  -------  ---------  --------  --------  ----
# 1234    WETH     USDC     523.40     0.150000  285.2200  3

glidepool advisor

# Get Claude Opus 4 analysis for a pool
glidepool advisor \
  --pool 0x3d70b2f31f75dc84acdd5e1588695221959b2d37 \
  --goal "maximize fee income with minimal impermanent loss"

# Analyze an existing position
glidepool advisor \
  --pool 0x3d70b2f31f75dc84acdd5e1588695221959b2d37 \
  --goal "should I rebalance or hold?" \
  --nft 1234

# Output:
# ── AI Advisor ──────────────────────────
#   Action:   HOLD
#   Risk:     low
#   Summary:  Pool is in a healthy state. Current price is centered in your bin range.
#
#   Reasoning:
#   The active tick is within the optimal range. Fee generation is consistent.
#   No rebalance needed at this time. Monitor for price drift above tick 150.

x402 payments: If the server requires payment (X402_ENABLED=true), the CLI shows:

[402] Payment Required
  Send 0.05 USDC on Base to:
  0xTreasuryAddress...
  Token: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

  Then retry with: --payment-proof <base64(JSON{txHash,from,amount})>

Once you've sent the USDC:

PROOF=$(echo '{"txHash":"0x...","from":"0xYour...","amount":"0.05"}' | base64)
glidepool advisor --pool 0x3d70... --goal "..." --payment-proof "$PROOF"

Global Options

| Flag | Description | |---|---| | --api <url> | Override API URL for this command | | --json | Output raw JSON (useful for scripting) | | --version | Show CLI version | | --help | Show help |


Agent Strategies

| Strategy | Mode | Description | |---|---|---| | conservative | Static bins | Tight fixed range, low risk | | balanced | Both (follows price) | Medium risk, adapts to price movement | | aggressive | Right/Left (trend) | Higher exposure, follows price direction |

The agent server runs Claude Opus 4 on each cycle. It analyzes pool state (activeTick, TVL, reserves, price) against your goal and produces one of:

  • hold — current position is optimal, no action needed
  • rebalance — shift bin range, requires wallet signature
  • withdraw — remove liquidity, requires wallet signature
  • add_liquidity — add more liquidity, requires wallet signature
  • switch_mode — change bin mode, requires wallet signature

All on-chain actions require your explicit wallet signature — the GlidePool server never holds your private keys.

Requirements

  • Node.js >= 18
  • A running GlidePool API server

License

MIT