Prerequisites
- A Fetch Hive workspace
- A workspace API key if you want to run the public cURL example - see API Keys
Step 1: Create an agent
Open Agents in the sidebar, then click Add Agent. Enter a Name. If your workspace uses categories, you can also choose a Category. Click Save to open the agent editor.Step 2: Configure the root agent
In the editor, click the root agent node to open Agent Settings. Add a short Instruction Prompt that tells the agent what to do. You can also confirm the Model, but you can keep the default settings for this first pass. For example:Step 3: Test the agent in chat
Click Chat in the editor header. Send a short test message in the chat panel and confirm that the agent responds the way you expect. This chat panel is for dashboard testing. The UI explicitly says these messages are not saved, so treat it as a safe place to iterate on behavior before you wire the agent into your app.Step 4: Copy the public invoke snippet
Open Code Snippet in the editor header, or use More in the sidebar and click Get Code. Select your Agent and API Key. The dialog shows the public cURL example forPOST /v1/agent/invoke.
The dialog provides a cURL snippet here. The Python and TypeScript tabs are still marked Coming Soon.
YOUR_API_KEY and YOUR_AGENT_ID with your real values.
The in-app Chat panel uses a private dashboard testing flow. The snippet above is the public API flow you use outside the dashboard.

