/install agents-infra
AgentOS — Infrastructure for AI Agents\r
\r
Everything an agent needs: phone, email, compute, domains, voice calling, wallets, and 3500+ skills. Pay with USDC on Solana or Base via x402.\r
\r
CLI: npm i -g @agntos/agentos (or npx @agntos/agentos)\r
API: https://agntos.dev\r
Source: https://github.com/0xArtex/AgentOS\r
\r
CLI (recommended)\r
\r Use the CLI for cleaner context and simpler commands:\r \r
# Phone\r
agentos phone search --country US # Search numbers (free)\r
agentos phone buy --country US # Buy a number ($3)\r
agentos phone sms --id ID --to +1... --body "hi" # Send SMS ($0.05)\r
agentos phone call --id ID --to +1... --tts "hello" # Voice call ($0.10)\r
\r
# Email (E2E encrypted)\r
agentos email create --name agent --wallet SOL_PUBKEY # Create inbox ($2)\r
agentos email read --id INBOX_ID # Read messages ($0.02)\r
agentos email send --id ID --to [email protected] --subject "Hi" --body "..." # Send ($0.08)\r
agentos email threads --id INBOX_ID # List threads ($0.02)\r
\r
# Compute\r
agentos compute plans # List VPS plans (free)\r
agentos compute deploy --name my-vps --type cx23 # Deploy VPS (from $8/mo)\r
agentos compute list # List servers\r
agentos compute delete --id SERVER_ID # Delete server\r
\r
# Domains\r
agentos domain check --name example.dev # Check availability (free)\r
agentos domain pricing --name example # Get pricing (free)\r
agentos domain buy --name example.dev # Register domain\r
\r
# Wallet\r
agentos wallet keygen # Generate keypair (free)\r
agentos wallet create --agent 0xADDR # Create smart wallet (free)\r
agentos wallet status 0xWALLET # Check status (free)\r
\r
# Info\r
agentos pricing # All service prices\r
agentos health # API status\r
```\r
\r
## API Quick Reference\r
\r
All endpoints also available as direct HTTP calls. CLI is recommended — less tokens, cleaner output.\r
\r
| Service | Endpoint | Cost (USDC) |\r
|---------|----------|-------------|\r
| **Phone** | | |\r
| Search numbers | `GET /phone/numbers/search?country=US` | Free |\r
| Provision number | `POST /phone/numbers` | 3.00 |\r
| Send SMS | `POST /phone/numbers/:id/send` | 0.05 |\r
| Read messages | `GET /phone/numbers/:id/messages` | 0.02 |\r
| **Voice Calls** | | |\r
| Place call | `POST /phone/numbers/:id/call` | 0.10 |\r
| Speak (TTS) | `POST /phone/calls/:callControlId/speak` | 0.08 |\r
| Play audio | `POST /phone/calls/:callControlId/play` | 0.08 |\r
| Send DTMF | `POST /phone/calls/:callControlId/dtmf` | 0.02 |\r
| Gather input | `POST /phone/calls/:callControlId/gather` | 0.08 |\r
| Record call | `POST /phone/calls/:callControlId/record` | 0.10 |\r
| Hangup | `POST /phone/calls/:callControlId/hangup` | 0.02 |\r
| Answer inbound | `POST /phone/calls/:callControlId/answer` | 0.02 |\r
| Transfer call | `POST /phone/calls/:callControlId/transfer` | 0.10 |\r
| List calls | `GET /phone/numbers/:id/calls` | 0.02 |\r
| Call details | `GET /phone/calls/:id` | 0.02 |\r
| **Email** | | |\r
| Provision inbox | `POST /email/inboxes` | 2.00 |\r
| Read inbox | `GET /email/inboxes/:id/messages` | 0.02 |\r
| Send email | `POST /email/inboxes/:id/send` | 0.08 |\r
| List threads | `GET /email/inboxes/:id/threads` | 0.02 |\r
| Thread messages | `GET /email/threads/:threadId/messages` | 0.02 |\r
| Download attachment | `GET /email/attachments/:id` | 0.02 |\r
| Register webhook | `POST /email/webhooks` | 0.02 |\r
| **Compute** | | |\r
| List plans | `GET /compute/plans` | Free |\r
| Upload SSH key | `POST /compute/ssh-keys` | 0.10 |\r
| Create server | `POST /compute/servers` | 8.00-40.00 |\r
| List servers | `GET /compute/servers` | 0.02 |\r
| Server status | `GET /compute/servers/:id` | 0.02 |\r
| Server action | `POST /compute/servers/:id/actions` | 0.10 |\r
| Resize server | `POST /compute/servers/:id/resize` | 0.10 |\r
| Delete server | `DELETE /compute/servers/:id` | 0.10 |\r
| **Domains** | | |\r
| Check availability | `GET /domains/check?domain=example.com` | Free |\r
| TLD pricing | `GET /domains/pricing?domain=example` | Free |\r
| Register domain | `POST /domains/register` | dynamic (25% markup) |\r
| DNS records | `GET /domains/:domain/dns` | Free |\r
| Update DNS | `POST /domains/:domain/dns` | Free |\r
| Pricing | `GET /pricing` | Free |\r
| **Wallet** | | |\r
| Create wallet | `POST /wallet` | Free |\r
| Wallet status | `GET /wallet/:address` | Free |\r
| Generate keypair | `POST /wallet/keygen` | Free |\r
| Transfer (ERC20) | Via smart contract | Gas only |\r
| **Skills** | | |\r
| Browse catalog | `GET /compute/skills/catalog` | Free |\r
| Security scan | `GET /compute/skills/:slug/security` | Free |\r
\r
All paid endpoints use **x402** — make the request, get a 402, pay with USDC, done.\r
\r
## Authentication\r
\r
**Your wallet is your identity.** No API keys. No signup.\r
\r
Call any endpoint → pay with USDC via x402 → your wallet owns the resource.\r
\r
Same wallet to access it later. That's it.\r
\r
**Networks:** Solana mainnet + Base (EVM)\r
\r
---\r
\r
\r
## API Details\r
\r
The CLI wraps all API endpoints. If you prefer raw HTTP, use the quick reference table above. All endpoints accept JSON and return JSON.\r
\r
For voice calls, email threads, attachments, webhooks, and other advanced features — run `agentos --help` or see the full API docs at `agntos.dev/docs`.\r
\r
### Payment Flow\r
1. Call any paid endpoint → get `402 Payment Required`\r
2. Response includes USDC amount + treasury address (Solana + Base)\r
3. Pay via x402 protocol\r
4. Your wallet address becomes the resource owner\r
\r
### E2E Email Encryption\r
Emails are encrypted with your wallet's public key (NaCl box). We cannot read them.\r
\r
To decrypt, use the helper script in this skill folder:\r
```bash\r
node decrypt-email.mjs "w:..." ~/.config/solana/id.json\r
node decrypt-email.mjs --json '{"subject":"w:...","body":"w:..."}' ~/.config/solana/id.json\r
```\r
\r
## Webhooks\r
\r
Set up webhooks to receive events:\r
- **SMS inbound:** Messages to your number arrive via Telnyx webhook → stored, readable via API\r
- **Voice events:** `call.initiated`, `call.answered`, `call.hangup`, `call.recording.saved`, `call.gather.ended`\r
- **Email inbound:** Emails to `*@agntos.dev` processed via Cloudflare worker → stored encrypted\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agents-infra - 安装完成后,直接呼叫该 Skill 的名称或使用
/agents-infra触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Infrastructure for agents 是什么?
Infrastructure for AI Agents. Phone, email, Social accounts, compute, domains, and voice calling for AI agents. Pay with USDC on Solana or Base via x402. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 348 次。
如何安装 Infrastructure for agents?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agents-infra」即可一键安装,无需额外配置。
Infrastructure for agents 是免费的吗?
是的,Infrastructure for agents 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Infrastructure for agents 支持哪些平台?
Infrastructure for agents 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Infrastructure for agents?
由 0xArtex(@0xartex)开发并维护,当前版本 v1.0.1。