agent-led-growth 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-led-growth",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Score: evals for agents as customers. Runs a real agent through signup, key and first call on your product, before you ship. Track, the analytics half, measures which agents convert after.",
5
5
  "author": {
6
6
  "name": "Kat Laszlo",
package/README.md CHANGED
@@ -1,8 +1,20 @@
1
1
  # agent-led-growth
2
2
 
3
- Evals and analytics for agents as customers. Score before you ship, Track after.
3
+ **Score** whether an AI agent can sign up for your product, get a key, and make a real API call. **Track** which agents actually do it on live traffic.
4
4
 
5
- This is Score, the evals half, and not the prompt-scorecard kind: it runs a real agent through signup, key and first call on your product. One command reads your pages and says where an agent would stop. A second one proves it with the agent. The analytics half, [Track](https://alg.katrinalaszlo.com), shows which agents actually do it once you ship.
5
+ ## What it does
6
+
7
+ An agent tries to become your customer. The tool:
8
+
9
+ 1. **Checks** your public pages and says where an agent would stop.
10
+ 2. **Gives you a fix prompt** for Claude Code, Cursor, or Codex.
11
+ 3. **Tests** with a real agent to prove the fix works.
12
+
13
+ ## Quick start
14
+
15
+ ```bash
16
+ npx agent-led-growth check yourproduct.com
17
+ ```
6
18
 
7
19
  ```
8
20
  $ npx agent-led-growth check resend.com
@@ -41,17 +53,7 @@ $ npx agent-led-growth check resend.com
41
53
 
42
54
  Six seconds. No account, no Docker, nothing sent to your product but GET requests. Needs Node 20.9 or later.
43
55
 
44
- ## Three steps
45
-
46
- **1. Check.** Reads your public pages, marks the seven steps an agent goes through (Discover, Understand, Sign up, Access, Use, Pay, Manage), and writes one fix prompt per gap.
47
-
48
- ```bash
49
- npx agent-led-growth check yourproduct.com
50
- ```
51
-
52
- **2. Fix.** Paste the prompt it names into your coding agent (Claude Code, Cursor, Codex), deploy, check again. Each prompt says why, what to build, the security rules, and the acceptance tests to write. It never touches your code itself.
53
-
54
- **3. Test.** A real agent, your own Claude Code, signs up for your product and gets a key. A separate checker then calls your API with that key, with no key, and with a wrong key. The agent's word is never the verdict.
56
+ Then fix and test:
55
57
 
56
58
  ```bash
57
59
  npx agent-led-growth test yourproduct.com --check # free: shows the plan, runs nothing
@@ -71,9 +73,17 @@ npx agent-led-growth test yourproduct.com # creates a real account; as
71
73
  11 turns · $0.37 · evidence in .alg/app.tansohq.com/2026-10-05T02-35-22-et9ch3/
72
74
  ```
73
75
 
74
- A test uses your Claude Code's model time, capped at $5. Runs in October 2026 cost $0.06 to $0.47 and took 27 seconds to 4 minutes.
76
+ The agent is your own Claude Code. A separate checker then calls your API with the key it got, with no key, and with a wrong key. A test uses your Claude Code's model time, capped at $5. Runs in October 2026 cost $0.06 to $0.47 and took 27 seconds to 4 minutes.
75
77
 
76
- ## After it passes, measure real agents
78
+ ## Why this is different
79
+
80
+ Readiness scanners read your pages and grade what is documented. Agent-experience evals run an agent from install to working code. Neither tells you whether an agent can become a customer: sign up on its own, hold a key that works, and pay.
81
+
82
+ This tool runs a real agent through the whole journey and verifies every claim from outside the agent. A successful HTTP response alone doesn't pass: the checker makes the call with the agent's key, with no key, and with a wrong key, and a call that answers without a key proves nothing. Two of the built-in tasks have the agent pay with real money, USDC over x402 and a card through Stripe Projects, and the evaluator reads the settlement on-chain or from the provider, never from the agent's transcript.
83
+
84
+ The readiness scanners are still useful, so `--standards` runs five of them (agentic-seo, Cloudflare's isitagentready, Fern's afdocs, Vercel's agent-readability, AgentGrade, through [aeo-ready](https://www.npmjs.com/package/aeo-ready)) after the seven steps. They never change the verdict.
85
+
86
+ ## Then, measure real agents
77
87
 
78
88
  A passing test says an agent *can* become a customer. [Track](https://alg.katrinalaszlo.com) says which ones *do*: an Express middleware that records each agent's session, the errors that end it, and the outcomes that follow. Same seven steps, on real traffic instead of one test agent:
79
89
 
@@ -90,15 +100,21 @@ A passing test says an agent *can* become a customer. [Track](https://alg.katrin
90
100
  Add agent traffic to this API: read https://alg.katrinalaszlo.com/SKILL.md and follow it.
91
101
  ```
92
102
 
93
- ## Why not a readiness score
103
+ ```
104
+ Add agent traffic to this API: read https://alg.katrinalaszlo.com/SKILL.md and follow it.
105
+ ```
106
+
107
+ ## Full command reference
94
108
 
95
- Readiness scanners read your pages and grade what is documented. Agent-experience evals run an agent from install to working code. Neither tells you whether an agent can become a customer: sign up on its own, hold a key that works, and pay.
109
+ ### The three steps
110
+
111
+ **1. Check.** Reads your public pages, marks the seven steps an agent goes through (Discover, Understand, Sign up, Access, Use, Pay, Manage), and writes one fix prompt per gap.
96
112
 
97
- This tool does the whole journey, with a real agent, and verifies every claim from outside the agent. Two of its built-in tasks have the agent pay with real money, USDC over x402 and a card through Stripe Projects, and the evaluator reads the settlement on-chain or from the provider, never from the agent's transcript.
113
+ **2. Fix.** Paste the prompt it names into your coding agent (Claude Code, Cursor, Codex), deploy, check again. Each prompt says why, what to build, the security rules, and the acceptance tests to write. It never touches your code itself.
98
114
 
99
- The readiness scanners are still useful, so `--standards` runs five of them (agentic-seo, Cloudflare's isitagentready, Fern's afdocs, Vercel's agent-readability, AgentGrade, through [aeo-ready](https://www.npmjs.com/package/aeo-ready)) after the seven steps. They never change the verdict.
115
+ **3. Test.** A real agent, your own Claude Code, signs up for your product and gets a key. A separate checker then calls your API with that key, with no key, and with a wrong key. The agent's word is never the verdict.
100
116
 
101
- ## With your coding agent
117
+ ### With your coding agent
102
118
 
103
119
  Paste this into Claude Code, Codex, Cursor or any agent that runs shell commands:
104
120
 
@@ -115,7 +131,7 @@ claude plugin install agent-led-growth@agent-led-growth
115
131
  npx skills add katrinalaszlo/agent-led-growth-cli # Codex, Cursor, others
116
132
  ```
117
133
 
118
- ## In CI
134
+ ### In CI
119
135
 
120
136
  ```bash
121
137
  npx agent-led-growth check $URL --fail-on high --json # exit 1 on a high-severity gap
@@ -124,11 +140,11 @@ npx agent-led-growth test $URL --yes --json # creates a real account
124
140
 
125
141
  Commit `alg.yml` so CI reuses your answers. `test` needs Claude Code installed and signed in, or `ANTHROPIC_API_KEY`.
126
142
 
127
- ## Installed
143
+ ### Installed
128
144
 
129
145
  `npm i -g agent-led-growth`, then `alg check …` and `alg test …`.
130
146
 
131
- ## Flags
147
+ ### Flags
132
148
 
133
149
  `check`
134
150
 
@@ -154,7 +170,7 @@ Commit `alg.yml` so CI reuses your answers. `test` needs Claude Code installed a
154
170
 
155
171
  Exit codes, both commands: `0` done or passed, `1` fixes found or test failed, `2` usage or setup, `3` the site did not answer or the run was inconclusive, `130` cancelled.
156
172
 
157
- ## Cost, accounts and data
173
+ ### Cost, accounts and data
158
174
 
159
175
  | | `check` | `test --check` | `test` |
160
176
  | --- | --- | --- | --- |
@@ -166,12 +182,12 @@ Exit codes, both commands: `0` done or passed, `1` fixes found or test failed, `
166
182
  - **Your data.** No account, no telemetry, nothing phoned home. Check requests carry the user agent `agent-led-growth/<version>`. The agent runs with its own isolated settings: none of your MCP servers, hooks, plugins or CLAUDE.md files, and only the test identity's email address (a hook refuses any other).
167
183
  - **Secrets.** The agent's key, keys a product showed, claim codes, connection-string passwords and one-time codes and links are scrubbed from every file in the run folder after the check. `.alg/` stays on your machine; keep it out of version control.
168
184
 
169
- ## Limits
185
+ ### Limits
170
186
 
171
187
  - **`check`** reads at most 36 pages per run (well-known paths such as `/llms.txt`, plus at most 14 links it follows), all on your product's own registrable domain. 10-second timeout and 2 MB per page. It does not run JavaScript, so a page that renders only in the browser reads as empty, and it sees nothing behind a login. A step found in page text can be wrong; only a test proves one.
172
188
  - **`test`** gives the agent 40 turns and $5. A run stops after 30 minutes, or 5 minutes with no output. The agent reaches only your product's domain and its usual subdomains (`www`, `api`, `docs`, `app`, `auth`, `console`, `dashboard`, `developers`), plus hosts in `verify_call`, `verify_exchange`, `verify_cli` and `verify_hosts`. It has Bash, WebFetch and file tools, not a browser, so a signup that works only in a browser (a JavaScript-only form, a CAPTCHA) stops it. One run is one attempt; results can differ between runs.
173
189
 
174
- ## Onboarding
190
+ ### Onboarding
175
191
 
176
192
  Three questions pick the onboarding model the fix prompts build toward. `check` does not ask them: it takes what your docs describe, or the recommended model when they describe none, and prints which one it used. Answers are saved to `alg.yml`; edit it, pass the flags, or run `--ask`.
177
193
 
@@ -183,7 +199,7 @@ Three questions pick the onboarding model the fix prompts build toward. `check`
183
199
 
184
200
  The headline and the seven steps are the same whatever the answers; the answers change the findings and the prompts.
185
201
 
186
- ## alg.yml
202
+ ### alg.yml
187
203
 
188
204
  `check` writes it. `test` reads it, and infers a `verify_call` from your OpenAPI document when there is none: a GET that needs a key and no parameters, preferring `/me`, `/account`, `/user`, `/whoami`. A complete file:
189
205
 
@@ -212,7 +228,7 @@ The checker makes the call three times: with the agent's key (must return `verif
212
228
 
213
229
  `test yourproduct.com` uses `alg.yml` only when its `url` is that product; for another product it takes the task from that product's latest check and never writes the file. It works on a product running on your machine too (`url: localhost:3000`).
214
230
 
215
- ## Paying with real money
231
+ ### Paying with real money
216
232
 
217
233
  Two built-in tasks have the agent pay from its own wallet over [x402](https://www.x402.org): `pay-x402-agentmail` (one inbox, $2.00; the payment is the authentication) and `pay-x402-telnyx` ($1 of credit). USDC on Base, from the wallet whose private key is in `AGENT_READY_WALLET_KEY`. Use a wallet made for this with a few dollars on it. The evaluator reads the settlement transaction on Base itself and passes only when USDC left that wallet for no more than `AGENT_READY_PAY_CAP_USD` (default 2.00) and the paid request answered 2xx.
218
234
 
@@ -224,7 +240,7 @@ AGENT_READY_WALLET_KEY=0x… npx agent-led-growth execute --task pay-x402-agentm
224
240
 
225
241
  `alg execute --help` lists every built-in task. They run against public products with your Claude Code, with no spending cap, and do not ask first.
226
242
 
227
- ## For agents and scripts
243
+ ### For agents and scripts
228
244
 
229
245
  Everything works without a terminal. `--json` prints one document to stdout and nothing else; errors arrive as `agent-ready/error@1` with `{ code, message, hint }`.
230
246
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-led-growth",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Score: evals for agents as customers. Runs a real agent through signup, key and first call on your product, before you ship. Track, the analytics half, measures which agents convert after.",
5
5
  "type": "module",
6
6
  "bin": {