Skip to content

CLI reference ​

bash
npm i -g @agenticstarter/cli
agentic init --network testnet --wallet 0xYourAgentWallet
agentic help

agentic init writes ~/.agentic/config.json, installs the agent skill and runs preflight. Environment variables override the config file.

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. Graduated tokens are bought on PancakeSwap V2
agentic sell --token <addr> --percent <p>Sell preview → requestId (also --amount, --all). Graduated tokens: an approval request first, then the PancakeSwap sell
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>, --fee-to 0xA:60,x:@alice:40 (up to 10 recipients), --cashback. After execute it prints a ready share text
agentic claim --tokens <addr,addr>Splits those tokens' pending creator fees and claims yours
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 init --network testnet|mainnet --wallet <0x…> [--signer-cmd "<cmd>"]Writes the config file, installs the skill, runs preflight
agentic mcpRuns the CLI as an MCP server over stdio, so agent frameworks can call every command as a tool
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_LENSbuilt-in addressOverride the LaunchpadLens contract (quotes)
AGENTIC_IGNITEbuilt-in addressOverride the IgniteBoard contract
AGENTIC_ROUTERPancakeSwap V2 routerRouter used for tokens that graduated
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 wallet cap; only 0.0259 BNB was used.

Crypto assets are volatile. Nothing here is financial advice.