Skip to main content

Evolution Projects

Connect an Agent application to continuously analyze call cases and verify optimization results

An evolution project manages the evolution goal, optimization strategies, and trigger schedule for one Agent. In a project, you can try conversations, view each evolution report, and decide whether to adopt changes based on verification results.

Find and Manage Projects

Go to Evolution Projects, and choose Self-Evolution > Evolution Projects in the left navigation. Enter a project name or filter by status. The list shows the associated Agent, optimization strategies, trigger settings, and project status. Evolutions / Adoptions show the number of evolutions and adoptions. Click a project name or View to open its details. Click Edit to adjust the configuration, and use the status switch to enable or disable the project. To create a project, click Custom Create in the upper-right corner.
During the limited-time free period, each customer has a daily cap on evolution cases analyzed, shared across all projects and workspaces. When the cap is reached, new evolution analyses are limited. The actual quota is shown in the console.

Create a Custom Evolution Project

1. Connect an Application and Set the Evolution Goal

On the Custom Create Evolution Project page, enter a project name of up to 50 characters, select Bailian Agent application, and click Connect Application to choose a published Agent in the current workspace. An Agent can be associated with only one evolution project. Connecting an application authorizes the evolution engine to analyze its call data. Observability is enabled for the application by default; if the page prompts for authorization, follow the on-screen instructions to authorize and enable it. In Evolution Goal, describe the behavior to improve. For example, "When a customer asks about both refund conditions and application steps, explain the applicable conditions first, then list the steps." In Other Custom Requirements, add capabilities or business constraints to preserve.
When validating problem cases and running regression tests, the system creates datasets, graders, and evaluation tasks as needed. Evaluation tasks call the Agent API and incur additional model fees.

2. Choose Optimization Strategies and How They Take Effect

Enable Prompt optimization when the system prompt's role, constraints, output structure, or boundary conditions need adjustment. Enable Skill optimization when a Skill's description, input parameter descriptions, invocation timing, or specific skill content need adjustment. Enable at least one strategy; you can enable both. Choose how each strategy takes effect:
  • Auto-apply: The system applies solutions that pass validation and regression tests.
  • Manual confirmation: Review candidate changes before deciding whether to adopt them.

3. Set the Trigger Schedule and Case Limit

In Trigger Settings, set Scheduled Evolution to daily or weekly, and choose a run time. For weekly runs, also choose a day of the week. For example, if you set it to 08:00 daily, the system analyzes call cases and feedback from 00:00 to 24:00 the previous day. Enter a Case Limit to control the analysis volume of each scheduled task. For example, if you enter 200, the system randomly samples up to 200 calls from the period. Review the configuration and click Confirm at the bottom of the page.

Start an Evolution Round in Quick Experience

Open Quick Experience in the project details, and select a recommended question or enter your own. The Agent's response appears on the left, and Current Evolution Task on the right shows the trigger method, case count, and stage progress. After the response completes, the system automatically creates an experience task for the current request. Submitting feedback on the same response can trigger a new analysis round. If a task is waiting for additional input, add the specific business rules to continue the task. If the task shows Completed, Pending Confirmation, click View Pending Strategies. If the candidate meets expectations, choose Confirm and Apply; you can also enter a reason and Reject it. Adoption here updates only the experience version, and the experience task remains visible in the current session. For scheduled tasks and their statistics, go to Evolution Records.

View Evolution Records and Optimization Results

View Evolution Records

Switch to Evolution Records. At the top, Covered Cases shows the cumulative number of cases in scheduled tasks, Evolution Count shows the formal records retained, and Adoption Count shows the tasks that took effect, including auto-applied ones. Filter the list by time range and status to view the evolution time, case count, evolution report, optimization type, and evolution status of each round. Click View on a record to open its details.

Review Optimization Strategies

In Optimization Strategies on the Evolution Record Details page, review the prompts or Skills involved in the round. When a scheduled task is pending confirmation, review the candidate changes and verification results, and confirm them if they meet the goal. To make adjustments, enter a rejection reason and the system continues the analysis based on it. If the status is Completed, No Update Needed, keep the current version. Candidate content, if any, can still be previewed.

View the Evolution Report and Cases

Switch to Basic Information to view the evolution time, trigger method, evolution status, case count, and optimization type. Click Expand to read the full evolution report, and click View Current Cases and Feedback to review the call cases and feedback analyzed in the round.

View Stage Execution

Under Basic Information, go to Evolution Details and review the stages in order: data collection, scenario understanding, automatic diagnosis, issue attribution, candidate generation, optimization tree construction, multi-dimensional validation, and regression testing. Each stage shows its status, duration, and result summary. Click View Details on a stage to review its results. Multi-dimensional validation checks whether the original issue is resolved, and regression testing checks whether the change affects other cases. If no new version is recommended in the round, multi-dimensional validation and regression testing are skipped.

Review Deduction Reasons for a Single Case

On the Automatic Diagnosis row, click View Details, and use the Request ID to compare the input, original output, and deduction reason. For example, you can check which routing metric deducted points from the Agent's clarification response when a customer only said "Hello."

Connect Business Feedback

Go to Data Access in the project details to view the Feedback API and a request example. Enter the current workspace ID, the app ID with observability enabled, and the original application inference request ID in traceRequestId so the feedback is linked to the corresponding call record. source is fixed to SELF_EVOLUTION. For type, use uppercase LIKE, DISLIKE, CORRECTION, or COMMENT. CORRECTION and COMMENT require non-empty content; LIKE and DISLIKE can omit it. Business feedback submitted through the API enters the scheduled analysis for the corresponding period.
ParameterTypeRequiredDescription
workspaceIdstringYesCurrent workspace ID. Taken from the signed-in account; no model API key is required.
appIdstringYesApp ID, up to 64 characters. The app must belong to the workspace and have observability enabled.
traceRequestIdstringYesOriginal application inference request ID, used to link the feedback to an observability record. This is not the ID of the current feedback call, a Trace ID, or a Sandbox ID. Up to 64 characters.
sourcestringYesFixed to SELF_EVOLUTION.
typestringYesLIKE, DISLIKE, CORRECTION, or COMMENT. Must be uppercase.
contentstringDepends on typeFeedback text. Corrections and comments require non-empty text; likes and dislikes can omit it. The default limit is 10,000 characters.
The Feedback API uses a POST request. The API name, request method, and complete example are shown on the Data Access page.

Maintain Project Settings

In Project Settings, review the basic information, current optimization strategies, and trigger settings. To adjust the goal, strategies, or schedule, click Edit Configuration, make changes, and save them to the current project. To pause future scheduled evolutions, click Close Project in the upper-right corner of the project and confirm. Closing pauses call data synchronization; applied configurations are retained. When you reopen the project, data collection resumes from the time synchronization restarts. To remove the entire project, use Delete Project in Project Settings and confirm the prompt.