Build agents
Create and configure data agents
Connect data and configure business knowledge to create a data analysis assistant for your team.
An agent is a configured question-answering assistant: select the data sources it can query, write down business definitions, and attach analysis methods, and colleagues can ask questions in natural language. For example, build an agent for store operations: select sales data, define sales and returns, and attach year-over-year and period-over-period analysis skills, so your team asks questions on the same data and methods.
Members can create and manage their own agents; project owners and administrators can manage all agents in the project. Members who receive a shared agent can use it but cannot change its configuration.
Entry: main navigation on the left → “Agents”.
What an agent consists of
After opening an agent, the tabs at the top correspond to:
| Tab | Content | See |
|---|---|---|
| Configuration | Data sources, capabilities, skills, domain knowledge and analysis preferences | Basic settings and knowledge preferences, Capability settings, Analysis skills |
| Documents | Business rules and metric definitions | Business documents |
| Channels | Feishu or Slack bot and people permissions; one agent can enable only one platform at a time | Feishu, Slack |
| Evaluation guide | A method for testing the agent with real questions | “Test and improve” below |
| Audit logs, User feedback | Execution records and user ratings, visible only to project owners and administrators | Logs and user feedback |
Scheduled tasks and embeds are managed separately. See Scheduled reports and Web embedding.
Create an agent
Create
Click “Create” at the top right of the “Agents” list, choose a template, or choose “Create from scratch” and enter a name and description. Templates preset the name, description, and skills, which you can change freely afterwards.
Select data sources
Under “Configuration” → “Data sources”, click “Add” and select the data sources to query. The agent does not query data sources that are not added. Project owners and administrators can open a data source directly from here to check its connection and data settings.
Add business knowledge and methods
Configure capabilities, attach skills, and add business documents and domain knowledge and analysis preferences as needed.
Test before sharing
Test with real business questions (see below), and share with colleagues once results are reliable. New agents are “Only me” by default.
For the complete process from scratch, see Build an agent from scratch.
Built-in templates
| Template | Purpose |
|---|---|
| Store operations analyst | Analyze retail store operations and find opportunities and problems |
| E-commerce monitoring assistant | Monitor core e-commerce data and spot anomalies and opportunities |
| Financial data analyst | Analyze financial data, understand business conditions, and identify financial risks |
| Market insight analyst | Track market dynamics and analyze the competitive landscape |
| Supply chain monitor | Monitor risks and optimization opportunities across the supply chain |
| User growth analyst | Track user growth metrics and analyze growth strategy results |
| Executive data assistant | Summarize business data to support quick decisions |
| Business traffic-light analyst | Set red and yellow warning rules for business lines and track metric health |
| Data quality guardian | Monitor data quality so analysis results can be trusted |
Sharing
Manage sharing in the “Agents” list: share with specific project members or make it “Available to the entire project”, and revoke at any time.
- Sharing grants use only. Recipients ask with their own data role and can create their own scheduled tasks; they cannot change the agent or view or copy its skills. Neither side can see the other's conversations or tasks.
- Data roles do not filter fixed text. Data roles limit only actual queries; they do not filter data and examples written in documents, preferences, or skills. Make sure that content is suitable for recipients before sharing.
- Changes affect later use. Changing an agent or the skills it uses affects later conversations, tasks, and embed calls; existing results stay the same. After sharing is revoked, the recipient can no longer use it, and related tasks stop running.
- External entries are managed separately. System integration keys can call every agent in the project, and embeds have their own access settings. Setting an agent to “Only me” does not stop these entries; revoke the key or disable the embed.
Agents that existed before the upgrade belong to the project owner and default to “Available to the entire project”. Administrators can tighten sharing as needed.
Test and improve
The “Evaluation guide” provides a manual testing method:
- Prepare a set of real business questions with the related tables and metric definitions.
- Select this agent in a conversation and ask the questions one by one; have someone who knows the business check key numbers, time ranges, and reasoning.
- Record questions answered incorrectly or misunderstood, and add table and field notes, business documents, or skills according to the cause.
- Retest with the same questions.
You can record “questions confirmed correct ÷ questions checked” as the sample pass rate. It reflects only this question set, not accuracy on every business question.
Common issues
| Symptom | Cause | Action |
|---|---|---|
| Saving the configuration is rejected | You are not the agent owner, project owner, or administrator | Ask the owner or an administrator to change it |
| “No tables or fields available to query” | The agent has no data sources | Add one under “Configuration” → “Data sources” |
| A table cannot be found in the data source | The table is not in an added data source, or your data role restricts it | Confirm the data source is added; if permissions restrict it, ask an administrator to check the policies |
| The conversation says the agent was deleted | The agent bound to the conversation no longer exists | Start a new conversation with another agent |
| Cannot continue after sharing is revoked | You no longer have access | Ask the owner to share again, or use another agent |
Next steps
- What capabilities do: Capability settings
- Turn analysis methods into skills: Analysis skills
- Control the data each person can see: Permissions and data scope