Reading the repo
Reading the repo
How to install on Linux
An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of tasks that could take minutes to hours.
Saved setup from 10 h ago
Will it work on Linux?
Heads-upBuilding it yourself? It also needs 10 settings in .env (8 secret).
The maintainers included scripts/setup-sandbox.sh. Run it from the cloned folder after reading it.
bash scripts/setup-sandbox.sh
Install.mdThis file is for coding agents. If the DeerFlow repository is not already cloned and open, clone https://github.com/bytedance/deer-flow.git first, then continue from the repository root.
Bootstrap a DeerFlow local development workspace on the user's machine with the least risky path available.
Default preference:
Do not assume API keys or model credentials exist. Set up everything that can be prepared safely, then stop with a concise summary of what the user still needs to provide.
sudo or install system packages without explicit user approval.Consider the setup successful when all of the following are true:
config.yaml exists.make docker-init completed successfully and Docker prerequisites are prepared, but services are not assumed to be running yet.make check passed or reported no missing prerequisites, and make install completed successfully.config.yaml, without inspecting secret-bearing files for actual values.https://github.com/bytedance/deer-flow.git if needed, then change into the repository root.Makefile, backend/, frontend/, and config.example.yaml exist.config.yaml already exists.config.yaml does not exist, run make config.docker info.make docker-init.make docker-start.make check.make check reports missing system dependencies such as node, pnpm, uv, or nginx, stop and report the missing tools instead of attempting privileged installs.make install.make dev.config.yaml only for missing model entries or referenced environment variable placeholders. Do not read .env, frontend/.env, or other secret-bearing files.models in config.yaml.config.yaml references variables such as $OPENAI_API_KEY, tell the user which variable names still need real values, but do not verify them by opening secret-bearing files.Use the lightest verification that matches the chosen setup path.
For Docker setup:
make docker-init completed successfully.config.yaml exists.make docker-start is still the first real launch step.For local setup:
make install completed successfully.config.yaml exists.Return a short status report with:
config.yamlComplete the steps above. When finished, stop after the setup boundary and report status instead of continuing into unrelated project work.
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/bytedance/deer-flow.git cd deer-flow
Fill in secrets: SERPER_API_KEY, EXA_API_KEY, SERPLY_API_KEY, TAVILY_API_KEY, JINA_API_KEY, INFOQUEST_API_KEY, SOFYA_API_KEY, UNBROWSE_API_KEY
cp .env.example .env
No reports for Linux yet.
Opens a chat with this manual already filled in, for Linux. It uses your own account; gitmanual sends nothing.