@agntos/agentos 0.1.0 → 0.1.1
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.
- package/README.md +113 -0
- package/dist/cli.js +1 -1
- package/package.json +21 -6
package/README.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# @agntos/agentos
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@agntos/agentos)
|
|
4
|
+
[](https://www.npmjs.com/package/@agntos/agentos)
|
|
5
|
+
[](https://github.com/0xArtex/AgentOS/blob/main/LICENSE)
|
|
6
|
+
[](https://nodejs.org)
|
|
7
|
+
|
|
8
|
+
Everything your AI agent needs — one CLI.
|
|
9
|
+
|
|
10
|
+
Phone numbers, encrypted email, VPS, domains, crypto wallets. Pay with USDC. Your wallet is your identity.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm i -g @agntos/agentos
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Or run directly:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx @agntos/agentos phone search --country US
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Commands
|
|
25
|
+
|
|
26
|
+
### Phone
|
|
27
|
+
```bash
|
|
28
|
+
agentos phone search --country US # Search available numbers
|
|
29
|
+
agentos phone buy --country US # Buy a number ($3)
|
|
30
|
+
agentos phone sms --id ID --to +1... --body "hi" # Send SMS ($0.05)
|
|
31
|
+
agentos phone call --id ID --to +1... --tts "hello" # Voice call ($0.10)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Email (E2E Encrypted)
|
|
35
|
+
```bash
|
|
36
|
+
agentos email create --name agent --wallet SOL_PUBKEY # Create inbox ($2)
|
|
37
|
+
agentos email read --id INBOX_ID # Read messages ($0.02)
|
|
38
|
+
agentos email send --id ID --to x@y.com --subject "Hi" --body "..." # Send ($0.08)
|
|
39
|
+
agentos email threads --id INBOX_ID # List threads ($0.02)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Compute
|
|
43
|
+
```bash
|
|
44
|
+
agentos compute plans # List VPS plans
|
|
45
|
+
agentos compute deploy --name my-vps --type cx23 # Deploy VPS (from $8/mo)
|
|
46
|
+
agentos compute list # List servers
|
|
47
|
+
agentos compute delete --id SERVER_ID # Delete server
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Domains
|
|
51
|
+
```bash
|
|
52
|
+
agentos domain check --name example.dev # Check availability (free)
|
|
53
|
+
agentos domain pricing --name example # Get pricing (free)
|
|
54
|
+
agentos domain buy --name example.dev # Register domain
|
|
55
|
+
agentos domain dns --name example.dev # View DNS records
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Wallet
|
|
59
|
+
```bash
|
|
60
|
+
agentos wallet keygen # Generate keypair
|
|
61
|
+
agentos wallet create --agent 0xADDR # Create smart wallet
|
|
62
|
+
agentos wallet status 0xWALLET # Check status & limits
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Info
|
|
66
|
+
```bash
|
|
67
|
+
agentos pricing # All service prices
|
|
68
|
+
agentos health # API status
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Authentication
|
|
72
|
+
|
|
73
|
+
Your wallet is your identity. No API keys, no signup.
|
|
74
|
+
|
|
75
|
+
All paid endpoints use the x402 protocol — call the endpoint, get a 402 response with the price, pay with USDC on Solana or Base. The wallet that pays owns the resource.
|
|
76
|
+
|
|
77
|
+
## SDK
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import { AgentOS } from '@agntos/agentos'
|
|
81
|
+
|
|
82
|
+
const ao = new AgentOS()
|
|
83
|
+
|
|
84
|
+
// Search phone numbers
|
|
85
|
+
const numbers = await ao.phoneSearch('US')
|
|
86
|
+
|
|
87
|
+
// Check domain availability
|
|
88
|
+
const check = await ao.domainCheck('myagent.dev')
|
|
89
|
+
|
|
90
|
+
// Get pricing
|
|
91
|
+
const prices = await ao.pricing()
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Options
|
|
95
|
+
|
|
96
|
+
| Flag | Description |
|
|
97
|
+
|------|-------------|
|
|
98
|
+
| `--url <url>` | API base URL (default: https://agntos.dev) |
|
|
99
|
+
| `--json` | Output raw JSON |
|
|
100
|
+
| `--version` | Show version |
|
|
101
|
+
| `--help` | Show help |
|
|
102
|
+
|
|
103
|
+
## Links
|
|
104
|
+
|
|
105
|
+
- **API:** [agntos.dev](https://agntos.dev)
|
|
106
|
+
- **Skill file:** [agntos.dev/skill.md](https://agntos.dev/skill.md)
|
|
107
|
+
- **Dashboard:** [agntos.dev/dashboard.html](https://agntos.dev/dashboard.html)
|
|
108
|
+
- **GitHub:** [github.com/0xArtex/AgentOS](https://github.com/0xArtex/AgentOS)
|
|
109
|
+
- **Wallet CLI:** [@agntos/agentwallet](https://www.npmjs.com/package/@agntos/agentwallet)
|
|
110
|
+
|
|
111
|
+
## License
|
|
112
|
+
|
|
113
|
+
MIT
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agntos/agentos",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "CLI for AgentOS
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "CLI for AgentOS \u2014 everything your AI agent needs. Phone, email, compute, domains, wallets, and more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/sdk.js",
|
|
7
7
|
"types": "./dist/sdk.d.ts",
|
|
@@ -23,8 +23,19 @@
|
|
|
23
23
|
"prepublishOnly": "npm run build"
|
|
24
24
|
},
|
|
25
25
|
"keywords": [
|
|
26
|
-
"ai",
|
|
27
|
-
"
|
|
26
|
+
"ai",
|
|
27
|
+
"agent",
|
|
28
|
+
"agentos",
|
|
29
|
+
"infrastructure",
|
|
30
|
+
"phone",
|
|
31
|
+
"email",
|
|
32
|
+
"compute",
|
|
33
|
+
"domain",
|
|
34
|
+
"wallet",
|
|
35
|
+
"crypto",
|
|
36
|
+
"x402",
|
|
37
|
+
"solana",
|
|
38
|
+
"base"
|
|
28
39
|
],
|
|
29
40
|
"author": "AgentOS <hello@agntos.dev>",
|
|
30
41
|
"license": "MIT",
|
|
@@ -43,5 +54,9 @@
|
|
|
43
54
|
},
|
|
44
55
|
"dependencies": {
|
|
45
56
|
"@noble/hashes": "^2.0.1"
|
|
46
|
-
}
|
|
47
|
-
|
|
57
|
+
},
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "https://github.com/0xArtex/AgentOS/issues"
|
|
60
|
+
},
|
|
61
|
+
"funding": "https://agntos.dev"
|
|
62
|
+
}
|