Skip to content

Publish an agent

Publishing turns an agent you've built into something other people can actually use — a live page with its own web address that you can share, install, or connect to.

Donkit stays private

Publishing is for agents you've built. Donkit is a system instance scoped to you rather than an agent of its own, so it can't be published — the platform declines the request. To share what it does, build a dedicated agent for it.

Give it a handle

When you publish, you give the agent a public handle — a short, readable name of your choosing. Its page then lives at a clean address like yourdomain/shared/support-bot. The handle is the link; there's no long random share token to manage. A published agent keeps that address on screen. You choose where it lives: the platform address, or your own domain. Your own domain is marked coming soon and cannot be selected yet. The address field shows your site in front of a new handle and marks it free when no other agent or team is using it. On a phone the site sits above the handle, so the name fits. A handle that does not fit — wrong characters, or already taken — shows an error, and the address cannot be saved until it does.

Choose who can open it

In Share, access is a list of phrases. Until you add one, it says Only you can open it, and asks you to add who else can open it and what they can do. Add access puts a phrase on the list:

Phrase Who gets in
Everyone at your organization can use Members of your organization. An agent built in an organization workspace starts here.
Anyone with the link can use Anyone with a platform account — admitted on their first visit once they agree to what you can see. The word after can is the level this phrase grants.
Anyone with the password can use Visitors sign in, then enter a shared password you set. This phrase can sit next to the link, with its own level. The phrase row shows the password's first letter and hides the rest, then a pencil, then the level. The pencil opens a card to replace it, and Cancel keeps the saved password. If you haven't saved one yet, the row says that no password is set. Cancel leaves the phrase in place, and the pencil opens the card again.
A named phrase, such as Ada and Grace can edit The people you invite by email. One phrase is one level: everyone named in it can do that.
An email address, marked Invited Someone you invited who has not opened the agent yet.

Anyone with the link and Anyone with the password can both be on the list. Each has its own level. Opening the page admits someone at the link's level. Entering the password admits them at the password's level, and raises a lower level they already have. It does not take a higher level away. Everyone at your organization can sit on that list too. Members of the organization get in through it, and the link and the password keep admitting other people. Named people and email invites stay either way. Everyone on the platform is the audience of the platform's own built-in agents. It is not something you turn on for the agents you build. On those agents the user always pays, and there is no allowance.

Add access asks who. On the link, the password, and a named phrase, the word after can asks what they can do. The choice is saved as soon as you pick it. The address at the bottom of Share copies the agent's page. When the agent is not open to anyone with the link, that address works only for people who already have access.

“Can use” stays off until you publish. That covers the link, the password, everyone at your organization, and Can use by email. The notice says so, and publish in it opens Publish. Choosing the link, the password, or the organization before the first publish opens Publish too. “Can copy” and “Can edit” by email stay on. After you take the page down, the use lines stay on the list with their levels switched off. You can still remove the link or the password.

You invite a person by email. If that address cannot be invited, the reason appears next to Invite. In the names list the same note appears next to Add. The invitation is tied to that address, and its status shows as Invited. When a line has one action, that action sits on the line as an icon. Removal is a trash icon, and it asks in the line before it goes through. The link and the password have two actions, so they keep ⋯: copy the page address, and remove the line. When the page has no address, Copy link stays in that menu and is switched off. Remove still asks in the line. A phrase that names people at one level only removes, so the trash icon is on the line. Open the names to pay for one person, to send their invitation again, or to remove just that address. A Can copy line has no payment: the owner does not cover that person's use. Each of those removals asks in the row first. A client or contractor outside the organization can still get in through the link, the password, or an email invite, without joining your organization.

Requests lists people who opened a private page and chose Ask for access. Allow lets that person use the agent. Decline tells that person the request was declined and makes them wait 15 minutes before they can ask again. The owner's notice opens Share.

Whatever the audience, when the owner pays, the organization's balance pays for an agent built in an organization workspace.

Choose what each person can do

Getting in is one thing; what a person can do with the agent is another. Each person has an access level:

Level What the person can do
Can use Chat with the agent and use its published page.
Can copy Everything in Can use, plus Make a copy — their own copy of the agent, which they then own.
Can edit Everything in Can copy, plus building the agent together with you in the builder.

You set the level on the phrase. The invitation email says whether they are invited to use, copy, or edit the agent. An invitation that has not been accepted yet can change level too. The email they already have stays as it was. When they accept, if the level is no longer the one from that email, the page says what they can do now. Can edit is only for people you invite by email. On the link and the password the choice stops at copy, and edit stays locked. Open the names to change one person's level, or to remove them. Organization members are covered by Everyone at your organization can use. To give one of them copy or edit, invite them by email. People who join through the link or the password start at the level of that phrase. To add someone straight at Can copy or Can edit without a password, send them an email invite. You can send an invite to copy or edit before the agent has a page address. “Can use” stays off until you publish. After the page is taken down, an invite to use stays on the list and does nothing until you publish again. An invite to copy or edit keeps working.

