Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
refactor: remove Claude-specific references from documentation files (#25760)
-LAN-ecb22226d6d2
diff --git a/AGENTS.md b/AGENTS.mddeleted file mode 120000index 681311eb9cf..00000000000--- a/AGENTS.md+++ /dev/null@@ -1 +0,0 @@-CLAUDE.md\ No newline at end of filediff --git a/AGENTS.md b/AGENTS.mdnew file mode 100644index 00000000000..44f7b30360d--- /dev/null+++ b/AGENTS.md@@ -0,0 +1,87 @@+# AGENTS.md++## Project Overview++Dify is an open-source platform for developing LLM applications with an intuitive interface combining agentic AI workflows, RAG pipelines, agent capabilities, and model management.++The codebase consists of:++- **Backend API** (`/api`): Python Flask application with Domain-Driven Design architecture+- **Frontend Web** (`/web`): Next.js 15 application with TypeScript and React 19+- **Docker deployment** (`/docker`): Containerized deployment configurations++## Development Commands++### Backend (API)++All Python commands must be prefixed with `uv run --project api`:++```bash+# Start development servers+./dev/start-api # Start API server+./dev/start-worker # Start Celery worker++# Run tests+uv run --project api pytest # Run all tests+uv run --project api pytest tests/unit_tests/ # Unit tests only+uv run --project api pytest tests/integration_tests/ # Integration tests++# Code quality+./dev/reformat # Run all formatters and linters+uv run --project api ruff check --fix ./ # Fix linting issues+uv run --project api ruff format ./ # Format code+uv run --directory api basedpyright # Type checking+```++### Frontend (Web)++```bash+cd web+pnpm lint # Run ESLint+pnpm eslint-fix # Fix ESLint issues+pnpm test # Run Jest tests+```++## Testing Guidelines++### Backend Testing++- Use `pytest` for all backend tests+- Write tests first (TDD approach)+- Test structure: Arrange-Act-Assert++## Code Style Requirements++### Python++- Use type hints for all functions and class attributes+- No `Any` types unless absolutely necessary+- Implement special methods (`__repr__`, `__str__`) appropriately++### TypeScript/JavaScript++- Strict TypeScript configuration+- ESLint with Prettier integration+- Avoid `any` type++## Important Notes++- **Environment Variables**: Always use UV for Python commands: `uv run --project api <command>`+- **Comments**: Only write meaningful comments that explain "why", not "what"+- **File Creation**: Always prefer editing existing files over creating new ones+- **Documentation**: Don't create documentation files unless explicitly requested+- **Code Quality**: Always run `./dev/reformat` before committing backend changes++## Common Development Tasks++### Adding a New API Endpoint++1. Create controller in `/api/controllers/`+1. Add service logic in `/api/services/`+1. Update routes in controller's `__init__.py`+1. Write tests in `/api/tests/`++## Project-Specific Conventions++- All async tasks use Celery with Redis as broker+- **Internationalization**: Frontend supports multiple languages with English (`web/i18n/en-US/`) as the source. All user-facing text must use i18n keys, no hardcoded strings. Edit corresponding module files in `en-US/` directory for translations.diff --git a/CLAUDE.md b/CLAUDE.mddeleted file mode 100644index aea23db7033..00000000000--- a/CLAUDE.md+++ /dev/null@@ -1,89 +0,0 @@-# CLAUDE.md--This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.--## Project Overview--Dify is an open-source platform for developing LLM applications with an intuitive interface combining agentic AI workflows, RAG pipelines, agent capabilities, and model management.--The codebase consists of:--- **Backend API** (`/api`): Python Flask application with Domain-Driven Design architecture-- **Frontend Web** (`/web`): Next.js 15 application with TypeScript and React 19-- **Docker deployment** (`/docker`): Containerized deployment configurations--## Development Commands--### Backend (API)--All Python commands must be prefixed with `uv run --project api`:--```bash-# Start development servers-./dev/start-api # Start API server-./dev/start-worker # Start Celery worker--# Run tests-uv run --project api pytest # Run all tests-uv run --project api pytest tests/unit_tests/ # Unit tests only-uv run --project api pytest tests/integration_tests/ # Integration tests--# Code quality-./dev/reformat # Run all formatters and linters-uv run --project api ruff check --fix ./ # Fix linting issues-uv run --project api ruff format ./ # Format code-uv run --directory api basedpyright # Type checking-```--### Frontend (Web)--```bash-cd web-pnpm lint # Run ESLint-pnpm eslint-fix # Fix ESLint issues-pnpm test # Run Jest tests-```--## Testing Guidelines--### Backend Testing--- Use `pytest` for all backend tests-- Write tests first (TDD approach)-- Test structure: Arrange-Act-Assert--## Code Style Requirements--### Python--- Use type hints for all functions and class attributes-- No `Any` types unless absolutely necessary-- Implement special methods (`__repr__`, `__str__`) appropriately--### TypeScript/JavaScript--- Strict TypeScript configuration-- ESLint with Prettier integration-- Avoid `any` type--## Important Notes--- **Environment Variables**: Always use UV for Python commands: `uv run --project api <command>`-- **Comments**: Only write meaningful comments that explain "why", not "what"-- **File Creation**: Always prefer editing existing files over creating new ones-- **Documentation**: Don't create documentation files unless explicitly requested-- **Code Quality**: Always run `./dev/reformat` before committing backend changes--## Common Development Tasks--### Adding a New API Endpoint--1. Create controller in `/api/controllers/`-1. Add service logic in `/api/services/`-1. Update routes in controller's `__init__.py`-1. Write tests in `/api/tests/`--## Project-Specific Conventions--- All async tasks use Celery with Redis as broker-- **Internationalization**: Frontend supports multiple languages with English (`web/i18n/en-US/`) as the source. All user-facing text must use i18n keys, no hardcoded strings. Edit corresponding module files in `en-US/` directory for translations.diff --git a/CLAUDE.md b/CLAUDE.mdnew file mode 120000index 00000000000..47dc3e3d863--- /dev/null+++ b/CLAUDE.md@@ -0,0 +1 @@+AGENTS.md\ No newline at end of file