Choosing an AI Model
Optimize your Superexpert.AI agents by selecting the right AI models for your tasks, balancing performance, cost, and complexity.
Selecting an AI Model for a Task
Superexpert.AI lets you easily specify which AI model your agent should use. You can set a default model for all tasks or select specific models tailored to individual tasks.
Setting a Global AI Model
To define a default AI model for all tasks:
- Click Agents in the main navigation menu.
- Select the agent you want to modify by clicking the Tasks button next to it.
- You’ll see a list of all tasks associated with the agent. Every agent includes a Global Task and a Home Task.
- Click the Global Task to edit it.
- Under the AI Model section, select the desired model (e.g., GPT-4.1, Claude 3 Opus, Gemini 2.0 Pro).
- Save your changes. Changes made to the global task become the default for all other tasks.
Figure 1: Choosing the default AI model.
Specifying a Model for Individual Tasks
For specific tasks, you might not always need the most powerful model. Choose a more cost-effective model to optimize your expenses.
- Go to the specific task you want to edit.
- In the AI Model section, select a suitable model based on task complexity (e.g., use GPT-4o mini for faster responses or GPT-4.5 Preview for creative tasks).
- Save your changes.
This flexibility helps you control costs without sacrificing performance—only pay for the Einstein-level models when needed!
Registering a New AI Model
You can easily integrate new AI models from providers like OpenAI, Anthropic, or Google by updating the Superexpert.AI configuration.
Step-by-Step Guide
- Open the file located at
/lib/adapters/system-adapters.ts
. - Use the existing adapters to register a new model. For instance, here’s how GPT-4.1 is registered:
// Register OpenAI: GPT-4.1
registerLLM({
definition: {
id: 'gpt-4.1',
name: 'OpenAI: GPT-4.1',
provider: 'openai',
description:
'Flagship GPT model for complex tasks',
maximumOutputTokens: 32_768,
maximumTemperature: 2,
},
adapter: OpenAILLMAdapter,
});
Adding Future Models
Integrating future models, like a hypothetical GPT-6, is simple:
- Copy and modify an existing registration block.
- Update the model
id
,name
, anddescription
. - Save the file and redeploy Superexpert.AI to start using the new model immediately.
By simplifying model integration, Superexpert.AI ensures your agents are always leveraging cutting-edge AI advancements.