.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
FEISHU_APP_ID
FEISHU_APP_SECRET
secret
DEVICE_NAME
Local agent defaults. Leave blank to use your home directory / PATH.
AGENT_WORKSPACE
ATTACHMENTS_DIR
CODEX_BIN
For macOS LaunchAgent, prefer an absolute path if Codex is installed outside the default launchd PATH. Find it with: command -v codex
CODEX_TIMEOUT_MS
MAX_REPLY_CHARS
CODEX_APPROVAL_POLICY
CODEX_SANDBOX
Use workspace-write for a cautious first run. Use danger-full-access if you want Feishu to control the whole local machine through Codex,…
ENABLE_FILE_UPLOADS
Allow Codex to send files/images back to Feishu when the user explicitly asks.
CODEX_MODEL_FAST
Model profiles. Fast is the default; heavy is selected automatically for coding/reasoning/research tasks or explicitly with the [加油] Feishu…
CODEX_EFFORT_FAST
CODEX_SERVICE_TIER_FAST
CODEX_MODEL_HEAVY
CODEX_EFFORT_HEAVY
CODEX_SERVICE_TIER_HEAVY
PREWARM_CODEX
CODEX_MODEL
Backward-compatible fallback if you want one model for both profiles.
brew install flyctl && fly launch --from https://github.com/aa2246740/feishu-codex-agent
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/aa2246740/feishu-codex-agent
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/aa2246740/feishu-codex-agent