Phala Deployment Template
Description
Welcome! This guide will walk you through running your Swarms Agent in a Trusted Execution Environment (TEE) using Phala Cloud. This setup ensures your agent runs in a secure, isolated environment.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Swarms 1-Click Template on Phala Cloud
[](https://cloud.phala.network/templates/mcp-swarms-agent)
🚀 Quick Start
# Clone the repository
git clone https://github.com/The-Swarm-Corporation/Phala-Deployment-Template
# Install requirements
pip3 install -r requirements.txt
# Set your task in the .env file or pass it in the yaml file on the bottom `task:`
export WORKSPACE_DIR="agent_workspace"
export OPENAI_API_KEY=""
export OPENAI_API_BASE=""
export MODEL_NAME=""
# Run the swarm
python3 main.py
🛡️ Running Swarms Agent in Phala TEE
Welcome! This guide will walk you through running your Swarms Agent in a Trusted Execution Environment (TEE) using Phala Cloud. This setup ensures your agent runs in a secure, isolated environment.
📋 Prerequisites
- A Swarms Agent code repository (or docker image)
- A Phala Cloud account
- An OpenAI API key
📝 Step-by-Step Guide
Firstly, you need to register a [Phala Cloud](https://cloud.phala.network/) account before you can create a new Swarms agent application.
1. ⚙️ Configure Your Environment
First, prepare your `docker-compose.yaml` file. You can find an example in [docker-compose.yaml](./docker-compose.yaml). Make sure to have your OpenAI API key ready.
services:
swarms-agent-server:
image: 0xii/swarms-template:0.0.1
volumes:
- swarms:/app
restart: always
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- OPENAI_API_BASE=${OPENAI_API_BASE}
- MODEL_NAME=${MODEL_NAME}
volumes:
swarms:
2. 🚀 Deploy Your Agent
- Navigate to the Phala Cloud dashboard
- Click
Deploybutton on the Phala Cloud dashboard. - Choose
docker-compose.yamland then clickAdvancedtab to paste the content of your docker-compose.yaml file. - Importantly, make sure to add the
OPENAI_API_KEYin theEncrypted Secretssection with your own OpenAI API key.
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11