Prerequisites
- WorkBuddy is installed. Download it from the official site: workbuddy.cn.
- You have an A2Agent API key. Register at a2agent.me/register, then create a key in the A2Agent dashboard.
- You have a model ID currently listed on the A2Agent Models page.
A2Agent connection values
Use these values first:
Use the exact model IDs currently shown on the A2Agent Models page. The model IDs above are examples and may change.
Setup
1
Open WorkBuddy model settings
In WorkBuddy, open:Depending on the WorkBuddy version, the buttons may be labeled Add model, Custom model, or Manage models.
2
Choose Custom API
On the model settings page, select:If the page offers Provider, Local deployment, and Custom API, choose Custom API. A2Agent is a remote OpenAI-compatible API, not a local Ollama service.
3
Enter the A2Agent API URL
Enter this value in the URL, Base URL, or API Endpoint field:Do not append
/chat/completions unless your WorkBuddy version explicitly asks for a complete endpoint URL. A2Agent’s standard request endpoint is:https://api.a2agent.me/v1/chat/completions4
Enter your API key
Paste the API key created in the A2Agent dashboard into WorkBuddy’s API key field.
5
Enter a model ID
In the Model field, enter an exact model ID currently available in your A2Agent account:Model IDs are case-sensitive. Copy the ID shown by A2Agent exactly; do not rewrite it.
6
Save and select the model
Save the custom model. Return to the WorkBuddy chat view and select the newly added model from the model picker.If the model does not appear after saving, fully quit and reopen WorkBuddy, then check the model list again.
Troubleshooting
The model does not appear after saving
The model does not appear after saving
Check the following in order:
- You selected Custom API / Custom.
- You entered the model ID, not the display name.
- You clicked Save.
- You fully quit and reopened WorkBuddy.
- The model ID exactly matches the current A2Agent catalog.
Model not found
Model not found
Copy the current model ID from A2Agent Models. Do not use an old model name or alter its capitalization. Save the change and select the model again.
404or an endpoint path error
404or an endpoint path error
Start with:If WorkBuddy still reports a path error, enable Advanced settings → Custom Protocol and use: