.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
NEXT_PUBLIC_MAX_LOOPS
Platform Config: (max loops determines how many times the agent may execute)
REWORKD_PLATFORM_MAX_LOOPS
NODE_ENV
Deployment Environment:
NEXT_PUBLIC_VERCEL_ENV
NEXT_PUBLIC_BACKEND_URL
NextJS:
NEXTAUTH_SECRET
secret
Next Auth config:
NEXTAUTH_URL
GOOGLE_CLIENT_ID
Auth providers (Use if you want to get out of development mode sign-in):
GOOGLE_CLIENT_SECRET
secret
GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET
secret
DISCORD_CLIENT_SECRET
secret
DISCORD_CLIENT_ID
REWORKD_PLATFORM_ENVIRONMENT
Backend:
REWORKD_PLATFORM_FF_MOCK_MODE_ENABLED
REWORKD_PLATFORM_OPENAI_API_KEY
secret
REWORKD_PLATFORM_FRONTEND_URL
REWORKD_PLATFORM_RELOAD
REWORKD_PLATFORM_OPENAI_API_BASE
REWORKD_PLATFORM_SERP_API_KEY
secret
brew install flyctl && fly launch --from https://github.com/reworkd/AgentGPT
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/reworkd/AgentGPT
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/reworkd/AgentGPT