Add TEE support for swarms agent

pull/814/head
Shawn TIAN 1 week ago
parent d603604ccf
commit 4fe662eb19

@ -163,6 +163,10 @@ For more documentation on the CLI [CLICK HERE](https://docs.swarms.world/en/late
--- ---
## TEE
Head to the [TEE README](./tee/README.md) for more detailed instructions.
# Usage Examples 🤖 # Usage Examples 🤖
Here are some example scripts to get you started. For more comprehensive documentation, visit our [docs](https://docs.swarms.world/en/latest/). Here are some example scripts to get you started. For more comprehensive documentation, visit our [docs](https://docs.swarms.world/en/latest/).

@ -0,0 +1,7 @@
## To run project in Phala TEE
1. Build the docker image and publish it to the docker hub
`docker compose build -t <your-dockerhub-username>/swarm-agent-node:latest`
`docker push <your-dockerhub-username>/swarm-agent-node:latest`
2. Deploy to Phala cloud using [tee-cloud-cli](https://github.com/Phala-Network/tee-cloud-cli) or manually with the [Cloud dashboard](https://cloud.phala.network/).
3. Check your agent's TEE proof and verify it on the [TEE Attestation Explorer](https://proof.t16z.com/).

@ -0,0 +1,19 @@
services:
swarms-agent-server:
image: swarms-agent-node:latest
platform: linux/amd64
volumes:
- /var/run/tappd.sock:/var/run/tappd.sock
- swarms:/app
restart: always
ports:
- 8000:8000
command: # Sample MCP Server
- /bin/sh
- -c
- |
cd /app/mcp_example
python mcp_test.py
volumes:
swarms:
Loading…
Cancel
Save