A self-hosted alternative to ElevenLabs Agents and Claude Code routines.
A webhook, a schedule or a chat message starts your harness in a sandbox,
on your subscription or API key. A person approves before it acts.
Quick start · Factories · Docs
Support Line takes a customer's call and files the bug. Claude Code reproduces it in a sandbox. The plan for the fix waits for an approval.
You need Docker with Compose.
curl -fsSL https://druks.ai/install.sh | bashOpen http://127.0.0.1:8001. Druks walks you through the rest: connect your harness, on your subscription or API key, then pick a first factory. It connects only what that factory needs.
Or paste this into Claude Code, Codex or any coding agent on the machine, and it sets up Druks for you:
Install Druks on this machine with https://druks.ai/install.sh. Read the script, then run it. If it fails, stop. Show me the failed step and its output. Do not improvise a fix. When it finishes, open http://127.0.0.1:8001 in my browser.
Remote installs (exe.dev and other providers)
Name the provider. The installer lists the values only you know, then exits. Set them in ~/druks/druks.toml and ~/druks/.env, and run the same command again.
curl -fsSL https://druks.ai/install.sh | DRUKS_PROVIDER=exe bashThe deployment guide covers access control, upgrades and rollback.
An event starts the work. A person says yes before it acts.
One server that you run with Docker Compose: a web app and API, Postgres, Redis and a sandbox service. On it you build factories and make agents.
- A factory is a Druks app: a small Python package for one kind of work, such as code review, support or prospecting. An event starts one of its workflows. A factory can also add its own events and chat channels.
- An agent has its own instructions, skills, model and harness, and the factories that it uses. One agent can use many factories. Talk to it in Slack, WhatsApp or the dashboard, or give it a schedule.
- A harness is what runs under the hood: Claude Code, Codex, OpenCode or Pi. Druks runs it in a sandbox, for an agent or for a step of a workflow.
Rent the intelligence. Own the factory. Claude Code, Codex, OpenCode or Pi does the work. The factory, the record of every run and the server stay yours.
Each step that runs a harness gets a throwaway sandbox, with only the tools and keys of that step. A workflow can wait up to 14 days for an answer, and a restart does not repeat finished steps.
| When this happens | The factory does this |
|---|---|
| You label an issue in GitHub or Linear | An agent posts a plan and waits for your yes. Then it writes the change, runs the checks and opens the pull request. |
| A new email arrives | An agent reads the thread and drafts a reply. Nothing goes out until a person approves it. |
| A new lead arrives in your CRM | An agent researches the lead and drafts the first message for your approval. |
| Someone texts your WhatsApp number | An agent builds what they ask for in a sandbox, deploys it and replies with the link. |
| Every Monday | A security sweep upgrades vulnerable packages in a sandbox, runs your tests and asks before it opens a pull request. |
Yes, if work should start without you: on a webhook, a schedule or a message, with a person who approves. No, if you run one agent by hand in your terminal. Claude Code alone does that well.
- A workflow asks the right person before an important step, in Slack, WhatsApp, GitHub or the dashboard.
- An agent step gets only the tools and keys of that step.
- Your server keeps the database, the record of every run and the sandboxes. Each agent step sends its prompt, and the files it reads, to the model provider that you chose.
- No telemetry. Druks does not send usage data to us.
Found a security problem? Follow the security policy. Do not open a public issue.
| If you know | Druks is different |
|---|---|
| ElevenLabs Agents | It runs on your server, and Claude Code, Codex, OpenCode or Pi does the coding in your own sandbox. Phone calls are inbound only today. |
| Claude Code routines | It runs on your server and works with Codex, OpenCode and Pi too. A workflow has many steps, survives a restart and can wait days for a person's yes. |
| n8n | Each agent step runs Claude Code, Codex, OpenCode or Pi in its own sandbox. It can change code, run the tests and open a pull request. A factory is Python code, not a graph on a canvas. |
Build your own, or use ours. We build and run AI factories for companies. druks.ai
| I want to… | Start here |
|---|---|
| Install Druks on my machine | Quickstart |
| Run Druks for my team | Deployment and configuration |
| Automate my own process | Writing an app, then uvx --from druks druks create app my-app |
| Understand restarts and approvals | Concepts |
| Fix a problem | Troubleshooting |
Druks is pre-1.0. Breaking changes can happen. main and latest are edge builds, not stable releases. Run the installer again to upgrade. For a fixed version, see installing an immutable version.
- Bugs, questions and ideas: open an issue
- Contributing: contribution guide
Druks is available under the Functional Source License (FSL-1.1-ALv2):
- You can read, run and change all of the code.
- You can self-host Druks for your company's work and build factories on it.
- You cannot sell it as a competing hosted service.
- Each release becomes Apache 2.0 two years after it ships.
The licensing page explains the details.
Why not an MIT or Apache license? FSL lets everyone read, run and change all of the code, and it stops other companies from selling Druks as a hosted service. Each release still becomes Apache 2.0 after two years.
Can my company self-host Druks? Yes. Run it for your own company's work, on your own infrastructure, and change the code.
Can an agency install Druks for a client? Yes, in the client's own infrastructure. To host Druks for many clients as a paid service, contact us about a partner agreement.
What about older releases? v0.12.0 and earlier releases stay under the MIT License.
Thanks goes to these wonderful people:
Paulo Alvarado 💻 |
Krzysztof Socha 💻 |
Pravin 💻 |
Dan Serbanoiu 💻 |
Sīlavāpi Cheesley 💻 |
Stefan Foulis 💻 |
yuripulga 💻 |
Kakshil Shah 💻 |
Andrzej Jasonek 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
