xAgent Model Configuration: Providers, Tool Calling, and Task Routing
Who This Is For
This page is for administrators and maintainers. Ordinary users do not usually need to open Model Configuration.
What It Is
Model Configuration maintains the models xAgent can use. Administrators configure the display name, service address, key, capability switches, and default policy here. Once configured, ordinary users can use the models in a session without filling in these details themselves.
The model configuration page is open in the current release to make deployment, testing, and evaluation easier. It is a transitional entry point, not the final long-term model experience.
As the built-in Agent “brain” capability matures, model selection will gradually move to unified model management. xAgent will not be limited to one model or one provider. Different models have different strengths: fast summaries, complex reasoning, tool collaboration, image understanding, or file understanding.
xAgent will keep optimizing model routing through ongoing testing and real usage. It will consider task type, cost, speed, Tool collaboration requirements, and context when choosing a better model combination for the current task. Ordinary users do not need to choose a specific model; they only need to state the task goal.

When to Use It
Open this page when you need to:
- Add an available model after initial deployment.
- Change a model service address, key, or actual model name.
- Test whether a model can connect.
- Adjust whether a model supports images, files, Tool calling, or streaming output.
- Prepare different models for different task types.
Reading the Page
The left side lists models; the right side edits the selected model. Common fields include:
| Field | Purpose |
|---|---|
| Model name | The name displayed in xAgent |
| Actual model name | The identifier used by the Provider |
| Provider type | The model service type |
| Base URL | The model service address |
| API Key | The model service key |
| Request timeout | The maximum wait time for one request |
| Description | A usage note for administrators |
| Model capabilities | Whether it supports chat, vision, audio, files, streaming output, and Tool calling |
| Default policy Raw JSON | Advanced default policy settings |
| HTTP Headers | Additional request headers |
Ordinary users do not need to understand these fields. Administrators only need to ensure that the model connects, its capability switches are accurate, and its description is clear.
Basic Usage
Add a Model
- Select New Model.
- Enter the display name.
- Enter the actual model name.
- Select the Provider type.
- Enter the Base URL and API Key.
- Select the capabilities the model actually supports.
- Select Test Connection.
- Save the model after the test succeeds.
Name models by their use case, such as “General Writing Model,” “Code and Tool Model,” or “Lightweight Fast Model.” Avoid internal abbreviations that ordinary users cannot understand.
Test the Connection
Test before saving. If it fails, check:
- Whether the Base URL is correct.
- Whether the API Key is valid.
- Whether the actual model name exists.
- Whether the Provider type is correct.
- Whether the current server can reach the model service.
- Whether the request timeout is too short.
Configure Capability Switches
Configure switches according to the model's real capabilities. Do not enable every capability just to make a model look stronger.
| Capability | Effect |
|---|---|
| Chat | Whether it can be used for regular conversation and tasks |
| Vision | Whether it can process image input |
| Audio | Whether it can process audio input or output |
| Files | Whether it can process file input |
| Streaming | Whether output can appear while it is being generated |
| Tool calling | Whether it can work with Tools to perform actions |
A model without Tool calling is not appropriate for tasks that need file reading, external system calls, or concrete actions.
Administration Recommendations
- The current configuration page is a transitional capability for deployment validation and model integration. Do not treat it as the final model-governance interface.
- Prepare at least one stable general-purpose model for ordinary tasks.
- Prepare a Tool-calling model for tasks that need Tools.
- Prepare a lightweight model for cost-sensitive tasks.
- Do not bind system capability to one Provider. Different models suit different tasks, and model routing will continue to improve based on test results.
- Write model descriptions for administrators and users, not only with Provider-internal details.
- Never expose an API Key in screenshots, documentation, chat messages, or commit history.
- Before changing a public model, confirm whether it will affect active sessions.
Continue Reading
- How AI Agents Switch Models, Skills, and Prompts During a Task
- Agent Session
- Agent Management
- Tool Management
- Approval Policies