Skip to content

Topics

A topic packages instructions that agents can reuse for a subject or task. Use the topic description to explain when the instructions apply. Use the instructions to specify what to check, when to call a tool, and what to return.

Use case What to put in the topic
Supplier support Require a supplier number and define what to do when a lookup returns multiple matches.
Enrollment assistance Verify the current user and ask for a course identifier before looking up enrollment.
Service request summaries Specify which facts to retain and how to handle missing information.

Create and assign a topic

  1. Open Resources → Topics and select Add.
  2. In New Topic, enter Topic Name, select Family and Product, review Topic Code, and enter a Description.
  3. Under Instructions, select Add Instruction and enter the first instruction. Add further instructions in the order the agent should follow. Use Generate if you want help drafting the description or an instruction, then review the generated text.
  4. Select Create or Create & Close.
  5. Open the target agent, select the topic from Available Topics, and add any tools the topic instructs the agent to use. Reference the attached topic in the agent prompt with $topic.TOPIC_CODE, using its actual code.

Supplier status lookup example

Create a topic named Supplier Status Lookup with code SUPPLIER_STATUS_LOOKUP. Describe it as the procedure for answering supplier status questions. Add these instructions.

  1. Ask for the exact supplier number if it is absent from the request and conversation context.
  2. Use the configured supplier lookup with that number. If the tool returns no match or multiple matches, ask the user to confirm the number.
  3. Return the supplier number and status from the lookup. If the lookup fails, report the failure and stop.

Attach the topic and the supplier lookup tool to a worker agent. In its prompt, direct it to use $topic.SUPPLIER_STATUS_LOOKUP for supplier status requests. Test “What is my supplier's status?” and “What is the status of SUP-1042?” The first request should ask for a number. The second should call the tool and report the returned status.

See Supplier Support Chat for a complete workflow example.