It reads your whole business. So you can read it.

Every part of Duct is in one public repository under the MIT license. Download it and we run the service, or clone it and run all of it yourself.

Free with your own model keys.

  1. desktop/RustThe app you download. Your model keys stay in its keychain.
  2. app/Next.jsEvery screen you click.
  3. backend/agents/PythonThree agents, their prompts in plain text.
  4. connectors.pyRead your tools. policy.pyThe gateChanges wait for your Apply.
  5. Your toolsGoogle AdsGoogle AnalyticsSearch ConsoleMeta AdsStripeMixpanelAll 14 →

The agent proposes. Only you can apply.

These are all the tools an agent gets for changing your accounts. None of them approves a change. The one that acts alone is rollback, which only undoes a change you applied.

async def list_executable_ops(…)
async def propose_changes(…)
async def get_change_set_status(…)
async def rollback_change_set(…)

The doctrine links every rule like this one to the file that enforces it.

A change set waiting for approval: pause a Performance Max campaign and add two negative keywords, with Reject and Approve and apply buttons
Where a change stops: your Approve button.

Same code. Two ways to run it.

Download the app and we run the service behind it. Clone the repository and every part is yours.

Desktop appWhere most people startSelf-hostedFor a rule about where data lives
Your model keysIn your keychainOn your machine
Tool logins, briefs, memoryEncrypted on Duct's serviceOn your machine or server
Teammates and other computersOne inviteHost it as a server
Database and upgradesWe run themYou run them
Account with DuctYesNone

Either way, we never hold an AI key of yours. The rest is in the privacy policy.

Clone it, add one key, start it.

Five commands from an empty folder to Duct on your machine. The README covers the rest.

$ git clone https://github.com/5hirish/duct.git && cd duct
$ make setup
$ cp backend/.env.example backend/.env.local   # add one model provider key
$ make serve-backend                            # then, in a second terminal:
$ make serve-app

Free with your own keys. Always.

You pay your model provider for what you use, or use the ChatGPT plan you already have. Duct charges nothing.

A paid plan will come later for teams that would rather not hold keys. Nothing open today moves behind it.

Bring a key from

  • Anthropic
  • OpenAI
  • Google Gemini
  • xAI
  • OpenRouter
  • A model you run

Questions people ask

Is Duct really free?

Yes. Duct is MIT licensed and free with your own model keys. You pay your model provider directly, or sign in with the ChatGPT plan you already have.

Can I run Duct without an account?

Yes. Clone the repository, run make setup, add one model key and start the backend and the app. No account with Duct is involved.

What do I give up by self-hosting?

Google Ads, GA4 and Search Console need your own Google OAuth client before they connect, and the database, backups and upgrades are yours to run.

Can I use Duct commercially or fork it?

Yes. The MIT license allows commercial use, changes and redistribution. The exceptions are third-party documentation under docs/guides and the Duct name and mark.

How do I contribute?

Start with CONTRIBUTING.md. The roadmap is a public board, and a pull request written with an agent is welcome if it says where the agent helped.