Build agents
Capability settings
Configure Python, charts, user clarification, and web search.
Capability settings determine which tools an agent can call when answering. The four switches are independent and apply to every entry of the agent at once (web conversations, Feishu or Slack, scheduled tasks, embeds).
Entry: “Agents” → open an agent → “Configuration” → “Capabilities”.
| Switch | Purpose | Default | When off |
|---|---|---|---|
| Python interpreter | Data cleaning, statistical tests, and other calculations SQL handles poorly | On | Cannot run Python, and Excel or CSV cannot be uploaded in conversations |
| Chart visualization | Create charts for query results | On | Returns tables and text only |
| User clarification | Confirm with the user first when conditions are missing | On | The agent assumes conditions and states its assumptions in the conclusion |
| Web search | Query public information outside the data sources; results join the analysis as data | Off | — |
Python interpreter
When on, the agent can run Python code to process data. Code runs in an isolated sandbox: each run is a new process destroyed after use, with a timeout. When concurrency is full, it reports that the sandbox is saturated; try again later.
Chart visualization
When on, the agent chooses charts based on the data: line charts for time trends, bar charts for category comparisons, pie charts for shares, and scatter plots for relationships between two values. Turn it off if you only care about numbers.
User clarification
When on, if a question lacks key conditions such as time range, granularity, or whether to exclude refunds, the agent lists options for the user to confirm instead of assuming.
Keep it on
Turning it off does not necessarily make answers wrong, but users find it harder to notice when a definition was interpreted differently. This switch has the greatest effect on how trustworthy results are.
Web search
When on, the agent can search public information, for example to compare industry data with internal data. A system administrator must configure the search service in system settings first; without it, the switch is unavailable and asks you to contact the system administrator.
Common issues
| Symptom | Cause | Action |
|---|---|---|
| Answers have no charts | Chart visualization is off, or the question does not suit a chart | Turn on chart visualization, or state the chart you want in the question |
| No question back when conditions are missing | User clarification is off | Turn on user clarification |
| The web search switch is unavailable | The system has no search service configured | Ask a system administrator to configure it in system settings |
| Python times out or the sandbox is saturated | Too much computation, or too many concurrent tasks | Reduce the data volume; try again later |
| Cannot upload Excel or CSV in conversations | The Python interpreter is off | Turn on the Python interpreter |