You can control how an agent responds by giving it explicit constraints. This is useful when you need shorter answers, a specific format, or want the agent to keep its working process out of sight.Documentation Index
Fetch the complete documentation index at: https://docs.circuit.ai/llms.txt
Use this file to discover all available pages before exploring further.
Example: concise responses for an embedded chat widget
Suppose you have an agent embedded as a chat widget on your website. You want it to answer questions briefly and without showing a visible chain of searching and reasoning. You can instruct the agent:Make sure you respond concisely in 100 words or less, and that any searching or other deliberation you do happens in a Task.This tells the agent two things: keep responses short, and do its background work (searching indexes, reading documents) inside a task so the user only sees the final answer.
How to apply constraints
There are two ways to give an agent constraints like this:- Per-conversation
- Permanent (agent instruction)
Type the constraint directly into the chat before your question. For example:
Respond in 100 words or less. What are the installation requirements for the X500?This applies only to the current conversation. It’s useful for one-off situations where you need a different response style.