Skip to main content
Create a project agent with instructions, then verify its definition before starting a run. You need a project you can edit. Replace support-assistant with its ID or slug, and set an API credential.

1. Create the agent definition

Create an agent with POST /projects/{project_reference}/agents:
create-agent.sh
This creates a definition in project source. It does not execute the agent. The REST field system_prompt supplies the agent’s system instructions.

Verify the result

Read the definition with GET /projects/{project_reference}/agents/{agent_id}:
read-agent.sh
Confirm id is triage-agent, name is Triage agent, and system_prompt contains your instructions before attaching additional tools. Attaching an integration tool does not grant access to its external account. Configure the required integration connection separately.

Run the agent

Run an agent shows how to send a question, start execution, follow events, and retrieve the result. For catalog agents, see agent discovery and installation.

API references