|
| 1 | +--- |
| 2 | +title: Deploy Your Agent |
| 3 | +sidebar_position: 3 |
| 4 | +--- |
| 5 | + |
| 6 | +# Deploy Your Agent on EigenCloud |
| 7 | + |
| 8 | +Deploy your agent to a Trusted Execution Environment on EigenCloud using [Claude Code](https://claude.ai/code) and the EigenCompute agent skill. |
| 9 | + |
| 10 | +## Install the skill |
| 11 | + |
| 12 | +```bash |
| 13 | +mkdir -p .claude/skills && curl -o .claude/skills/ecloud.md \ |
| 14 | + https://raw.githubusercontent.com/Layr-Labs/skill.md/master/ecloud/SKILL.md |
| 15 | +``` |
| 16 | + |
| 17 | +The skill source is at [`Layr-Labs/skill.md`](https://github.com/Layr-Labs/skill.md) — it works with Claude Code and any agent that supports the [Agent Skills](https://github.com/openai/skills) open standard. |
| 18 | + |
| 19 | +## Prerequisites |
| 20 | + |
| 21 | +Before deploying, ensure you have: |
| 22 | + |
| 23 | +- [Docker](https://www.docker.com/get-started/) installed and logged in (`docker login`) |
| 24 | +- [ecloud CLI](quickstart.md): `npm install -g @layr-labs/ecloud-cli` |
| 25 | +- [Sepolia ETH](https://cloud.google.com/application/web3/faucet/ethereum/sepolia) for testnet, or mainnet ETH for production |
| 26 | +- An [EigenCompute subscription](billing.md) |
| 27 | + |
| 28 | +## Deploy |
| 29 | + |
| 30 | +Open Claude Code in your project directory and tell it what you want: |
| 31 | + |
| 32 | +``` |
| 33 | +> Deploy my agent to EigenCloud on sepolia |
| 34 | +``` |
| 35 | + |
| 36 | +The skill handles the full lifecycle: |
| 37 | + |
| 38 | +1. **Checks prerequisites** — CLI, auth, billing, Docker, environment |
| 39 | +2. **Builds your image** — cross-compiles to `linux/amd64` if you're on Apple Silicon |
| 40 | +3. **Deploys to a TEE** — provisions an Intel TDX instance with encrypted environment variables |
| 41 | +4. **Verifies the deployment** — polls for running status, health checks the app |
| 42 | +5. **Sets up your dashboard profile** — name, description, and verify dashboard link |
| 43 | + |
| 44 | +Your agent gets its own persistent EVM and Solana wallets, derived deterministically inside the TEE. |
| 45 | + |
| 46 | +## What else you can ask |
| 47 | + |
| 48 | +- `"Upgrade my agent to the latest image"` |
| 49 | +- `"Show me the logs for my app"` |
| 50 | +- `"Do a verifiable build from my GitHub repo"` |
| 51 | +- `"Roll back to the previous release"` |
| 52 | +- `"Top up my USDC credits"` |
| 53 | + |
| 54 | +## Next steps |
| 55 | + |
| 56 | +- [Quickstart](quickstart.md) — deploy manually with the CLI |
| 57 | +- [Billing](billing.md) — subscription and credit details |
| 58 | +- [Sample Apps](sample-apps.md) — templates to start from |
0 commit comments