GitDeployHub

aa2246740/feishu-codex-agent

github.com/aa2246740/feishu-codex-agent ↗
Node.js API
19 environment variables found in .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.
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/aa2246740/feishu-codex-agent
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/aa2246740/feishu-codex-agent
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/aa2246740/feishu-codex-agent
Or deploy to a different host
← Try another repo