Reach users in a chat, a button or a background job
A chat shows the reply as the agent writes it, and an action runs the agent on what a user typed. A background job runs on a schedule and saves what it finds.

Agents in apps puts an agent from Hercules Agents on your app's pages. Ask Hercules in the App Builder, and it builds the agent, the chat and the backend code behind it.
A chat shows the reply as the agent writes it, and an action runs the agent on what a user typed. A background job runs on a schedule and saves what it finds.


Any agent without the Dev box toolkit can run in your apps once you switch on Let apps run this agent. Then click Add to an app and choose Chat, Action or Background.

App tools are actions your app's backend offers the agent, such as looking up an order. Hercules Auth checks which signed-in user each call is for, so a tool reaches only that user's data.

Page actions let the agent open a page or fill in a form for the user. They never submit a form, buy or delete, so give the agent an app tool for those.

Every integration starts off in your users' runs until you switch it on. It runs on your own connection, so set it to Read only where reading is enough.

Runs per user caps one user's runs per hour, 20 by default and up to 1,000. Daily spend limit caps all app runs over a rolling 24 hours, 500 credits by default and up to 100,000.
Add a chat to our customer portal that answers delivery questions and looks up the signed-in customer's orders.
Hercules proposes the agent's tools, page actions and limits, and waits for your yes.
Say yes, and Hercules creates the agent and tests it with a few real messages and one it must refuse. It fixes the instructions until the answers are right, then builds the chat.
Let the agent open an order's page when the customer asks about it.
Hercules adds the page action. If your app is already published, it asks you to publish first, because page changes go live only when you publish.
In this hypothetical example, an order assistant answers contractors' delivery questions in the portal of a plumbing supply wholesaler with 120 staff. A contractor asks about tomorrow's delivery, and the agent looks up their orders through an app tool and opens the order page. Contractors check deliveries without calling, so counter staff spend mornings on orders, not status calls.
The daily spend limit can be passed, because Hercules checks it when each run starts. Runs in progress keep going, so the day's total can exceed the limit.
When a user reaches a limit, the app's chat shows a short message instead of a reply. When your organization runs out of AI credits, it says the assistant isn't available right now.
By default, users see only that the agent is working, then its reply. Your app's backend still gets the full record, and Hercules can show tool details in the chat if you ask.
From the App Builder, Hercules edits only agents created from the app you have open. You change your other agents in the Agents console.
Try one read-only job, such as order lookup, with two signed-in users before you publish. Start building.