Codex++ Agnes Model Configuration Guide
1. Overview
This guide explains how to configure the Agnes model in Codex++. After configuration, you can use the Agnes model directly in Codex++ for chat, code generation, and agent tasks without logging in to a GPT account.2. Prerequisites
Before you start, make sure you have:
- An Agnes API Key.
- A network connection that can access the Agnes API Gateway.
- The target model name.
- Codex++ downloaded or ready to install.
agnes-2.0-flash
API Base URL:
https://apihub.agnes-ai.com/v1
3. Download Codex++
Open the Codex++ download page:https://github.com/BigPizzaV3/CodexPlusPlus
You can also open the latest release page directly:
https://github.com/BigPizzaV3/CodexPlusPlus/releases/latest
Download the version that matches your device:
If you are not sure whether your Mac uses an Intel chip or an Apple chip, click the Apple icon in the top-left corner and select About This Mac.
4. Install Codex++
After downloading, install Codex++ normally. If you are using macOS and see the following error:5. Open the Codex++ Management Tool
After installation, open:6. Add the Agnes Provider
Fill in the following fields:
Configuration example:
7. Configuration Notes
Please check the following carefully:- Only enter the API key starting with
sk-. Do not includeBearer. - The Base URL should only end with
/v1. Do not enter/chat/completions. - The upstream protocol must be
Chat Completions. - The model name should be:
agnes-2.0-flash
- After completing the configuration, click:
8. Enable the Agnes Provider
After saving the configuration, return to the provider list and select:9. Start Codex++
Return to the left sidebar and click:10. Verify the Configuration
Open Codex++ and create a new session. Enter a simple test message, for example:11. FAQ
1. What should I do if Codex does not respond properly?
Please check the following:- Make sure you started Codex from Codex++ or the Codex++ Management Tool, instead of opening the original Codex.
- Make sure the Base URL is:
https://apihub.agnes-ai.com/v1
- Make sure the Key only contains the API key starting with
sk-. - Make sure the upstream protocol is:
- Make sure the model is:
agnes-2.0-flash
- Make sure the Agnes provider has been enabled after saving the configuration.
2. How should I enter the API Key?
Only enter the Agnes API Key itself, for example:3. How should I enter the Base URL?
Correct:https://apihub.agnes-ai.com/v1
Incorrect:
https://apihub.agnes-ai.com/v1/chat/completions
4. Do I need to log in to a GPT account?
No. After configuration, you can use Codex++ directly with the Agnes model.12. Recommended Configuration Summary
Provider Name:Agnes
Mode: API Only
Model: agnes-2.0-flash
Base URL: https://apihub.agnes-ai.com/v1
API Key: YOUR_AGNES_API_KEY
Protocol: Chat Completions
13. Full Setup Summary
- Download and install Codex++.
- Open the Codex++ Management Tool.
- Go to Provider Configuration.
- Add the Agnes provider.
- Enter the model, Base URL, API Key, and upstream protocol.
- Save the configuration.
- Enable the Agnes provider.
- Start or restart Codex++.
- Create a new session to test whether Codex++ responds normally.
- After configuration, you can use the Agnes model in Codex++.