Integrate an agent
Attach an agent to an app you built in Qore, or embed it in an external app.
Last updated
Attach an agent to an app you built in Qore, or embed it in an external app.
Connect a built agent to a Qore app or an external app.
For a Qore app, use its Agents tab. For an external app, use the agent's Export/Integrate options.
You need a built and tested agent. If needed, first create an agent.
You also need the target app. A Qore app build must be finished. You cannot attach agents during generation.
Under Attach an Existing Agent, click + Attach Agents. Select a prebuilt agent from the list.
If you see "Cannot attach agents while application generation is in progress," wait for the app's build to finish (or Skip the pending build step), then try again.

Use this path when the app lives outside Qore.
From Manage Agent → Export/Integrate Agent, choose the lowest-level option that fits your architecture:
Embed Agent — an HTML/JavaScript widget you paste into a web page. Best for web apps where the widget manages its own conversation state. Uses the agent's Authentication (Widget) key and is gated by Whitelisted Domains.
API Integration — endpoints and credentials to call the agent as an HTTP API. Best for server-side, mobile, or non-web apps.
Headless Agent Integration — server-to-server invocation with no platform UI. Best when the agent is one part of a larger pipeline.
Before generating an embed or API integration, set the agent's Authentication keys and Whitelisted Domains — a live widget reaches the agent through whatever auth and domain rules you've set.
For a Qore app, confirm the agent responds in the app preview. Confirm it uses its knowledge and skills as expected.
For an external app, confirm it responds from the external surface. It only responds where your auth and domain rules allow.
"Cannot attach agents while application generation is in progress." Finish or Skip the app's current build step, then attach.
The embedded widget won't load. Check the host domain is whitelisted and the widget uses a valid Authentication key.
API calls are rejected. Reconfirm the credentials from API Integration match the agent's Authentication keys.
Build the agent first: Create an agent
Build the host app: Create an app
Last updated

