Who it is forA builder who wants an agent that can run commands and use tools without risking the host.
The problemAgents that touch files and software need a safe place to run.
The outcomeAn agent with its own sandbox and the tools you chose, callable from chat or a workflow.
What you need first
- Docker and Docker Compose v2.24.0 or later for self-hosting
- A machine with at least 2 CPU cores and 4 GiB RAM
- API keys for the model providers you use
Steps
- Create an agent and describe what it should do
- Give it skills and connect tools from Dify Marketplace, MCP servers or your own APIs
- Test it as a chat app
- Drop it into a workflow as one step and watch runs in the observability view
Prompt for your agent
Build a langgenius/dify agent that <task>, connect the <MCP server or tool>, test it in chat, then add it as a step in a workflow that <workflow>. List every tool it can call.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for langgenius/dify and "Give a Dify agent tools from MCP servers and the marketplace"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer