Directory › Agents & automation › Dify
> GEM AGENTS & AUTOMATION · PRODUCTIVITY & DOCS · LOCAL AI
Dify
by LangGenius
Build chatbots, agents and AI workflows on top of your own documents.
View on GitHub →What it does
- Built-in knowledge base (RAG): import your PDFs and web pages
- Visual workflows and tool-using agents
- Works with local models via Ollama or cloud APIs
Install it
Requirements: Docker and Docker Compose, Git
Clone the repository
git clone https://github.com/langgenius/dify.git
Prepare the configuration
cd dify/docker && cp .env.example .env
Start the services
docker compose up -d
Open the setup wizard
http://localhost/install
The prompt for your agent
Paste it into your coding agent: it checks the requirements and installs it for you.
Claude CodeCodexCursorGemini CLIopencode
Prompt
Install Dify (https://dify.ai) on my machine.
1. Check the requirements: Docker and Docker Compose, Git. If anything is missing, tell me before installing anything.
2. Follow the official method:
- Clone the repository: git clone https://github.com/langgenius/dify.git
- Prepare the configuration: cd dify/docker && cp .env.example .env
- Start the services: docker compose up -d
- see http://localhost/install
3. Check that it works, then explain how to launch it and where to start.
Always review what your agent is about to run, especially install commands.