Create an agent, configure its environment, initiate a session, and make calls—all in four steps via the console.
Prerequisites
- You have activated Alibaba Cloud Bailian.
- Your current account has Managed Agents operation permissions in the target workspace.
Step 1: Configure the Agent
Navigate to Bailian Console > Managed Agents > Quick Start, and fill in the agent’s basic information, model, and tools. The page is pre-filled with template values—you may modify them as needed.
| Field | Description |
|---|---|
| Name | Default: Agent_v1; customizable |
| Model | Required. Select from the dropdown list (e.g., qwen3.7-plus) |
| System Prompt | Defines the agent’s role and behavior. A generic template is pre-filled; customize it per your use case |
| Tools | Seven built-in tools are selected by default: bash, read, write, edit, glob, grep, download_file. Deselect as needed |
| Skill / MCP | Optional. Skip during Quick Start; add later on the agent detail page |
Step 2: Configure the Runtime Environment
The environment defines the execution sandbox for tool calls and is managed independently from the agent.
| Field | Description |
|---|---|
| Name | Default: Agent_v1_Env; customizable |
| Hosting Type | Default: Cloud-hosted (sandbox container managed by Bailian) |
Step 3: Confirm Session Configuration
The page displays summaries of the created agent and environment and automatically initiates a session based on both.
- Verify the Agent card: name and model information.
- Verify the Environment card: name and hosting type.
- To use local files inside the sandbox, click Upload Files to mount them; otherwise, skip.
Step 4: Begin Invocation
Configuration is complete. The page provides two tabs:
- Callable API: Displays the
curlcommand to create an event—copy and run it directly in your terminal. - Preview & Debug: Chat directly with the agent in-browser and view real-time events and tool invocations. Use the dropdown in the top-left corner to filter by event type (
User,Agent,Tool,Tool_output,Error,Model,System).