Prerequisites
- An A2Agent API key — sign up at a2agent.me/register to get one
- A model ID listed on the A2Agent Models page
Setup
1
Start the local Web UI
Run the following command:The Keep the terminal running while you use the Web UI.
--no-open option prevents DeepSeek Harness from trying to open a browser automatically.When the server starts, it normally listens at:2
Open DeepSeek Harness in your browser
Open:If
localhost is not available, try:3
Open the model settings
In the DeepSeek Harness Web UI, go to:Choose:This option is used to connect an OpenAI-compatible gateway or another provider that is not included in the built-in catalog.
4
Configure the A2Agent provider
5
Add A2Agent models
Under Model catalog, choose:Fetch available modelsDeepSeek Harness will query the OpenAI-compatible models endpoint and display the models available through A2Agent.Select the models you want to use, then save the provider.If model discovery does not work, add model IDs manually. Use the exact IDs shown on the A2Agent Models page.
6
Return to the homepage and select a model
After saving the A2Agent provider, return to the DeepSeek Harness homepage.Open the model selector and select one of the available models.The selected model becomes the model used for new sessions.
Stop and restart the Web UI
To stop the local server, return to the terminal running DeepSeek Harness and press:Troubleshooting
Endpoint verification failed
Endpoint verification failed
Confirm that the Base URL is exactly:https://api.a2agent.me/v1A2Agent uses the OpenAI-compatible protocol. Select:OpenAI CompletionsDo not use an Anthropic or provider-specific protocol for this endpoint.
No models are available
No models are available
Check that:
- the provider was saved successfully;
- the Provider ID is
a2agent; - the Base URL is correct;
- the API key is valid;
- at least one model was added; and
- the model ID matches the current A2Agent model list.
The local Web UI does not open
The local Web UI does not open
Confirm that the process is still running and that port If the terminal reports a JavaScript heap out-of-memory error while DeepSeek Harness is a local Web UI. It must remain running in the terminal while you access it from your browser.
3080 is not already in use.Try:npx is starting the application, close other Node.js processes and retry with a larger Node.js heap: