AGENTS.md

September 16, 2025 ยท View on GitHub

Dify is an open-source platform for building LLM applications, agentic workflows, and RAG pipelines. This monorepo contains the backend API (api/), frontend application (web/), deployment assets (docker/), standalone agent backend (dify-agent/), CLI (cli/), and end-to-end suite (e2e/). Follow the nearest scoped AGENTS.md for the files being changed.

Repository Gotchas

  • Run backend commands through uv run --project api <command>.
  • Backend integration tests are CI-only and are not expected to run locally.
  • Keep docker/.env.example limited to variables required for a default Docker Compose deployment to start. Put optional and provider-specific settings in the matching docker/envs/*.env.example file; docker/.env overrides those service-specific env files.