Revoking a person's access also resets their level: if you invite them again, they start over at the level you choose then.

A platform administrator has no access to your agent by role: not to its settings, the builder, its data, files, knowledge, skills, workflows or teams. Administrators manage accounts, billing and the model catalog. If you want one to help with your agent, give them Can edit, like anyone else.

What a copy contains

A copy has:

  • the prompt and settings,
  • skills and workflows,
  • connection slots — without credentials, so the copier connects their own accounts,
  • the names of environment keys — without their values,
  • the app and backend code,
  • the database structure — without any data,
  • the documents of knowledge bases marked Use for everyone. They are re-indexed for the person who copies, at their cost, so the knowledge appears gradually rather than all at once.

A copy never contains secrets, data, conversations, memory, or knowledge bases that are not marked Use for everyone.

Share for editing only with people you trust

An editor can change how your agent behaves. Give Can edit only to people you would let work on the agent themselves.

Every visitor signs in with their own platform account first, whatever the mode. Opening an agent without an account — the old anonymous link, or a password alone — is no longer possible.

Choose who pays

Each person pays for their own use, unless you set a payment for that person. Beside the title, Share says “People pay themselves”. When you pay for some of them, it says who, for example “You pay for 1 editor and 2 users”. An editor sees “The owner pays for 1 editor and 2 users” in that place. An invitation you pay for is included before that person accepts. An agent published to your organization is paid by the organization. Your own use is paid by you.

A person using the agent can pay from their own personal wallet, or from an organization they belong to, or leave that default. They choose under Payment in the agent's settings. It is a separate item next to Connections: on the agent's page, in the chat's agent settings, and in the mobile apps. It is available to everyone who uses someone else's agent. The list is Agent default plus the wallets they can use. Save wallet changes only who is charged for their use of this agent: chat, voice, images and video, API calls, and workflow runs. It does not switch their workspace, move their conversations, or change which accounts the agent connects to.

Leaving Agent default means they pay for themselves, unless you set a payment for them or the agent is published to your organization. Choosing their own wallet charges that wallet. If the wallet they choose is the same one that already pays for the agent — yours, or your organization's when the agent is published to it — that use still counts as you paying.

When end-users are billed, they see a clear "this uses your balance" notice before chatting. If the paying balance runs out, visitors see a notice — the payer gets an upgrade prompt, and the payment sheet it opens offers top-ups on plans that have them; others are told the owner has been notified. An outstanding balance on the paying wallet — more owed than its monthly credits can cover (see When credits run out) — pauses the agent the same way: a payer who owns or administers that wallet is told about the outstanding balance, while everyone else — including organization members who are not an owner or admin — sees the usual out-of-credits notice. These notices follow the wallet that actually pays, not the workspace the person happens to be in: a member of your organization who opens an agent published to it from their personal workspace is never stopped by their own personal balance. When you pay and your balance is out of credits, the person can choose Pay from my wallet and continue on their own money. If a wallet they chose is revoked or deleted, they have to choose again. Donkit does not silently switch them back to your balance. New paid work waits until they do. Work that already started is still paid from the wallet it started on.

Open a person's name, open the menu on that person, and choose Pay for their usage. An invitation that has not been accepted has the same control. The monthly cap stays on that invitation and starts when the person accepts it. When several people share the line and more than one of them is not covered yet, you pick who in that list. A person you cover has the payment settings on their row in the list. The first line says You pay for them, and until a date when you set one. The next line shows Usage in credits, then the progress bar, then Resets on for the wallet period. That line wraps when it does not fit. With no monthly limit there is no bar and no reset. Pay for their usage opens a card titled with their name. The card shows Limit, with credits a month beside the number. Start paying saves it. Cancel closes the card without saving. A person you already cover is not edited on that card. Their row shows what you pay and Stop paying. Stop paying ends the coverage, so later use of this agent is charged to them. To change the limit or the date, stop paying and add the payment again. Until is optional. It is the last day you pay for that person. That day is still included. From the next day, later use of this agent is charged to them. An empty date does not end the payment. They pay themselves clears the date. An empty limit is still unlimited use you pay for. Zero still stops new use you pay for. The Limit is a monthly credit allowance for use you pay for on this agent. The card calls that number credits a month. It also says that after the limit or the date, that person pays themselves, and that they see what is left in the chat. On an agent published to your organization, that is use the organization's balance pays for. Leave the field empty and there is no allowance — no monthly limit. Zero stops new use that you pay for. Use the person pays for themselves is not counted against it. Your own use of the agent is not limited by anyone's cap. The allowance does not cover building the agent or evaluations. On their row you see what they have already used this period, and when it resets.

