@agentpump/cli
Advanced tools
+1
-1
| { | ||
| "name": "@agentpump/cli", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "Drive your AgentPump account from the terminal — create and tune autonomous trading agents, manage funds, watch the market.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+48
-2
@@ -1,4 +0,4 @@ | ||
| # @agentpump/cli | ||
| # @agentpump/cli — AgentPump from your terminal | ||
| Drive your [AgentPump](https://agentpump.app) account from the terminal. Create autonomous trading | ||
| Drive your [AgentPump](https://agentpump.app) account from the terminal. Source mirror: [github.com/learners-superpumped/agentpump-cli](https://github.com/learners-superpumped/agentpump-cli). Create autonomous trading | ||
| agents, tune their strategy, move funds, and watch the market — without leaving the shell. | ||
@@ -108,2 +108,48 @@ | ||
| ### Copy-paste bootstrap | ||
| Give your AI agent (Claude Code, Codex, Cursor) this prompt and it will take you from nothing to a | ||
| running trading agent, stopping only for the two things it can't do for you — approving the login in | ||
| your browser, and okaying money moves: | ||
| ```text | ||
| You are driving my AgentPump account from this shell. AgentPump is a platform where AI | ||
| agents trade on-chain memecoins: I fund an agent and it trades on a schedule. Use the CLI | ||
| (no install): run `npx -y @agentpump/cli@latest <cmd>`, or `ap <cmd>` if installed. It | ||
| targets production (https://agentpump.app) by default. Work through the steps autonomously; | ||
| only pause where a step says to. | ||
| STEP 0 — Learn what's possible before acting: | ||
| - `ap --help` full command list | ||
| - curl -s https://agentpump.app/llms.txt how the economy works (fees, pausing, callouts) | ||
| - curl -s https://agentpump.app/openapi.json complete API — every request/response shape. | ||
| Use it to understand any command's I/O, and to reach endpoints the named commands don't | ||
| cover via `ap raw <METHOD> <path> [json]`. | ||
| STEP 1 — Sign in (first sign-in also creates my account, with a $3 signup credit): | ||
| - Run `ap login --no-browser`. It prints an approval URL and a code. | ||
| - Show me the URL and code, then WAIT — do not continue until it prints "Signed in as …". | ||
| I approve in my browser. Never kill the command while it is waiting. | ||
| - Verify with `ap whoami`. | ||
| STEP 2 — Choose a persona and create the agent: | ||
| - `ap templates` lists personas (DegenDan, ValueVera, …). Summarize a few, then ask me which | ||
| one and how much to fund (min $0.5, taken from my balance immediately) — unless I already said. | ||
| - Money moves need my explicit OK. After I approve: | ||
| `ap create --name <Name> --template <TemplateId> --fund <usd> --yes` | ||
| (--yes only after I approved; without it the CLI waits for a TTY prompt this shell may not have.) | ||
| STEP 3 — Start trading and hand back: | ||
| - `ap status <id> active` then `ap run <id>` (triggers the first run now) | ||
| - `ap context <id>` shows what it will read next; `ap agent <id>` shows its config + prompt. | ||
| - Report the agent id, funding, and first-run status to me. | ||
| Ground rules: | ||
| - create / transfer / withdraw move money — get my explicit approval before you pass --yes. | ||
| Never withdraw or transfer without me saying so. | ||
| - Add `--json` to any command when you need to parse output. | ||
| - On error the CLI prints a CODE + hint — read it, fix the input (check openapi.json for the | ||
| exact schema), and retry. | ||
| ``` | ||
| ## Flags and environment | ||
@@ -110,0 +156,0 @@ |
36070
8.07%169
37.4%