Documentation / Chat and AI

Working with Chat

Send requests to the assistant, follow its work, answer its cards and pick up where you left off.

The chat is where you work with the assistant. In the Trace app it fills the middle of Flow and sits on the right of the Workbench; in Trace Plugin it sits beside Altium Designer, KiCad or Autodesk Fusion. This page covers everything you do in the chat, as of Trace 3.3 and Trace Plugin 2.0.

Send a Message

  1. Pick a mode in the composer: Ask, Agent or Plan. See AI Modes.
  2. Pick a model. The first time, the picker reads Choose model; if you send before picking, the picker opens instead. Your choice is remembered. See Models.
  3. Type your request. Add files with the paperclip, press Attach from Artifacts beside it, or type @ to add a file from your project or your Artifacts. See Attachments.
  4. Press Enter to send. Shift+Enter starts a new line.

In the Trace app, the button beside the message box also chooses how much the assistant asks along the way: Autopilot takes your request through to the end and lists the choices it made, and Check with me stops for your decision as before. See Autopilot.

Other ways to start:

  • In the Trace app, select parts in the schematic or board, right-click and choose Ask Trace About This to bring them into the chat.
  • On a project's start page, type what you want and press Start. Trace sends it to the assistant in that project's chat.
  • Press Cmd+I (Ctrl+I on Windows and Linux) to show or hide the chat in the Trace app.

