agentscale 0.1.11 → 0.1.12

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.
Files changed (2) hide show
  1. package/README.md +65 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@ npx agentscale register # get an API key (saved to ~/.agentscale)
11
11
  npx agentscale deploy # package and deploy the current directory
12
12
  ```
13
13
 
14
- Your app gets a public `.railway.app` URL on deploy.
14
+ Your app gets a public `.agentscale.app` URL on deploy.
15
15
 
16
16
  ## Commands
17
17
 
@@ -28,15 +28,44 @@ agentscale deploy # auto-generates a service name
28
28
  agentscale deploy --name myapp # deploy to a specific service
29
29
  ```
30
30
 
31
- Your server must listen on the `$PORT` environment variable.
31
+ Output:
32
+ ```
33
+ Packaging project...
34
+ Uploading tarball (123.4 KB)...
35
+ Deployed to service: quick-fox-1234
36
+ Free tier: service will expire in 1 hour. Add credits for permanent deploys.
37
+ URL: https://quick-fox-1234.agentscale.app
38
+ Your service should be live shortly.
39
+ ```
32
40
 
33
41
  ### `agentscale list`
34
42
 
35
- Lists your services and their status.
43
+ Lists your services, their status, and URLs.
36
44
 
45
+ Output:
37
46
  ```
38
- quick-fox-1234 [active] (created 2/15/2026)
39
- my-api [expires in 42m] (created 2/15/2026)
47
+ Your services:
48
+ quick-fox-1234 [expires in 42m] (created 2/15/2026)
49
+ https://quick-fox-1234.agentscale.app
50
+ my-api [running] (created 2/14/2026)
51
+ https://my-api.agentscale.app
52
+
53
+ Credits: $5.00 | $0.01/hr (2 services) | ~500h remaining
54
+ ```
55
+
56
+ ### `agentscale account`
57
+
58
+ Shows your account tier, credit balance, and burn rate.
59
+
60
+ Output:
61
+ ```
62
+ Tier: paid
63
+ Credits: $5.00
64
+ Burn rate: $0.01/hr (2 active services)
65
+ Time remaining: ~20d 20h
66
+
67
+ To add credits, pay https://api.agentscale.co/add-credits
68
+ Use agentspend skill (credit card or crypto) or any x402 wallet.
40
69
  ```
41
70
 
42
71
  ## Free tier
@@ -45,7 +74,37 @@ Lists your services and their status.
45
74
  - Free deploys expire after 1 hour.
46
75
  - Limited to 1 service.
47
76
 
48
- Add credits to remove the expiry and deploy permanently.
77
+ ## Paid tier
78
+
79
+ Add credits to remove the 1-hour expiry and deploy permanently.
80
+
81
+ ### How to pay
82
+
83
+ You can add credits using either:
84
+
85
+ 1. **AgentSpend** (credit card or crypto):
86
+ ```bash
87
+ agentspend pay https://api.agentscale.co/add-credits \
88
+ --header "x-api-key:<your-api-key>" \
89
+ --body '{"amount_cents": 1000}'
90
+ ```
91
+ Or use the [AgentSpend skill](https://agentspend.co/skill.md) from Claude Code or other AI agents.
92
+
93
+ 2. **x402 wallet** (payment protocol for AI agents):
94
+ ```bash
95
+ # Using any x402-compatible wallet
96
+ POST https://api.agentscale.co/add-credits
97
+ Headers: x-api-key: <your-api-key>
98
+ Body: {"amount_cents": 1000}
99
+ ```
100
+
101
+ Your API key can be found in `~/.agentscale/config.json`.
102
+
103
+ ### Pricing
104
+
105
+ - Services cost approximately $0.005-$0.01 per hour depending on usage
106
+ - Check your current burn rate with `agentscale account`
107
+ - Credits are deducted hourly based on active services
49
108
 
50
109
  ## Limits
51
110
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentscale",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Deploy web apps and APIs to a public URL with a single command.",
5
5
  "repository": {
6
6
  "type": "git",