AI can write whole items or single attributes for you, based on items you already have. Typical uses are turning high-level ideas into requirements, or generating a test case from a requirement. Every result is shown to you first, and nothing is saved until you accept it.
Generation runs on the organization's default model unless you pick another one in the chat; an org admin chooses it under AI providers. Results are best when the item type has AI Instructions filled in for its attributes. See Setting instructions per attribute below.
Generating an item in the chat
Open the Space Agent chat and describe what you want, for example "Generate a test case for @REQ-42" or "Write 3 requirements about battery thermal limits". Mention items with
@to use them as source material.The agent replies with a card headed AI generated for each proposed item. It shows the title and main text, and an Attributes section you can expand to see and edit every attribute before accepting.
To change the item type of the proposal, use the type selector in the card header. The agent regenerates the attributes for the new type.
Click Accept to add the item to the bottom of the document you have open. Click the arrow next to Accept and choose Insert item after to pick another position in the tree. You can also drag the card into the document or the item tree to drop it exactly where you want it.
Click the bin icon to reject a proposal. Rejected cards collapse and are marked Rejected; accepted ones are marked Accepted.
To refine a proposal, reply in the chat with what to change. The agent answers with a new card.
Generating a rich-text attribute
Click into a rich-text attribute, type / and choose Generate with AI. The AI writes the attribute using the item's other content and the type's instructions. The generated text replaces what is in the field and shows two buttons: the check button accepts it (Cmd+Enter on Mac, Ctrl+Enter on Windows) and the bin button discards it.
The attribute generator
Every attribute that is enabled for AI generation has a sparkle button. Hover an empty attribute in the document view, table view, or item details sidebar and click the button (tooltip Generate with AI). A popover headed **AI Generated ** opens with the generated value, which you can edit in place. Click **Save** to write it to the item, the refresh icon to give instructions and regenerate, or the bin icon to discard. The expand icon in the header opens the text in a larger editor.
When the attribute already has a value, the same sparkle button reads **Regenerate ** and sends the request to the chat instead. The agent replies with an edit proposal that you review and apply. See [Reviewing and approving AI edits](https://docs.trace.space/en/articles/8905240-refining-ai-responses).
Setting instructions per attribute
Go to Organization settings > Item types and open a type. The AI Instructions box at the top holds guidance for the whole type, such as "Use shall statements" or "Always use SI units". In the attribute table, the Generate with AI switch controls whether the AI may write each attribute, and the Quality check column shows which attributes are checked. To give one attribute its own instructions, open it and turn on AI Instructions in the attribute form. The AI follows these instructions whenever it writes the attribute, in the chat, in the attribute generator, and in quality fixes.
When Generate with AI is off, the sparkle button is grayed out with the tooltip AI generation is disabled for this attribute, and the chat will not edit it. Items with no type do not support AI generation.
Changing an item's type with AI
Open an item's details in the right sidebar and use the Type dropdown. When you pick a new type, the AI fills the new type's attributes from the item's existing content. Values from the old type are kept alongside the new ones, so nothing is lost. If the AI cannot fill the attributes, the type still changes and you get a message saying so.
The same type selector is in the header of every AI generated card in the chat.


