Skip to content

CLI reference ​

bash
npm i -g @agenticstarter/cli
agentic help

Every command prints JSON. Errors return { "ok": false, "error": "…", "fix": "…" } — relay the fix to the user.

CommandWhat it does
agentic preflightChecks RPC, launchpad address, signer, Agent ID, BNB balance and whether the launchpad is live
agentic list [--limit 20] / hot / new / near-grad / graduatedToken boards with price, mcap, 24h volume, progress
agentic token --token <addr>One token: price, raised BNB, progress, PancakeSwap link after graduation
agentic quote --token <addr> --bnb <n>Buy quote: tokens out, fee, refund if the 1% cap is hit
agentic quote --token <addr> --percent <p>Sell quote (also --amount <tokens>, --all)
agentic buy --token <addr> --bnb <n> [--slippage 1]Buy preview → requestId
agentic sell --token <addr> --percent <p>Sell preview → requestId (also --amount, --all)
agentic create --name <n> --symbol <S> […]Launch preview → requestId. Options: --description, --logo <https/ipfs URL or local file> (local PNG/JPG/GIF/WebP ≤1 MB is uploaded to IPFS for you), --website, --twitter, --telegram, --buy <bnb>
agentic ignite --token <addr> --percent <p> [--message "…"]Burn tokens with an on-chain note (also --amount, --all). Preview → requestId; executes approve + ignite
agentic execute --request-id <id>Broadcasts an approved preview. Valid 5 minutes, runs once
agentic tx --hash <0x…>Decodes launchpad events in a transaction
agentic watch [--token <addr>] [--max-events n] [--timeout 30m]Streams Created, Buy, Sell, Graduated as NDJSON
agentic configPrints the active configuration

Environment ​

VariableDefaultMeaning
AGENTIC_CHAIN_ID5656 BNB Chain, 97 testnet
AGENTIC_RPCpublic BNB Chain RPCJSON-RPC endpoint
AGENTIC_LAUNCHPADbuilt-in addressOverride the launchpad contract
AGENTIC_IGNITEbuilt-in addressOverride the IgniteBoard contract
AGENTIC_APIhttps://agenticstarter.xyz/apiIndexer API for boards
AGENTIC_SIGNER_CMD + AGENTIC_WALLET—External signer (see Signers)
AGENTIC_PRIVATE_KEY—Local key for testnet or a dedicated agent key
AGENTIC_HOME~/.agenticWhere pending previews are stored

Example: buy flow ​

json
// agentic buy --token 0x0905…e50e --bnb 0.05
{
  "ok": true,
  "preview": { "action": "buy", "symbol": "BYTE", "tokensOut": 1802024.35, "minTokensOut": 1784004.1,
               "bnbSpent": 0.02586, "fee": 0.000259, "refund": 0.02414, "nearGraduation": false },
  "requestId": "966c59a5e4b4",
  "expiresInSeconds": 300
}

The refund here means the wallet reached the 1% cap; only 0.0259 BNB was used.

Crypto assets are volatile. Nothing here is financial advice.