Stop paying clears the limit and the date. Later use of this agent is charged to that person. Their wallet choice stays. To cover them again, open their menu, choose Pay for their usage, and save a new limit. In the Android app, clearing the limit field and saving still restores unlimited use you pay for.

The allowance is checked before each model request, including the ones that come after tool calls. A reply in progress can stop midway once the sponsored spend already recorded for that person reaches the allowance; what was already used is charged. Several uses at once can all pass before their charges are recorded, so the total can finish above the allowance. The allowance resets with the billing period of the wallet that pays for them. Changing the number does not erase spend already recorded this period.

When the allowance is used up, their chat says the owner's allowance for this agent is exhausted, shows the date it resets, and offers Choose a wallet. Saving a wallet does not rerun the message or the run — they start it again. Donkit does not move that work onto their own money by itself.

The same choice covers the agent's workflows: a run someone starts — with Run, by asking the agent in chat, or through their own schedule or webhook — is paid the way their chat would be. Your own runs always draw on your balance — or, on an agent published to your organization, on the organization's balance, as in chat. When you have set a payment for them and they have left Agent default, their schedules and webhooks spend your credits each time they run. When they pay for themselves, those runs spend their own wallet.

If you have joined the affiliate program, people who pay for their own use earn you a share of the paid credits they spend. On a person you pay for, someone who chooses to pay from their own wallet earns you the share too. Agents published for an organization are outside the program.

Share with another company

To let people from another company use an agent, publish it to your organization and invite the person from that company by email or with the reusable invite link.

In Payment they choose their own organization's wallet. That organization pays for their use, and it shows on that organization's usage page.

Who sees what:

  • You see the use that is counted against your own balance, per person, with name and email. Use their organization pays for is only counted in totals, never with a name.
  • The other company sees the use of its wallet on its own organization's usage page.

Share workflows and knowledge

More sharing settings, alongside access and billing, decide what people using your agent can reach:

  • Let shared users run workflows lets the people you share the agent with run its workflows: from the Workflows tab of the agent's page or by asking the agent in chat, with a schedule and a webhook of their own. Each of their runs acts as them — on their own connections wherever the agent asks each person to connect their own, and on yours for the connections you share (see Whose run it is). They see what each workflow is for, not what happens inside its steps, and you don't see their results: of their runs, you see only the ones that failed and the ones still going, never their content or results, and the agent's publish summary counts only your own workflow runs (see Workflows on a shared agent). A fix self-healing makes in one of their runs stays in that run and never changes your workflow. It's on unless you turn it off; turning it off deletes their schedules (and their automations on Tasks) and stops their webhooks, and turning it back on does not bring the schedules back; see When someone loses access.
  • Use for everyone, set per knowledge collection, controls whether that collection also grounds answers in other people's conversations with the agent, not just your own. It's off by default for a newly linked collection; turn it on under Share, inside What visitors see and use, once you want everyone to benefit from it. People never browse the collection directly — only the agent reads it. A collection you have not marked Use for everyone is searched only when the agent runs for you or for an Owner or Admin of your organization; it is not searched for someone you gave Can edit, and not for visitors.
  • Connections you share (Shared (my connection), see Shared vs per-user connections) mean that everyone who talks to the agent acts through your own account, changes included: an MCP server's tools run with your credentials whoever asks. If you don't want that, set the connection to Each user connects their own, and each person uses their own account instead. A shared mailbox and a shared Google account are narrower: people can read through them, and only you, an Owner or Admin of your organization and people you gave Can edit can send or change anything (see Mailbox and Google Workspace).

What visitors agree to

Before anyone uses an agent you built — in any access mode, on the web and in the apps — Donkit shows them what you, as its author, can see of their use, and they agree or leave. The description is worked out from the agent's actual setup, not written by you, and names only what you can see and the places outside Donkit that people's data reaches: its tables and who reads them, AI models you connected, the mailbox, Google account or Telegram bot you share, HTTP MCP servers, where its workflows deliver results, people's own API keys, whether you pay for their use, and your list of people with when and how often they use the agent. See What the author of an agent can see for the visitor's side.

  • See it for yourself. Open What visitors see and use in the publishing settings, then What visitors will see, to read exactly what the people you share the agent with — and the members of your organization — are shown.
  • Who is not asked. You, the Owners and Admins of your organization, and people you gave Can edit.
  • When it asks again. A change that lets you see more — a new HTTP MCP server, a table made readable by you, a new address where results are delivered — asks everyone again before their next message. A change that shows you less does not. Until a person agrees again, their schedules are skipped (not switched off), deliveries to their webhooks and calls with their API keys are refused, and they get one email.
  • Email and profile. Each person chooses whether the agent gets their email and profile; it always knows their name (see Your email and profile).
  • Reading everyone's records. To review every person's records in a table, make it readable by you while it is still empty.
  • Leaving. Anyone can leave the agent and have their data in it deleted (see Leaving an agent and deleting your data). Removing a person from the people list yourself deletes nothing.

