Agent CLI

Permission-Aware Agents
From the Command Line

Not just a trading bot CLI. Gate checks, airdrops, agent orchestration, DEX trading, and governance — all with on-chain permission enforcement. The only CLI where your agent has to qualify before it can act.

$ txai gate check --wallet core1abc... --holds MYTOKEN --min 10000
✓ PASS — balance: 25,000 MYTOKEN (min: 10,000)
$ txai agent create --name "MM Bot" --strategy market-maker --holds MYTOKEN
✓ Agent created — saved to ~/.txai/agents/MM_Bot.json
$ txai airdrop parse "Send 1000 MYTOKEN to all stakers"
✓ Intent parsed — strategy: equal, recipients: stakers, denom: MYTOKEN
$ txai airdrop execute --intent intent.json --confirm
✓ Airdrop complete — 47 recipients, 0 failed, tx: E25A...
Commands

Six Command Groups.
Full Blockchain Control.

Every command is permission-aware. Gates aren't optional — they're the foundation.

🔒

gate

Check wallet permissions against on-chain conditions. Balance, tokens, NFTs, staking, custom.

txai gate check --wallet core1... --holds TOKEN
🤖

agent

Create, configure, and run permission-aware agents. Market maker, sniper, airdrop, custom strategies.

txai agent create --name "Bot" --strategy market-maker
🎁

airdrop

Parse natural language, dry-run distributions, execute gate-checked airdrops.

txai airdrop parse "Send 1000 TOKEN to stakers"
💰

token

Query balances, check holdings, inspect token metadata on testnet or mainnet.

txai token balance --wallet core1...
📈

orderbook

Query the on-chain DEX orderbook. Bids, asks, depth, spread — all from the terminal.

txai orderbook depth --pair TOKEN/CORE

config

Set network, API endpoint, default wallet. Persists across sessions.

txai config set network testnet
Why This Is Different

Permission-Aware vs Trading-Only

Most crypto CLIs are just trading bots. TXAI agents have to qualify before they can act.

Other Agent CLIs

  • Trading commands only
  • No permission checks
  • No gate conditions
  • No airdrop support
  • No agent orchestration
  • Single-purpose bots

TXAI Agent CLI

  • 6 command groups: gate, agent, airdrop, token, orderbook, config
  • On-chain permission enforcement
  • Gate conditions on every action
  • NLP-powered airdrop with dry-run
  • Multi-strategy agent orchestration
  • Composable, full-stack agents
Workflow

From Zero to Running Agent
in Four Commands

The CLI workflow mirrors the SDK. Configure, gate-check, create, run.

01

Configure

Set your network and defaults. Persists to ~/.txai/config.json

txai config set network testnet
02

Gate Check

Verify your wallet meets the requirements before creating agents or running airdrops.

txai gate check --wallet core1... --holds MYTOKEN --min 10000
03

Create Agent

Define strategy, gate conditions, and run interval. Saved as a reusable JSON config.

txai agent create --name "MM Bot" --strategy market-maker --holds MYTOKEN
04

Run

Execute with dry-run first, then for real. The agent checks gates on every cycle.

txai agent run --name "MM Bot" --dry-run

Try the CLI

Install from npm. Run your first gate check in 30 seconds.

$ npm install -g @txai/cli
$ txai config set network testnet
$ txai gate check --wallet core1... --staked --min 1000
Launch Studio → See Pay Demo