.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
LLM_DEFAULT_MODEL
LLM 配置(默认使用 GLM Coding Plan)
LLM_DEFAULT_BASE_URL
LLM_DEFAULT_API_KEY
secret
SERVER_HOST
服务器配置
SERVER_PORT
REDIS_URL
secret
Redis(Agent 注册中心,必须先起好再启动 Swarm)
CONTAINER_POOL_SIZE
容器池配置(内置 Docker worker 池;纯外部 Agent 场景设 0 可跳过)
CONTAINER_BASE_PORT
CONTAINER_IMAGE_NAME
CONTAINER_MEM_LIMIT
CONTAINER_CPU_LIMIT
SHARED_OUTPUT_BASE
存储配置
LOG_LEVEL
日志级别
brew install flyctl && fly launch --from https://github.com/apx103/agent-swarm
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/apx103/agent-swarm
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/apx103/agent-swarm