What people get

The published page shows the same chat as Donkit — canvas included — as a panel next to the agent's own interface, if it built one. An agent with no interface of its own opens straight into the chat. When the agent's work needs the canvas, it opens there in place of the interface, with App | Canvas tabs to switch back and forth; the panel button in the top-left corner hides and shows the chat. On a phone people see one of app, chat, or canvas at a time and switch with the bar at the bottom. The conversation stays on screen while the agent answers: once there's a file, Canvas appears in the bar, and the canvas opens when they tap it.

What each person does with your agent is private to them: their conversations, the files they attach, what the agent remembers about them, and the images and videos it makes for them. Nobody else can open or list any of it in the product: not you as the agent's owner, not an Owner or Admin of your organization, not the platform's staff, administrators included. What you see of your users is aggregate: scores and counts across all of them, never the conversations behind the numbers (see Production scores). The agent's database follows each table's setting: in tables scoped to own records you see only your own records — the Data tab counts the others without showing them — unless you made the table readable by you, which visitors are told; tables shared with everyone show every record (see Who can see which records).

The agent's own interface behaves as it does in the Builder's preview: it can ask people to confirm an action, show an alert, and use the microphone once they allow it in the browser.

A button that asks before it starts the agent's work shows the question in the page itself, where the button is, with one button to confirm and one to cancel. The agent starts only after the person confirms.

An agent's own interface does not print inside the Android, iPhone, iPad and Mac apps. For that reason the Builder adds no Print button: the interface offers a document as a file to save (see The agent's interface in the apps). If your interface has only a Print button, ask the Builder to add a download.

Publish again to update the published page

The published page keeps the interface as it was built when you last published. Improvements to the parts every interface is built from — buttons and tables, the way the page fits a phone screen, the way it asks for accounts inside the mobile apps — show up in the Builder's preview on their own. Update publication appears under the address once it changes, and is not shown while the address is the published one. Saving a new address publishes that address and makes the current draft the live page. Unpublish sits on the same line as the address, at the same height. On a phone it sits under the address. The confirmation fills the address card: the sentence is centered, and Unpublish and Cancel sit under it. Unpublish then closes the public address. Sharing that needs the link stays off until you publish again. Copies stay. The agent stays in your account.

Older published agents

An agent published before this change keeps showing its own, older in-app chat until you republish it — after that it gets the shared chat and canvas above.

When something goes wrong

Visitors only see an error notice for failures they can actually act on:

  • Chat failure — their message didn't go through: "Couldn't send your message. Please try again."
  • Platform failure — a request failed on Donkit's side: "Something didn't load. Please try again."
  • Connection loss — a single "Connection lost." notice that clears by itself once the connection is back.

Errors inside the agent's own generated code are not shown to visitors — there's nothing they can do about them. You see those errors in the builder preview instead, where each one carries a Fix with AI action that hands it straight to the builder chat. To investigate something a visitor reported, open the agent in the preview and repeat their steps.

The action reports what actually happened to it: Sent to builder once the builder has the error, Queued — builder is busy when a build is already running (it goes in as soon as that finishes), and Builder didn't answer — retry if nothing picked it up, which usually means the builder is not open. Only that last state is worth clicking again.

Republish to move setup onto the agent's page

If the agent uses per-user connections or parameters (see Shared vs per-user connections), each person connects their accounts — or picks them from their Connections library — and fills in any parameters marked "Filled by each user" in My settings on the agent's page. An interface published before the page took over setup shows a setup window of its own, which can no longer save anything: republish the agent so setup happens on the page. v1 agents don't support per-user connections, so no setup window appears for them.

Install as an app

Every published agent can be installed as a standalone app on a phone or desktop — "Add to Home Screen" on iOS, and an install prompt on Android/Chrome. It launches straight into your agent under its own name and icon.

In the Android app, the pin button in an agent's chat header offers the same shortcut for a published agent, plus two Android-only ones for the app itself — one that opens straight on the chat, one on the agent's own interface. Installing the PWA still has to happen from the browser; the app can only hand you the published page there.

Donkit Desktop

There's also a Donkit Desktop application — a desktop shell for the platform with auto-updates and a "start with Windows" option. It can turn your own machine into a device that runs agent tasks locally (see Devices). Install it from Microsoft Store, or use the direct Windows installer; an offline installer is available for company rollouts. Updates are offered inside Donkit, including installations from Microsoft Store.

Branding

A per-agent custom look comes from building a custom-UI agent — the agent's own front-end is its branding.

Distribution options today

The supported ways to distribute an agent are the shareable link, PWA install, the desktop app, and the API. A website-embed widget/iframe and a per-agent color/logo theming panel are not part of the product today.