Skip to content
Tradebird Docs
Build a sales agentTest and improve

Test answers, tools, and handovers in private

Suppose your draft should ask a sales rep to negotiate a discount. A reply saying “I’ll put you in touch” tells you what the buyer would read. The private test also needs to show what the rep would receive.

  1. Save the draft and open Testing. Run the buyer’s question against that version.
  2. Read the buyer’s answer. Does it explain who will handle the price discussion without promising a discount?
  3. Inspect the handover. Check its recipient-facing summary, the quantity, and the buyer’s actual request. For a tool call, inspect its inputs and returned result as well.

Routine checks keep handover notifications off. If you explicitly want a delivery test, verify the saved recipients first. A delivery-enabled synthetic test can notify those actual recipients. A queued delivery, provider acceptance, and inbox receipt are different observations.

Run your checks again after editing the draft. Check results belong to the exact candidate that produced them. Publish the checked version.

For the builder. Use prepare_test for the saved source, then inspect the returned build with test_build. Call test_agent with a buyer scenario that matches the inspected input schema. Read test_result and check answer separately from the recipient-facing handover. Omit deliver_handovers for routine checks. For a specifically requested delivery test, it is a top-level test control. Inspect the returned handover_deliveries before reporting its outcome.