The buttons at the top of the chat open Workflows (your AI Workflows for this project), Rules (the project's rules for the assistant) and Tasks (background tasks and their progress). In Flow, Rules opens the project's notes: its rules, the context Trace keeps about your design and its firmware notes. In Trace Plugin, the top of the chat also has Simulation runs and Mechanical cases.

Follow the Assistant's Work

Each step the assistant takes is one row in the chat. Click a row to see what it looked at, what it changed (with the changed lines highlighted) and what it got back. A finished group of steps sums itself up, for example "Read 2 files, searched twice, ran 1 check".

Background tasks and helper assistants show as cards. Press Follow along while one runs (or Open transcript after it finishes) to see the task it was given, each step it took and what it found. Use the stop button on the card to stop it. Tasks at the top of the chat lists them all.

The chat keeps following the latest reply. When a card is waiting for you, such as the basic routing settings, the chat keeps it in view. If you have scrolled away, an Action needed button names the card, for example Action needed: Route board, and takes you to it.

Answer Questions and Review Cards

The assistant stops and asks when it needs a decision from you.

  • Question cards: pick an option or type your own answer, then press Continue (or Submit Answers in Plan). Long answers, such as a pasted pin table, are kept whole with their line breaks and folded under Show all. Each text field has its own microphone, which adds your spoken words after what you have typed.
  • Review cards: some steps wait for your approval, such as a new part (Accept & install, Request changes or Reject), the basic routing settings (Route board), the advanced layout settings (Run) or a Workspaces action like creating a branch. Read the card, then press its button.

Answer a card with its own buttons. While a card is waiting, the assistant holds its work, and Steer is not available until you answer.

Each card stays in the chat that asked for it, whichever chat you have open, and your answer goes back to that chat. The basic routing and advanced layout settings cards stay open while you use them and close after 15 minutes without use, an hour at most. A card that closes without an answer is marked Expired, Replaced or Stopped and says why; nothing ran from it. Ask the assistant again if you still want it.

New in Trace 3.3: the assistant picks a recommended answer for each question on a question card before it asks. (Plan's questions don't have one.)

  • The recommended option is marked Recommended. Nothing is selected for you.
  • For a question you answer in words, the recommended answer shows above the field. Click it (Use) to put it in the field, where you can change it before you press Continue.
  • A line beside Continue counts down, for example "No answer in 4:59 → Trace goes with the recommended option."

If no one answers within 5 minutes (3 minutes on Autopilot), Trace goes with the recommended answers and carries on. The card then shows Went with recommended. You can still pick another answer on the card, and the assistant uses your answer instead. A question that timed out can still be answered.

Queue a Follow-Up

You can keep typing while the assistant works. Press Enter and your message joins the queue above the box; it is sent when the current reply finishes. Each queued message keeps the mode, model and attachments it had when you queued it.

Next to a queued message you can:

  • Edit queued message to bring it back into the box.
  • Move up or Move down to change the order.
  • Remove from queue to drop it.
  • Steer to hand it to the assistant now instead of waiting.

If a queued message could not be sent, the queue says Message not sent and why. Fix the cause, such as choosing a model, then press Retry queued message, or Discard queued message if you no longer want it.

Steer While It Works

To correct the assistant without stopping it, write a short note and press the Steer button. The assistant reads your note before its next step, without starting over, and the chat marks the spot where it picked it up. While your note waits, it shows Agent will read this next.

Steering works in Agent and Ask. It is not available in Plan, while a card is waiting for your answer, or for a message with attachments (that message is sent as the next message instead).

Dictate a Message

Click the microphone in the chat box and say what you want, for up to five minutes.

  1. Click the microphone. The first time, allow microphone access when your computer asks.
  2. Speak. The chat shows Listening with a timer. If the microphone is slow to open, it says Starting microphone… with a Cancel button.
  3. Press Enter or click the microphone again to finish. Press Esc or Cancel to throw the recording away.
  4. After Transcribing…, your words appear where your cursor was. Check names, numbers and units, then send.

Dictation never sends the message for you. Your recording is sent to Trace's servers to be turned into text.

Use a Suggested Next Message

After a reply, the empty chat box can show a faint suggestion for your next message. Press Tab (or click Tab to use) to put it in the box, where you can edit it before sending. Press Esc to dismiss it.

Stop a Reply

Press the round Stop button while the assistant works. The reply ends at once, and so do basic routing runs it started. If the assistant was asking you a question, the question goes away.

Stop does not undo changes the assistant already made. Use Undo to this point (below) or your editor's Undo. Background tasks and advanced layout runs have their own stop button on their cards.

Edit, Undo and Copy

Hover over one of your messages to see its buttons:

  • Edit message: change what you wrote and send it again. The replies after it are replaced. Editing does not undo design changes on its own.
  • Undo to this point: removes everything after this message. In the Trace app it also takes your design back to how it was before that reply, when Trace saved a version there. In Trace Plugin it removes the conversation only; use Undo in your design tool to take back design changes.

New in Trace 3.3: to copy a whole reply, press the copy button under it (Copy this reply). You can also choose Copy Message in the reply's … menu.

Reconnecting and Resume

If your connection drops, Trace tries to reconnect by itself. In the Trace app, the chat shows each attempt, and it reconnects straight away even while the assistant waits for you on a card or runs a step on your computer.

New in Trace 3.3: if Trace's servers restart during a long request, the chat reconnects by itself and carries on, instead of stopping. A connection that goes quiet in the middle of a request is noticed within a minute and picked up again from where it stopped.

If the chat still cannot reconnect, a Connection interrupted banner appears with a Resume button. Press Resume and the assistant picks up where it left off. A reply that finished while you were away, even with Trace closed, shows up when you come back to the chat.

In the Trace app, a long run no longer signs you out if Trace cannot reach its server for a moment. If renewing your sign-in fails, the chat tells you that you are still signed in and can send your message again shortly.

When Usage Runs Low

New in Trace 3.3: when the usage left for a request is about to run out, the assistant finishes the step it is on, saves, and sums up what is done and what is left. A banner above the message box says Running low on usage, with a button to add more. If the usage runs out, the reply says so and what to do next. See Billing & Plans.

Several Chats

  • Press + (New conversation) to start a new chat in its own tab.
  • Press the clock (Conversation history) to reopen an earlier chat. Turn on All projects to see chats from every project.
  • Each chat keeps its own questions, review cards, undo and layout runs.

Several chats can work at the same time. From Trace 3.3, in each project only one chat at a time changes the design, in Agent or Plan; chats in Ask answer your questions alongside it. If you send an Agent or Plan request while another chat is changing the same project, your message goes back into the box and the chat says, for example: Trace is already working on this project in “Power stage”. Wait for it to finish or stop it, or switch this chat to Ask. The same goes for a queued message, a plan action and Undo to this point.

A chat whose tab closes while it is idle keeps its queued messages and sends them when you open it again. In Flow, which has no tabs to close, opening an eleventh chat closes the idle chat you used least recently to make room; it stays in the sidebar. If all ten are working or waiting for you, Trace says so and asks you to finish or stop one first.

Each open project has its own chats. The assistant works in one project at a time: while a chat in one project is busy, a chat in another project keeps your message in the box and tells you why. See Work on Several Projects.

While the Assistant Works in the Trace App

Trace keeps you in the editor the assistant is working in, so it does not lose its place. You can still move between that editor's sheets and use viewers and Preferences. From Trace 3.3 you can also:

  • switch to the Simulation tab, or open it, to look at saved runs;
  • open Artifacts;
  • open Mechanical when the board is already open in the board editor.

Workspaces, the Component Editor and editors the assistant is not using wait until it is done, or until you stop it. Trace tells you, for example: The agent is still working. Open the Workspaces page when it's done, or stop it first.

If you try to close the project, open another one, close the editor it is using or close its chat tab, Trace asks first. Choose Stop Agent and Continue or Cancel.

Report a Problem

  • Trace app: choose Help > Report Bug. The chat opens; say what went wrong and the assistant sends the report to the Trace team with your Trace version and system details.
  • Trace Plugin: choose Report a problem… in the plugin's menu. It starts a message to the Trace team in the chat; say what went wrong and the assistant sends the report for you.

Describe what you did, what you expected and what happened. Leave out passwords and anything you do not want to share. You can also email hello@buildwithtrace.com.